:root {
  --font-sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-serif: 'Libre Baskerville', Georgia, serif;

  /* Design Tokens & Colors (Light Theme Default) */
  --brand-navy: #1A3566;
  --brand-navy-rgb: 26, 53, 102;
  --brand-navy-deep: #0f2347;
  --brand-gold: #C89A30;
  --brand-gold-rgb: 200, 154, 48;
  --brand-gold-dark: #b38018; /* Darker gold for text on light backgrounds to meet 4.5:1 contrast ratio */
  --brand-gold-soft: #E3C77A;
  --brand-green: #2E6B4F;
  --brand-green-rgb: 46, 107, 79;
  
  --bg-app: #FAF8F3; /* Soft cream */
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #FAF8F3;
  --text-main: #2D2D2D;
  --text-muted: #6B6B6B;
  --text-navy: #1A3566;
  --text-gold: var(--brand-gold-dark); /* Contrast-safe gold */
  
  --border-color: rgba(26, 53, 102, 0.08);
  --border-light: rgba(26, 53, 102, 0.04);
  --border-focus: var(--brand-gold);
  
  --header-bg: rgba(255, 255, 255, 0.82);
  --header-border: rgba(26, 53, 102, 0.08);
  --card-bg: #FFFFFF;
  --card-shadow: 0 18px 50px -22px rgba(26, 53, 102, 0.15);
  --card-shadow-hover: 0 24px 60px -15px rgba(26, 53, 102, 0.22);
  --shadow-sm: 0 8px 24px -14px rgba(26, 53, 102, 0.12);
  
  --hero-glow-1: rgba(26, 53, 102, 0.03);
  --hero-glow-2: rgba(200, 154, 48, 0.02);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  
  --scrollbar-track: #FAF8F3;
  --scrollbar-thumb: #D8D2C4;
}

[data-theme="dark"] {
  /* Design Tokens & Colors (Dark Theme) */
  --bg-app: #0A1428; /* Deep dark navy */
  --bg-surface: #102142; /* Rich dark blue surface */
  --bg-surface-alt: #0D1B36;
  --text-main: #E2E8F0; /* Slate-200 */
  --text-muted: #94A3B8; /* Slate-400 */
  --text-navy: #FFFFFF; /* High contrast headings */
  --text-gold: #E3C77A; /* Soft bright gold for readability */
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-focus: #E3C77A;
  
  --header-bg: rgba(10, 20, 40, 0.82);
  --header-border: rgba(255, 255, 255, 0.08);
  --card-bg: #102142;
  --card-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 24px 60px -15px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.25);
  
  --hero-glow-1: rgba(56, 189, 248, 0.04);
  --hero-glow-2: rgba(227, 199, 122, 0.03);
  
  --scrollbar-track: #0A1428;
  --scrollbar-thumb: #233554;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Custom Styled Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 5px;
  border: 2px solid var(--scrollbar-track);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-gold);
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-app);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mono {
  font-family: var(--font-sans);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Accessible Focus Ring */
a:focus-visible, 
button:focus-visible, 
select:focus-visible, 
input:focus-visible, 
textarea:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-gold);
  display: inline-block;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  min-height: 48px; /* Touch target minimum height */
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-navy {
  background: var(--brand-navy);
  color: #ffffff;
}
.btn-navy:hover {
  background: #234789;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .btn-navy {
  background: #1e3a8a;
}
[data-theme="dark"] .btn-navy:hover {
  background: #2563eb;
}
.btn-gold {
  background: var(--brand-gold);
  color: #ffffff;
}
.btn-gold:hover {
  background: #dfa732;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(200, 154, 48, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--text-navy);
  border-color: var(--border-color);
}
.btn-ghost:hover {
  border-color: var(--brand-gold);
  color: var(--text-gold);
  background: rgba(200, 154, 48, 0.05);
}

/* ---- STICKY NAV ---- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  transition: var(--transition-smooth);
}
header.scrolled {
  box-shadow: 0 8px 30px -12px rgba(26, 53, 102, 0.2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px; /* Touch target optimized size */
  height: 44px;
  border-radius: 50%;
  background: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
}
.brand-mark span {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 24px;
  color: var(--brand-gold);
  line-height: 1;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(200, 154, 48, 0.4);
}
.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-navy);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--text-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  padding: 12px 4px; /* Expanded touch targets */
  position: relative;
  transition: var(--transition-fast);
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-links a:not(.btn):hover {
  color: var(--text-gold);
}
.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 44px; /* 44px Touch Target */
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition-smooth);
}
.theme-toggle:hover {
  background: rgba(200, 154, 48, 0.08);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}
