/* ==========================================================================
   WORLD PREMIER TITLE AND ESCROW - LUXURY ENTERPRISE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070a10;
  --bg-surface: #0e1320;
  --bg-surface-elevated: #141b2d;
  --bg-light: #f8fafc;
  --bg-light-card: #ffffff;
  
  --gold-100: #faf3dc;
  --gold-200: #f5e4b1;
  --gold-300: #ecd083;
  --gold-400: #dfba58;
  --gold-500: #c5a03e;
  --gold-600: #a4812a;
  --gold-700: #7d601b;
  --gold-gradient: linear-gradient(135deg, #f7e7be 0%, #dfba58 40%, #c5a03e 70%, #9a7b29 100%);
  --gold-gradient-glow: linear-gradient(135deg, rgba(223, 186, 88, 0.3) 0%, rgba(197, 160, 62, 0.05) 100%);
  --gold-border: rgba(223, 186, 88, 0.25);
  --gold-border-bright: rgba(245, 228, 177, 0.6);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-dark: #0f172a;
  --text-dark-muted: #475569;

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 30px rgba(197, 160, 62, 0.22);
  --shadow-cyan: 0 10px 30px rgba(6, 182, 212, 0.2);

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 980px;
}

.container-fluid {
  max-width: 100%;
  padding: 0 2rem;
}

/* Utility Classes */
.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-solid {
  color: var(--gold-400);
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.heading-display {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Top Notification Banner */
.top-bar {
  background: #05070c;
  border-bottom: 1px solid rgba(223, 186, 88, 0.15);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  z-index: 1002;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar a:hover {
  color: var(--gold-300);
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(223, 186, 88, 0.1);
  color: var(--gold-300);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(223, 186, 88, 0.2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 186, 88, 0.18);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 10, 16, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(223, 186, 88, 0.3);
}

.site-header .container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.25rem;
  padding: 0.6rem 0;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  background: rgba(14, 19, 32, 0.6);
  border: 1px solid rgba(223, 186, 88, 0.25);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.brand-logo:hover {
  background: rgba(20, 27, 45, 0.85);
  border-color: var(--gold-400);
  box-shadow: 0 4px 20px rgba(223, 186, 88, 0.25);
}

.brand-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(223, 186, 88, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
  transition: transform var(--transition-normal);
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-menu li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  position: relative;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-300);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-actions .btn {
  padding: 0.58rem 1.05rem;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn-primary-gold {
  background: var(--gold-gradient);
  color: #070a10;
  box-shadow: 0 4px 15px rgba(223, 186, 88, 0.25);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.btn-primary-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: 0.6s ease;
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(223, 186, 88, 0.45);
}

.btn-primary-gold:hover::after {
  left: 150%;
}

.btn-secondary-dark {
  background: rgba(20, 27, 45, 0.8);
  color: var(--text-main);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
}

.btn-secondary-dark:hover {
  background: rgba(30, 41, 69, 0.95);
  border-color: var(--gold-400);
  color: var(--gold-200);
  transform: translateY(-2px);
}

.btn-rms-badge {
  background: rgba(14, 19, 32, 0.9);
  color: #e2e8f0;
  border: 1px solid rgba(6, 182, 212, 0.35);
  font-size: 0.85rem;
}

.btn-rms-badge i {
  color: var(--accent-cyan);
}

.btn-rms-badge:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  color: #ffffff;
  box-shadow: var(--shadow-cyan);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-300);
  border: 1px solid var(--gold-400);
}

.btn-outline-gold:hover {
  background: rgba(223, 186, 88, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: var(--gold-200);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 2.2rem 0 2.5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(223, 186, 88, 0.08) 0%, rgba(7, 10, 16, 0.98) 70%);
  overflow: hidden;
}

/* Background Video Banner Styles */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(223, 186, 88, 0.07) 0%, rgba(7, 10, 16, 0.82) 50%, rgba(7, 10, 16, 0.96) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-glow-blob {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(223, 186, 88, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: rgba(223, 186, 88, 0.1);
  border: 1px solid rgba(223, 186, 88, 0.3);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--gold-200);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.hero-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.hero-ctas .btn {
  padding: 0.78rem 1.5rem;
  font-size: 0.94rem;
}

/* Key Value Points Bar - Strict Single Horizontal Line */
.key-value-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(223, 186, 88, 0.18);
  width: 100%;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.key-value-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  background: rgba(14, 19, 32, 0.7);
  border: 1px solid rgba(223, 186, 88, 0.22);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.key-value-item:hover {
  border-color: var(--gold-400);
  background: rgba(20, 27, 45, 0.9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(223, 186, 88, 0.15);
}

.key-value-item .icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(223, 186, 88, 0.15);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--gold-300);
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .key-value-list {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.6rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
}

/* Hero Calculator Card */
.hero-calc-card {
  background: rgba(14, 19, 32, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(223, 186, 88, 0.1);
  position: relative;
}

.hero-calc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gold-gradient);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-header .badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.calc-form .form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(7, 10, 16, 0.7);
  border: 1px solid rgba(223, 186, 88, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(223, 186, 88, 0.15);
  background: rgba(7, 10, 16, 0.95);
}

.calc-result-box {
  background: rgba(7, 10, 16, 0.6);
  border: 1px dashed rgba(223, 186, 88, 0.3);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.5rem 0 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-result-speed {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.calc-result-amount {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-300);
  text-align: right;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section Wrapper */
.py-section {
  padding: 6rem 0;
  position: relative;
}

.bg-surface {
  background-color: var(--bg-surface);
}

.bg-darker {
  background-color: #05080e;
}

/* ABOUT US SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(223, 186, 88, 0.18);
}

.stat-box h4 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--gold-300);
  font-weight: 700;
}

.stat-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Comparison Card Component */
.comparison-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 1.25rem 1.5rem;
  background: rgba(7, 10, 16, 0.9);
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-header span:last-child {
  color: var(--gold-300);
  text-align: right;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  align-items: center;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row .feature-label {
  font-weight: 600;
  color: #e2e8f0;
}

.comparison-row .traditional-val {
  color: var(--text-subtle);
}

.comparison-row .our-val {
  color: var(--gold-200);
  font-weight: 600;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* TECHNOLOGY SECTION */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.tech-card {
  background: rgba(14, 19, 32, 0.7);
  border: 1px solid rgba(223, 186, 88, 0.16);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-400);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 186, 88, 0.15);
  background: rgba(20, 27, 45, 0.9);
}

.tech-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(223, 186, 88, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}

.tech-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.tech-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tech-result-banner {
  margin-top: 3.5rem;
  background: linear-gradient(90deg, rgba(223, 186, 88, 0.12) 0%, rgba(6, 182, 212, 0.12) 50%, rgba(223, 186, 88, 0.12) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tech-result-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.tech-result-banner p {
  color: var(--gold-200);
  font-size: 1.05rem;
}

/* PARTNER PROGRAM SECTION */
.partner-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3.5rem auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.benefit-card {
  background: var(--bg-surface);
  border: 1px solid rgba(223, 186, 88, 0.15);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* How It Works Steps */
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.step-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--gold-gradient);
  color: #070a10;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(223, 186, 88, 0.4);
}

.step-card h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* RMS LOGIN / STAFF PORTAL SECTION */
.rms-section {
  background: radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.08) 0%, rgba(7, 10, 16, 0.98) 60%);
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
}

.rms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rms-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.rms-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.rms-feature-item .icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.rms-feature-item h5 {
  font-size: 1.02rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.rms-feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Interactive Portal Showcase Box */
.rms-portal-mockup {
  background: #090d16;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(6, 182, 212, 0.15);
  overflow: hidden;
}

.mockup-header {
  background: #060910;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-controls {
  display: flex;
  gap: 6px;
}

.mockup-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-controls span:nth-child(1) { background-color: #ef4444; }
.mockup-controls span:nth-child(2) { background-color: #f59e0b; }
.mockup-controls span:nth-child(3) { background-color: #10b981; }

.mockup-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: monospace;
}

.mockup-body {
  padding: 2rem;
}

.mockup-login-card {
  max-width: 380px;
  margin: 0 auto;
}

.mockup-login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.mockup-login-header i {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.mockup-login-header h4 {
  font-size: 1.15rem;
  color: #ffffff;
}

.mockup-login-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SECURITY & COMPLIANCE SECTION */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.security-card {
  background: var(--bg-surface);
  border: 1px solid rgba(223, 186, 88, 0.18);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.security-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-4px);
  background: var(--bg-surface-elevated);
}

.security-icon {
  font-size: 2.2rem;
  color: var(--gold-300);
  margin-bottom: 1.2rem;
}

.security-card h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.security-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.compliance-badges-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
  padding: 1.5rem;
  background: rgba(14, 19, 32, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.compliance-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.compliance-badge-item i {
  font-size: 1.25rem;
  color: var(--gold-400);
}

/* CONTACT US SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(223, 186, 88, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-300);
  flex-shrink: 0;
}

.channel-details h5 {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.channel-details a, .channel-details span {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.channel-details a:hover {
  color: var(--gold-300);
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* BRAND POSITIONING BANNER / FOOTER CTA */
.brand-positioning-section {
  background: linear-gradient(135deg, #090d16 0%, #151d2f 50%, #090d16 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-quote {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  line-height: 1.4;
  color: #ffffff;
  max-width: 950px;
  margin: 0 auto 1.5rem auto;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-quote::before {
  content: '“';
  color: var(--gold-400);
  margin-right: 0.2rem;
}

.brand-quote::after {
  content: '”';
  color: var(--gold-400);
  margin-left: 0.2rem;
}

.brand-quote-sub {
  color: var(--gold-300);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* FOOTER */
.site-footer {
  background: #04060a;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(223, 186, 88, 0.35));
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-300);
  transform: translateX(3px);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-notice {
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #0d121e;
  border: 1px solid var(--gold-border-bright);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(223, 186, 88, 0.2);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 2rem;
}

/* Iframe Modal Component for Seller Net Sheet */
.modal-dialog-iframe {
  max-width: 1240px;
  width: 95vw;
  height: 88vh;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--gold-border-bright);
}

.modal-header-iframe {
  padding: 1rem 1.75rem;
  background: #090d16;
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
  flex-shrink: 0;
}

.modal-body-iframe {
  flex: 1;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #0b0f19;
  display: flex;
  flex-direction: column;
}

.iframe-wrapper {
  width: 100%;
  height: 100%;
  flex: 1;
  position: relative;
  background: #ffffff;
}

.calculator-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

.iframe-modal-footer {
  padding: 0.75rem 1.75rem;
  background: #070a10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Embedded Page Iframe Section on order.php */
.page-iframe-card {
  background: #090d16;
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.page-iframe-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #070a10;
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}

.page-iframe-container {
  width: 100%;
  height: 800px;
  position: relative;
  background: #ffffff;
}

@media (max-width: 900px) {
  .page-iframe-container {
    height: 650px;
  }
}

@media (max-width: 600px) {
  .page-iframe-container {
    height: 520px;
  }
  .modal-dialog-iframe {
    width: 98vw;
    height: 94vh;
    max-height: 94vh;
  }
}

/* Floating Live Chat Widget */
.floating-chat-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #070a10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(223, 186, 88, 0.4);
  z-index: 1001;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
}

.floating-chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(223, 186, 88, 0.6);
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--accent-emerald);
  border: 2px solid #070a10;
  border-radius: 50%;
}

.chat-widget-box {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 360px;
  background: #0d121e;
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chat-widget-box.open {
  display: flex;
  animation: slideUpFade 0.3s ease forwards;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-widget-header {
  background: #070a10;
  padding: 1.2rem;
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-widget-body {
  padding: 1.25rem;
  height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.chat-msg {
  max-width: 80%;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  line-height: 1.4;
}

.chat-msg-agent {
  background: rgba(20, 27, 45, 0.9);
  border: 1px solid rgba(223, 186, 88, 0.2);
  align-self: flex-start;
  color: #e2e8f0;
}

.chat-widget-footer {
  padding: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.5rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #0f1523;
  border-left: 4px solid var(--gold-400);
  color: #ffffff;
  padding: 1rem 1.4rem;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Dedicated Page Styles */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem 0;
  background: linear-gradient(180deg, #05070c 0%, #0d1322 100%);
  border-bottom: 1px solid rgba(223, 186, 88, 0.18);
  text-align: center;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--gold-300);
}

.breadcrumb span {
  color: var(--text-subtle);
}

/* Interactive Tabs */
.tabs-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.8rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--gold-300);
  border-bottom-color: var(--gold-400);
}

/* Dashboard Mockup Styles */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 600px;
  background: #090d16;
  border: 1px solid rgba(223, 186, 88, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.dash-sidebar {
  background: #060910;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1rem;
}

.dash-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}

.dash-nav-item.active, .dash-nav-item:hover {
  background: rgba(223, 186, 88, 0.12);
  color: var(--gold-300);
}

.dash-main {
  padding: 2rem;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: #0e1320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
}

.kpi-card .kpi-num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.3rem;
}

.dash-table-wrap {
  background: #0e1320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.dash-table th {
  padding: 0.9rem 1.2rem;
  background: #080b12;
  color: var(--text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.status-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
}

.status-cleared {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.status-review {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.status-ai {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .rms-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-layout {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-kpis {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive Nav Breakpoints for strict single-line menu */
@media (min-width: 1141px) and (max-width: 1420px) {
  .site-header .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .navbar {
    gap: 0.85rem;
  }
  .nav-menu {
    gap: 0.95rem;
  }
  .nav-link {
    font-size: 0.96rem;
    font-weight: 700;
    padding: 0.3rem 0.05rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn {
    padding: 0.52rem 0.85rem;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness System
   ========================================================================== */

/* Mobile backdrop for slide-out drawer */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 12, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 998;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.mobile-only-item {
  display: none;
}

@media (max-width: 1140px) {
  .mobile-only-item {
    display: block;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(223, 186, 88, 0.1);
    border: 1px solid var(--gold-border);
    color: var(--gold-300);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .menu-toggle:hover {
    background: var(--gold-gradient);
    color: #070a10;
  }
  
  .nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 68px);
    background: #090d16;
    border-right: 1px solid var(--gold-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem 3rem 1.25rem;
    gap: 0;
    transition: left var(--transition-normal);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0.75rem 0.5rem;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
    color: var(--gold-300);
    padding-left: 0.85rem;
  }

  .nav-menu .nav-link::after {
    display: none;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-actions .btn-rms-badge {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  .hero-side-visual {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .about-grid, .rms-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .security-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .site-header {
    padding: 0.4rem 0;
  }

  .brand-logo img {
    height: 40px;
  }

  .brand-logo {
    padding: 0.15rem 0.4rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

  .hero-section {
    padding: 1.75rem 0 2rem 0;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
  }

  .hero-body {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  .hero-side-visual img {
    height: 250px !important;
    max-height: 250px !important;
  }

  .hero-floating-badge {
    bottom: 1rem;
    left: 1rem;
    padding: 0.6rem 0.9rem;
  }

  .hero-floating-badge h5 {
    font-size: 0.82rem !important;
  }

  .hero-floating-badge span {
    font-size: 0.72rem !important;
  }

  .page-hero {
    padding: 4rem 0 2.5rem 0;
  }

  .page-hero h1 {
    font-size: 1.85rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .py-section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.92rem;
  }

  .features-grid, 
  .partner-grid, 
  .audience-grid, 
  .testimonials-grid, 
  .tech-grid, 
  .security-grid,
  .title-products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step::after {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom div:last-child {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* Floating live chat button position */
  .floating-chat-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .chat-widget-box {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 4.8rem;
    max-height: 480px;
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
  }

  /* Modal responsive sizing */
  .modal-dialog {
    width: 95%;
    max-width: 95%;
    margin: 1rem auto;
    padding: 1.25rem;
  }

  .iframe-modal-dialog {
    width: 100% !important;
    height: 94vh !important;
    max-width: 100% !important;
    margin: 3vh 0 !important;
    border-radius: 0 !important;
  }
}

/* Audience Solutions Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.audience-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-400);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 186, 88, 0.15);
}

.audience-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(223, 186, 88, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-300);
  margin-bottom: 1.25rem;
}

.audience-card h4 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.audience-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.audience-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.audience-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audience-features li i {
  color: var(--gold-400);
  font-size: 0.8rem;
}

/* EMD Safe Escrow Deposit Strip */
.emd-strip {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(20, 27, 45, 0.9) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 16px;
  padding: 2.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.emd-content h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.emd-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Testimonials System */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: rgba(223, 186, 88, 0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.star-rating {
  color: #f59e0b;
  font-size: 0.9rem;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a10;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.author-info span {
  color: var(--gold-300);
  font-size: 0.8rem;
}

/* ==========================================================================
   TITLE SEARCH & EXAMINATION SPECIALIZED STYLES
   ========================================================================== */

/* Title Search Product Grid */
.title-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.title-prod-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.title-prod-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.title-prod-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-400);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(223, 186, 88, 0.15);
}

.title-prod-card:hover::before {
  opacity: 1;
}

.prod-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.prod-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(223, 186, 88, 0.12);
  border: 1px solid rgba(223, 186, 88, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--gold-300);
}

.prod-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.title-prod-card h4 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.title-prod-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.prod-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prod-features li {
  font-size: 0.86rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.prod-features li i {
  color: var(--gold-300);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ALTA Commitment Anatomy Visual Cards */
.commitment-anatomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.commitment-card {
  background: #090d16;
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 1.85rem;
  position: relative;
}

.commitment-card .schedule-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--gold-gradient);
  color: #070a10;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.commitment-card h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.commitment-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.schedule-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.schedule-items li {
  font-size: 0.84rem;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(14, 19, 32, 0.6);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border-left: 2px solid var(--gold-400);
}

/* ALTA 7 Best Practices Pillars */
.alta-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.alta-pillar-item {
  background: rgba(14, 19, 32, 0.7);
  border: 1px solid rgba(223, 186, 88, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.alta-pillar-item:hover {
  border-color: var(--gold-400);
  background: rgba(20, 27, 45, 0.9);
  transform: translateY(-3px);
}

.alta-pillar-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.alta-pillar-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.alta-pillar-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Title Clouds / Curative Grid */
.curative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.curative-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 1.75rem;
  border-left: 4px solid var(--accent-cyan);
}

.curative-card.risk-alert {
  border-left-color: #f59e0b;
}

.curative-card h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.curative-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.curative-remedy {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: #94a3b8;
}

.curative-remedy strong {
  color: var(--accent-cyan);
}

/* Policy Comparison Table */
.policy-compare-box {
  background: #090d16;
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th {
  background: #0d121e;
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
}

.compare-table td {
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table tr:hover td {
  background: rgba(223, 186, 88, 0.04);
}

/* ==========================================================================
   IMAGE & VISUAL ENHANCEMENT UTILITIES
   ========================================================================== */
.img-rounded-gold {
  border-radius: 16px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 186, 88, 0.12);
  transition: all var(--transition-normal);
  width: 100%;
  object-fit: cover;
}

.img-rounded-gold:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(223, 186, 88, 0.25);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
  display: block;
}

.card-with-img {
  padding: 0 !important;
  overflow: hidden;
}

.card-with-img .card-inner-body {
  padding: 1.75rem 2rem 2rem 2rem;
}

.hero-side-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(223, 186, 88, 0.2);
}

.hero-side-visual img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-side-visual:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(7, 10, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.thumb-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-400);
}

/* ==========================================================================
   Blog Hub & Blog Article Reader Styles
   ========================================================================== */

/* Blog Hero */
.blog-hero {
  position: relative;
  padding: 6rem 0 3.5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(223, 186, 88, 0.08) 0%, rgba(7, 10, 16, 1) 70%);
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
}

.blog-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(223, 186, 88, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.blog-hero h1 {
  font-size: 2.85rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.blog-hero p {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 760px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* Blog Filter & Search Bar */
.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(14, 19, 32, 0.7);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.blog-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.blog-cat-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.blog-cat-btn:hover, .blog-cat-btn.active {
  background: var(--gold-gradient);
  color: #070a10;
  border-color: var(--gold-300);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(223, 186, 88, 0.3);
}

.blog-search-box {
  position: relative;
  min-width: 260px;
}

.blog-search-box input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  background: rgba(7, 10, 16, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
}

.blog-search-box input:focus {
  border-color: var(--gold-300);
  box-shadow: 0 0 12px rgba(223, 186, 88, 0.3);
}

.blog-search-box i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-400);
  font-size: 0.9rem;
}

/* Featured Article Showcase */
.featured-blog-section {
  padding: 3rem 0 1.5rem 0;
}

.featured-blog-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: linear-gradient(145deg, rgba(14, 19, 32, 0.85) 0%, rgba(7, 10, 16, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-normal);
}

.featured-blog-card:hover {
  border-color: var(--gold-400);
  box-shadow: 0 25px 60px rgba(223, 186, 88, 0.15);
  transform: translateY(-4px);
}

.featured-blog-img {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.featured-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-blog-card:hover .featured-blog-img img {
  transform: scale(1.04);
}

.featured-blog-content {
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 30px;
  background: rgba(223, 186, 88, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 1rem;
}

.featured-blog-content h2 {
  font-size: 1.85rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.featured-blog-content h2 a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.featured-blog-content h2 a:hover {
  color: var(--gold-300);
}

.featured-blog-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.blog-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-pill img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-border);
}

.author-info h6 {
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.read-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--gold-300);
}

/* Blog Grid */
.blog-grid-section {
  padding: 2.5rem 0 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: rgba(14, 19, 32, 0.8);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.blog-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(223, 186, 88, 0.15);
}

.blog-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card-title {
  font-size: 1.22rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--gold-300);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-card-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-border);
}

.blog-card-author span {
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 600;
}

.blog-read-more {
  color: var(--gold-300);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.blog-read-more:hover {
  gap: 0.65rem;
  color: #fff;
}

/* Blog Article Reader Page */
.blog-post-page {
  padding: 3rem 0 6rem 0;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.blog-breadcrumb a {
  color: var(--gold-300);
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-post-header {
  margin-bottom: 2.5rem;
}

.blog-post-header h1 {
  font-size: 2.6rem;
  color: #fff;
  line-height: 1.25;
  margin: 1rem 0 1.5rem 0;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
}

.blog-featured-banner {
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  margin-bottom: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.blog-featured-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post Layout Grid */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: flex-start;
}

/* Article Typography & Elements */
.blog-post-content {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-post-content .lead-text {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.75;
  color: #e2e8f0;
  padding: 1.25rem 1.5rem;
  background: rgba(223, 186, 88, 0.05);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 12px 12px 0;
  margin-bottom: 2rem;
}

.blog-post-content h2 {
  color: #fff;
  font-size: 1.75rem;
  margin: 2.5rem 0 1.2rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-post-content h3 {
  color: var(--gold-200);
  font-size: 1.35rem;
  margin: 1.8rem 0 1rem 0;
}

.blog-post-content p {
  margin-bottom: 1.4rem;
}

.blog-post-content ul, .blog-post-content ol {
  margin: 1.2rem 0 1.8rem 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.blog-post-content strong {
  color: #fff;
}

/* Callout Box */
.blog-callout {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(14, 19, 32, 0.95), rgba(7, 10, 16, 0.95));
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold-400);
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.blog-callout-icon {
  font-size: 1.75rem;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.blog-callout-content h4 {
  color: var(--gold-200);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.blog-callout-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Checklist */
.blog-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(14, 19, 32, 0.65);
  border: 1px solid rgba(223, 186, 88, 0.15);
  border-radius: 12px;
}

.checklist-item i {
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.checklist-item strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.checklist-item p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Author Bio Card */
.blog-author-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
  background: rgba(14, 19, 32, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  margin: 3.5rem 0 2rem 0;
}

.blog-author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-400);
  flex-shrink: 0;
}

.blog-author-details h5 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.blog-author-details span {
  color: var(--gold-300);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.blog-author-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Article Share Bar */
.blog-share-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(7, 10, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin: 2rem 0;
}

.blog-share-links {
  display: flex;
  gap: 0.6rem;
}

.blog-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.blog-share-btn:hover {
  background: var(--gold-gradient);
  color: #070a10;
  border-color: var(--gold-300);
  transform: translateY(-2px);
}

/* Blog Sidebar Widgets */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 90px;
}

.blog-widget {
  background: rgba(14, 19, 32, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.blog-widget-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(223, 186, 88, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recent-post-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-thumb {
  width: 68px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-info h6 {
  font-size: 0.86rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.recent-post-info h6 a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.recent-post-info h6 a:hover {
  color: var(--gold-300);
}

.recent-post-info span {
  font-size: 0.74rem;
  color: var(--gold-400);
}

/* Newsletter Subscription Banner */
.blog-newsletter-card {
  background: radial-gradient(circle at 10% 20%, rgba(223, 186, 88, 0.12) 0%, rgba(14, 19, 32, 0.95) 70%);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin: 4rem 0 1rem 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.blog-newsletter-card h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.blog-newsletter-card p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  line-height: 1.6;
}

.newsletter-form-row {
  display: flex;
  max-width: 540px;
  margin: 0 auto;
  gap: 0.75rem;
}

.newsletter-form-row input {
  flex-grow: 1;
  padding: 0.75rem 1.25rem;
  background: rgba(7, 10, 16, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  color: #fff;
  outline: none;
  font-size: 0.92rem;
}

.newsletter-form-row input:focus {
  border-color: var(--gold-300);
  box-shadow: 0 0 15px rgba(223, 186, 88, 0.3);
}

/* Blog Responsiveness */
@media (max-width: 992px) {
  .featured-blog-card {
    grid-template-columns: 1fr;
  }
  .featured-blog-img {
    height: 260px;
    min-height: 260px;
  }
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
  .blog-hero h1 {
    font-size: 2.2rem;
  }
  .blog-post-header h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 640px) {
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-box {
    width: 100%;
  }
  .newsletter-form-row {
    flex-direction: column;
  }
  .newsletter-form-row input {
    border-radius: 10px;
  }
  .newsletter-form-row .btn {
    border-radius: 10px;
  }
  .blog-featured-banner {
    height: 240px;
  }
}



