/* ============================================================
   Success Study Point — Design System
   Dual theme (light/dark), modern, animated, mobile-first.
   Animate transform/opacity only. Tokens are semantic.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Light theme (default) — Fresh Emerald */
  --bg: #f4faf7;
  --bg-grad-1: #e7f6ef;
  --bg-grad-2: #f4faf7;
  --surface: #ffffff;
  --surface-2: #e9f7f1;
  --surface-3: #d6efe5;
  --text: #0c2a24;
  --text-muted: #47655d;
  --text-faint: #7fa097;
  --brand: #0a7a57;
  --brand-2: #0d9488;
  --brand-bright: #12c08a;
  --brand-ink: #073327;
  --accent: #ff6b5d;
  --accent-2: #d63a28;
  --accent-soft: rgba(255, 107, 93, 0.12);
  --success: #0fa958;
  --success-soft: rgba(15, 169, 88, 0.12);
  --danger: #e23857;
  --danger-soft: rgba(226, 56, 87, 0.12);
  --border: #d9e8e1;
  --border-strong: #bfdccf;

  --on-brand: #ffffff;
  --on-accent: #3a1410;

  --shadow-sm: 0 2px 8px rgba(7, 51, 39, 0.07);
  --shadow: 0 6px 24px rgba(7, 51, 39, 0.10);
  --shadow-lg: 0 14px 44px rgba(7, 51, 39, 0.15);
  --shadow-brand: 0 12px 30px rgba(13, 157, 112, 0.24);
  --ring: 0 0 0 3px rgba(13, 157, 112, 0.30);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  --maxw: 1160px;
  --maxw-narrow: 880px;
  --gut: clamp(16px, 4vw, 28px);

  --nav-h: 112px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 240ms;

  --hero-grad: linear-gradient(150deg, #073327 0%, #0c6f57 48%, #0d9488 100%);
  --hero-wash: #eef3fb;
  --orange: #f97316;
  --orange-2: #ea6a0c;
}

