/* =========================
   RESET & BASE
========================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

/* =========================
   TOKENS
========================= */
:root {
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #5b6474;
  --muted-soft: #7a8495;
  --line: rgba(15,23,42,.08);
  --navy: #092a57;
  --navy-deep: #061a36;
  --blue: #0d3b7a;
  --blue-2: #0f4f9c;
  --blue-soft: #edf4ff;
  --gold: #d4a62a;
  --gold-light: #f5d06f;
  --shadow-sm: 0 10px 30px rgba(15,23,42,.05);
  --shadow-md: 0 18px 50px rgba(15,23,42,.10);
  --shadow-lg: 0 30px 80px rgba(15,23,42,.16);
  --pill: 999px;
  --container: min(1180px, calc(100% - 48px));
  --header-h: 90px;
  --ease: cubic-bezier(.22,1,.36,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}
@media (max-width: 768px) {
  :root { --container: calc(100% - 32px); --header-h: 76px; }
}
@media (max-width: 480px) {
  :root { --container: calc(100% - 24px); --header-h: 70px; }
}

/* =========================
   BASE BODY
========================= */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--header-h);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: var(--container); margin: 0 auto; }

.section { padding: 110px 0; }
.section-light { background: #ffffff; }
.section-dark { color: #ffffff; }

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
}
.eyebrow.accent { color: var(--blue-2); }

.section-intro { margin-bottom: 52px; }
.section-intro.narrow { max-width: 760px; }
.section-intro h2,
.about-copy h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 800;
}
.section-intro h2 { max-width: 14ch; }

.body-light  { margin: 14px 0 0; color: rgba(255,255,255,.72); max-width: 66ch; }
.body-dark   { margin: 14px 0 0; color: var(--muted); max-width: 66ch; }
.body-soft   { margin: 14px 0 0; color: #667085; max-width: 66ch; }
.lead-dark   { margin: 14px 0 0; color: #334155; font-size: 1.04rem; max-width: 66ch; }

/* =========================
   TOP BAR
   Always one line: phones left · icons right
========================= */
.top-bar {
  width: 100%;
  background: #f0f0f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.top-bar-left span {
  color: #4b2aad;
  white-space: nowrap;
  font-size: 13px;
}
.top-bar-left span a {
  color: #4b2aad;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.top-bar-left span a:hover { opacity: .7; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.top-bar-right a {
  color: #4b2aad;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: opacity .25s, transform .25s var(--bounce);
}
.top-bar-right a:hover { opacity: .6; transform: translateY(-2px) scale(1.15); }

/* Tablet — slightly smaller */
@media (max-width: 900px) {
  .top-bar { padding: 7px 20px; font-size: 12px; }
  .top-bar-left { gap: 10px; }
  .top-bar-left span { font-size: 12px; }
  .top-bar-right { gap: 10px; }
}

/* Mobile — keep on ONE LINE, shrink text & gaps */
@media (max-width: 600px) {
  .top-bar { padding: 6px 12px; gap: 6px; }
  .top-bar-left { gap: 6px; }
  .top-bar-left span { font-size: 10.5px; }
  .top-bar-right { gap: 8px; }
  .top-bar-right a { font-size: 12.5px; }
}

/* Very small — hide 2nd number, still one line */
@media (max-width: 380px) {
  .top-bar-left span:last-child { display: none; }
  .top-bar-left span { font-size: 10px; }
  .top-bar-right a { font-size: 12px; }
  .top-bar { padding: 6px 10px; }
}


/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--pill);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--bounce), box-shadow .35s var(--ease);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.14);
  opacity: 0;
  transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 14px 38px rgba(13,59,122,.24);
}
.btn-primary:hover { box-shadow: 0 22px 52px rgba(13,59,122,.34); }

.btn-secondary {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
}
.btn-secondary:hover { background: rgba(255,255,255,.22); }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(15,23,42,.16);
}
.btn-outline-dark:hover { background: rgba(15,23,42,.04); }