.theme-toggle .sun-icon {
  display: none;
}
.theme-toggle .moon-icon {
  display: block;
}
[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}
[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; /* 44px Touch Target */
  height: 44px;
  transition: var(--transition-fast);
}
.menu-toggle:hover {
  background: rgba(26, 53, 102, 0.05);
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-navy);
  transition: var(--transition-smooth);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--bg-surface-alt);
  overflow: hidden;
  padding: 60px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .7;
}
.hero-glow-blob {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow-1) 0%, transparent 70%);
  top: -10%;
  right: 5%;
  pointer-events: none;
  filter: blur(40px);
}
.hero-glow-blob-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow-2) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  pointer-events: none;
  filter: blur(40px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .eyebrow {
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-gold);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 6px;
  background: rgba(200, 154, 48, 0.15);
  z-index: -1;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}
.hero-meta .m {
  display: flex;
  flex-direction: column;
}
.hero-meta .m b {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  color: var(--text-navy);
}
.hero-meta .m span {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Premium H-index visual Card */
.hcard {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px 30px 24px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 10;
}
.hcard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.hcard-head .t {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--text-navy);
  text-transform: uppercase;
}
.hcard-head .s {
  font-size: 12.5px;
  color: var(--text-muted);
}
.hbadge {
  background: var(--brand-navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
[data-theme="dark"] .hbadge {
  background: #1e3a8a;
  border-color: rgba(255, 255, 255, 0.05);
}
.hbadge b {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  display: block;
  line-height: 1;
  color: var(--brand-gold);
}
.hbadge span {
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .85;
}

/* H-index chart container & tooltips */
.chart-container {
  position: relative;
  margin-top: 18px;
}
.chart-tooltip {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-navy-deep);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}
.chart-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-6px);
}
[data-theme="dark"] .chart-tooltip {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.15);
}

.chart {
  position: relative;
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--border-color);
}
.bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  position: relative;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), background-color var(--transition-smooth);
  cursor: pointer;
}
.bar.in {
  background: linear-gradient(180deg, #2b55a0, var(--brand-navy));
}
[data-theme="dark"] .bar.in {
  background: linear-gradient(180deg, #4f85e2, #1e3a8a);
}
.bar.below {
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
}
[data-theme="dark"] .bar.below {
  background: linear-gradient(180deg, #334155, #1e293b);
}
.bar:hover {
  filter: brightness(1.1);
}
.hline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed var(--brand-gold);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}
.hline .tag {
  position: absolute;
  right: 0;
  top: -11px;
  background: var(--brand-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.chart-x {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 500;
}
.hcard-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}
.hcard-note b {
  color: var(--brand-green);
  font-weight: 600;
}
[data-theme="dark"] .hcard-note b {
  color: #4ade80; /* lighter green in dark mode */
}

/* ---- TRUST BAR (INFINITE SCROLL MARQUEE) ---- */
.trust {
  background: #1A3566;
  padding: 24px 0;
  border-bottom: 2px solid var(--brand-gold);
  overflow: hidden;
}
.trust-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.trust .lbl {
  color: var(--brand-gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.trust .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.trust .logo img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: .5;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s, filter 0.2s;
}
.trust .logo img:hover {
  opacity: 1;
}
.trust .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  opacity: .6;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- SECTIONS ---- */
section {
  padding: 100px 0;
}
.sec-head {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.sec-head .eyebrow {
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-top: 8px;
}
.sec-head p {
  color: var(--text-muted);
  margin-top: 18px;
  font-size: 1.1rem;
}

/* Understanding H-index Section */
.about {
  background: var(--bg-surface);
  padding: 100px 0;
}
.reality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.reality-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reality-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}
.reality-icon {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 154, 48, 0.1);
  color: var(--brand-gold);
}
.reality-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 16px;
  line-height: 1.4;
}
.reality-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.about .link {
  font-weight: 600;
  color: var(--text-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.about .link:hover {
  color: var(--brand-navy);
  transform: translateX(4px);
}
[data-theme="dark"] .about .link:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .reality-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Services section with Featured & Secondary Cards */
.services {
  background: var(--bg-surface-alt);
}
.svc-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.svc-secondary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Subheadings inside services */
.services-sub-heading {
  margin-top: 48px;
  margin-bottom: 24px;
}
.services-sub-heading h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--text-navy);
  border-left: 4px solid var(--brand-gold);
  padding-left: 16px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}
.services-sub-heading.first {
  margin-top: 24px;
}

/* Featured Card Style */
.svc-featured {
  background: var(--brand-navy-deep);
  color: #ffffff;
  border: 2px solid var(--brand-gold);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.svc-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 20, 40, 0.3);
}
.svc-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--brand-gold);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
}
.svc-featured h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 16px;
  margin-top: 10px;
}
.svc-featured p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.svc-outcome {
  font-size: 13.5px;
  color: var(--brand-gold-soft);
  font-weight: 600;
  margin-bottom: 24px;
}
.svc-featured .btn {
  width: 100%;
}

