/* =========================================================
   TalentOn — "Nurture the Talent"
   Design language: deep indigo + sky blue from the logo,
   electric-blue glossy orbs and lime highlighter tags from the
   Instagram creatives, and the speech-bubble "o" from the logo
   used as a recurring shape (cards, chips, buttons).
   ========================================================= */

:root {
  /* Brand (sampled from logo files) */
  --indigo-950: #15133d;
  --indigo-900: #1d1b52;
  --indigo: #2d2b6e;
  --indigo-600: #3d3a94;
  --sky: #53b4e6;
  --sky-200: #bfe4f7;
  --sky-50: #eef8fd;

  /* Campaign accents (from the Instagram posts) */
  --electric: #1f63ff;
  --electric-2: #3a8dff;
  --lime: #d7f23a;
  --lime-600: #b5d118;
  --berry: #a3203a;
  --sun: #ffc845;

  /* Neutrals */
  --paper: #f7f8fe;
  --white: #ffffff;
  --ink: #1a1938;
  --muted: #5d5c7d;
  --line: #e3e4f3;

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --bubble: 28px 28px 28px 6px;      /* speech bubble, tail bottom-left */
  --bubble-r: 28px 28px 6px 28px;    /* tail bottom-right */
  --shadow-sm: 0 2px 8px rgba(29, 27, 82, .06);
  --shadow: 0 12px 32px -12px rgba(29, 27, 82, .22);
  --shadow-lg: 0 30px 60px -20px rgba(29, 27, 82, .35);

  /* Type */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;
  --font-ml: "Noto Sans Malayalam", "Baloo 2", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--electric); }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--indigo-900);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--white { background: var(--white); }
/* Two sections on the same background back to back: don't stack both paddings */
.section:not(.section--white):not(.dark-band) + .section:not(.section--white):not(.dark-band),
.section:not(.section--white):not(.dark-band) + .section--tight,
.section--white + .section--white { padding-top: clamp(16px, 2vw, 24px); }
.center { text-align: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--indigo-900); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 800; }
.skip-link:focus { top: 12px; }