.btn-full { width: min(340px, 100%); }

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s, height .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(15,23,42,.07);
  height: calc(var(--header-h) - 12px);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 46px; height: 46px; object-fit: contain; flex-shrink: 0;
  transition: transform .5s var(--bounce);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.1); }

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: .96rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.brand-sub { font-size: .75rem; color: #6b7280; }

.nav-panel { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.main-nav {
  display: flex; align-items: center; gap: 4px;
  padding: 7px;
  background: rgba(9,42,87,.04);
  border: 1px solid rgba(9,42,87,.08);
  border-radius: var(--pill);
}

.nav-link, .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border-radius: var(--pill);
  text-decoration: none;
  color: var(--navy); background: transparent; border: 0; cursor: pointer;
  font-size: .88rem; font-weight: 700;
  transition: background .25s var(--ease), color .25s, transform .2s var(--bounce);
}
.nav-link:hover, .nav-drop-btn:hover {
  background: rgba(9,42,87,.08);
  transform: translateY(-1px);
}
.nav-link.active { background: var(--navy); color: #fff; }

.nav-dropdown { position: relative; }
.drop-icon { font-size: 1rem; transition: transform .3s var(--ease); }
.nav-dropdown.open .drop-icon { transform: rotate(45deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px); left: 0;
  min-width: 290px; padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(14px) scale(.97);
  transform-origin: top left;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.nav-dropdown.open .nav-drop-menu,
.nav-dropdown:hover .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.nav-drop-menu a {
  display: block; padding: 11px 14px; border-radius: 14px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: .88rem;
  transition: background .2s, color .2s, transform .2s var(--bounce);
}
.nav-drop-menu a:hover { background: var(--blue-soft); color: var(--blue); transform: translateX(4px); }

.nav-cta {
  min-height: 44px; padding: 0 18px;
  border-radius: var(--pill); text-decoration: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  font-size: .88rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .35s var(--bounce), box-shadow .35s;
  box-shadow: 0 10px 28px rgba(212,166,42,.24);
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.22); opacity: 0; transition: opacity .3s;
}
.nav-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 40px rgba(212,166,42,.36); }
.nav-cta:hover::before { opacity: 1; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px;
  border: 1.5px solid rgba(9,42,87,.14); background: #fff;
  border-radius: 14px; cursor: pointer;
  transition: background .25s, transform .2s var(--bounce);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle:hover { background: rgba(9,42,87,.04); transform: scale(1.05); }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s, width .35s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  overflow: hidden;
  background: #050e1d;
}

/* SLIDES */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }

/* PARTICLES */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particle {
  position: absolute; border-radius: 50%;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0) scale(0);  opacity: 0; }
  10%  { opacity: 1; transform: scale(1); }
  90%  { opacity: .5; }
  100% { transform: translateY(-100vh) translateX(40px) scale(.5); opacity: 0; }
}

/* Animated gradient sweep */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,17,37,.92) 0%, rgba(5,17,37,.62) 50%, rgba(5,17,37,.48) 100%),
    radial-gradient(700px 420px at 18% 24%, rgba(212,166,42,.18), transparent 60%);
  animation: overlayPulse 8s ease-in-out infinite;
}
@keyframes overlayPulse {
  0%,100% { opacity: 1; }
  50%     { opacity: .88; }
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,400px);
  gap: 50px; align-items: center;
  padding: 80px 0;
}