/* Secondary Card Style */
.svc-secondary {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  text-align: left;
}
.svc-secondary:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.svc-secondary h3 {
  font-size: 1.15rem;
  color: var(--text-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-secondary p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.svc-secondary .more {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gold);
}

@media (max-width: 980px) {
  .svc-featured-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .svc-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .svc-secondary-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Choose Us Stats Section */
.why {
  background: var(--bg-surface);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 10px;
}
.stat {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-surface-alt);
  transition: var(--transition-smooth);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-gold);
}
.stat .ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
[data-theme="dark"] .stat .ico {
  background: #1e3a8a;
}
.stat .ico svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-gold-soft);
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat b {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  color: var(--text-navy);
  display: block;
  line-height: 1;
}
.stat span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 10px;
  display: block;
}

/* Process Section */
.process {
  background: var(--brand-navy-deep);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 30px 30px;
}
.process .sec-head h2 {
  color: #ffffff;
}
.process .sec-head p {
  color: rgba(255, 255, 255, 0.7);
}
.process .sec-head .eyebrow {
  color: var(--brand-gold-soft);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  z-index: 2;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(200, 154, 48, 0.4);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--brand-gold-soft);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}
.step:hover .step-num {
  border-color: var(--brand-gold);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(200, 154, 48, 0.3);
}
.step h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.6;
}
.step-line {
  position: absolute;
  top: 34px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(200, 154, 48, 0.4) 0 8px, transparent 8px 16px);
  z-index: 1;
}
.step:last-child .step-line {
  display: none;
}

/* Testimonials section */
.testi {
  background: var(--bg-surface-alt);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tcard {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.tcard .quote {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  color: var(--brand-gold-soft);
  line-height: .6;
  height: 28px;
}
.tcard .stars {
  color: var(--brand-gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin: 14px 0 14px;
}
.tcard p {
  font-size: 15px;
  color: var(--text-main);
  flex: 1;
  line-height: 1.7;
}
.tcard .who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.tcard .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: var(--brand-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  flex: none;
  border: 2px solid var(--brand-gold-soft);
}
[data-theme="dark"] .tcard .av {
  background: #1e3a8a;
}
.tcard .who b {
  font-size: 15px;
  color: var(--text-navy);
  font-family: var(--font-sans);
  font-weight: 600;
  display: block;
}
.tcard .who span {
  font-size: 13px;
  color: var(--text-muted);
}

/* CTA Band Section */
/* ===== EXPECT CTA SECTION ===== */
.expect-cta {
  background: var(--bg-surface);
  padding: 100px 0;
}
.expect-card {
  position: relative;
  background: var(--brand-navy-deep);
  border-radius: 32px;
  overflow: hidden;
  padding: 60px 80px;
  box-shadow: 0 24px 60px rgba(10, 20, 40, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.expect-card-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  background-position: center;
  mask-image: radial-gradient(circle at 30% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 30% 50%, black 20%, transparent 80%);
}
.expect-card-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.expect-card-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
}
.expect-card-right p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
}
.expect-details {
  display: grid;
  grid-template-columns: 1.15fr auto 0.85fr;
  gap: 60px;
  margin-top: 60px;
  align-items: center;
}
.expect-details-left h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-gold);
  margin-bottom: 24px;
}
.expect-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.expect-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
}
.expect-list li svg {
  color: var(--brand-gold);
  flex-shrink: 0;
}
.expect-divider {
  width: 1.5px;
  height: 120px;
  background: var(--border-color);
}
.expect-details-right blockquote {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-navy);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 12px;
}
[data-theme="dark"] .expect-details-right blockquote {
  color: #ffffff;
}
.expect-details-right cite {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  font-style: normal;
}

@media (max-width: 980px) {
  .expect-card {
    padding: 40px 30px;
  }
  .expect-card-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .expect-details {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .expect-divider {
    width: 100%;
    height: 1.5px;
  }
}

/* Contact Section with Fields & Validation */
.contact {
  background: var(--bg-surface);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 18px;
}
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 440px;
}
.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.info-item .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: var(--transition-fast);
}
.info-item:hover .ic {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}
.info-item .ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-navy);
  fill: none;
  stroke-width: 1.7;
}
[data-theme="dark"] .info-item .ic svg {
  stroke: var(--brand-gold-soft);
}
.info-item b {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 2px;
}
.info-item a, .info-item span {
  font-size: 15.5px;
  color: var(--text-main);
  font-weight: 500;
}
.info-item a:hover {
  color: var(--text-gold);
}