[data-theme="dark"] {
  --bg: #07140f;
  --bg-grad-1: #0a1d16;
  --bg-grad-2: #07140f;
  --surface: #0c1f18;
  --surface-2: #112a20;
  --surface-3: #173a2c;
  --text: #e8f5ef;
  --text-muted: #9dbcb0;
  --text-faint: #6c8c80;
  --brand: #2bd39b;
  --brand-2: #14b890;
  --brand-bright: #3ce6b0;
  --brand-ink: #c2f3e0;
  --accent: #ff8475;
  --accent-2: #ff8475;
  --accent-soft: rgba(255, 132, 117, 0.16);
  --success: #34d28a;
  --success-soft: rgba(52, 210, 138, 0.16);
  --danger: #f2607e;
  --danger-soft: rgba(242, 96, 126, 0.18);
  --border: #1d3a2e;
  --border-strong: #2a4f3e;

  --on-brand: #04140d;
  --on-accent: #2a0d08;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-brand: 0 12px 30px rgba(0, 0, 0, 0.55);
  --ring: 0 0 0 3px rgba(43, 211, 155, 0.4);

  --hero-grad: linear-gradient(150deg, #061a13 0%, #0a3a2c 55%, #0e5944 100%);
  --hero-wash: var(--bg-grad-1);
  --orange: #ff8a3d;
  --orange-2: #f97316;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--dur) ease, color var(--dur) ease;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 2000;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
}
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.bg-soft { background: var(--surface-2); }
.bg-surface { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
[data-theme="dark"] .eyebrow { color: var(--accent); }
.section-title { font-size: clamp(26px, 3.6vw, 40px); }
.section-sub { color: var(--text-muted); font-size: clamp(15px, 1.7vw, 18px); margin-top: 12px; max-width: 62ch; }
.section-head { max-width: 64ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--brand);
  --b-fg: var(--on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--b-bg);
  color: var(--b-fg);
  min-height: 48px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    background var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .lucide { width: 18px; height: 18px; }

.btn--primary { --b-bg: var(--accent); --b-fg: var(--on-accent); box-shadow: 0 8px 22px rgba(255, 107, 93, 0.34); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(255, 107, 93, 0.46); }
.btn--brand { --b-bg: var(--brand); --b-fg: var(--on-brand); }
.btn--orange { --b-bg: linear-gradient(135deg, var(--orange), var(--orange-2)); --b-fg: #fff; box-shadow: 0 8px 22px rgba(249,115,22,0.34); }
.btn--orange:hover { box-shadow: 0 12px 30px rgba(249,115,22,0.46); }
.btn--ghost {
  --b-bg: transparent; --b-fg: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface-2); box-shadow: var(--shadow-sm); }
.btn--on-dark { --b-bg: rgba(255,255,255,0.1); --b-fg: #fff; border-color: rgba(255,255,255,0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--on-dark:hover { background: rgba(255,255,255,0.18); box-shadow: none; }
.btn--lg { padding: 16px 34px; font-size: 16.5px; min-height: 54px; }
.btn--block { width: 100%; }
.btn--wa { --b-bg: #25d366; --b-fg: #07321b; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3); }

/* ---------- Top progress + Nav ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1200;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--brand));
}
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) ease, box-shadow var(--dur) ease, border-color var(--dur) ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 10px var(--gut);
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 95px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--text); padding: 9px 13px; border-radius: var(--r-sm);
  transition: background var(--dur) ease, color var(--dur) ease;
}
.nav-links > a:hover { background: var(--surface-2); color: var(--brand); }
.nav-links > a.is-active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Animated call button in the nav */
.nav-call {
  position: relative; gap: 7px; padding: 10px 16px; min-height: 42px;
  font-size: 14px; white-space: nowrap; margin-left: 4px;
}
.nav-links > a.nav-call,
.nav-links > a.nav-call:hover { color: #fff; background: var(--brand); }
.nav-call .lucide { width: 16px; height: 16px; transform-origin: 60% 40%; animation: navCallShake 1.8s var(--ease-in-out) infinite; }
.nav-call::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(13, 157, 112, 0.5); animation: navCallRing 2s ease-out infinite;
}
@keyframes navCallRing { 0% { box-shadow: 0 0 0 0 rgba(13,157,112,0.45); } 70%, 100% { box-shadow: 0 0 0 13px rgba(13,157,112,0); } }
@keyframes navCallShake {
  0%, 55%, 100% { transform: rotate(0); }
  60%, 72% { transform: rotate(-13deg); }
  66%, 78% { transform: rotate(13deg); }
  84% { transform: rotate(0); }
}

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text);
  transition: background var(--dur) ease, transform var(--dur) var(--ease-out), border-color var(--dur) ease;
}
.theme-toggle:hover { transform: rotate(-18deg); border-color: var(--border-strong); }
.theme-toggle .lucide { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--border);
  border-radius: var(--r-sm); background: var(--surface-2); padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur) ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (light, split + animated orbit) ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(120% 120% at 86% -12%, rgba(13,148,136,0.12), transparent 54%),
    radial-gradient(120% 130% at -8% 112%, rgba(56,118,224,0.08), transparent 56%),
    linear-gradient(180deg, var(--hero-wash) 0%, var(--bg) 82%);
  padding-block: clamp(44px, 8vw, 96px);
  isolation: isolate;
}
/* soft aurora blobs drifting behind content */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  opacity: 0.55; pointer-events: none; filter: blur(6px);
  animation: floatBlob 20s ease-in-out infinite alternate;
}
.hero::after { animation-duration: 27s; animation-direction: alternate-reverse; }
.hero::before { width: 440px; height: 440px; top: -170px; right: -110px;
  background: radial-gradient(circle, rgba(18,192,138,0.30), transparent 62%); }
.hero::after { width: 520px; height: 520px; bottom: -250px; left: -160px;
  background: radial-gradient(circle, rgba(255,107,93,0.22), transparent 62%); }

.hero > .container { max-width: 1300px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--brand); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.04em; padding: 8px 14px; border-radius: var(--r-pill); margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,107,93,0.6); animation: pulseDot 2.4s ease-out infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(255,107,93,0.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,107,93,0); } }

.hero h1 { color: var(--text); font-size: clamp(32px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -0.025em; }
.hero h1 .hl {
  background: linear-gradient(118deg, var(--success), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { color: var(--text-muted); font-size: clamp(15px, 1.9vw, 19px); margin-top: 18px; max-width: 54ch; }
.hero-hinglish { color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: clamp(14px, 1.7vw, 17px); margin-top: 12px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 36px); margin-top: 36px; }
.hero-stat { position: relative; padding-left: 16px; }
.hero-stat::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 3px; background: linear-gradient(var(--brand), var(--accent)); }
.hero-stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); color: var(--text); line-height: 1; }
.hero-stat .n .u { color: var(--accent); }
.hero-stat .l { font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.03em; margin-top: 6px; }