/* Hero text — animate in on load */
.hero-content {
  animation: heroSlideIn .9s var(--ease) .1s both;
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-content h1 {
  margin: 0; color: #fff;
  font-size: clamp(2.6rem, 5.8vw, 5.4rem);
  line-height: .94; letter-spacing: -.05em; font-weight: 800;
}
.hero-content h1 span { display: block; color: rgba(255,255,255,.78); }
.hero-text {
  margin: 22px 0 0; color: rgba(255,255,255,.78);
  font-size: 1.02rem; max-width: 56ch;
  animation: heroSlideIn .9s var(--ease) .3s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px;
  animation: heroSlideIn .9s var(--ease) .5s both;
}
.hero-disclaimer {
  margin: 20px 0 0; color: rgba(255,255,255,.5);
  font-size: .84rem; max-width: 54ch;
  animation: heroSlideIn .9s var(--ease) .65s both;
}

.hero-card {
  padding: 24px; border-radius: 28px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0,0,0,.26);
  animation: heroCardIn 1s var(--bounce) .4s both;
}
@keyframes heroCardIn {
  from { opacity: 0; transform: translateX(70px) scale(.94); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.mini-label, .mini-badge {
  display: inline-flex; align-items: center;
  min-height: 32px; padding: 0 12px;
  border-radius: var(--pill); font-size: .78rem; font-weight: 700;
}
.mini-label { background: rgba(255,255,255,.12); color: #fff; }
.mini-badge { background: rgba(212,166,42,.18); color: #ffe8a3; border: 1px solid rgba(212,166,42,.28); }

.hero-steps { display: grid; gap: 12px; }
.hero-step {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 12px; align-items: center;
  padding: 13px; border-radius: 16px;
  background: rgba(255,255,255,.07);
  transition: background .3s, transform .3s var(--bounce);
  cursor: default;
}
.hero-step:hover { background: rgba(255,255,255,.14); transform: translateX(6px); }
.hero-step strong {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(212,166,42,.2);
  color: #ffe39a; font-size: .78rem; letter-spacing: .08em;
  transition: background .3s, transform .3s var(--bounce);
}
.hero-step:hover strong { background: rgba(212,166,42,.35); transform: scale(1.1); }
.hero-step span { color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.5; }

/* =========================
   MARQUEE
========================= */
.marquee {
  position: relative;
  background: #080f1e;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  overflow: hidden; padding: 16px 0;
}
.marquee::before,
.marquee::after {
  content: ''; position: absolute; inset: 0; width: 12%;
  pointer-events: none; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #080f1e, transparent); }
.marquee::after  { right: 0; left: auto; background: linear-gradient(270deg, #080f1e, transparent); }

.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}
.marquee-row {
  display: inline-flex; align-items: center;
  gap: 24px; padding-right: 24px; white-space: nowrap;
  color: #fff; font-weight: 900; letter-spacing: -.02em;
  text-transform: uppercase;
  font-size: clamp(24px, 4.5vw, 56px); line-height: 1;
}
.marquee-row .dot { opacity: .45; color: var(--gold); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =========================
   TRUST BAR
========================= */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.trust-bar-track {
  min-height: 68px;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; text-align: center;
  color: var(--navy); font-size: .88rem; font-weight: 700;
}
.bar-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: dotPop 2.2s ease-in-out infinite;
}
.bar-dot:nth-child(2) { animation-delay: .2s; }
.bar-dot:nth-child(4) { animation-delay: .4s; }
.bar-dot:nth-child(6) { animation-delay: .6s; }
.bar-dot:nth-child(8) { animation-delay: .8s; }
@keyframes dotPop {
  0%,100% { transform: scale(1);   opacity: .9; }
  50%     { transform: scale(1.6); opacity: .5; }
}

/* =========================
   REVEAL ANIMATIONS  ← THE BIG ONES
========================= */

/* Base hidden state */
.reveal {
  opacity: 0;
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.is-visible { opacity: 1 !important; transform: none !important; }

/* Directions */
.reveal-up    { transform: translateY(60px); }
.reveal-left  { transform: translateX(-80px); }
.reveal-right { transform: translateX(80px); }
.reveal-scale { transform: scale(.82) translateY(30px); }
.reveal-flip  { transform: perspective(600px) rotateX(22deg) translateY(40px); }
.reveal-rotate{ transform: rotate(-8deg) scale(.88) translateY(30px); }

/* Delays */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* =========================
   TRUST CARDS
========================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.trust-card {
  position: relative;
  padding: 34px 28px 28px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--bounce), box-shadow .45s var(--ease), border-color .35s;
}
.trust-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(212,166,42,.06), rgba(13,59,122,.04));
  opacity: 0; transition: opacity .4s;
}
.trust-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); border-color: rgba(13,59,122,.14); }
.trust-card:hover::before { opacity: 1; }

.card-line {
  display: block; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue-2));
  margin-bottom: 18px;
  width: 52px;
  transition: width .5s var(--ease);
}
.trust-card:hover .card-line { width: 90px; }

.trust-card h3, .info-card h3, .service-card h3, .timeline-card h3 {
  margin: 0 0 10px; font-size: 1.1rem; line-height: 1.2; letter-spacing: -.02em;
}
.trust-card p, .info-card p, .service-card p, .timeline-card p {
  margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7;
}

/* =========================
   ABOUT
========================= */
.about-preview {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(212,166,42,.08), transparent 60%),
    linear-gradient(to bottom, #fff, #f8fbff);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.95fr);
  gap: 56px; align-items: start;
}
.about-copy h2 { max-width: 13ch; color: var(--text); }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.about-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }

.info-card {
  position: relative; padding: 24px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--bounce), box-shadow .45s var(--ease);
}
.info-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--blue-2));
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.info-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-md); }
.info-card:hover::after { transform: scaleY(1); }

.info-no, .timeline-number, .service-index {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 34px; padding: 0 10px;
  border-radius: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .12em;
}
.info-no { margin-bottom: 14px; background: rgba(13,59,122,.08); color: var(--blue); }

/* =========================
   SERVICES
========================= */
.services-block {
  position: relative;
  background:
    radial-gradient(780px 460px at 15% 10%, rgba(212,166,42,.1), transparent 60%),
    radial-gradient(760px 420px at 82% 22%, rgba(13,59,122,.28), transparent 60%),
    linear-gradient(to bottom, #06112a, #081b38);
}

/* Animated background grid lines */
.services-block::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  position: relative; z-index: 1;
}

.service-card {
  position: relative; min-height: 250px; padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
  overflow: hidden;
  transition: transform .45s var(--bounce), border-color .4s, background .4s, box-shadow .4s;
}

/* Shimmer sweep on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transition: left .5s var(--ease);
}
.service-card:hover::after { left: 150%; }

/* Cursor glow */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(212,166,42,.2), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255,255,255,.11);
  border-color: rgba(212,166,42,.3);
  box-shadow: 0 28px 70px rgba(0,0,0,.26);
}

.service-index { margin-bottom: 16px; background: rgba(212,166,42,.12); color: #ffd86a; }
.service-card h3 { color: #fff; }
.service-card p  { color: rgba(255,255,255,.72); }
.service-card small { display: block; margin-top: 12px; color: rgba(255,255,255,.46); }
.service-card-feature {
  background: linear-gradient(180deg, rgba(212,166,42,.18), rgba(255,255,255,.07));
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none;
  transition: color .25s, gap .3s var(--bounce);
}
.text-link::after { content: '→'; transition: transform .3s var(--bounce); }
.text-link:hover { color: #ffe39a; gap: 10px; }
.text-link:hover::after { transform: translateX(4px); }

/* =========================
   COURSES
========================= */
.courses-section {
  background: #061a3a;
  padding: 100px 20px;
  text-align: center;
  position: relative; overflow: hidden;
}
.courses-section::before {
  content: '';
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,166,42,.12), transparent 70%);
  top: -200px; left: -150px; pointer-events: none;
  animation: bgFloat 12s ease-in-out infinite;
}
.courses-section::after {
  content: '';
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,59,122,.22), transparent 70%);
  bottom: -100px; right: -80px; pointer-events: none;
  animation: bgFloat 14s ease-in-out infinite reverse;
}
@keyframes bgFloat {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(30px,-30px); }
}

.courses-eyebrow {
  color: rgba(255,255,255,.6); letter-spacing: .22em;
  font-size: 11px; text-transform: uppercase; margin-bottom: 8px;
  position: relative; z-index: 1;
}
.courses-title {
  font-size: clamp(2rem,5vw,3.2rem); color: #fff;
  margin-bottom: 48px; font-weight: 800; letter-spacing: -.04em;
  position: relative; z-index: 1;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 20px;
  position: relative; z-index: 1;
}

.course-card {
  background: rgba(255,255,255,.05);
  border-radius: 18px; padding: 12px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer; overflow: hidden; position: relative;
  opacity: 0; transform: translateY(50px) scale(.92);
  transition: transform .55s var(--bounce), opacity .55s var(--ease), border-color .4s, box-shadow .4s;
}
.course-card a { text-decoration: none; display: block; }
.course-card.show { opacity: 1; transform: translateY(0) scale(1); }
.course-card img {
  width: 100%; height: 125px; object-fit: cover; border-radius: 12px;
  transition: transform .65s var(--ease);
}
.course-card span {
  display: block; margin-top: 9px;
  color: #fff; font-weight: 600; font-size: .86rem;
}
.course-card:hover {
  transform: translateY(-12px) scale(1.04) !important;
  border-color: rgba(212,166,42,.55);
  box-shadow: 0 24px 56px rgba(212,166,42,.2);
}
.course-card:hover img { transform: scale(1.1); }
.course-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .45s var(--ease);
}
.course-card:hover::after { width: 100%; }

.courses-cta { margin-top: 48px; position: relative; z-index: 1; }