/* Eyebrow chip — speech bubble shape */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--indigo); background: var(--sky-50);
  border: 1.5px solid var(--sky-200);
  padding: .3em 1em .25em; border-radius: 999px 999px 999px 4px;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.eyebrow--dark { color: var(--lime); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.eyebrow--dark::before { background: var(--lime); }

/* Highlighter mark */
.mark {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  padding: 0 .08em; color: inherit;
}
.mark--sky { background: linear-gradient(transparent 60%, var(--sky-200) 60%, var(--sky-200) 92%, transparent 92%); }
.hand { font-family: var(--font-hand); font-weight: 700; color: var(--lime); font-size: 1.6em; line-height: 1; }
.ml { font-family: var(--font-ml); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--indigo); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.5em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1;
  color: var(--fg); background: var(--bg);
  border: 2px solid transparent; border-radius: 999px 999px 999px 8px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 20px -10px rgba(29,27,82,.6);
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 14px 28px -12px rgba(29,27,82,.6); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--lime { --bg: var(--lime); --fg: var(--indigo-900); }
.btn--lime:hover { --bg: #e3fa5c; }
.btn--wa { --bg: #1fae55; --fg: #fff; }
.btn--wa:hover { --bg: #189748; }
.btn--sky { --bg: var(--sky); --fg: var(--indigo-900); }
.btn--ghost { --bg: transparent; --fg: var(--indigo); border-color: currentColor; box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 254, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: .45em .9em; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--indigo); text-decoration: none;
}
.nav__links a:hover { background: var(--sky-50); }
.nav__links a[aria-current="page"] { background: var(--indigo); color: #fff; }
.nav__cta { margin-left: 8px; }
.nav__links .nav__cta a.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1; color: var(--indigo-900); background: var(--lime); border-radius: 999px 999px 999px 8px; }
.nav__cta .btn { min-height: 44px; padding: .55em 1.15em; font-size: 1rem; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 14px;
  background: var(--indigo); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s, background .25s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--indigo-900);
    padding: 20px var(--gutter) 28px;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__links a { color: #fff; font-size: 1.25rem; padding: .6em 1em; }
  .nav__links a:hover { background: rgba(255,255,255,.08); }
  .nav__links a[aria-current="page"] { background: rgba(83,180,230,.22); color: #fff; box-shadow: inset 3px 0 0 var(--sky); }
  .nav__links .nav__cta a.btn { color: var(--indigo-900); background: var(--lime); font-size: 1.15rem; padding: .7em 1.5em; }
  .nav__cta { margin: 12px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 52px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(58,141,255,.55), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(83,180,230,.35), transparent 60%),
    linear-gradient(160deg, var(--indigo-900) 0%, var(--indigo) 55%, #2a3fb8 100%);
  padding: clamp(72px, 10vw, 136px) 0 clamp(112px, 14vw, 176px);
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero .btn-row { gap: 14px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.hero__ml { font-family: var(--font-ml); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--sky-200); margin-bottom: .6rem; }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: rgba(255,255,255,.82); max-width: 50ch; margin-bottom: 2.5rem; line-height: 1.75; }
.hero__note { margin-top: 2rem; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: .98rem; }
.hero__note .hand { font-size: 1.7rem; transform: rotate(-4deg); }
/* Headline accent: a hand-drawn lime brush stroke under the word, instead of a block */
h1 .mark {
  background: none; color: inherit; position: relative; white-space: nowrap; padding: 0;
}
h1 .mark::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: 0.2rem; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 17C52 7 122 4 196 11' stroke='%23d7f23a' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3Cpath d='M30 21C80 14 130 13 170 16' stroke='%23d7f23a' stroke-width='4' fill='none' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}
.hero h1 .mark, .page-hero h1 .mark { color: #fff; }
@media (min-width: 901px) { .hero h1 .mark::after { bottom: 0.8rem; } }

/* Glossy orbs, like the Instagram creatives */
.orb {
  position: absolute; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0 6%, rgba(160,215,255,.75) 18%, rgba(58,141,255,.55) 45%, rgba(31,99,255,.15) 70%, transparent 72%);
  filter: drop-shadow(0 20px 40px rgba(10,20,80,.35));
  animation: float 9s ease-in-out infinite;
}
.orb--1 { width: 120px; height: 120px; top: 12%; right: 6%; }
.orb--2 { width: 64px; height: 64px; bottom: 18%; left: 46%; animation-delay: -3s; }
.orb--3 { width: 180px; height: 180px; bottom: -60px; left: -50px; opacity: .6; animation-delay: -5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* Doodles */
.doodle { display: none; }
.doodle--star { width: 46px; top: 14%; left: 4%; }
.doodle--squiggle { width: 120px; bottom: 16%; right: 40%; }
.doodle--pencil { width: 54px; top: 62%; right: 4%; transform: rotate(18deg); }

/* Live class mock card */
.classcard {
  position: relative; background: #fff; color: var(--ink);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.classcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; color: #e0313d; text-transform: uppercase; letter-spacing: .06em; }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,49,61,.5); } 70% { box-shadow: 0 0 0 10px rgba(224,49,61,0); } 100% { box-shadow: 0 0 0 0 rgba(224,49,61,0); } }
.classcard__tag { font-size: .8rem; font-weight: 800; background: var(--lime); color: var(--indigo-900); padding: 4px 10px; border-radius: 999px; }
.classcard__screens { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.screen {
  border-radius: 18px; aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--electric), var(--electric-2));
}
.screen--student { background: linear-gradient(150deg, var(--indigo), var(--indigo-600)); }
.screen__avatar { width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.6vw, 1.8rem); border: 3px solid rgba(255,255,255,.5); }
.screen__label { position: absolute; left: 8px; bottom: 8px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.28); padding: 2px 8px; border-radius: 999px; }
.board { margin-top: 10px; background: var(--paper); border: 1.5px dashed var(--sky-200); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.board__ml { font-family: var(--font-ml); font-weight: 700; font-size: 1.7rem; color: var(--indigo); line-height: 1; white-space: nowrap; }
.board__txt { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.chat { position: absolute; font-size: .88rem; font-weight: 700; padding: 10px 14px; box-shadow: var(--shadow); max-width: 220px; line-height: 1.3; }
.chat--a { left: -28px; bottom: -26px; background: var(--lime); color: var(--indigo-900); border-radius: var(--bubble); transform: rotate(-3deg); }
.chat--b { right: -18px; top: -48px; background: #fff; color: var(--indigo); border-radius: var(--bubble-r); transform: rotate(3deg); }

/* Wave divider */
.wave { position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(40px, 6vw, 80px); color: var(--paper); }
.wave svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .chat--a { left: 6px; }
  .chat--b { right: 6px; }
}
@media (max-width: 600px) {
  .orb--1 { width: 80px; height: 80px; top: 2%; right: -20px; }
  .orb--2 { display: none; }
  .hero__note { flex-wrap: wrap; gap: 4px 10px; }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .hero__grid { gap: 56px; }
  .orb--1 { opacity: .7; }
  /* smaller card, and little space below it */
  .classcard { padding: 12px; border-radius: 24px; }
  .classcard__top { margin-bottom: 10px; }
  .screen { border-radius: 14px; }
  .board { padding: 8px 10px; gap: 8px; }
  .board__ml { font-size: 1.2rem; }
  .board__txt { font-size: .78rem; }
  .chat { font-size: .74rem; padding: 7px 10px; max-width: 170px; }
  .chat--b { top: -34px; right: -6px; }
  .chat--a { bottom: -12px; left: -6px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(58,141,255,.55), transparent 60%),
    linear-gradient(160deg, var(--indigo-900), var(--indigo) 70%, #2a3fb8);
  padding: clamp(48px, 8vw, 88px) 0 clamp(72px, 10vw, 120px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 60ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
@media (max-width: 600px) { .page-hero h1 br { display: none; } }
.crumbs { font-size: .92rem; margin-bottom: 1rem; color: rgba(255,255,255,.7); }
.crumbs a { color: var(--sky-200); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Stats strip ---------- */
.stats {
  margin-top: calc(-1 * clamp(56px, 8vw, 96px)); position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 26px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--indigo); line-height: 1; margin-bottom: 6px; }
.stat__num em { font-style: normal; color: var(--sky); }
.stat__label { color: var(--muted); font-size: .98rem; line-height: 1.35; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Countries ribbon ---------- */
.ribbon { background: var(--lime); color: var(--indigo-900); overflow: hidden; transform: rotate(-1.2deg); margin: 8px -10px; box-shadow: var(--shadow-sm); }
.ribbon__track { display: flex; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
.ribbon__item { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; padding: 12px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ribbon__item::after { content: "✦"; color: var(--indigo); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heading ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head .lead { margin: 0; max-width: 46ch; }
.sec-foot { display: none; margin-top: 32px; }
@media (max-width: 640px) {
  .sec-head__action { display: none; }
  .sec-foot { display: flex; justify-content: center; }
  .sec-foot .btn { width: 100%; }
}

/* ---------- Feature (highlights) grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.feature {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--bubble);
  padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.feature__icon {
  width: 58px; height: 58px; border-radius: 18px 18px 18px 4px; display: grid; place-items: center;
  background: var(--sky-50); color: var(--indigo); margin-bottom: 18px;
}
.feature__icon svg { width: 30px; height: 30px; }
.feature:nth-child(3n+2) .feature__icon { background: #f3fbd0; color: #4d5c00; }
.feature:nth-child(3n+3) .feature__icon { background: #e8eeff; color: var(--electric); }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; }
.feature--accent { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.feature--accent h3 { color: #fff; }
.feature--accent p { color: rgba(255,255,255,.78); }
.feature--accent .feature__icon { background: var(--lime); color: var(--indigo-900); }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Course cards ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.course {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); padding: 26px 24px 22px;
  border: 1.5px solid var(--line); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--electric), var(--sky));
}
.course[data-cat="languages"]::before { background: linear-gradient(90deg, var(--lime-600), var(--lime)); }
.course[data-cat="curricula"]::before { background: linear-gradient(90deg, var(--indigo), var(--indigo-600)); }
.course[data-cat="special"]::before { background: linear-gradient(90deg, var(--berry), #e0566e); }
.course__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.course__icon { width: 52px; height: 52px; border-radius: 16px 16px 16px 4px; display: grid; place-items: center; background: var(--sky-50); color: var(--indigo); flex: none; }
.course__icon svg { width: 28px; height: 28px; }
.pill { font-size: .78rem; font-weight: 800; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--indigo); border: 1px solid var(--line); white-space: nowrap; }
.course h3 { margin-bottom: .4em; }
.course p { color: var(--muted); margin-bottom: 1rem; }
.course__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.course__tags li { font-size: .82rem; font-weight: 700; color: var(--indigo); background: var(--sky-50); padding: 3px 10px; border-radius: 999px; }
.course__link { margin-top: 16px; font-family: var(--font-display); font-weight: 700; color: var(--electric); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.course__link:hover { gap: 10px; }
.course--ml .course__ml { font-family: var(--font-ml); color: var(--sky); font-size: 1.05rem; margin: -6px 0 6px; }
@media (max-width: 980px) { .courses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .courses { grid-template-columns: 1fr; } }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .5em 1.1em; border-radius: 999px 999px 999px 4px;
  background: #fff; color: var(--indigo); border: 1.5px solid var(--line); cursor: pointer;
  min-height: 44px;
}
.filter:hover { border-color: var(--sky); }
.filter[aria-pressed="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.course[hidden] { display: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 26px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--lime); display: block; margin-bottom: 10px;
}
.step h3 { color: #fff; font-size: 1.2rem; }
.step p { color: rgba(255,255,255,.75); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.dark-band {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(58,141,255,.35), transparent 60%),
    var(--indigo-900);
  color: #fff;
}
.dark-band h2 { color: #fff; }
.dark-band .lead { color: rgba(255,255,255,.75); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); align-items: start; }
.review {
  position: relative; background: #fff; border-radius: var(--bubble);
  padding: 28px 26px 24px; box-shadow: var(--shadow-sm); border: 1.5px solid var(--line);
  margin: 0;
}
.review:nth-child(3n+2) { background: var(--indigo); border-color: var(--indigo); color: #fff; border-radius: var(--bubble-r); }
.review:nth-child(3n+2) blockquote { color: rgba(255,255,255,.9); }
.review:nth-child(3n+2) .review__name { color: #fff; }
.review:nth-child(3n+2) .review__meta { color: var(--sky-200); }
.review:nth-child(3n+3) { background: var(--sky-50); border-color: var(--sky-200); }
.review__quote { width: 40px; height: 40px; color: var(--sky); margin-bottom: 8px; }
.review:nth-child(3n+2) .review__quote { color: var(--lime); }
.review blockquote { margin: 0 0 18px; font-size: 1.06rem; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; background: var(--lime); color: var(--indigo-900); flex: none; }
.review__name { font-weight: 800; color: var(--indigo-900); line-height: 1.2; }
.review__meta { font-size: .9rem; color: var(--muted); }
.stars { display: flex; gap: 2px; color: var(--sun); margin-bottom: 10px; }
.stars svg { width: 18px; height: 18px; }
/* Placeholder marker — remove class "is-sample" once real reviews are added */
.review.is-sample::after {
  content: "Sample — replace"; position: absolute; top: 14px; right: 14px;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  background: var(--berry); color: #fff; padding: 3px 8px; border-radius: 999px;
}
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* Review cards from Instagram */
.review { display: flex; flex-direction: column; }
.review blockquote[lang="ml"] { font-family: var(--font-ml); font-size: 1rem; line-height: 1.75; }
.review blockquote[lang="ml-Latn"] p { font-style: italic; }
.review__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--lime); }
.review__src {
  align-self: flex-start; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 800; text-decoration: none; color: var(--muted);
}
.review__src svg { width: 16px; height: 16px; }
.review__src:hover { color: var(--electric); }
.review:nth-child(3n+2) .review__src { color: var(--sky-200); }
.review:nth-child(3n+2) .review__src:hover { color: var(--lime); }
.review:nth-child(3n+2) .stars { color: var(--lime); }

.reviews--masonry { display: block; columns: 3 300px; column-gap: clamp(18px, 2.4vw, 28px); }
.reviews--masonry .review { break-inside: avoid; margin-bottom: clamp(18px, 2.4vw, 28px); }

/* Reel (video) review cards */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.reels--home { grid-template-columns: repeat(3, 1fr); margin-top: clamp(28px, 4vw, 44px); }
.reel { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.reel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reel__thumb {
  position: relative; display: grid; place-items: center; aspect-ratio: 9 / 16; overflow: hidden;
  text-decoration: none; color: #fff; isolation: isolate;
  background: linear-gradient(160deg, var(--electric), var(--indigo)); background-size: cover; background-position: center;
}
.reel--v1 .reel__thumb { background-image: linear-gradient(160deg, var(--indigo-600), var(--indigo-900)); }
.reel--v2 .reel__thumb { background-image: linear-gradient(160deg, var(--sky), #2a6fd8); }
.reel--v3 .reel__thumb { background-image: linear-gradient(160deg, var(--berry), var(--indigo)); }
.reel__thumb.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(21,19,61,.75)); z-index: -1; }
.reel__thumb:not(.has-img)::after {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -40px; top: -40px; z-index: -1;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(83,180,230,.35) 50%, transparent 70%);
}
.reel__initials { position: absolute; left: 16px; bottom: 6px; font-family: var(--font-display); font-weight: 800; font-size: 4.2rem; line-height: 1; color: rgba(255,255,255,.18); }
.reel__thumb.has-img .reel__initials { display: none; }
.reel__chip { position: absolute; top: 14px; left: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 4px 10px; border-radius: 999px 999px 999px 4px; }
.reel__thumb.has-img .reel__chip { top: auto; bottom: 14px; background: rgba(21,19,61,.55); }
.reel__thumb .play { width: 64px; height: 64px; }
.reel__thumb:hover .play { transform: scale(1.08); }
.reel__body { padding: 16px 18px 18px; }
.reel__name { font-size: 1.2rem; margin: 0 0 2px; }
.reel__meta { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
@media (max-width: 1000px) { .reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .reels, .reels--home { grid-template-columns: repeat(2, 1fr); gap: 16px; } .reel__body { padding: 12px 14px 14px; } .reel__name { font-size: 1.05rem; } }
@media (max-width: 760px) { .reels--home .reel:nth-child(3) { display: none; } }

/* Video player window */
.reel-modal { border: 0; padding: 0; background: transparent; width: min(420px, 94vw); max-height: 92vh; overflow: visible; }
.reel-modal::backdrop { background: rgba(21, 19, 61, .82); }
.reel-modal__frame { width: 100%; height: min(760px, 86vh); border: 0; border-radius: var(--r-md); background: #fff; display: block; }
.reel-modal__close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--lime); color: var(--indigo-900); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow);
}
@media (max-width: 520px) { .reel-modal__close { top: -52px; right: 0; } }

.video-review {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
}
.video-review__thumb {
  aspect-ratio: 4 / 5; border-radius: var(--r-md); display: grid; place-items: center; text-decoration: none;
  background: linear-gradient(160deg, var(--electric), var(--indigo)); color: #fff; position: relative; overflow: hidden;
}
.video-review__thumb::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -40px; top: -40px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), rgba(83,180,230,.3) 50%, transparent 70%); }
.play { width: 78px; height: 78px; border-radius: 50%; background: var(--lime); color: var(--indigo-900); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(215,242,58,.25); transition: transform .2s; }
.video-review__thumb:hover .play { transform: scale(1.08); }
.play svg { width: 30px; height: 30px; margin-left: 4px; }
@media (max-width: 760px) { .video-review { grid-template-columns: 1fr; } .video-review__thumb { aspect-ratio: 16 / 10; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.story-card {
  position: relative; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(155deg, var(--electric), var(--indigo) 85%); color: #fff; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85) 0 6%, rgba(160,215,255,.6) 20%, rgba(58,141,255,.3) 50%, transparent 70%); }
.story-card img { width: 220px; margin-bottom: 20px; position: relative; }
.story-card .tagline { font-family: var(--font-hand); font-size: 2.4rem; color: var(--lime); line-height: 1; margin-bottom: 14px; position: relative; }
.story-card p { color: rgba(255,255,255,.85); position: relative; margin: 0; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.value { padding: 20px; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--line); }
.value strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--indigo); margin-bottom: 4px; }
.value span { color: var(--muted); font-size: .98rem; }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 8px 8px 8px 2px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.syllabus { display: flex; flex-wrap: wrap; gap: 10px; }
.syllabus span { font-family: var(--font-display); font-weight: 700; padding: .45em 1em; border-radius: 999px; background: #fff; color: var(--indigo); border: 1.5px solid var(--sky-200); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(135deg, var(--electric) 0%, #2a4fd8 45%, var(--indigo) 100%);
  color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.85); margin: 0; }
.cta .btn-row { justify-content: flex-end; }
.cta .orb--1 { top: -30px; right: 30%; width: 90px; height: 90px; }
.cta .orb--2 { bottom: -20px; left: auto; right: 4%; width: 60px; height: 60px; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--bubble);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); border-color: var(--sky-200); }
.contact-card__icon { width: 58px; height: 58px; border-radius: 18px 18px 18px 4px; display: grid; place-items: center; margin-bottom: 12px; }
.contact-card__icon svg { width: 30px; height: 30px; }
.contact-card--call .contact-card__icon { background: var(--sky-50); color: var(--indigo); }
.contact-card--wa .contact-card__icon { background: #dcf8e6; color: #12893f; }
.contact-card--mail .contact-card__icon { background: #f3fbd0; color: #4d5c00; }
.contact-card__label { font-size: .9rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 700; color: var(--indigo-900); word-break: break-word; line-height: 1.25; }
.contact-card__hint { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.enquiry {
  background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px);
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 800; color: var(--indigo); font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 50px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(83,180,230,.2); }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--indigo-900); padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sky-50); display: grid; place-items: center; font-size: 1.3rem; color: var(--indigo); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--lime); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-950); color: rgba(255,255,255,.72); padding: 64px 0 28px; margin-top: 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 14px; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-tag { font-family: var(--font-hand); color: var(--sky); font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .92rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--lime); color: var(--indigo-900); }
.socials svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1fae55; color: #fff; text-decoration: none;
  padding: 12px 18px 12px 14px; border-radius: 999px 999px 8px 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 14px 30px -10px rgba(18, 137, 63, .7);
  transition: transform .2s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.02); color: #fff; }
.wa-fab svg { width: 26px; height: 26px; }
@media (max-width: 520px) { .wa-fab span { display: none; } .wa-fab { padding: 14px; border-radius: 50% 50% 8px 50%; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Follow-us row (contact page) */
.follow { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.follow__label { font-family: var(--font-display); font-weight: 700; color: var(--indigo); }
.socials--light { margin-top: 0; }
.socials--light a { background: #fff; border: 1.5px solid var(--line); color: var(--indigo); }
.socials--light a:hover { background: var(--lime); border-color: var(--lime); color: var(--indigo-900); }

/* ---------- Courses: categories, actions, filters ---------- */
.course[data-cat="tuition"]::before { background: linear-gradient(90deg, var(--indigo), var(--electric)); }
.course[data-cat="madrasa"]::before { background: linear-gradient(90deg, var(--berry), #e0566e); }
.course__cat { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: .2rem; }
.course[data-cat="languages"] .course__cat { color: #6d7d00; }
.course[data-cat="madrasa"] .course__cat { color: var(--berry); }
.course[data-cat="tuition"] .course__cat { color: var(--electric); }
.course h3 a { color: inherit; text-decoration: none; }
.course h3 a:hover { color: var(--electric); }
.course__actions { display: flex; gap: 10px; margin-top: 20px; }
.course__actions .btn { flex: 1; padding: .62em 1em; font-size: 1rem; min-height: 46px; }
.filterbar { display: grid; gap: 12px; margin-bottom: 36px; }
.filterbar .filters { margin: 0; align-items: center; }
.filters__label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 64px; }
.filter-empty { text-align: center; color: var(--muted); padding: 24px 0; margin: 0; }
@media (max-width: 600px) {
  .filters__label { width: 100%; }
  .filterbar .filters { gap: 8px; }
  .filterbar .filter { font-size: .92rem; padding: .45em .95em; min-height: 40px; }
}

/* ---------- Boards ---------- */
.boards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.board-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--bubble); padding: 22px 22px 20px; transition: transform .25s, border-color .25s; }
.board-card:hover { transform: translateY(-3px); border-color: var(--sky-200); }
.board-card__tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--indigo); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.board-card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.board-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.boards__note { text-align: center; color: var(--muted); margin: 32px auto 0; max-width: 60ch; }
@media (max-width: 980px) { .boards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .boards { grid-template-columns: 1fr; } }

/* ---------- Why choose us panel ---------- */
.whyus {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: linear-gradient(150deg, var(--indigo-900), var(--indigo) 70%, #2a3fb8);
  color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 60px);
}
.whyus h2 { color: #fff; }
.whyus__intro p { color: rgba(255,255,255,.8); margin-bottom: 1.6rem; }
.whyus__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.whyus__list li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--bubble); padding: 18px 18px 18px 52px; position: relative; color: rgba(255,255,255,.78); font-size: .97rem; line-height: 1.45; }
.whyus__list li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b52' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.whyus__list strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 2px; }
@media (max-width: 900px) { .whyus { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .whyus__list { grid-template-columns: 1fr; } }

/* ---------- Tick lists & chips ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 8px 8px 8px 3px; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d2b6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks--plain li::before { background-color: #f3fbd0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .88rem; font-weight: 700; color: var(--indigo); background: var(--sky-50); padding: 5px 12px; border-radius: 999px; }
.chips--links li { padding: 0; background: none; }
.chips--links a { display: inline-block; font-weight: 700; color: var(--indigo); background: #fff; border: 1.5px solid var(--line); padding: 8px 16px; border-radius: 999px 999px 999px 4px; text-decoration: none; }
.chips--links a:hover { border-color: var(--sky); color: var(--electric); }

/* ---------- Course detail page ---------- */
.page-hero__actions { margin-top: 1.6rem; }
.facts .stat__num { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.25; margin: 0; }
.facts .stat__label { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; margin-bottom: 6px; }
.facts .stat { display: flex; flex-direction: column; }
.facts dd { margin: 0; }
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.detail__main .ticks { grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 8px; }
.detail__side { background: #fff; border: 1.5px solid var(--line); border-radius: var(--bubble); padding: clamp(22px, 3vw, 32px); }
.detail__sub { font-size: 1.3rem; margin-bottom: .8em; }
.detail__side .detail__sub + .ticks { margin-bottom: 4px; }
.detail__side .chips { margin-bottom: 10px; }
.detail__side h3.detail__sub { margin-top: 1.6em; }
.detail__small { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .detail__main .ticks { grid-template-columns: 1fr; } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: flow; }
.flow li { background: var(--paper); border-radius: var(--bubble); padding: 24px 22px; border: 1.5px solid var(--line); }
.flow li::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--sky); margin-bottom: 10px; }
.flow h3 { font-size: 1.15rem; margin-bottom: .3em; }
.flow p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.related { max-width: 820px; margin: 48px auto 0; text-align: center; }
.related .chips { justify-content: center; }

/* ---------- Home: one-to-one vs batch ---------- */
.modes__head { margin-bottom: clamp(32px, 5vw, 52px); }
.modes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch;
  gap: clamp(16px, 2.5vw, 28px); max-width: 1040px; margin-inline: auto;
}
.mode {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--bubble);
  padding: clamp(22px, 3.5vw, 36px);
}
.mode--solo { background: var(--indigo); border-color: var(--indigo); color: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.mode__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-bottom: 18px; }
.mode__label {
  font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--indigo); white-space: nowrap;
}
.mode--solo .mode__label { background: var(--lime); border-color: var(--lime); color: var(--indigo-900); }
.mode__seats { display: flex; gap: 5px; }
.mode__seats i { width: 14px; height: 14px; border-radius: 50%; background: var(--sky); }
.mode__seats i:nth-child(2n) { background: var(--electric); }
.mode__seats i:nth-child(3n) { background: var(--lime-600); }
.mode--solo .mode__seats i { width: 20px; height: 20px; background: var(--lime); }
.mode h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: .35em; }
.mode--solo h3 { color: #fff; }
.mode__feel { font-size: 1.02rem; margin-bottom: 1.2rem; color: var(--muted); }
.mode--solo .mode__feel { color: rgba(255,255,255,.8); }
.mode .ticks li { font-size: .98rem; }
.mode--solo .ticks li::before { background-color: var(--lime); }
.mode__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: auto 0 0; padding-top: 22px; }
.mode__facts div { border-top: 1.5px dashed var(--line); padding-top: 12px; }
.mode--solo .mode__facts div { border-color: rgba(255,255,255,.22); }
.mode__facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mode--solo .mode__facts dt { color: var(--sky-200); }
.mode__facts dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; color: var(--indigo-900); }
.mode--solo .mode__facts dd { color: #fff; }
.modes__note { text-align: center; color: var(--muted); margin: 32px auto 0; max-width: 56ch; }
.modes__note .hand { color: var(--electric); font-size: 1.5em; margin-right: 4px; }
.modes__cta { justify-content: center; margin-top: 16px; }
@media (max-width: 860px) {
  .modes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .modes__head h2 br { display: none; }
}
@media (max-width: 480px) {
  .mode { padding: 22px 20px; }
  .mode__feel { font-size: .98rem; }
  .mode .ticks { gap: 10px; }
  .mode .ticks li { font-size: .95rem; }
  .mode__facts { gap: 10px; padding-top: 18px; }
  .mode__facts dd { font-size: .95rem; }
  .modes__note { margin-top: 24px; }
  .modes__cta .btn { width: 100%; }
}

/* Boards: centre the last row */
.boards { display: flex; flex-wrap: wrap; justify-content: center; }
.board-card { flex: 0 1 calc((100% - 3 * clamp(14px, 2vw, 22px)) / 4); }
@media (max-width: 980px) { .board-card { flex-basis: calc((100% - clamp(14px, 2vw, 22px)) / 2); } }
@media (max-width: 480px) { .board-card { flex-basis: 100%; } }
@media (max-width: 600px) {
  .boards--compact { gap: 10px; }
  .boards--compact .board-card { flex-basis: calc((100% - 10px) / 2); padding: 16px 14px; }
  .boards--compact .board-card p { display: none; }
  .boards--compact .board-card h3 { font-size: 1.08rem; margin: 0; }
  .boards--compact .board-card__tag { font-size: .66rem; margin-bottom: 8px; }
}

/* Home: how it works band */
.dark-band { position: relative; overflow: hidden; isolation: isolate; }
.dark-band .orb--1 { z-index: -1; top: -40px; right: 4%; opacity: .7; }
.dark-band .sec-head .lead { color: rgba(255,255,255,.78); }
.how__cta { justify-content: center; margin-top: 36px; }
.dark-band + .section { padding-top: clamp(72px, 9vw, 112px); }

/* ---------- Real photos: kids & students ---------- */
/* Home hero photo, in the speech-bubble shape from the logo */
.herophoto { position: relative; margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.herophoto__frame {
  position: relative; border-radius: 40px 40px 40px 8px; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(1.5deg);
  background: var(--sky-50);
}
.herophoto__frame img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 850; object-fit: cover; }
.herophoto__live {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--indigo); font-weight: 800; font-size: .82rem;
  padding: 6px 12px 6px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
.herophoto__cheer {
  position: absolute; right: -22px; bottom: 34px; z-index: 2;
  width: clamp(84px, 11vw, 118px); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 5px solid var(--lime); box-shadow: var(--shadow);
  transform: rotate(-6deg);
}
.herophoto .chat--b { top: -30px; right: 10px; z-index: 3; }
.herophoto .chat--a { left: -24px; bottom: -22px; z-index: 3; }

/* Inner page heroes with a photo */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__photo { margin: 0; justify-self: end; width: 100%; max-width: 340px; }
.page-hero__photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover;
  border-radius: 32px 32px 32px 6px; border: 5px solid #fff; box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

/* Course cards: photo on top */
.course__img {
  display: block; margin: -26px -24px 18px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-50);
}
.course__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course:hover .course__img img { transform: scale(1.04); }
.course::before { z-index: 1; }