/* entrance gate — only hide pre-animation when JS will animate */
.hero-anim .hero [data-rise] { opacity: 0; }
.hero .word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.hero .word { display: inline-block; will-change: transform; }
/* gradient highlight must live on the split words too (clip applies to each word's glyphs) */
.hero h1 .hl .word {
  background-image: linear-gradient(118deg, var(--success), var(--brand));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- peeking confused characters (poke out from behind the headline) ---- */
.headline-wrap { position: relative; }
.headline-wrap h1 { position: relative; z-index: 2; }     /* text stays above the peekers */
.peeker { position: absolute; z-index: 1; width: clamp(54px, 6.5vw, 84px); pointer-events: none; }
.peeker-svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 7px 14px rgba(7, 51, 39, 0.22)); }
.peeker .q {
  position: absolute; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: 24px;
  color: var(--accent); -webkit-text-stroke: 3px var(--bg); paint-order: stroke fill;
}
.peeker--tr { top: 20%; right: 0; transform: translate(46%, -50%); }
.peeker--tr .q { top: -10px; right: -6px; }
.peeker--tl { top: 26%; left: 0; transform: translate(-44%, -50%); }
.peeker--tl .q { top: -10px; right: -6px; }
@media (max-width: 600px) {
  .peeker { width: clamp(46px, 13vw, 60px); }
  .peeker--tr { top: 14%; right: 0; transform: translate(16%, -50%); }
  .peeker--tl { display: none; }
}

/* ---- animated orbit stage (JS adds .is-orbiting for the live version) ---- */
.hero-stage {
  position: relative; width: 100%; max-width: 440px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.hero-stage.is-orbiting { display: grid; place-items: center; aspect-ratio: 1 / 1; gap: 0; }

.orbit-ring, .orbit-glow { display: none; pointer-events: none; }
.hero-stage.is-orbiting .orbit-ring,
.hero-stage.is-orbiting .orbit-glow { display: block; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--border-strong); }
.orbit-ring.r1 { inset: 14%; }
.orbit-ring.r2 { inset: -1%; opacity: 0.65; }
.orbit-glow { position: absolute; inset: 16%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); }

.orbit-core {
  position: relative; z-index: 3; display: grid; place-items: center; text-align: center;
  color: #fff; padding: 16px; border-radius: 50%; aspect-ratio: 1; width: 150px; max-width: 42%;
  background: linear-gradient(140deg, var(--brand-bright), var(--brand-2));
  box-shadow: 0 18px 48px rgba(13,157,112,0.40), inset 0 1px 0 rgba(255,255,255,0.3);
}
.hero-stage:not(.is-orbiting) .orbit-core { width: 134px; max-width: none; }
.orbit-core .lucide { width: 30px; height: 30px; }
.orbit-core .ot { font-family: var(--font-head); font-weight: 800; font-size: 12.5px; line-height: 1.2; margin-top: 6px; }