.btn-gold-wrap { position: relative; display: inline-block; }
.btn-gold-wrap::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: pulseRing 2.4s ease-out infinite;
}
.btn-gold-wrap::after {
  content: '';
  position: absolute; inset: -12px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: pulseRing 2.4s ease-out .4s infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1);    opacity: .5; }
  100% { transform: scale(1.22); opacity: 0; }
}

.btn-gold {
  display: inline-block; padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #061a3a; font-weight: 800; font-size: .92rem;
  text-decoration: none; border: 0; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .35s var(--bounce), box-shadow .35s;
  box-shadow: 0 10px 30px rgba(212,166,42,.3);
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .5s var(--ease);
}
.btn-gold:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 18px 40px rgba(212,166,42,.44); }
.btn-gold:hover::after { left: 150%; }

/* =========================
   PROCESS / TIMELINE
========================= */
.process-wrap { display: grid; gap: 44px; }

.timeline {
  position: relative; display: grid; gap: 20px; max-width: 900px;
}
.timeline::before {
  content: '';
  position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(to bottom,
    rgba(13,59,122,.08),
    rgba(13,59,122,.5),
    rgba(212,166,42,.5),
    rgba(13,59,122,.08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px; align-items: start;
}

.timeline-marker {
  position: relative; z-index: 2;
  width: 18px; height: 18px;
  margin: 18px 0 0 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blue-2));
  box-shadow: 0 0 0 8px rgba(13,59,122,.08);
  transition: box-shadow .4s var(--ease), transform .4s var(--bounce);
}
.timeline-item:hover .timeline-marker {
  box-shadow: 0 0 0 14px rgba(13,59,122,.12);
  transform: scale(1.3);
}

.timeline-card {
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--bounce), box-shadow .45s var(--ease);
}
.timeline-card:hover { transform: translateX(8px) translateY(-4px); box-shadow: var(--shadow-md); }
.timeline-number { margin-bottom: 14px; background: rgba(13,59,122,.08); color: var(--blue); }

/* =========================
   CTA
========================= */
.cta-section { background: linear-gradient(to bottom, #f7f9fd, #fff); }

.cta-panel {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(260px,.7fr);
  gap: 40px; align-items: center;
  padding: 50px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,166,42,.14), transparent 70%);
  animation: bgFloat 10s ease-in-out infinite;
}
.cta-copy h2 { color: var(--text); max-width: 13ch; }
.cta-copy p  { margin: 14px 0 0; color: var(--muted); max-width: 58ch; }
.cta-copy small { display: block; margin-top: 14px; color: var(--muted-soft); font-size: .82rem; }
.cta-actions { display: grid; gap: 14px; justify-items: end; }