/* One-to-one / batch cards */
.mode__img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 20px 20px 20px 4px; margin-bottom: 20px;
}

/* Kids strip in the CTA */
.kids { display: flex; align-items: center; margin-bottom: 16px; }
.kids img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 25%;
  border: 3px solid #fff; margin-left: -10px; background: var(--sky-50);
}
.kids img:first-child { margin-left: 0; }
.kids__txt { margin-left: 12px; font-weight: 800; font-size: .92rem; color: var(--lime); }

@media (max-width: 900px) {
  .herophoto { max-width: 460px; margin-top: 8px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) 200px; }
}
@media (max-width: 680px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__photo { justify-self: start; max-width: none; }
  .page-hero__photo img { aspect-ratio: 16 / 9; transform: none; border-width: 4px; }
}
@media (max-width: 600px) {
  .herophoto__frame { border-width: 4px; border-radius: 28px 28px 28px 6px; }
  .herophoto__live { left: 12px; top: 12px; font-size: .74rem; }
  .herophoto__cheer { right: -6px; bottom: 26px; border-width: 4px; }
  .herophoto .chat--b { top: -24px; right: 4px; }
  .herophoto .chat--a { left: -4px; bottom: -14px; }
  .course__img { margin: -26px -24px 16px; }
}
@media (min-width: 681px) {
  .page-hero__photo img { aspect-ratio: 4 / 3.6; }
  .page-hero__photo { max-width: 320px; }
}


/* Batch Classes label in brand lime (card stays light) */
.mode--batch .mode__label { background: var(--lime); border-color: var(--lime); color: var(--indigo-900); }