.form-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.form-card h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--brand-gold);
  border-radius: 2px;
  margin-top: 12px;
}
.form-card .fsub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 16px 0 28px;
}
.field {
  margin-bottom: 20px;
  position: relative;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-navy);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-main);
  transition: var(--transition-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(200, 154, 48, 0.15);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Validation styles */
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #ef4444;
}
.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.error-msg, .err {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  display: none;
  font-weight: 500;
}
.field.is-invalid .error-msg,
.field.is-invalid .err {
  display: block;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-card .btn-gold {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  position: relative;
}

/* Submit Spinner Loader */
.btn-loading-text {
  transition: opacity 0.2s;
}
.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s ease-in-out infinite;
  position: absolute;
}
.btn.loading {
  pointer-events: none;
}
.btn.loading .btn-loading-text {
  opacity: 0;
}
.btn.loading .btn-spinner {
  display: block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Floating Toast Notification */
.toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 5px solid #2e6b4f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 2000;
  max-width: 400px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.toast-notification.show {
  transform: translateX(0);
}
.toast-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.toast-icon {
  stroke: #2e6b4f;
  flex-shrink: 0;
}
[data-theme="dark"] .toast-icon {
  stroke: #4ade80;
}
[data-theme="dark"] .toast-notification {
  border-left-color: #4ade80;
}
.toast-message {
  display: flex;
  flex-direction: column;
}
.toast-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-navy);
}
.toast-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}
.toast-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px; /* Touch target dimensions */
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}
.toast-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

/* Footer Section */
footer {
  background: #091224; /* Even darker blue for contrast */
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-brand .brand-name {
  color: #ffffff;
}
.foot-brand p {
  font-size: 14.5px;
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.7;
}
.foot-soc {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.foot-soc a {
  width: 44px; /* Optimized Touch Target */
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.foot-soc a:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  transform: translateY(-2px);
}
.foot-soc svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.75);
}
.foot-soc a:hover svg {
  fill: #ffffff;
}
.foot-col h4 {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.foot-col a {
  display: block;
  font-size: 14.5px;
  margin-bottom: 12px;
  transition: var(--transition-fast);
  padding: 2px 0;
}
.foot-col a:hover {
  color: var(--brand-gold-soft);
  padding-left: 6px;
}
.foot-col a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  margin-bottom: 0;
  color: #ffffff;
}
.foot-col a.btn:hover {
  color: #ffffff;
  padding-left: 26px;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
  font-size: 13.5px;
}
.foot-bottom a:hover {
  color: var(--brand-gold-soft);
}

/* Floating WhatsApp widget */
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: 58px;
  height: 58px;
}
.wa-tip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--bg-surface);
  color: var(--text-navy);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}
.wa:hover .wa-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.7);
  position: relative;
  flex: none;
}
.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}
.wa-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}



/* Responsiveness media queries */
@media (max-width: 980px) {
  .hero-grid, .about-main, .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-hero-content, .about-hero-content {
    order: 1;
  }
  .hero-widget {
    order: 2;
  }
  /* Removed order: -1 to let description come first on mobile */
  .svc-grid, .stat-grid, .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .step-line {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Nav switches to hamburger/mobile mode — aligned with the dropdown's
   own mobile breakpoint below so both change layout at the same width */
@media (max-width: 980px) {
  .nav {
    height: 74px;
  }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-130%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: stretch;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    overflow: scroll;
    height: 100vh;
    padding-bottom: 90px;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .theme-toggle {
    align-self: center;
  }
  .nav-links .btn {
    justify-content: center;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
  section {
    padding: 64px 0;
  }
  .svc-grid, .stat-grid, .steps, .row-2 {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .form-card {
    padding: 28px 20px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   ADDITIONS — logo, hero, process, slider, FAQ, animations
   ============================================================ */

/* --- NAV LOGO IMAGE --- */
.brand-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-mark-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}
.foot-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}

/* --- HERO SECTION OVERHAUL --- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface-alt);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 0 !important;
}
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(var(--brand-navy-rgb), 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(var(--brand-gold-rgb), 0.04) 0%, transparent 60%),
    radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  will-change: auto;
}
.hero-accent-ring {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(var(--brand-gold-rgb), 0.1);
  top: -80px; right: -80px;
  pointer-events: none;
  animation: ringPulse 6s ease-in-out infinite;
}
.hero-accent-ring::after {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(var(--brand-gold-rgb), 0.07);
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1);   opacity: .6; }
  50%       { transform: scale(1.04); opacity: 1;  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 100px;
}
/* Hero badge chip */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--brand-gold-rgb), 0.12);
  border: 1px solid rgba(var(--brand-gold-rgb), 0.22);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 24px;
}
.hero-chip .chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  animation: dotPing 1.8s ease-in-out infinite;
}
@keyframes dotPing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--brand-gold-rgb), .5); }
  60%       { box-shadow: 0 0 0 6px rgba(var(--brand-gold-rgb), 0); }
}
.hero-chip span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-gold);
  font-family: var(--font-sans);
}
/* animated headline words */
.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero h1 .word-inner {
  display: inline-block;
  transform: translateY(105%);
  animation: wordUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero h1 .word:nth-child(1) .word-inner { animation-delay: 0.05s; }
.hero h1 .word:nth-child(2) .word-inner { animation-delay: 0.12s; }
.hero h1 .word:nth-child(3) .word-inner { animation-delay: 0.19s; }
.hero h1 .word:nth-child(4) .word-inner { animation-delay: 0.26s; }
.hero h1 .word:nth-child(5) .word-inner { animation-delay: 0.33s; }
.hero h1 .word:nth-child(6) .word-inner { animation-delay: 0.40s; }
@keyframes wordUp {
  to { transform: translateY(0); }
}
/* floating stat pills in hero */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 8px 18px 8px 10px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-navy);
  animation: pillFloat 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-pill .pill-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