/* =========================
   FOOTER
========================= */
.site-footer {
  background:
    radial-gradient(680px 360px at 10% 20%, rgba(212,166,42,.08), transparent 60%),
    linear-gradient(to bottom, #07142a, #04101e);
  color: #fff;
  padding: 80px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1fr;
  gap: 24px; padding-bottom: 28px;
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; margin-bottom: 16px;
  transition: opacity .3s;
}
.footer-logo:hover { opacity: .82; }
.footer-logo img { width: 46px; height: 46px; object-fit: contain; }
.footer-logo span { display: block; font-weight: 800; font-size: .96rem; letter-spacing: -.03em; }
.footer-logo small { display: block; color: rgba(255,255,255,.58); }
.footer-brand p { color: rgba(255,255,255,.66); font-size: .86rem; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { margin: 0 0 14px; font-size: .96rem; }
.footer-col a {
  display: block; margin-bottom: 9px;
  text-decoration: none; color: rgba(255,255,255,.66); font-size: .86rem;
  transition: color .25s, transform .25s var(--bounce);
}
.footer-col a:hover { color: #fff; transform: translateX(5px); }
.footer-col p { color: rgba(255,255,255,.66); font-size: .86rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { margin: 0; font-size: .84rem; color: rgba(255,255,255,.5); }

/* =========================
   LOCATION BAR
========================= */
.location-bar { background: #011a37; color: #fff; padding: 28px 0; }
.location-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 36px; align-items: flex-start;
}
.location-col {
  display: flex; gap: 12px;
  font-size: 13.5px; line-height: 1.65; opacity: .94;
  position: relative;
}
.location-col:not(:last-child)::after {
  content: '';
  position: absolute; right: -18px; top: 0;
  width: 1px; height: 100%;
  background: rgba(255,255,255,.18);
}
.location-col i { font-size: 12px; margin-top: 4px; color: var(--gold); }
.location-col p { margin: 0; }
.location-col a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .25s; }
.location-col a:hover { color: #fff; }

/* =========================
   COUNTER NUMBERS
========================= */
.stat-number {
  font-size: clamp(2.2rem,4vw,3.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.04em;
  line-height: 1;
}

/* =========================
   SCROLL PROGRESS BAR
========================= */
#scrollProgress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--blue-2));
  z-index: 9999;
  transition: width .05s linear;
  border-radius: 0 2px 2px 0;
}



/* =====================================================
   RESPONSIVE — 1024px  (Large tablet / small laptop)
   Stacks hero, about, CTA. Footer 2-col. Grids 2-col.
===================================================== */
@media (max-width: 1024px) {

  .hero-grid        { grid-template-columns: 1fr; gap: 36px; padding: 70px 0 78px; }
  .about-grid       { grid-template-columns: 1fr; gap: 40px; }
  .cta-panel        { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions      { justify-items: start; }

  .footer-grid      { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .trust-grid       { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .about-stats      { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .courses-grid     { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .section          { padding: 90px 0; }
  .section-intro h2,
  .about-copy h2,
  .cta-copy h2      { max-width: none; }
}

/* =====================================================
   RESPONSIVE — 900px  (Tablet / mobile nav kicks in)
===================================================== */
@media (max-width: 900px) {

  /* ---- NAV ---- */
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 8px; right: 8px;
    margin-left: 0;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 20px 60px rgba(15,23,42,.15);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 999;
  }
  .nav-panel.show {
    display: flex;
    animation: mobileNavIn .28s cubic-bezier(.22,1,.36,1) both;
  }
  @keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-8px) scale(.98); }
    to   { opacity: 1; transform: translateY(0)   scale(1);   }
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 2px;
  }
  .nav-link,
  .nav-drop-btn {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    justify-content: space-between;
    font-size: .9rem;
  }
  .nav-drop-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 12px;
    background: #f5f6ff;
    border: 1px solid rgba(15,23,42,.06);
    margin-top: 4px;
    min-width: 0;
  }
  .nav-dropdown.open .nav-drop-menu { display: block; }

  .nav-cta {
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
    font-size: .9rem;
    justify-content: center;
  }

  /* ---- HERO ---- */
  .hero           { min-height: auto; }
  .hero-grid      { padding: 60px 0 68px; gap: 28px; }

  /* ---- LOCATION ---- */
  .location-grid  { grid-template-columns: 1fr 1fr; gap: 24px; }
  .location-col::after { display: none; }
}

/* =====================================================
   RESPONSIVE — 768px  (Portrait tablet)
   Single-column grids, full-width buttons
===================================================== */
@media (max-width: 768px) {

  /* Spacing */
  .section       { padding: 70px 0; }
  .section-intro { margin-bottom: 36px; }
  .section-intro h2,
  .about-copy h2,
  .cta-copy h2   { font-size: clamp(1.8rem, 5.5vw, 2.6rem); }

  /* All grids → single column */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-grid    { grid-template-columns: 1fr; gap: 14px; }
  .about-stats   { grid-template-columns: 1fr 1fr; gap: 14px; }
  .courses-grid  { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Hero */
  .hero-grid       { padding: 52px 0 60px; gap: 22px; }
  .hero-content h1 { font-size: clamp(2.2rem, 7.5vw, 3.2rem); max-width: none; }
  .hero-text       { font-size: .95rem; }
  .hero-actions    { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-card       { padding: 20px; }
  .hero-step       { padding: 12px; }

  /* Buttons full width */
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline-dark,
  .btn-full        { width: 100%; justify-content: center; }
  .about-actions   { flex-direction: column; align-items: stretch; gap: 10px; }

  /* Trust bar */
  .trust-bar-track {
    padding: 12px 8px;
    gap: 8px;
    font-size: .8rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .bar-dot { display: none; }

  /* Timeline */
  .timeline-item    { grid-template-columns: 34px 1fr; gap: 12px; }
  .timeline::before { left: 16px; }
  .timeline-marker  { margin-left: 7px; margin-top: 16px; width: 14px; height: 14px; }
  .timeline-card    { padding: 20px 18px; }

  /* CTA */
  .cta-panel { padding: 28px 20px; border-radius: 24px; }
  .cta-actions { justify-items: stretch; }
  .cta-actions .btn { width: 100%; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom p { font-size: .8rem; }

  /* Location */
  .location-grid { grid-template-columns: 1fr; gap: 18px; }
  .location-col::after { display: none; }

  /* Marquee */
  .marquee-row { font-size: clamp(20px, 5.5vw, 36px); gap: 16px; }

  /* Cards */
  .service-card { min-height: auto; padding: 22px 18px; }
  .info-card    { padding: 20px 18px; }
  .trust-card   { padding: 24px 20px 20px; }
}

/* =====================================================
   RESPONSIVE — 540px  (Large phones landscape / small tablet)
===================================================== */
@media (max-width: 540px) {
  .about-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 60px 0; }
}

/* =====================================================
   RESPONSIVE — 480px  (Phones portrait)
===================================================== */
@media (max-width: 480px) {

  :root {
    --container: calc(100% - 24px);
    --header-h: 68px;
  }

  /* Brand */
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: .84rem; }
  .brand-sub  { font-size: .67rem; }

  /* Section */
  .section       { padding: 54px 0; }
  .section-intro { margin-bottom: 30px; }
  .section-intro h2,
  .about-copy h2,
  .cta-copy h2   { font-size: clamp(1.55rem, 7vw, 2rem); }

  /* Hero */
  .hero-grid       { padding: 42px 0 50px; gap: 20px; }
  .hero-content h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .hero-text       { font-size: .9rem; }
  .hero-card       { padding: 16px; }
  .hero-step       { padding: 10px; gap: 10px; }
  .hero-step strong  { width: 34px; height: 34px; font-size: .7rem; border-radius: 10px; }
  .hero-step span    { font-size: .8rem; }
  .hero-card-top     { margin-bottom: 14px; }
  .mini-label,
  .mini-badge        { font-size: .7rem; min-height: 28px; padding: 0 10px; }

  /* Marquee */
  .marquee-row { font-size: clamp(17px, 6vw, 24px); gap: 12px; }
  .marquee { padding: 12px 0; }

  /* Trust bar — horizontal scroll, never wrap */
  .trust-bar-track {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 10px 0;
    gap: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .trust-bar-track::-webkit-scrollbar { display: none; }
  .bar-dot { display: inline-block; flex-shrink: 0; }

  /* Courses */
  .courses-section { padding: 60px 14px; }
  .courses-title   { font-size: clamp(1.6rem, 7vw, 2rem); margin-bottom: 26px; }
  .courses-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .course-card img { height: 90px; }
  .course-card span { font-size: .76rem; }

  /* Cards */
  .trust-card    { padding: 18px 16px 16px; }
  .service-card  { padding: 18px 16px; }
  .info-card     { padding: 18px 16px; }
  .timeline-card { padding: 16px 14px; }
  .cta-panel     { padding: 20px 14px; border-radius: 18px; }
  .about-actions { gap: 10px; }

  /* Timeline */
  .timeline-item    { grid-template-columns: 26px 1fr; gap: 10px; }
  .timeline::before { left: 12px; }
  .timeline-marker  { margin-left: 4px; width: 12px; height: 12px; margin-top: 18px; }

  /* Footer */
  .footer-grid { gap: 22px; }
  .footer-col a, .footer-col p, .footer-brand p { font-size: .82rem; }
  .location-bar { padding: 18px 0; }
  .location-col { font-size: 13px; }

  /* Nav */
  .nav-link, .nav-drop-btn { min-height: 46px; font-size: .88rem; }
  .nav-panel { padding: 10px; }
}

/* =====================================================
   RESPONSIVE — 360px  (Very small phones)
===================================================== */
@media (max-width: 360px) {
  :root { --container: calc(100% - 20px); --header-h: 64px; }

  .brand-name { font-size: .78rem; }
  .brand-logo { width: 36px; height: 36px; }

  .hero-content h1 { font-size: 1.75rem; }
  .hero-grid       { padding: 36px 0 44px; }

  .courses-grid  { grid-template-columns: 1fr 1fr; gap: 8px; }
  .course-card img { height: 80px; }

  .section       { padding: 46px 0; }
  .marquee-row   { font-size: 16px; }
  .cta-panel     { padding: 16px 12px; }
}

/* =====================================================
   REDUCED MOTION
===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}