.orbit-spin { z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 88%; }
.hero-stage.is-orbiting .orbit-spin { position: absolute; inset: 0; display: block; max-width: none; }
.orbit-item { display: block; }
.hero-stage.is-orbiting .orbit-item { position: absolute; top: 50%; left: 50%; }
.orbit-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  padding: 8px 13px; border-radius: var(--r-pill); white-space: nowrap;
}
.orbit-chip .lucide { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.orbit-chip .dot2 { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* ── Animated story film band ── */
.film { background: linear-gradient(180deg, #081834 0%, #0b1f3d 100%); padding: clamp(44px, 6vw, 86px) 0; }
.film-head { text-align: center; margin-bottom: clamp(22px, 4vw, 40px); }
.film-head h2 { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 4vw, 46px); line-height: 1.12; }
.film-head h2 .hl { color: var(--accent); }
.film-head p { color: #cfe0f5; font-size: clamp(15px, 1.8vw, 19px); margin-top: 12px; }
.film-frame {
  margin: 0 auto; width: min(1500px, 92vw); aspect-ratio: 16 / 9;
  border-radius: var(--r-xl); overflow: hidden; background: #081834;
  border: 1px solid rgba(232, 160, 32, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); cursor: pointer;
}
.film-video { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.trust-cell { background: var(--surface); padding: 22px 18px; text-align: center; }
.trust-cell .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 3vw, 30px); color: var(--brand); }
.trust-cell .l { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Generic card ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) ease;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--r); margin-bottom: 16px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: var(--shadow-sm);
}
.icon-badge .lucide { width: 26px; height: 26px; }
.icon-badge--accent { background: linear-gradient(140deg, var(--accent), var(--accent-2)); color: var(--on-accent); }
.icon-badge--success { background: linear-gradient(140deg, var(--success), #0f8a57); color: #fff; }

.course-card h3 { font-size: 18px; margin-bottom: 8px; }
.course-card p { color: var(--text-muted); font-size: 14.5px; }
.tag {
  display: inline-block; margin-top: 16px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft, rgba(232,160,32,0.12));
  padding: 5px 12px; border-radius: var(--r-pill);
}
[data-theme="dark"] .tag { color: var(--accent); background: rgba(245,177,51,0.14); }

/* feature list */
.feat-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.feat-check { display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.feat-check .lucide { width: 16px; height: 16px; }
.feat-item h4 { font-size: 14.5px; }
.feat-item p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 22px 24px; box-shadow: var(--shadow-sm); }
.step .num {
  counter-increment: step; font-family: var(--font-head); font-weight: 800; font-size: 14px;
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; margin-bottom: 14px;
}
.step .num::before { content: "0" counter(step); }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Reviews ---------- */
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .lucide { width: 17px; height: 17px; fill: currentColor; }
.review-text { font-size: 14.5px; color: var(--text); font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--brand), var(--brand-2)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.reviewer-name { font-weight: 700; font-size: 14px; }
.reviewer-course { font-size: 12.5px; color: var(--text-muted); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: var(--maxw-narrow); margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color var(--dur) ease, box-shadow var(--dur) ease; }
.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform var(--dur) var(--ease-out); flex-shrink: 0; color: var(--brand); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 20px 20px; color: var(--text-muted); font-size: 14.5px; }
.faq-item .faq-body a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ---------- Disclaimer callout ---------- */
.disclaimer-box {
  background: var(--accent-soft, rgba(232,160,32,0.1)); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 18px; font-size: 13.5px; color: var(--text-muted); line-height: 1.7;
}
[data-theme="dark"] .disclaimer-box { background: rgba(245,177,51,0.08); }
.disclaimer-box strong { color: var(--text); }

/* ---------- Storytelling: fail -> pass ---------- */
.story { position: relative; background: var(--surface-2); overflow: hidden; }
.story-head { text-align: center; max-width: 64ch; margin-inline: auto; }
.story-track { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; max-width: var(--maxw-narrow); margin-inline: auto; }
.beat {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--beat-c, var(--border-strong));
  border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.beat .beat-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--beat-soft, var(--surface-2)); color: var(--beat-c, var(--brand)); }
.beat .beat-ico .lucide { width: 26px; height: 26px; }
.beat h3 { font-size: 18px; margin-bottom: 6px; }
.beat p { color: var(--text-muted); font-size: 14.5px; }
.beat--fail { --beat-c: var(--danger); --beat-soft: var(--danger-soft); }
.beat--turn { --beat-c: var(--brand); --beat-soft: var(--surface-2); }
.beat--help { --beat-c: var(--accent); --beat-soft: rgba(232,160,32,0.12); }
.beat--win { --beat-c: var(--success); --beat-soft: var(--success-soft); }
.beat--win { border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }

/* ---------- CTA box ---------- */
.cta-box {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: var(--hero-grad); border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 64px) var(--gut); box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); }
.cta-box p { color: #cfe0f5; margin: 12px auto 26px; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--text); margin-bottom: 7px; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 13px 14px; min-height: 48px; transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.form-note { font-size: 12.5px; color: var(--text-faint); }
.form-status { font-size: 14px; padding: 12px 14px; border-radius: var(--r-sm); display: none; }
.form-status.is-error { display: block; background: var(--danger-soft); color: var(--danger); }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.info-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .lucide { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.info-row h4 { font-size: 14px; margin-bottom: 2px; }
.info-row p, .info-row a { font-size: 13.5px; color: var(--text-muted); }

/* map embeds */
.map-embed { width: 100%; height: 260px; border: 0; border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* ---------- Branch cards ---------- */
.branch-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.branch-card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.branch-card .b-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
[data-theme="dark"] .branch-card .b-label { color: var(--accent); }
.branch-card h3 { font-size: 18px; margin: 6px 0 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--hero-grad); color: rgba(200, 235, 215, 0.85); padding-block: clamp(40px, 6vw, 60px) 24px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; }
.footer-brand img { height: 95px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13.5px; color: rgba(200, 235, 215, 0.65); max-width: 36ch; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-col a, .footer-col p { display: block; color: rgba(200, 235, 215, 0.75); font-size: 13.5px; padding: 4px 0; transition: color var(--dur) ease; }
.footer-col a:hover { color: var(--brand-bright); }
.footer-bottom { max-width: var(--maxw); margin: 32px auto 0; padding: 18px var(--gut) 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12.5px; color: rgba(200, 235, 215, 0.60); }
.footer-bottom a { color: rgba(200, 235, 215, 0.60); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 1100;
  display: inline-flex; align-items: center; gap: 0;
  background: #25d366; color: #ffffff; border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  padding: 14px; overflow: visible;
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), gap var(--dur) var(--ease-out), padding var(--dur) var(--ease-out);
}
.wa-fab.is-in { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; animation: wa-bob 2.6s ease-in-out infinite; }
.wa-fab .lucide { width: 28px; height: 28px; flex-shrink: 0; }
.wa-fab .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; opacity: 0; transition: max-width var(--dur) var(--ease-out), opacity var(--dur) ease, margin var(--dur) ease; }
.wa-fab:hover { animation-play-state: paused; }
.wa-fab:hover .wa-label, .wa-fab:focus-visible .wa-label { max-width: 180px; opacity: 1; margin-left: 10px; margin-right: 4px; }
.wa-fab::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(37, 211, 102, 0.45); animation: wa-ring 2.6s ease-out infinite;
}
@keyframes wa-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.5; } 70%,100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Intro overlay ---------- */
.intro {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
  background: var(--hero-grad);
}
.intro.is-hidden { opacity: 0; visibility: hidden; transition: opacity 500ms ease, visibility 0s 500ms; }
.intro-logo { width: clamp(120px, 22vw, 180px); height: auto; opacity: 0; transform: scale(0.85); animation: intro-pop 900ms var(--ease-out) forwards; }
.intro-bar { position: absolute; bottom: 22%; width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.25); overflow: hidden; }
.intro-bar::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: var(--accent); animation: intro-load 1100ms var(--ease-out) forwards; }
@keyframes intro-pop { to { opacity: 1; transform: scale(1); } }
@keyframes intro-load { to { transform: translateX(0); } }

/* ---------- Reveal animations (IntersectionObserver-driven) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-muted); padding-block: 18px; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--text-faint); }

/* legal/article pages */
.prose { max-width: var(--maxw-narrow); margin-inline: auto; }
.prose h2 { font-size: 22px; margin: 30px 0 10px; }
.prose h3 { font-size: 17px; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand); text-decoration: underline; }
.page-hero { background: var(--hero-grad); color: #fff; padding-block: clamp(44px, 7vw, 80px); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 44px); }
.page-hero p { color: #cfe0f5; margin-top: 12px; max-width: 60ch; }

/* utilities */
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.muted { color: var(--text-muted); }
.flex { display: flex; } .wrap { flex-wrap: wrap; } .gap { gap: 14px; } .items-center { align-items: center; } .justify-center { justify-content: center; }
.hide-mobile { display: initial; }

/* ---------- 3D tilt (added by JS on desktop pointers) ---------- */
.tilt { transform-style: preserve-3d; transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.tilt > * { transition: transform 240ms var(--ease-out); }
.tilt .icon-badge, .tilt .num, .tilt .avatar, .tilt .stars, .tilt .b-label { transform: translateZ(38px); }
.tilt h3, .tilt h4 { transform: translateZ(22px); }
.tilt p, .tilt .tag { transform: translateZ(12px); }
@keyframes floatBlob {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(20px, -28px, 0) scale(1.1); }
}

/* gentle float for 3D depth cues */
.float-slow { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 380px; margin-top: 10px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 78px; }
  .nav-logo img { height: 62px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px var(--gut) 18px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > a { padding: 12px 14px; font-size: 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .beat { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .beat .beat-ico { width: 44px; height: 44px; }
  .wa-fab { right: 14px; bottom: 14px; }
  .hero-stage { max-width: 300px; }
  .hero-stage:not(.is-orbiting) .orbit-core { width: 118px; }
  .orbit-chip { font-size: 11.5px; padding: 7px 11px; gap: 6px; }
}
@media (max-width: 400px) {
  .hero-stats { gap: 18px; }
}

/* ---------- Journey crowd animation ---------- */
.journey-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 280px;
  margin-top: 36px;
  border-radius: var(--r-lg, 20px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md, 0 18px 50px rgba(0, 0, 0, 0.10));
  background:
    radial-gradient(120% 140% at 50% 0%, var(--surface-2) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-grad-1) 100%);
}
.journey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 768px) {
  .journey-stage { aspect-ratio: 4 / 3; }
}

/* ---------- Reduced motion ---------- */
/* NOTE: iOS Low Power Mode forces this state. We suppress all MOVEMENT (transform,
   parallax, scale, loops, count-up — handled in JS) but keep gentle OPACITY fades,
   which don't cause motion discomfort. This keeps the site feeling alive on iPhones
   in Low Power Mode while staying friendly to genuine reduced-motion users. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  /* Scroll reveals: fade in (opacity only, no slide) */
  .reveal { opacity: 0; transform: none !important; transition: opacity 600ms var(--ease-out) !important; }
  .reveal.is-in { opacity: 1; }
  /* Hero: fade content in (no rise/scale) */
  .hero [data-rise] { transform: none !important; animation: ssp-fade-in 600ms var(--ease-out) both !important; }
  .wa-fab { animation: none !important; }
  .wa-fab.is-in { opacity: 1; transform: none; }
  .intro { display: none !important; }
}
@keyframes ssp-fade-in { from { opacity: 0; } to { opacity: 1; } }