[data-theme="dark"] .hero-pill .pill-icon { background: #1e3a8a; }
.hero-pill .pill-icon svg {
  width: 14px; height: 14px;
  stroke: var(--brand-gold);
  fill: none;
  stroke-width: 2;
}
.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
@keyframes pillFloat {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-pill:nth-child(1) { animation-delay: 0.7s; }
.hero-pill:nth-child(2) { animation-delay: 0.85s; }
.hero-pill:nth-child(3) { animation-delay: 1s; }

/* --- PROCESS SECTION: modern node timeline --- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 20px;
}
/* connector line between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 2px;
  background: linear-gradient(90deg,
    rgba(var(--brand-gold-rgb), 0.6) 0%,
    rgba(var(--brand-gold-rgb), 0.15) 50%,
    rgba(var(--brand-gold-rgb), 0.6) 100%);
  background-size: 200% 100%;
  animation: lineShimmer 3s linear infinite;
}
@keyframes lineShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* step num node */
.step-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-gold-soft);
  background: rgba(255,255,255,0.04);
  border: none;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.step-num::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--brand-gold-rgb), 0.35);
  transition: border-color 0.3s;
}
.step-num::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(var(--brand-gold-rgb), 0.12);
  transition: border-color 0.3s;
}
.step:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(var(--brand-gold-rgb), 0.12), 0 0 30px rgba(var(--brand-gold-rgb), 0.25);
}
.step:hover .step-num::before { border-color: rgba(var(--brand-gold-rgb), 0.9); }
/* remove the old step-line div styling */
.step-line { display: none; }

/* --- TESTIMONIAL SLIDER --- */
.testi-slider-wrap {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.testi-slider-wrap:active { cursor: grabbing; }
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.77,0,0.18,1);
  will-change: transform;
}
.tcard {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  scroll-snap-align: start;
}
@media (max-width: 900px) {
  .tcard { flex: 0 0 calc(80% - 16px); min-width: calc(80% - 16px); }
}
@media (max-width: 540px) {
  .tcard { flex: 0 0 calc(100% - 0px); min-width: 100%; }
}
/* slider fade edges */
.testi-fade-mask {
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
/* slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  padding: 0;
}
.slider-dot.active {
  width: 24px;
  background: var(--brand-gold);
}
/* slider arrow buttons */
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  color: var(--text-navy);
}
.slider-arrow:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
  transform: scale(1.1);
}
.slider-arrow:hover svg { stroke: #fff; }
.slider-arrow svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- FAQ SECTION --- */
.faq {
  background: var(--bg-surface);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-surface-alt);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open {
  border-color: rgba(var(--brand-gold-rgb), 0.35);
  box-shadow: 0 8px 30px -12px rgba(var(--brand-navy-rgb), 0.12);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--text-gold); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  background: var(--bg-surface);
  position: relative;
}
.faq-icon:not(:has(svg))::before, .faq-icon:not(:has(svg))::after {
  content: "";
  position: absolute;
  background: var(--text-navy);
  transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}