/* Toppers / results */
.topper-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 16px 18px; box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) ease; }
.topper-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.topper-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--brand); background: var(--surface-2); }
.topper-mark { position: absolute; top: 12px; right: 12px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-2)); padding: 4px 9px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.topper-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.topper-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); }
.topper-course { font-size: 12.5px; color: var(--text-muted); }

/* ============ Photo hero (home) ============ */
.hero-badge i { width: 15px; height: 15px; }
.hero-feats { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 34px; }
.hero-feat { display: flex; align-items: center; gap: 11px; }
.hero-feat-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); color: var(--brand); flex-shrink: 0; }
.hero-feat-ic .lucide { width: 19px; height: 19px; }
.hero-feat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--text); line-height: 1.2; }
.hero-feat span { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* Large rounded photo panel filling the right side, full height of the hero copy */
.hero-photo { position: relative; align-self: stretch; display: block; z-index: 1; }
.hero-photo-frame {
  position: relative; z-index: 2; width: 100%; height: 100%;
  min-height: clamp(360px, 44vw, 560px);
  border-radius: clamp(20px, 2.6vw, 30px); overflow: hidden;
  border: 6px solid var(--surface); box-shadow: 0 34px 70px rgba(0, 0, 0, 0.26); background: var(--surface-2);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* green accent block peeking out of the bottom-left corner */
.hero-photo-arc { position: absolute; z-index: 1; left: -20px; bottom: -20px; width: 52%; height: 52%;
  border-radius: clamp(20px, 2.6vw, 30px); pointer-events: none; opacity: 0.92;
  background: linear-gradient(140deg, var(--brand-bright), var(--brand-2)); }

.hero-photo-card { position: absolute; z-index: 3; right: 4%; bottom: 5%;
  background: var(--brand-ink); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: 13.5px; line-height: 1.5; text-align: right; padding: 12px 16px; border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.hero-photo-card span { display: block; color: var(--brand-bright); font-size: 18px; margin-top: 2px;
  font-style: italic; font-family: Georgia, "Times New Roman", serif; }

/* ============ Support cards (How we help) ============ */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 38px; }
.support-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.support-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.support-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; background: var(--surface-2); color: var(--brand); }
.support-ic .lucide { width: 28px; height: 28px; }
.support-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text); }
.support-card p { color: var(--text-muted); font-size: 14px; margin-top: 10px; line-height: 1.55; }

/* ============ Study materials page ============ */
.mat-block { margin-top: 40px; }
.mat-block > h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 3vw, 26px); color: var(--text); display: flex; align-items: center; gap: 10px; }
.mat-block > h2 .tag { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--brand); background: var(--surface-2); padding: 4px 10px; border-radius: var(--r-pill); }
.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.mat-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.mat-card .mat-info { min-width: 0; }
.mat-card .mat-name { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--text); }
.mat-card .mat-code { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.mat-dl { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: var(--on-brand); flex-shrink: 0; transition: transform var(--dur) var(--ease-out), background var(--dur) ease; }
.mat-dl:hover { transform: translateY(-2px); background: var(--brand-2); }
.mat-dl .lucide { width: 19px; height: 19px; }
.mat-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); background: var(--surface-2); border: 1px dashed var(--border); border-radius: var(--r); padding: 12px 16px; }

@media (max-width: 960px) {
  .hero-photo { max-width: 640px; margin-inline: auto; width: 100%; }
  .hero-photo-frame { min-height: clamp(300px, 60vw, 420px); }
}
@media (max-width: 900px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .support-grid { grid-template-columns: 1fr; } }

/* ---- Study materials: coming soon state ---- */
.mat-soon { display: inline-grid; place-items: center; padding: 7px 13px; border-radius: 999px; flex-shrink: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); }
.mat-card:has(.mat-soon) { opacity: 0.85; }
.mat-coming { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 16px 20px;
  border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; }
.mat-coming .lucide { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.mat-coming span { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 500;
  color: var(--text-muted); font-size: 13.5px; }
.mat-coming a { color: var(--brand); font-weight: 600; }

/* ============================================================
   Home redesign — support icon colours, why-choose-us,
   branch photo cards, trusted band
   ============================================================ */

/* ---- coloured support icons (How we help) ---- */
.support-ic--green  { background: rgba(15,169,88,0.12);  color: #0fa958; }
.support-ic--orange { background: rgba(249,115,22,0.14); color: #f97316; }
.support-ic--blue   { background: rgba(37,99,235,0.12);  color: #2f6be0; }
.support-ic--purple { background: rgba(139,92,246,0.14); color: #8b5cf6; }
[data-theme="dark"] .support-ic--green  { background: rgba(15,169,88,0.18);  color: #34d28a; }
[data-theme="dark"] .support-ic--orange { background: rgba(249,115,22,0.20); color: #ff9a52; }
[data-theme="dark"] .support-ic--blue   { background: rgba(56,118,224,0.20); color: #6ea0ff; }
[data-theme="dark"] .support-ic--purple { background: rgba(139,92,246,0.22); color: #b69bff; }

/* ---- Why choose us ---- */
.why-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.why-copy .section-title { font-size: clamp(24px, 3.2vw, 36px); }
.why-copy .section-sub { margin-top: 16px; }
.why-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-checks .feat-item { background: var(--surface); }

/* ---- Branch photo cards (We are near you) ---- */
.branch-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 38px; }
.branch-photo {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.branch-photo:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.branch-photo .bp-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.5s var(--ease-out);
}
.branch-photo:hover .bp-bg { transform: scale(1.07); }
.branch-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,51,39,0) 40%, rgba(7,51,39,0.45) 100%); }
.branch-photo .bp-cap {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border-radius: var(--r); padding: 11px 14px; box-shadow: var(--shadow-sm);
}
.branch-photo .bp-cap .lucide { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.branch-photo .bp-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); }
.branch-photo .bp-badge {
  margin-left: auto; font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand);
  background: var(--surface-2); padding: 4px 9px; border-radius: var(--r-pill);
}
/* photo gradients (fallback + base) */
.bp-1 { background-image: linear-gradient(150deg, #0d9488, #073327); }
.bp-2 { background-image: linear-gradient(150deg, #2f6be0, #0c2a4a); }
.bp-3 { background-image: linear-gradient(150deg, #f97316, #9a3412); }
.bp-4 { background-image: linear-gradient(150deg, #0fa958, #064e3b); }

/* ---- Trusted by students & parents band ---- */
.trust-band { background: linear-gradient(135deg, rgba(15,169,88,0.09), rgba(13,148,136,0.09)); border-block: 1px solid var(--border); }
[data-theme="dark"] .trust-band { background: linear-gradient(135deg, rgba(15,169,88,0.12), rgba(13,148,136,0.10)); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.trust-item .ti-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.trust-item .ti-ic .lucide { width: 24px; height: 24px; }
.trust-item strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--text); line-height: 1.1; }
.trust-item span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-checks { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .trust-item { justify-content: flex-start; }
}