/* Horizontal line */
.faq-icon:not(:has(svg))::before {
  width: 12px;
  height: 2px;
  top: calc(50% - 1px);
  left: calc(50% - 6px);
}
/* Vertical line */
.faq-icon:not(:has(svg))::after {
  width: 2px;
  height: 12px;
  top: calc(50% - 6px);
  left: calc(50% - 1px);
}
.faq-item.open .faq-icon {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  transform: rotate(0deg);
}
.faq-item.open .faq-icon:not(:has(svg))::before {
  background: #fff;
}
.faq-item.open .faq-icon:not(:has(svg))::after {
  background: #fff;
  opacity: 0;
}
.faq-icon svg {
  width: 14px; height: 14px;
  stroke: var(--text-navy);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.77,0,0.18,1), padding 0.3s;
}
.faq-item.open .faq-a {
  max-height: 400px;
}
.faq-a-inner, .faq-a p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}


/* --- CUSTOM SELECT DROPDOWN --- */
.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  padding-right: 44px;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.2s, transform 0.3s;
}
.field.is-invalid .select-wrap::after { border-color: #ef4444; }

/* --- PREMIUM REVEAL ANIMATION (opacity + slide-up) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.75s cubic-bezier(0.16,1,0.3,1),
    transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* eyebrow uses mono font */
.eyebrow {
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  letter-spacing: .22em !important;
}

/* hero em highlight brush stroke */
.hero h1 em {
  font-style: normal;
  color: var(--brand-gold);
  position: relative;
  display: inline;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 4px;
  height: 8px;
  background: rgba(var(--brand-gold-rgb), 0.13);
  border-radius: 2px;
  z-index: -1;
}

/* service card tilt hover (transform-style) */
.svc {
  transition:
    transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  transform-origin: center;
}
.svc:hover {
  transform: translateY(-8px) rotate(-0.5deg);
}

/* stat card glow on hover */
.stat {
  transition:
    transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 2px rgba(var(--brand-gold-rgb), 0.25), var(--card-shadow-hover);
}

/* Tcard hover lift */
.tcard {
  transition:
    transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.4s ease;
}
.tcard:hover {
  transform: translateY(-6px);
}

/* info item slide on hover */
.info-item {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.info-item:hover {
  transform: translateX(6px);
}

@media (max-width: 991px) {
  /* Guarantee left-alignment on mobile for service & about heroes to match the rest of the site */
  body .service-hero-content,
  body .about-hero-content {
    text-align: left !important;
  }
  body .service-hero-content h1,
  body .about-hero-content h1 {
    text-align: left !important;
  }
  body .hero-grid {
    text-align: left !important;
  }
  body .hero-ctas {
    justify-content: flex-start !important;
  }
  .nav {
    height: fit-content;
    padding: 10px;
  }
  .service-hero .service-hero-content .eyebrow {
    margin-bottom: 15px;
  }
}


@media (max-width: 980px) {

  .hero-inner { grid-template-columns: 1fr; padding: 80px 0 80px; gap: 48px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .hero-accent-ring { display: none; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 64px 0 64px; }
  .steps { grid-template-columns: 1fr; }
  .tcard { flex: 0 0 100%; min-width: 100%; }
}

/* ===== MID CTA CARD ===== */
.mid-cta-sec {
  padding: 80px 0;
}
.mid-cta-card {
  position: relative;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26, 53, 102, 0.1);
  border: 2px solid var(--brand-gold);
  display: flex;
  align-items: flex-end;
}
.mid-cta-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 1;
  filter: brightness(0.9);
}
[data-theme="dark"] .mid-cta-bg-img {
  filter: brightness(0.7) contrast(1.1);
}
.mid-cta-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 48px);
  margin: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: background-color 0.4s ease;
}
[data-theme="dark"] .mid-cta-content {
  background: rgba(15, 35, 71, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.mid-cta-left h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: var(--text-navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.mid-cta-left p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.mid-cta-list li svg {
  color: var(--text-gold);
  flex-shrink: 0;
}
.mid-cta-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mid-cta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mid-cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}
.mid-cta-list li svg {
  margin-top: 3px;
}
.mid-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
@media (max-width: 980px) {
  .mid-cta-card {
    display: block;
    height: auto;
    min-height: 0;
    padding: 16px;
  }
  .mid-cta-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .mid-cta-left, .mid-cta-right {
    min-width: 0;
    width: 100%;
  }
  .mid-cta-left p, .mid-cta-left h3, .mid-cta-list li span {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .mid-cta-right .btn {
    padding: 12px 14px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    width: 100%;
  }
  .mid-cta-right .btn span {
    word-break: break-word;
  }
}

/* Solid background variation for Mid-CTA Card (used on About page) */
.mid-cta-solid {
  height: auto !important;
  min-height: auto !important;
  align-items: center !important;
  padding: 0 !important;
  background: var(--bg-surface-alt);
}
.mid-cta-solid .mid-cta-content {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 48px 60px;
}
.mid-cta-solid .mid-cta-right {
  align-items: flex-end;
  justify-content: center;
}
@media (max-width: 980px) {
  .mid-cta-solid .mid-cta-content {
    padding: 32px 24px;
  }
  .mid-cta-solid .mid-cta-right {
    align-items: flex-start;
  }
}

/* ===== HERO GROWTH TIMELINE STYLING ===== */
.tl-card {
  background: var(--bg-surface);
  border-radius: 20px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 26px 28px;
}
.tl-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.tl-head h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-navy);
  margin: 0;
}
.tl-head p {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
}
.tl-badge {
  background: var(--brand-navy);
  color: var(--brand-gold-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  white-space: nowrap;
  font-family: var(--font-serif);
}
.tl-badge b {
  font-size: 1.3rem;
  display: block;
  color: var(--brand-gold);
  line-height: 1;
}
.chart-area {
  position: relative;
  height: 180px;
  margin-bottom: 8px;
}
.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tl-yaxis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 20px;
  width: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 4px;
}
.tl-yaxis span {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
.tl-xaxis {
  display: flex;
  justify-content: space-between;
  margin-left: 32px;
  margin-top: 4px;
}
.tl-xaxis span {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
.tl-footer {
  background: var(--bg-surface-alt);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-sans);
}
.tl-footer b {
  color: var(--text-navy);
}
.tt {
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: var(--font-sans);
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Result Badge for Testimonials */
.result-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(200, 154, 48, 0.1);
  color: var(--text-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  margin-top: 18px;
  border: 1px dashed var(--brand-gold);
}

/* Mid-CTA Actions Vertical and Sub-link */
.mid-cta-actions-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}
.mid-cta-sub-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-gold);
  transition: var(--transition-fast);
  margin-left: 4px;
}
.mid-cta-sub-link:hover {
  text-decoration: underline;
  color: #dfa732;
}

@media (max-width: 640px) {
  .before-after-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .before-after-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .hero-tabs {
    justify-content: center;
  }
}
/* ===== INSIGHTS SECTION ===== */
.insights-sec {
  padding: 100px 0;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.insight-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--card-shadow-hover);
}
.insight-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-navy);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.insight-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.insight-callout {
  background: rgba(200, 154, 48, 0.08);
  border-left: 3px solid var(--brand-gold);
  padding: 14px 18px;
  border-radius: 4px 8px 8px 4px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.insight-callout p {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: var(--text-main);
}
.insight-note {
  font-size: 13.5px !important;
  font-style: italic;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 16px;
  margin-bottom: 0 !important;
}
.insight-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.4;
}
.insight-list svg {
  color: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.insight-scores-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
  background: rgba(26, 53, 102, 0.03);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
[data-theme="dark"] .insight-scores-grid {
  background: rgba(255, 255, 255, 0.02);
}
.insight-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 14px;
}
.insight-score-row:last-child {
  border-bottom: none;
}
.insight-score-badge {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-gold);
  background: rgba(200, 154, 48, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.insight-score-label {
  color: var(--text-muted);
  text-align: right;
}

@media (max-width: 991px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== QUIZ SECTION ===== */
.quiz-sec {
  padding: 100px 0;
  background: var(--bg-app);
}
.quiz-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  padding: 40px;
}
.quiz-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.manager-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.manager-img-wrapper {
  background: linear-gradient(135deg, var(--brand-navy) 0%, rgba(200, 154, 48, 0.4) 100%);
  padding: 20px 20px 0;
  display: flex;
  justify-content: center;
}
.manager-img {
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  display: block;
}
.manager-info {
  padding: 16px;
}
.manager-info h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.manager-info p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.quiz-panel {
  display: flex;
  flex-direction: column;
}
.quiz-header h3 {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  color: var(--text-navy);
  line-height: 1.4;
  margin-bottom: 24px;
}
.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  margin-bottom: 32px;
  overflow: hidden;
}
.quiz-progress {
  height: 100%;
  background: var(--brand-gold);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
  animation: fadeInQuiz 0.4s ease forwards;
}
@keyframes fadeInQuiz {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-question {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 20px;
}
.quiz-sub-question {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 24px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.quiz-opt-btn {
  font-family: var(--font-sans);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 500;
}
.quiz-opt-btn:hover {
  border-color: var(--brand-gold);
  background: rgba(200, 154, 48, 0.04);
  transform: translateY(-2px);
}
.quiz-footer {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}
.quiz-skip-btn {
  font-family: var(--font-sans);
  background: none;
  border: none;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition-fast);
}
.quiz-skip-btn:hover {
  color: var(--brand-gold);
}
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quiz-form .field input {
  font-family: var(--font-sans);
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--text-main);
  font-size: 15px;
  transition: var(--transition-fast);
}
.quiz-form .field input:focus {
  border-color: var(--brand-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 154, 48, 0.15);
}

@media (max-width: 768px) {
  .quiz-container {
    padding: 24px;
  }
  .quiz-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .manager-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .nav-links {
      width: 100%;
      justify-content: space-between;
  }
  section {
    padding: 50px 0 !important;
  }
  body .hero-ctas {
    justify-content: center !important;
  }
  .problem-note-cta {
      margin: auto;
  }
}

/* ===== DROPDOWN STYLING ===== */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.dropdown-caret {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
/* Desktop Dropdown Show on Hover */
@media (min-width: 981px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px) scale(0.95);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(26, 53, 102, 0.08);
    border-top: 3px solid var(--brand-gold);
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(26, 53, 102, 0.15), 
                0 0 0 1px rgba(26, 53, 102, 0.02);
    padding: 16px 8px;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
  }
  [data-theme="dark"] .dropdown-menu {
    background: rgba(16, 33, 66, 0.94);
    border-color: rgba(255, 255, 255, 0.06);
  }
  .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--brand-gold);
    border-left: 1px solid rgba(200, 154, 48, 0.2);
    border-top: 1px solid rgba(200, 154, 48, 0.2);
    z-index: -1;
  }
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px) scale(1);
    height: 330px;
    overflow-y: scroll;
  }
  .dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
    color: var(--brand-gold);
  }
  .dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: left;
    gap: 10px;
  }
  .dropdown-menu a::before {
    content: "→";
    font-size: 14px;
    color: var(--brand-gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
    margin-right: -4px;
  }
  .dropdown-menu a:hover {
    background: rgba(200, 154, 48, 0.06);
    color: var(--text-gold);
    padding-left: 20px;
  }
  .dropdown-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile Dropdown Styling (Accordion-like) */
@media (max-width: 980px) {
  .dropdown-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(26, 53, 102, 0.03);
    border-radius: 8px;
    margin-top: 8px;
    padding: 6px 0;
  }
  [data-theme="dark"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.02);
  }
  .dropdown.open-mobile .dropdown-menu {
    display: flex;
  }
  .dropdown.open-mobile .dropdown-caret {
    transform: rotate(180deg);
  }
  .dropdown-menu a {
    padding: 10px 20px !important;
    font-size: 14.5px;
    color: var(--text-muted);
    display: block;
    text-align: center;
  }
  .dropdown-menu a:hover {
    color: var(--text-gold);
  }
  .dropdown.open-mobile .dropdown-menu a {
    text-align: start;
  }
}


@media (max-width: 768px) {
  .trust-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ===== POPUP MODAL STYLING ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 40px 0;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 18, 36, 0.7);
}
.modal-container {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 520px;
  margin: auto;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  z-index: 10;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px;
}
.modal.open .modal-container {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}
[data-theme="dark"] .modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
}
.modal-header {
  margin-bottom: 24px;
}
.modal-header h3 {
  font-size: 1.45rem;
  color: var(--text-navy);
  margin-bottom: 6px;
}
.modal-header h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 2.5px;
  background: var(--brand-gold);
  border-radius: 2px;
  margin-top: 8px;
}
.modal-header p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 10px;
  line-height: 1.5;
}
.modal-container .field {
  margin-bottom: 16px;
}
.modal-container .field label {
  font-size: 12.5px;
  margin-bottom: 6px;
}
.modal-container .field input,
.modal-container .field select,
.modal-container .custom-select,
.modal-container .field textarea {
  padding: 11px 14px;
  font-size: 14px;
}
.modal-container .row-2 {
  gap: 12px;
}

/* Custom Select Dropdown inside Modal */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}
.custom-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-surface-alt);
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}
.custom-select:focus-visible, .custom-select.active {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(200, 154, 48, 0.15);
  outline: none;
}
.custom-select .dropdown-caret {
  transition: transform 0.2s ease;
}
.custom-select.active .dropdown-caret {
  transform: rotate(180deg);
}
.custom-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
}
.custom-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-option {
  padding: 10px 14px;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-main);
}
.custom-option:hover {
  background: rgba(200, 154, 48, 0.08);
  color: var(--text-gold);
}
.custom-option.selected {
  background: var(--brand-gold);
  color: #ffffff;
}

@media (max-width: 640px) {
  .modal-container {
    padding: 24px 20px;
    width: 95%;
  }
  .modal-header h3 {
    font-size: 1.3rem;
  }
}

.field.is-invalid .custom-select {
  border-color: #ef4444;
}
.field.is-invalid .custom-select:focus-visible, .field.is-invalid .custom-select.active {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}


