/* =========================================================
   AISEE v2 — main stylesheet (custom CSS, no framework)
   ---------------------------------------------------------
   HOW THIS FILE IS ORGANISED
   Each numbered section below holds everything for one part of
   the page: its desktop styles first, then its tablet/phone
   overrides (@media) right underneath. Search for the number,
   e.g. "06." to jump to the hero.

   01. DESIGN TOKENS
   02. BASE, RESET & SHARED HELPERS
   03. BUTTONS
   04. ANNOUNCEMENT STRIP
   05. HEADER & NAVIGATION
   06. HERO SLIDER
   07. "I AM LOOKING FOR" BAR
   08. IMPORTANT LINKS & IMPORTANT DATES
   09. PROGRAM SHOWCASE
   10. INTRO HEADLINE + STICKY SUB-NAV
   11. PANELS: HOW IT WORKS, EXAM RESOURCES, SCHOLARSHIP GUIDE
   12. SCHOLARS & REVIEWS
   13. ABOUT AISEE (TABS)
   14. FAQ
   15. DONATION / CTA BAND
   16. GOV LOGOS STRIP & FOOTER
   17. APPLY MODAL (DESKTOP)
   18. MOBILE APP UI: FLOATING ISLAND + BOTTOM SHEETS
   19. INNER PAGES (shared)
   20. SCROLL REVEAL
   21. REDUCED MOTION

   Breakpoints used:  ≤1400 / 1340 / 1230 / 1100px  small laptops
                      ≤1000 / 960px                 tablets
                      ≤768px   tablets & phones (mobile app UI)
                      ≤640px   phones
                      ≤360px   small phones
   Naming: BEM-style  .block / .block__part / .block--variant
   Colour rule: orange = Apply actions, blue = everything else.
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   Colours, gradients, radii, shadows and spacing used everywhere. Change a value here and it updates the whole site.
   ========================================================= */
:root {
  /* brand colours */
  --blue: #305eff;          /* main brand blue: links, primary buttons, icons */
  --blue-hover: #1f47e0;
  --blue-soft: #e8eeff;     /* light blue backgrounds (chips, icon tiles) */
  --sky: #00a3ff;
  --orange: #f07c1b;        /* Apply actions only */

  /* text */
  --ink: #0f1d36;           /* headings */
  --body: #3b4a63;          /* paragraph text */
  --muted: #64748b;         /* secondary / small text */

  /* gradients */
  --grad-blue: linear-gradient(90deg, #305eff 0%, #0284c7 100%);        /* gradient headline text */
  --grad-btn: linear-gradient(180deg, #3d6bff 0%, #2450f0 100%);        /* blue buttons */
  --grad-btn-hover: linear-gradient(180deg, #3460f5 0%, #1c43d8 100%);
  --grad-blue-light: linear-gradient(90deg, #7ea2ff 0%, #4fd1ff 100%);  /* gradient text on dark backgrounds */
  --grad-dark: linear-gradient(135deg, #050f2c 0%, #0a2463 55%, #12399e 100%);

  /* surfaces & lines */
  --bg: #ffffff;
  --bg-soft: #f3f6fa;       /* light grey section background */
  --dark: #050f2c;
  --line: #e3e8f0;          /* borders and dividers */

  /* corner radius */
  --radius-sm: 5px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* shadows */
  --shadow-sm: 0 1px 3px rgba(15, 29, 54, .08);
  --shadow: 0 6px 24px rgba(15, 29, 54, .08);
  --shadow-lg: 0 18px 50px rgba(15, 29, 54, .12);

  /* layout & motion */
  --header-h: 92px;         /* header height (smaller on tablets/phones, see below) */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- design tokens: ≤640px (phones) ---- */
@media (max-width: 640px) {
  :root { --header-h: 60px; }
}


/* =========================================================
   02. BASE, RESET & SHARED HELPERS
   Page defaults, layout container, section titles and small helper classes.
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 170px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.container { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 24px; }
.t-grad {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.muted { color: var(--muted); }
.ico-blue { --c: #305eff; }
.ico-violet { --c: #6d4fe0; }
.ico-orange { --c: #f07c1b; }
.ico-pink { --c: #e0457b; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.03em; }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16b97a;
  box-shadow: 0 0 0 0 rgba(22, 185, 122, .6);
  animation: live 2s infinite;
}
.inline-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.inline-links a { font-weight: 600; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.inline-links a i { font-size: 12px; transition: transform .2s; }
.inline-links a:hover i { transform: translateX(3px); }

/* ---- base, reset & shared helpers: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  html { -webkit-tap-highlight-color: transparent; }
  a, button { touch-action: manipulation; }
}

/* ---- base, reset & shared helpers: ≤768px (tablets & large phones) ---- */
@media (max-width: 768px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}

/* ---- base, reset & shared helpers: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .inline-links a { padding-block: 7px; display: inline-flex; min-height: 44px; }
  html { scroll-padding-top: 130px; }
  body { font-size: 15px; line-height: 1.55; }
  .section-title { font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important; line-height: 1.18; letter-spacing: -.02em; }
  h3 { letter-spacing: -.01em; }
}

/* animations */
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(22, 185, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 185, 122, 0); } }


/* =========================================================
   03. BUTTONS
   .btn + modifiers: --primary (blue), --apply (orange, used only for Apply actions), --ghost, --text, --lg.
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn i { font-size: .85em; transition: transform .2s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn--lg { padding: 14px 22px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 29, 54, .12), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn--primary:hover {
  background: var(--grad-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(48, 94, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn--primary:active { transform: none; box-shadow: 0 1px 2px rgba(15, 29, 54, .12); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--outline:hover { background: var(--blue-soft); }
.btn--text { color: var(--blue); padding-left: 6px; padding-right: 6px; }
.btn--text:hover { text-decoration: underline; text-underline-offset: 4px; }
/* "Apply" actions are always saffron orange; everything else stays blue */
.btn--apply {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(110deg, #f2470d 0%, #ff5e14 55%, #ff7a00 100%);
  box-shadow: 0 8px 18px -8px rgba(242, 71, 13, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.btn--apply:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: saturate(1.1) brightness(.97);
  box-shadow: 0 12px 24px -8px rgba(242, 71, 13, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--apply-outline { color: #e2430c; font-weight: 700; background: #fff; border: 1.5px solid #ff7a3d; }
.btn--apply-outline:hover { background: #fff3ec; }
.btn--text-apply { color: #e2430c; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #eef2f8; }
.btn--login { padding: 10px 16px; font-size: 14.5px; }
.btn--login i { font-size: 13px; }

/* ---- buttons: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .btn:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- buttons: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .btn { font-size: 14.5px; }
  .btn--lg { padding: 13px 18px; font-size: 15px; }
}


/* =========================================================
   04. ANNOUNCEMENT STRIP
   Thin scrolling bar at the very top (text comes from the database ticker).
   ========================================================= */
.strip { background: #dfe8ff; color: var(--ink); font-size: 14px; }
.strip__inner { max-width: 1232px; margin: 0 auto; padding: 0 24px; height: 44px; display: flex; align-items: center; gap: 16px; }
.strip__label {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  background: var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.strip__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.strip__track { display: flex; width: max-content; animation: marquee var(--tk-dur, 45s) linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip.is-single .strip__track { animation: marquee-single var(--tk-dur, 20s) linear infinite; }
.strip.is-single .strip__item { padding-right: 0; }
.strip__item { white-space: nowrap; padding-right: 60px; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.strip__item img { display: inline-block; height: 13px; width: auto !important; }
.strip__item a {
  display: inline-block;
  margin: 0 4px;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.strip__item a:hover { background: var(--blue); }

/* ---- announcement strip: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .strip__inner { padding-left: 18px; padding-right: 18px; height: 34px; }
  .strip__label { display: none; }
  .strip__item a { padding: 6px 12px; }
  .strip { font-size: 12.5px; }
}

/* animations */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-single { from { transform: translateX(var(--tk-from, 100%)); } to { transform: translateX(var(--tk-to, -100%)); } }
@media (prefers-reduced-motion: reduce) { .strip.is-single .strip__track { animation: none; } }


/* =========================================================
   05. HEADER & NAVIGATION
   Logo, desktop menu + dropdowns/mega menu, Help popover, Login, Apply Now dropdown, mobile drawer (☰).
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  transform: translateZ(0);
  height: var(--header-h);
  background: #fff;
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(15, 29, 54, .06); }
.header__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo { flex: none; }
.logo img { height: 62px; width: auto; }
.menu { flex: 1; }
.menu__list { display: flex; align-items: center; justify-content: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.menu__item { position: relative; }
.menu__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color .15s;
}
.menu__link i { font-size: 9px; color: var(--muted); transition: transform .2s; }
.menu__link:hover, .menu__item.is-open > .menu__link { color: var(--blue); }
/* Home icon at the start of the menu */
.menu__link--home { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 10px; }
.menu__link--home i { font-size: 16px; color: var(--ink); transition: color .15s; }
.menu__link--home:hover { background: var(--blue-soft); }
.menu__link--home:hover i, .menu__link--home.is-current i { color: var(--blue); }
.has-drop:hover > .menu__link i, .menu__item.is-open > .menu__link i { transform: rotate(180deg); }
.drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s var(--ease);
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-drop:hover > .drop, .menu__item.is-open > .drop { opacity: 1; visibility: visible; transform: none; }
.drop__head {
  white-space: nowrap;
  margin: 6px 12px 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.drop a.prog {
  --c: #305eff;
  --soft: #eaf0ff;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-top: 2px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.drop a.prog:hover { background: var(--soft); border-color: color-mix(in srgb, var(--c) 25%, transparent); }
.prog--teal { --c: #0a8a8a !important; --soft: #e1f7f5 !important; }
.prog--violet { --c: #6d4fe0 !important; --soft: #f0ebff !important; }
.prog__ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #fff;
  background: var(--c);
  box-shadow: 0 8px 16px -8px var(--c);
}
.prog__txt { flex: 1; min-width: 0; }
.drop .prog__txt b { font-size: 14.5px; }
.drop .prog__txt small { display: block; font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.prog__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c);
  background: var(--soft);
  transition: background .2s, color .2s;
}
.prog__go i { font-size: 10px; }
.drop a.prog:hover .prog__go { background: var(--c); color: #fff; }
.drawer__body details a small { color: var(--muted); font-size: 12.5px; }
/* Scholarships mega menu: anchored to the header so it stays on screen */
.menu__item.has-mega { position: static; }
.drop--mega { left: 50%; width: min(900px, calc(100vw - 48px)); padding: 14px; transform: translate(-50%, 6px); top: calc(100% - 6px); }
.has-mega:hover > .drop--mega, .menu__item.has-mega.is-open > .drop--mega { transform: translate(-50%, 0); }
.mega { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 0; }
.mega__col { min-width: 0; padding: 0 10px; }
.mega__col + .mega__col { border-left: 1px solid var(--line); }
.mega__col--programs { padding-left: 0; }
.mega__col--programs .prog { align-items: center; }
.mega__col--programs .prog small { line-height: 1.35; }
.drawer__sub { margin: 10px 0 4px 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drop a { display: flex; gap: 14px; align-items: flex-start; padding: 11px 12px; border-radius: var(--radius); }
.drop a:hover { background: var(--bg-soft); }
.drop a > i { width: 18px; margin-top: 4px; color: var(--blue); font-size: 14px; text-align: center; }
.drop b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.drop small { font-size: 12.5px; color: var(--muted); }
.header__actions { flex: none; display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); color: var(--ink); font-size: 18px; }
.icon-btn:hover { background: var(--bg-soft); color: var(--blue); }
.contact-pop__card a.is-wa > i { color: #128c4b; background: #e3f9ec; font-size: 15px; }
.contact-pop__card a.contact-pop__ticket > i { color: #c2410c; background: #fff1e3; }
/* contact icon with hover card */
.contact-pop { position: relative; }
.contact-pop__card {
  position: absolute;
  right: -8px;
  top: calc(100% + 10px);
  width: 250px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s var(--ease);
}
.contact-pop__card::before, .apply__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.contact-pop:hover .contact-pop__card, .contact-pop:focus-within .contact-pop__card { opacity: 1; visibility: visible; transform: none; }
.contact-pop__title {
  margin: 2px 6px 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.contact-pop__card a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.contact-pop__card a:hover { background: var(--bg-soft); }
.contact-pop__card a > i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
}
.contact-pop__card small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.contact-pop__card .contact-pop__more {
  justify-content: space-between;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 11px;
  color: var(--blue);
  font-size: 13.5px;
}
/* Apply Now (header): saffron orange so it stands apart from the blue Login button; hover opens the dropdown, soft glow draws attention */
.apply { position: relative; }
.apply__btn {
  position: relative;
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(110deg, #f2470d 0%, #ff5e14 35%, #ff7a00 50%, #ff5e14 65%, #f2470d 100%);
  background-size: 220% 100%;
  box-shadow: 0 6px 16px -6px rgba(255, 106, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: apply-glow 2.4s ease-in-out 5, apply-flow 6s ease-in-out infinite;
}
.apply__btn:hover {
  background: linear-gradient(110deg, #e03d08, #f75a0d 50%, #e03d08);
  background-size: 220% 100%;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(255, 106, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.apply__btn i { font-size: 11px; transition: transform .25s var(--ease); }
.apply:hover .apply__btn i, .apply.is-open .apply__btn i { transform: rotate(180deg); }
.apply__btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  animation: apply-shine 3.2s ease-in-out 4;
}
.apply:hover .apply__btn { animation-play-state: paused; }
.apply__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 320px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s var(--ease);
}
.apply:hover .apply__menu, .apply.is-open .apply__menu, .apply:focus-within .apply__menu { opacity: 1; visibility: visible; transform: none; }
.apply__menu a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: var(--radius); color: var(--ink); }
.apply__menu a:hover { background: var(--bg-soft); }
.apply__menu b { display: block; font-size: 14.5px; }
.apply__menu small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.apply__menu a > i { margin-left: auto; color: #ff6a00; font-size: 12px; transition: transform .2s; }
.apply__menu a:hover > i { transform: translateX(3px); }
.apply__ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-btn);
  font-size: 15px;
}
.apply__ico--teal { background: linear-gradient(135deg, #0a8a8a, #23c4b5); }
.drawer__contact { display: grid; gap: 4px; padding: 14px 0; }
.drawer__contact a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--ink); }
.drawer__contact i { width: 18px; color: var(--blue); }
.burger { display: none; width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
/* mobile drawer (opened by the ☰ button) */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(15, 29, 54, .45); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 88vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.drawer.is-open { visibility: visible; }
.drawer.is-open::before { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 36px; width: auto; }
.drawer__close { width: 40px; height: 40px; border-radius: var(--radius); background: var(--bg-soft); }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer__body details { border-bottom: 1px solid var(--line); }
.drawer__body summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
}
.drawer__body summary::-webkit-details-marker { display: none; }
.drawer__body summary::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  color: var(--muted);
  transition: transform .2s;
}
.drawer__body details[open] summary::after { transform: rotate(180deg); }
.drawer__body details a { display: block; padding: 8px 0 8px 14px; font-size: 14.5px; color: var(--body); border-left: 2px solid var(--line); }
.drawer__body details a:hover { color: var(--blue); border-color: var(--blue); }
.drawer__body details a:last-child { margin-bottom: 12px; }
.drawer__link { display: block; padding: 15px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer__foot { padding: 16px 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.contact-pop__card a.is-faq > i { color: #6d4fe0; background: #f0ebff; }
.drawer__body summary > span, .drawer__link { display: flex; align-items: center; gap: 12px; }
.drawer__body summary > span i, .drawer__link i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--blue);
  background: var(--blue-soft);
}

/* ---- header & navigation: ≤1400px (laptops, tablets & touch screens) ---- */
@media (max-width: 1400px) {
  .menu__link { padding: 10px 10px; font-size: 14.5px; }
}

/* ---- header & navigation: ≤1340px (laptops, tablets & touch screens) ---- */
@media (max-width: 1340px) {
  .logo img { height: 54px; }
  .menu__link { padding: 10px 9px; }
}

/* ---- header & navigation: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .menu { display: none; }
  .burger { display: inline-block; }
  .header__inner { justify-content: space-between; }
}

/* ---- header & navigation: ≤768px (tablets & phones: the floating island has Login + Help) ---- */
@media (max-width: 768px) {
  .header__actions .btn--login, .header__actions .contact-pop { display: none; }
  .sbar { display: none; } /* phones & tablets use the floating island's Apply */
}

/* ---- header & navigation: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .header__inner { padding-left: 18px; padding-right: 18px; }
  .icon-btn, .apply { display: none; }
  .logo img { height: 40px; }
}

/* ---- header & navigation: ≤360px (small phones) ---- */
@media (max-width: 360px) {
  .logo img { height: 37px; }
}

/* animations */
@keyframes apply-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, .5), 0 6px 16px -6px rgba(255, 106, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .35); transform: translateY(0); }
  50% { box-shadow: 0 0 0 9px rgba(255, 106, 0, 0), 0 12px 24px -8px rgba(255, 106, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .35); transform: translateY(-2px); }
}
@keyframes apply-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes apply-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }


/* =========================================================
   06. HERO SLIDER
   4 slides: text on the left, arch photo + scholar card + journey/online-test card on the right. On phones the text comes first.
   ========================================================= */
.hero { position: relative; background: #fff; overflow: hidden; }
.hero__slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .2s ease-out, visibility 0s .2s; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.slide__inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 540px;
}
.slide__title { font-size: clamp(1.9rem, 3.1vw, 2.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 18px; }
.slide__title .t-grad { display: block; width: fit-content; }
/* heading: only the blue gradient line flips in; the dark text fades in after it */
.slide__copy > .slide__title { opacity: 1; transform: none; perspective: 900px; }
.fw {
  display: block;
  transform-origin: 50% 100%;
  backface-visibility: hidden;
  opacity: 0;
  transform: rotateX(-85deg) translateY(.35em);
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.slide.is-active .fw { opacity: 1; transform: none; transition-delay: .05s; }
.slide__points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.slide__points i { width: 1px; height: 16px; background: #9aa6b8; }
.slide__lead { font-size: 16.5px; color: var(--body); max-width: 520px; margin-bottom: 28px; }
.slide__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.slide__media { position: relative; height: 480px; }
.hv { position: absolute; inset: 0; }
.hv__grid {
  position: absolute;
  inset: -10px -40px -10px 0;
  border-radius: var(--radius-lg);
  background-image: linear-gradient(rgba(48, 94, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 94, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 62% 50%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 62% 50%, #000 35%, transparent 75%);
}
.hv__sun {
  position: absolute;
  width: 380px;
  height: 380px;
  right: 16px;
  top: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd8b0 0%, #fff0e2 42%, #e3ebff 70%, #cfdcff 100%);
  transform: scale(.85);
  opacity: 0;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}
.hv__arch {
  position: absolute;
  right: 56px;
  top: 14px;
  width: 300px;
  height: 420px;
  z-index: 1;
  border-radius: 150px 150px 22px 22px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 30px 60px -24px rgba(15, 29, 54, .4);
  background: var(--bg-soft);
}
.hv__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.hv__sub {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--c);
  background: #fff;
  box-shadow: 0 10px 24px -8px rgba(15, 29, 54, .28);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .5s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.hv__sub i { animation: bob 5s ease-in-out infinite; }
.hv__sub--1 { top: 34px; right: 4px; }
.hv__sub--2 { top: 230px; right: 0; }
.hv__sub--2 i { animation-delay: -1.2s; }
.hv__sub--3 { top: 2px; left: 150px; }
.hv__sub--3 i { animation-delay: -2.4s; }
.hv__sub--4 { bottom: 64px; right: 10px; }
.hv__sub--4 i { animation-delay: -3.6s; }
.hv__scholar {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 96px;
  max-width: 270px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -16px rgba(15, 29, 54, .3);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hv__avatar {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-size: 270% auto;
  background-repeat: no-repeat;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #ffb46b;
}
.hv__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c25e0a;
  background: #fff1e3;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.hv__scholar b { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; }
.hv__scholar small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.hv__journey {
  position: absolute;
  z-index: 4;
  left: 24px;
  bottom: 0;
  width: 370px;
  padding: 16px 20px 14px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -16px rgba(15, 29, 54, .3);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hv__journey p { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hv__journey ol { position: relative; list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.hv__journey ol::before, .hv__journey ol::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--line);
}
.hv__journey ol::after { background: var(--grad-blue); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--ease); }
.hv__journey li {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
}
.hv__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--line);
  color: transparent;
  font-size: 10px;
  transition: background .3s, border-color .3s, color .3s;
}
/* online-test screen (Test Series slide) */
.slide.is-active .ot__progress span { width: 24%; }
.slide.is-active .ot__opts li.is-picked { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); transition-delay: 1.3s; }
.slide.is-active .ot__opts li.is-picked span { background: var(--blue); color: #fff; transition-delay: 1.3s; }
.slide.is-active .ot__opts li.is-picked > i { opacity: 1; transition-delay: 1.5s; }
/* frosted-glass pills (slides without the journey card) */
.hv__pills {
  position: absolute;
  z-index: 4;
  left: 40px;
  bottom: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.hv__pills li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 12px 30px -12px rgba(15, 29, 54, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hv__pills li:nth-child(2) { margin-left: 34px; }
.hv__pills li:nth-child(3) { margin-left: 68px; }
.hv__pills li i { color: var(--blue); font-size: 15px; }
.slide.is-active .hv__pills li { opacity: 1; transform: none; }
.slide.is-active .hv__pills li:nth-child(1) { transition-delay: .4s; }
.slide.is-active .hv__pills li:nth-child(2) { transition-delay: .55s; }
.slide.is-active .hv__pills li:nth-child(3) { transition-delay: .7s; }
.hv__arch--screen {
  background: radial-gradient(260px 220px at 80% 10%, rgba(0, 163, 255, .45), transparent 70%), linear-gradient(160deg, #0a2463 0%, #305eff 50%, #0a2463 100%);
  background-size: 160% 160%, 200% 200%;
}
.ot {
  position: absolute;
  top: 96px;
  left: 40px;
  width: 300px;
  transform-origin: 0 0;
  --s: .82;
  transform: translateY(14px) scale(var(--s));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(5, 15, 44, .55);
  overflow: hidden;
  font-size: 11px;
  color: var(--ink);
  opacity: 0;
  transition: transform .7s var(--ease) .2s, opacity .7s var(--ease) .2s;
}
.ot__bar { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #f1f4fa; border-bottom: 1px solid var(--line); }
.ot__dots { display: flex; gap: 4px; }
.ot__dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.ot__dots i:nth-child(2) { background: #febc2e; }
.ot__dots i:nth-child(3) { background: #28c840; }
.ot__url { flex: 1; font-size: 9.5px; color: var(--muted); background: #fff; border-radius: 5px; padding: 2px 8px; }
.ot__url i { color: #16a34a; font-size: 8px; margin-right: 3px; }
.ot__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 8px; }
.ot__head b { display: block; font-size: 12.5px; line-height: 1.2; }
.ot__head small { font-size: 10px; color: var(--muted); }
.ot__timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1e3;
  color: #c25e0a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ot__progress { height: 4px; margin: 0 12px; border-radius: 4px; background: #e6ebf2; overflow: hidden; }
.ot__progress span {
  display: block;
  height: 100%;
  width: 24%;
  background: var(--grad-blue);
  border-radius: 4px;
  transition: width 1.6s var(--ease) .6s;
  width: 0;
}
.ot__qno { margin: 10px 12px 2px; font-size: 10px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.ot__q { margin: 0 12px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.ot__opts { list-style: none; margin: 0 12px; padding: 0; display: grid; gap: 6px; }
.ot__opts li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
  transition: background .4s, border-color .4s, color .4s;
}
.ot__opts li span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 700;
  background: #f1f4fa;
  color: var(--muted);
  transition: background .4s, color .4s;
}
.ot__opts li > i { margin-left: auto; color: var(--blue); opacity: 0; transition: opacity .4s; }
.ot__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 12px; }
.ot__palette { display: flex; gap: 3px; }
.ot__palette i { width: 10px; height: 10px; border-radius: 3px; background: #e6ebf2; }
.ot__palette i.done { background: #9fb7ff; }
.ot__palette i.cur { background: var(--blue); }
.ot__next {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
}
.slide.is-active .ot { transform: scale(var(--s)); opacity: 1; animation: ot-float 5s ease-in-out 1s infinite; }
.slide.is-active .hv__arch--screen { animation: arch-glow 8s ease-in-out infinite alternate; }
/* entrance when the slide becomes active */
.slide.is-active .hv__sun { opacity: 1; transform: none; }
.slide.is-active .hv__arch img { animation: kb-zoom-in 9s ease-out forwards; }
.slide:nth-child(2).is-active .hv__arch img { animation-name: kb-zoom-out; }
.slide:nth-child(3).is-active .hv__arch img { animation-name: kb-pan; animation-timing-function: ease-in-out; }
.slide.is-active .hv__sub { opacity: 1; transform: none; }
.slide.is-active .hv__sub--1 { transition-delay: .35s; }
.slide.is-active .hv__sub--2 { transition-delay: .5s; }
.slide.is-active .hv__sub--3 { transition-delay: .65s; }
.slide.is-active .hv__sub--4 { transition-delay: .8s; }
.slide.is-active .hv__scholar { opacity: 1; transform: none; transition-delay: .3s; }
.slide.is-active .hv__journey { opacity: 1; transform: none; transition-delay: .45s; }
.slide.is-active .hv__journey ol::after { transform: scaleX(1); transition-delay: .9s; }
.slide.is-active .hv__dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.slide.is-active li:nth-child(1) .hv__dot { transition-delay: .9s; }
.slide.is-active li:nth-child(2) .hv__dot { transition-delay: 1.4s; }
.slide.is-active li:nth-child(3) .hv__dot { transition-delay: 1.9s; }
.slide.is-active li:nth-child(4) .hv__dot { transition-delay: 2.4s; background: #f07c1b; border-color: #f07c1b; }
.hero__arrow {
  position: absolute;
  z-index: 5;
  top: 290px;
  translate: 0 -50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #c9d5f5;
  box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s;
}
.hero__arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.hero__arrow--prev { left: max(16px, calc(50% - 680px)); }
.hero__arrow--next { right: max(16px, calc(50% - 680px)); }
.hero__bottom { max-width: 1232px; margin: 0 auto; padding: 0 24px 40px; position: relative; z-index: 3; }
.hero__dots { display: flex; gap: 8px; margin: 0 0 22px; }
.hero__dots button {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: #d5ddeb;
  overflow: hidden;
  transition: width .3s var(--ease);
  position: relative;
}
.hero__dots button[aria-selected="true"] { width: 56px; }
.hero__dots button span { position: absolute; inset: 0; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.hero__dots button[aria-selected="true"] span { animation: progress var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__dots button span { animation-play-state: paused; }
.hero__dots button::after { content: ""; position: absolute; left: -4px; right: -4px; top: -14px; bottom: -14px; }

/* ---- hero slider: 961–1290px (small laptops): keep the heading clear of the side arrows ---- */
@media (min-width: 961px) and (max-width: 1290px) {
  .slide__inner, .hero__bottom { padding-left: 72px; padding-right: 72px; }
}

/* ---- hero slider: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .slide__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; min-height: 0; }
  .slide__media { height: 480px; width: 100%; max-width: 560px; margin: 0 auto; }
  .hero__arrow { display: none; }
}

/* ---- hero slider: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .slide__inner, .hero__bottom { padding-left: 18px; padding-right: 18px; }
  .hv__grid { inset: 0; }
  .ot { top: 64px; left: 22px; --s: .62 !important; }
  .hv__sun { width: 260px; height: 260px; right: 0; top: 20px; }
  .hv__arch { right: 8px; top: 0; width: 210px; height: 310px; border-radius: 105px 105px 18px 18px; border-width: 5px; }
  .hv__sub { width: 40px; height: 40px; font-size: 15px; }
  .hv__sub--1 { top: 20px; right: auto; left: 40%; }
  .hv__sub--2 { top: 180px; right: auto; left: 8px; display: none; }
  .hv__scholar { top: 70px; gap: 10px; max-width: 210px; padding: 9px 12px 9px 9px; }
  .hv__avatar { width: 44px; height: 44px; }
  .hv__journey { left: 0; right: 0; width: auto; padding: 12px 12px 10px; }
  .hv__pills { left: 0; bottom: 8px; gap: 7px; }
  .hv__pills li:nth-child(2) { margin-left: 20px; }
  .hv__pills li:nth-child(3) { margin-left: 40px; }
  .slide__cta .btn--primary { flex: 1; }
  .slide__inner { padding: 18px 18px 6px; gap: 6px; }
  .slide__title { margin-bottom: 10px; letter-spacing: -.02em; font-size: clamp(1.15rem, 5.1vw, 1.38rem) !important; line-height: 1.22; }
  .slide__points { gap: 4px 10px; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
  .slide__lead {
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14.5px;
    line-height: 1.6;
  }
  .slide__cta .btn--lg { padding: 13px 18px; font-size: 15px; }
  .hero__dots { margin-bottom: 14px; margin-top: -6px; }
  /* one consistent 18px content edge */
  .hero__bottom { padding: 0 18px 22px; }
  .slide__cta .btn--text { padding-left: 0; padding-right: 0; min-height: 44px; display: inline-flex; align-items: center; }
  .slide__cta { margin-bottom: 4px; }
  .hv__sub--3, .hv__sub--4 { display: none; }
  .hv__scholar b { font-size: 14px; }
  .hv__scholar small { font-size: 12px; }
  .hv__tag { font-size: 10.5px; }
  .hv__journey p { font-size: 11px; margin-bottom: 8px; }
  .hv__journey li { font-size: 11.5px; }
  .hv__pills li { font-size: 12.5px; padding: 7px 12px; }
  .slide__title .t-grad { font-size: clamp(1.35rem, 6vw, 1.65rem); line-height: 1.16; margin-bottom: 2px; }
  /* visual: keep the 320px layout box (so cards/chips don't collide) and shrink it as one piece,
     so the slider dots + "I am looking for" bar reach the first screen */
  .slide__media { height: 256px; }
  .hv { inset: 0 0 auto; height: 320px; transform: scale(.72); transform-origin: top center; }
}

/* ---- hero slider: ≤360px (small phones) ---- */
@media (max-width: 360px) {
  .slide__cta { flex-wrap: nowrap; gap: 10px; }
  .slide__cta .btn--lg { padding: 12px 14px; font-size: 14px; }
  .slide__cta .btn--text { font-size: 13.5px; white-space: nowrap; }
  .slide__lead { -webkit-line-clamp: 2; }
  .slide__media { height: 238px; }
  .hv { transform: scale(.66); }
}

/* animations */
@keyframes kb-zoom-in  { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -3%); } }
@keyframes kb-zoom-out { from { transform: scale(1.2) translate(0, 3%); } to { transform: scale(1.03) translate(0, 0); } }
@keyframes kb-pan      { from { transform: scale(1.14) translate(4%, 1%); } to { transform: scale(1.14) translate(-4%, -1%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ot-float    { 0%, 100% { transform: translateY(0) scale(var(--s)); } 50% { transform: translateY(-8px) scale(var(--s)); } }
@keyframes arch-glow   { from { background-position: 0% 0%, 0% 0%; } to { background-position: 100% 100%, 100% 100%; } }
@keyframes progress { to { transform: scaleX(1); } }


/* =========================================================
   07. "I AM LOOKING FOR" BAR
   Flipping label + quick-link chips right under the hero.
   ========================================================= */
.reco {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(15, 29, 54, .1);
}
.reco__label { flex: none; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.reco__label i { color: var(--blue); }
/* flipping phrase: items stack in one grid cell, so width = longest phrase (no layout jump) */
.flip { display: inline-grid; perspective: 400px; }
.flip__item {
  grid-area: 1 / 1;
  white-space: nowrap;
  backface-visibility: hidden;
  opacity: 0;
  transform: rotateX(-90deg) translateY(40%);
  transform-origin: 50% 50%;
  transition: transform .55s var(--ease), opacity .4s;
}
.flip__item.is-on { opacity: 1; transform: none; }
.flip__item.is-out { opacity: 0; transform: rotateX(90deg) translateY(-40%); }
.reco__chips { display: flex; flex-wrap: nowrap; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.reco__chips::-webkit-scrollbar { display: none; }
.reco__chips a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--blue);
  background: var(--blue-soft);
  transition: background .2s, color .2s;
}
.reco__chips a i { font-size: 11px; }
.reco__chips a:hover { background: var(--blue); color: #fff; }

/* ---- "i am looking for" bar: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .reco__chips a:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- "i am looking for" bar: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .reco { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0 14px 16px; }
  .reco__chips { width: 100%; padding-right: 16px; }
  .reco__chips a { min-height: 40px; padding: 9px 13px; font-size: 13px; }
}


/* =========================================================
   08. IMPORTANT LINKS & IMPORTANT DATES
   Database-driven links list, dates timeline, help box. On phones a Links | Dates switch shows one card at a time.
   ========================================================= */
.updates {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 88px;
  background: linear-gradient(180deg, #eef3ff 0%, #f7f9ff 55%, #ffffff 100%);
  border-top: 1px solid #e3eafc;
}
.updates__blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.updates__blob--a { width: 460px; height: 460px; right: -120px; top: -160px; background: rgba(48, 94, 255, .14); }
.updates__blob--b { width: 380px; height: 380px; left: -140px; bottom: -160px; background: rgba(255, 154, 60, .12); }
.updates__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 24px; flex-wrap: wrap; margin-bottom: 34px; }
.updates__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: #fff;
  border: 1px solid #dbe4fb;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.updates h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.03em; margin: 0; }
.updates .t-grad { white-space: nowrap; }
.updates__next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 470px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ffe0bf;
  box-shadow: 0 10px 24px -14px rgba(240, 124, 27, .55);
}
.updates__next-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(180deg, #ff9a3c, #f07c1b);
}
.updates__next.is-done { border-color: #d7e2fd; box-shadow: 0 10px 24px -14px rgba(48, 94, 255, .45); }
.updates__next.is-done .updates__next-ico { background: var(--grad-btn); }
.updates__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; }
.ucard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 22px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e6ecf8;
  box-shadow: 0 1px 2px rgba(15, 29, 54, .04), 0 24px 48px -28px rgba(30, 60, 140, .35);
  overflow: hidden;
}
.ucard--links { background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%); }
.ucard--dates { background: linear-gradient(180deg, #fff 0%, #fffaf5 100%); }
.ucard__head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 -22px 20px;
  padding: 22px 22px 20px;
  color: #fff;
  background: radial-gradient(260px 140px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(120deg, #2147e6 0%, #305eff 45%, #0284c7 100%);
}
.ucard--dates .ucard__head {
  background: radial-gradient(260px 140px at 100% 0%, rgba(255, 255, 255, .25), transparent 70%), linear-gradient(120deg, #f06a1b 0%, #ff8a2b 50%, #ffb04a 100%);
}
.ucard__mark {
  position: absolute;
  right: -10px;
  bottom: -26px;
  font-size: 110px;
  color: rgba(255, 255, 255, .12);
  transform: rotate(-12deg);
  pointer-events: none;
}
.ucard__head > div { flex: 1; min-width: 0; }
.ucard__head h3 { margin: 0; font-size: 19px; color: #fff; }
.ucard__head p { margin: 2px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.ucard__icon {
  position: relative;
  z-index: 1;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45);
}
.ucard__icon--orange { color: #f07c1b; }
.ucard__link {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #d9600f;
  background: #fff;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.ucard__link i { font-size: 11px; transition: transform .2s; }
.ucard__link:hover { transform: translateY(-1px); }
.ucard__link:hover i { transform: translateX(3px); }
/* Important Links card */
.ulinks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.ulinks li.is-hidden { display: none; }
.ulinks li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6ecf8;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ulinks li a:hover { border-color: #c9d7fb; box-shadow: 0 12px 26px -16px rgba(48, 94, 255, .45); transform: translateY(-2px); }
.ulink__ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--c, var(--blue));
  background: color-mix(in srgb, var(--c, #305eff) 12%, #fff);
  transition: background .2s, color .2s;
}
.ulinks li a:hover .ulink__ico { background: var(--c, var(--blue)); color: #fff; }
.ulink__text {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ulink__new { flex: none; height: 14px; width: auto; }
.ulink__go {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #9aa6b8;
  transition: background .2s, color .2s, transform .2s;
}
.ulinks li a:hover .ulink__go { background: var(--blue); color: #fff; transform: translateX(2px); }
.ucard__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 18px;
  font-weight: 600;
  color: var(--blue);
}
.ucard__more i { font-size: 11px; transition: transform .2s; }
.ucard__more[aria-expanded="true"] i { transform: rotate(180deg); }
/* help box (WhatsApp / Email / Call / Ticket) */
.uhelp {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef3ff, #f6f9ff);
  border: 1px dashed #c9d7fb;
}
.uhelp__ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.uhelp__text { flex: 1; min-width: 0; }
.uhelp b { display: block; font-size: 14.5px; color: var(--ink); }
.uhelp small { display: block; font-size: 12.5px; color: var(--muted); }
.uhelp__actions { flex: none; display: flex; gap: 8px; }
.uhelp__btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform .2s, box-shadow .2s;
}
.uhelp__btn:hover { transform: translateY(-3px); }
.uhelp__btn--wa {
  color: #fff;
  font-size: 21px;
  background: linear-gradient(180deg, #2fdc74, #1fb85c);
  box-shadow: 0 8px 18px -8px rgba(31, 184, 92, .9);
}
.uhelp__btn--mail { color: #e0457b; background: #fff; border: 1px solid #f6cfdd; }
.uhelp__btn--call { color: var(--blue); background: #fff; border: 1px solid #c9d7fb; }
.uhelp__btn::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 4px);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.uhelp__btn:hover::after, .uhelp__btn:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
/* Important Dates timeline */
.utl { position: relative; list-style: none; margin: 0; padding: 0; }
.utl__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.utl__item:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 58px; bottom: -12px; width: 2px; background: #e2e8f6; }
.utl__item.is-done:not(:last-child)::after { background: linear-gradient(180deg, #9db4ff, #c9d7fb); }
.utl__cal {
  position: relative;
  z-index: 1;
  flex: none;
  width: 48px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f6;
  box-shadow: 0 6px 14px -10px rgba(15, 29, 54, .4);
  transition: transform .2s;
}
.utl__item:hover .utl__cal { transform: translateY(-2px); }
.utl__cal small {
  display: block;
  padding: 2px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-btn);
}
.utl__item.is-done .utl__cal small { background: linear-gradient(180deg, #6f8ff5, #4f74ea); }
.utl__cal b { display: block; padding: 3px 0 4px; font-size: 18px; line-height: 1.1; color: var(--ink); }
.utl__body { flex: 1; min-width: 0; }
.utl__body b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.utl__body small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.utl__body small i { font-size: 11px; margin-right: 3px; }
.utl__next {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff9a3c, #f07c1b);
}
.utl__item.is-next .utl__cal small, .utl__item.is-live .utl__cal small { background: linear-gradient(180deg, #ff9a3c, #f07c1b); }
.utl__item.is-next { margin: 4px -10px; padding: 10px; border-radius: 12px; background: #fff7ef; box-shadow: inset 0 0 0 1px #ffd9b5; }
/* entrance animations (JS adds .is-in when the section scrolls into view) */
.js .updates .ucard { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .updates .ucard--dates { transition-delay: .12s; }
.js .updates.is-in .ucard { opacity: 1; transform: none; }
.js .updates .ulinks li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--n, 0) * 70ms);
}
.js .updates.is-in .ulinks li { opacity: 1; transform: none; }
.js .updates .utl__item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: calc(var(--n, 0) * 90ms + .2s);
}
.js .updates.is-in .utl__item { opacity: 1; transform: none; }
.js .updates .utl__item:not(:last-child)::after {
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform .4s var(--ease);
  transition-delay: calc(var(--n, 0) * 90ms + .4s);
}
.js .updates.is-in .utl__item:not(:last-child)::after { transform: scaleY(1); }

/* ---- important links & important dates: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .ulinks li a:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- important links & important dates: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .updates__grid { grid-template-columns: 1fr; }
}

/* ---- important links & important dates: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .updates__next { border-radius: 14px; font-size: 12.5px; padding: 7px 12px 7px 7px; }
  .ucard__link { display: none; padding: 6px 11px; font-size: 12.5px; }
  .utl__item { flex-wrap: wrap; align-items: flex-start; }
  .utl__body { flex-basis: calc(100% - 62px); }
  .utl__item:not(:last-child)::after { top: 56px; }
  .ucard { padding: 0 16px 18px; }
  .uhelp { flex-wrap: wrap; }
  .uhelp__text { flex-basis: calc(100% - 52px); }
  .uhelp__actions { width: 100%; padding-left: 52px; }
  .ulink__text { -webkit-line-clamp: 3; font-size: 13.5px !important; font-weight: 500; line-height: 1.42; color: var(--ink); }
  .ulink__go { display: none; }
  .updates { padding: 36px 0 40px; }
  .updates__head { margin-bottom: 18px; gap: 12px; }
  .useg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #e6ecfa;
    position: sticky;
    top: calc(var(--header-h) + 8px);
    z-index: 5;
  }
  .useg button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 6px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    transition: background .25s, color .25s, box-shadow .25s;
  }
  .useg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(15, 29, 54, .35); }
  .useg button[aria-selected="true"] .fa-link { color: var(--blue); }
  .useg button[aria-selected="true"] .fa-calendar-alt { color: #f07c1b; }
  .updates__grid.is-seg > .ucard { display: none; }
  .updates__grid.is-seg.show-links > .ucard--links, .updates__grid.is-seg.show-dates > .ucard--dates {
    display: flex;
    animation: fadeUp .35s var(--ease);
  }
  .utl__item.is-collapsed { display: none; }
  .utl__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: #d9600f;
    background: #fff3ea;
  }
  .updates h2 { font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important; line-height: 1.18; letter-spacing: -.02em; }
  .ulink__text, .utl__body b { font-size: 14px; }
  .updates__eyebrow { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
  .ucard__head { padding: 12px 14px; margin: 0 -16px 14px; gap: 12px; }
  .ucard__icon { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
  .ucard__head h3 { font-size: 16px; }
  .ucard__head p { font-size: 12px; }
  .ucard__mark { font-size: 72px; bottom: -18px; }
  .ulinks { gap: 8px; }
  .ulinks li a { padding: 11px 12px; gap: 12px; }
  .ulink__ico { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
  .utl__body b { font-size: 13.5px !important; line-height: 1.38; }
  .utl__body small { font-size: 12px; }
  .utl__cal { width: 44px; }
  .utl__cal b { font-size: 16px; }
  .updates__next-ico { width: 26px; height: 26px; font-size: 11px; }
  .uhelp b { font-size: 14px; }
  .uhelp small { font-size: 12px; }
}

/* ---- important links & important dates: ≤360px (small phones) ---- */
@media (max-width: 360px) {
  .useg__x { display: none; }
}


/* =========================================================
   09. PROGRAM SHOWCASE
   4-slide program carousel (Engineering & Medical, College, Test Series, Mobile App) with illustrated visuals.
   ========================================================= */
.showcase { background: var(--bg-soft); padding: 72px 0 10px; }
.showcase__head { margin-bottom: 28px; }
.showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: #fff;
  border: 1px solid #dbe4fb;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.showcase h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; margin: 0; }
/* colour themes per slide (blue / teal / violet / navy) */
.sc--blue { --g1: #0b2a8f; --g2: #305eff; --g3: #00a3ff; --accent: #9fd8ff; }
.sc--teal { --g1: #04434f; --g2: #0a8a8a; --g3: #23c4b5; --accent: #9ff3e6; }
.sc--violet { --g1: #2a1470; --g2: #5b3bd6; --g3: #a35bff; --accent: #e0ccff; }
.sc--navy { --g1: #060f2a; --g2: #13307a; --g3: #1fb85c; --accent: #a8f0c4; }
.sc__stage { position: relative; display: grid; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15, 29, 54, .55); }
.sc__slide {
  grid-area: 1 / 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  min-height: 460px;
  padding: 52px 56px;
  color: #fff;
  background: radial-gradient(520px 340px at 85% 30%, color-mix(in srgb, var(--g3) 55%, transparent), transparent 70%), linear-gradient(125deg, var(--g1) 0%, var(--g2) 70%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.sc__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.sc__slide::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(110deg, transparent 40%, #000 90%);
  -webkit-mask-image: linear-gradient(110deg, transparent 40%, #000 90%);
}
.sc__copy > * { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.sc__slide.is-active .sc__copy > * { opacity: 1; transform: none; }
.sc__slide.is-active .sc__copy > :nth-child(2) { transition-delay: .06s; }
.sc__slide.is-active .sc__copy > :nth-child(3) { transition-delay: .12s; }
.sc__slide.is-active .sc__copy > :nth-child(4) { transition-delay: .18s; }
.sc__slide.is-active .sc__copy > :nth-child(5) { transition-delay: .24s; }
.sc__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  margin-bottom: 16px;
}
.sc__copy h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; }
.sc__copy p { color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 520px; }
.sc__points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.sc__points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.sc__points i {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--g1);
  background: var(--accent);
}
.sc__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.sc__cta .btn--white { color: var(--g1); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.sc__link { font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 2px; }
.sc__link:hover { border-color: #fff; }
/* visual area */
.sc__visual { position: relative; height: 360px; display: grid; place-items: center; }
.sc__visual > * { transition: transform .25s ease-out; }
.sc__ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .28);
  animation: spin 40s linear infinite;
}
.sc__ring::before {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}
.vfloat {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6);
}
.vfloat i { color: var(--g2); }
.vfloat--a { top: 8px; left: 0; }
.vfloat--b { bottom: 10px; left: 0; }
.vfloat--c { top: 44%; right: -10px; }
.sc__slide .vfloat { opacity: 0; scale: .8; transition: opacity .5s var(--ease), scale .5s cubic-bezier(.3, 1.6, .5, 1), transform .25s ease-out; }
.sc__slide.is-active .vfloat { opacity: 1; scale: 1; }
.sc__slide.is-active .vfloat--a { transition-delay: .3s, .3s, 0s; }
.sc__slide.is-active .vfloat--b { transition-delay: .45s, .45s, 0s; }
.sc__slide.is-active .vfloat--c { transition-delay: .6s, .6s, 0s; }
.vcard, .vid, .vscore {
  position: relative;
  width: 300px;
  padding: 20px;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6);
}
.vcard__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vcard__top img { width: 42px; height: 42px; border-radius: 50%; }
.vcard__top b { display: block; font-size: 16px; }
.vcard__top small { color: var(--muted); font-size: 12.5px; }
.vcard__ok {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  background: #16b97a;
}
.vcard__streams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.vcard__streams span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
}
.vcard__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-top: 1px dashed var(--line); }
.vcard__row span { color: var(--muted); }
.vid { padding: 0; overflow: hidden; }
.vid__band { padding: 12px 18px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--g2), var(--g3)); }
.vid__body { display: flex; align-items: center; gap: 14px; padding: 18px; }
.vid__avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--g2);
  background: color-mix(in srgb, var(--g3) 18%, #fff);
}
.vid__lines { flex: 1; display: grid; gap: 8px; }
.vid__lines i { height: 8px; border-radius: 4px; background: #e6ebf2; }
.vid__lines .short { width: 70%; }
.vid__lines .shorter { width: 45%; }
.vid__checks { display: grid; gap: 6px; padding: 0 18px 14px; font-size: 13px; font-weight: 600; }
.vid__checks i { color: #16b97a; margin-right: 6px; }
.vid__badge {
  margin: 0 18px 18px;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: #0a6e66;
  background: #e1faf6;
}
.vscore__head b { display: block; font-size: 15px; }
.vscore__head small { color: var(--muted); font-size: 12.5px; }
.vscore__main { position: relative; width: 130px; height: 130px; margin: 14px auto 10px; }
.vscore__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.vscore__ring circle { fill: none; stroke: #ece7fb; stroke-width: 10; }
.vscore__ring .vscore__arc {
  stroke: var(--g2);
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.4s var(--ease) .3s;
}
.sc__slide.is-active .vscore__arc { stroke-dashoffset: 44; }
.vscore__pct { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.vscore__pct b { font-size: 28px; line-height: 1; color: var(--g1); }
.vscore__pct small { font-size: 12px; color: var(--muted); }
.vscore__bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; padding-top: 8px; border-top: 1px solid var(--line); }
.vscore__bars span {
  flex: 1;
  height: 0;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--g3), var(--g2));
  transition: height .8s var(--ease);
}
.sc__slide.is-active .vscore__bars span { height: var(--h); }
.sc__slide.is-active .vscore__bars span:nth-child(2) { transition-delay: .1s; }
.sc__slide.is-active .vscore__bars span:nth-child(3) { transition-delay: .2s; }
.sc__slide.is-active .vscore__bars span:nth-child(4) { transition-delay: .3s; }
.sc__slide.is-active .vscore__bars span:nth-child(5) { transition-delay: .4s; }
.vphone {
  position: relative;
  width: 210px;
  height: 360px;
  padding: 10px;
  border-radius: 34px;
  background: #0b1020;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .12);
}
.vphone__notch {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 50%;
  width: 70px;
  height: 16px;
  margin-left: -35px;
  border-radius: 10px;
  background: #0b1020;
}
.vphone__screen {
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  padding: 36px 12px 12px;
  background: linear-gradient(180deg, #f4f7ff, #fff);
  color: var(--ink);
}
.vphone__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.vphone__bar img { width: 26px; height: 26px; border-radius: 50%; }
.vphone__bar i { margin-left: auto; color: var(--muted); }
.vphone__hero { padding: 14px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #305eff, #0284c7); margin-bottom: 12px; }
.vphone__hero small { font-size: 10.5px; opacity: .85; }
.vphone__hero b { display: block; font-size: 14px; line-height: 1.3; margin: 2px 0 10px; }
.vphone__hero span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #305eff;
  background: #fff;
}
.vphone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vphone__grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e6ecf8;
}
.vphone__grid i { font-size: 15px; color: #305eff; }
.sc__arrow {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s;
}
.sc__arrow:hover { background: rgba(255, 255, 255, .28); }
.sc__arrow--prev { right: 76px; }
.sc__arrow--next { right: 24px; }
/* tab bar under the slides (with progress line) */
.sc__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.sc__nav button {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 18px;
  border-radius: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid #e3eafa;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.sc__nav button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(48, 94, 255, .5); }
.sc__navico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--g2), var(--g3));
}
.sc__nav b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.sc__nav small { font-size: 12.5px; color: var(--muted); }
.sc__bar { position: absolute; left: 16px; right: 16px; bottom: 8px; height: 3px; border-radius: 3px; background: #edf1f9; overflow: hidden; }
.sc__bar::after { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-blue); }
.sc__nav button[aria-selected="true"] { border-color: #c9d7fb; box-shadow: 0 16px 32px -20px rgba(48, 94, 255, .6); }
.sc__nav button[aria-selected="true"] .sc__bar::after { animation: progress var(--sc-dur, 7s) linear forwards; }
.sc.is-paused .sc__nav button[aria-selected="true"] .sc__bar::after { animation-play-state: paused; }
.rcard {
  --c1: #1d4ed8;
  --c2: #0369a1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: none;
  width: 340px;
  height: 190px;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  border-radius: 22px;
  color: #fff;
  background: radial-gradient(220px 140px at 100% 0%, rgba(255, 255, 255, .12), transparent 70%), linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 18px 36px -24px var(--c1);
  transition: transform .3s var(--ease);
}
.rcard:hover { transform: translateY(-4px); }
.rcard--violet { --c1: #4c1d95; --c2: #7c3aed; }
.rcard--orange { --c1: #9a3412; --c2: #c2410c; }
.rcard--teal { --c1: #134e4a; --c2: #0f766e; }
.rcard--pink { --c1: #be185d; --c2: #db2777; }
.rcard--sky { --c1: #0c4a6e; --c2: #0369a1; }
.rcard__mark { position: absolute; z-index: -1; right: 14px; top: 10px; font-size: 64px; color: rgba(255, 255, 255, .16); }
.rcard__stars { display: flex; gap: 3px; font-size: 11px; color: #ffd772; margin-bottom: 8px; }
.rcard__text {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .005em;
  color: rgba(255, 255, 255, .95);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rcard__who { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.rcard__init {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--c1);
  background: #fff;
}
.rcard__who b { display: block; font-size: 14px; }
.rcard__who small {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

/* ---- program showcase: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .rcard:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- program showcase: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .sc__slide { grid-template-columns: 1fr; padding: 40px 32px 90px; gap: 10px; }
  .sc__visual { height: 320px; }
  .sc__nav { grid-template-columns: 1fr 1fr; }
}

/* ---- program showcase: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .rcard { width: 300px; height: 176px; padding: 16px 18px; }
  .rcard__text { font-size: 13px; }
  .rcard__who small { max-width: 220px; }
  .sc__stage { border-radius: 20px; }
  .sc__visual { margin-top: 4px; height: 250px; transform: scale(.84); margin: -6px 0 -24px; }
  .sc__visual .vfloat { display: none; }
  .vcard, .vid, .vscore { width: 280px; }
  .vphone { height: 280px; width: 170px; }
  .sc__ring { width: 280px; height: 280px; }
  .vfloat { font-size: 12px; padding: 7px 11px; }
  .sc__nav { gap: 8px; }
  .sc__nav button { padding: 10px 10px 14px; gap: 8px; align-items: center; min-height: 58px; }
  .sc__navico { width: 32px; height: 32px; font-size: 13px; }
  .sc__nav b { font-size: 12.5px; line-height: 1.25; }
  .sc__nav small { display: none; }
  .sc__arrow { bottom: 18px; }
  .sc__link {
    padding-block: 7px;
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-bottom: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, .5);
  }
  .showcase { padding-top: 36px; }
  .showcase__head { margin-bottom: 16px; }
  .sc__slide { padding: 24px 18px 76px; }
  .sc__copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.6; }
  .sc__points { display: none; }
  .sc__nav button > span:nth-child(2) { min-width: 0; }
  .sc__cta { gap: 12px 16px; }
  .showcase h2 { font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important; line-height: 1.18; letter-spacing: -.02em; }
  .sc__copy h3 { font-size: 1.3rem !important; line-height: 1.22; }
  .showcase__eyebrow { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
}

/* animations */
@keyframes spin { to { transform: rotate(360deg); } }


/* =========================================================
   10. INTRO HEADLINE + STICKY SUB-NAV
   Headline above the panels and the sticky tab bar (How it Works / Exam Resources / Scholarship Guide).
   ========================================================= */
.intro { background: var(--bg-soft); padding: 64px 0 24px; }
.intro__title { margin: 0 0 26px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(243, 246, 250, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.subnav.is-stuck { border-bottom-color: var(--line); }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.subnav__links { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; height: 100%; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 600;
  color: #7a879c;
  transition: color .2s;
}
.subnav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.subnav__links a:hover { color: var(--ink); }
.subnav__links a.is-active { color: var(--ink); }
.subnav__links a.is-active::after { transform: scaleX(1); }

/* ---- intro headline + sticky sub-nav: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .intro { padding-top: 60px; padding: 44px 0 16px; }
  .subnav__cta { display: none; }
  /* section tabs: smaller so all three fit */
  .subnav__inner { height: 54px; }
  .subnav__links { gap: 18px; }
  .subnav__links a { font-size: 14px; }
  .subnav__links a::after { bottom: 8px; }
  .intro__title { font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important; line-height: 1.18; letter-spacing: -.02em; }
}


/* =========================================================
   11. PANELS: HOW IT WORKS, EXAM RESOURCES, SCHOLARSHIP GUIDE
   Stacked sticky cards on desktop. Includes the road journey animation, resource cards and the guide.
   ========================================================= */
.panels { background: var(--bg-soft); padding: 12px 0 70px; }
.panel { padding: 0; margin-bottom: 24px; }
.panel-anchor { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 80px); }
.panel > .container {
  background: #fff;
  padding-top: 44px;
  padding-bottom: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 1280px;
  padding-left: 48px;
  padding-right: 48px;
}
.panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.panel__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.025em; margin-bottom: 28px; }
.panel__head .panel__title { margin-bottom: 0; }
.cards { display: grid; gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
/* product card */
.pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s, transform .25s var(--ease);
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pcard__visual { height: 250px; display: grid; place-items: center; padding: 20px; overflow: hidden; }
.pcard__body { padding: 20px 20px 22px; border-top: 1px solid var(--line); flex: 1; }
.pcard__body h3 { font-size: 18px; margin-bottom: 8px; }
.pcard__body p { font-size: 14px; color: var(--muted); margin: 0; }
.pcard:hover .pcard__body h3 { color: var(--blue); }
.tint-blue { background: #dbe8f3; }
.tint-sky { background: #d9efff; }
.tint-violet { background: #e4e1f5; }
.tint-peach { background: #f6e6d8; }
/* mini document mock (Exam Resources cards) */
.mock {
  width: 100%;
  max-width: 230px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 29, 54, .12);
  padding: 14px;
  font-size: 12px;
  color: var(--ink);
  transition: transform .4s var(--ease);
}
.pcard:hover .mock { transform: translateY(-4px); }
.mock--doc > i { display: block; height: 7px; border-radius: 4px; background: #e6ebf2; }
.mock--doc > i.short { width: 60%; }
.mock--doc { display: grid; gap: 7px; position: relative; padding-top: 34px; max-width: 190px; }
.mock__pdf {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #e5484d;
  padding: 2px 6px;
  border-radius: 3px;
}
.mock__dl {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
}
/* panel heading with a subtitle */
.panel__sub { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.panel__head:has(.panel__sub) { display: block; }
/* Scholarship Guide cards */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide--blue { --c1: #305eff; --c2: #0284c7; --soft: #eaf0ff; }
.guide--violet { --c1: #6d4fe0; --c2: #a35bff; --soft: #f0ebff; }
.guide--orange { --c1: #f07c1b; --c2: #ffb04a; --soft: #fff1e3; }
.guide--teal { --c1: #0a8a8a; --c2: #23c4b5; --soft: #e1f7f5; }
.guide--pink { --c1: #e0457b; --c2: #ff7aa8; --soft: #ffe9f1; }
.guide--sky { --c1: #0284c7; --c2: #38bdf8; --soft: #e3f4fd; }
.guide {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e6ecf8;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 29, 54, .04);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, color .3s;
}
.guide::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(240px 160px at 100% 0%, rgba(255, 255, 255, .28), transparent 70%), linear-gradient(135deg, var(--c1), var(--c2));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.guide::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transition: opacity .3s;
}
.guide__mark {
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: -22px;
  font-size: 120px;
  color: var(--soft);
  transform: rotate(-10deg);
  transition: color .35s, transform .5s var(--ease);
}
.guide__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.guide__ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 10px 20px -10px var(--c1);
  transition: background .3s, color .3s;
}
.guide__no {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--c1);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  transition: background .3s, color .3s;
}
.guide__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 6px;
  transition: color .3s;
}
.guide__text { font-size: 18.5px; font-weight: 600; line-height: 1.38; letter-spacing: -.01em; margin-bottom: 18px; }
.guide__hl { color: var(--c1); transition: color .3s; }
.guide__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c1);
  transition: color .3s;
}
.guide__more i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  background: var(--soft);
  transition: transform .3s var(--ease), background .3s;
}
/* hover: card floods with its colour */
.guide:hover { transform: translateY(-6px); border-color: transparent; color: #fff; box-shadow: 0 26px 46px -24px var(--c1); }
.guide:hover::before { opacity: 1; }
.guide:hover::after { opacity: 0; }
.guide:hover .guide__mark { color: rgba(255, 255, 255, .14); transform: rotate(0) scale(1.08); }
.guide:hover .guide__ico { background: #fff; color: var(--c1); }
.guide:hover .guide__no { background: rgba(255, 255, 255, .2); color: #fff; }
.guide:hover .guide__label, .guide:hover .guide__hl, .guide:hover .guide__more { color: #fff; }
.guide:hover .guide__more i { background: rgba(255, 255, 255, .22); transform: translateX(4px); }
/* How it Works: road journey */
.road__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }
.road__head .panel__title { margin-bottom: 0; }
.road__hud { display: flex; align-items: center; gap: 10px; }
.road__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #f3f6ff;
  border: 1px solid #dfe7fb;
}
.road__count i { color: #f07c1b; }
.road__count b { color: var(--blue); font-size: 16px; }
.road__replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid #c9d7fb;
  background: #fff;
  transition: background .2s;
}
.road__replay:hover { background: var(--blue-soft); }
.road { position: relative; height: 440px; margin: -6px -10px 0; }
.road__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road__base { fill: none; stroke: #2a3557; stroke-width: 30; stroke-linecap: round; }
.road__fill { fill: none; stroke-width: 30; stroke-linecap: round; }
.road__lane { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2.5; stroke-dasharray: 12 12; animation: lane 1.2s linear infinite; }
.road__start, .road__finish { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.road__start {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #16b97a;
  box-shadow: 0 8px 16px -8px rgba(22, 185, 122, .9);
  white-space: nowrap;
}
.road__finish {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--ink);
  background: #fff;
  border: 3px solid #2a3557;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
}
.road__car {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(135deg, #ff9a3c, #f07c1b);
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(240, 124, 27, .25), 0 10px 22px -8px rgba(240, 124, 27, .9);
  will-change: transform;
}
.road__car i { animation: carbob .5s ease-in-out infinite alternate; }
.road__ms { position: absolute; z-index: 3; left: 0; top: 0; }
.road__pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #94a3b8;
  background: #fff;
  border: 3px solid #cfd8ea;
  box-shadow: 0 8px 18px -10px rgba(15, 29, 54, .5);
  transition: color .3s, border-color .3s, background .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.road__pin em {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  color: #fff;
  background: #94a3b8;
  border: 2px solid #fff;
  transition: background .3s;
}
.road__card {
  position: absolute;
  left: 0;
  width: 200px;
  margin-left: -100px;
  padding: 9px 12px 10px;
  border-radius: 14px;
  text-align: center;
  background: #fff;
  border: 1px solid #e3eafa;
  box-shadow: 0 14px 28px -20px rgba(30, 60, 140, .55);
  opacity: .55;
  transition: opacity .4s, transform .4s var(--ease), border-color .3s;
}
.road__ms.is-up .road__card { bottom: 38px; }
.road__ms.is-down .road__card { top: 38px; }
.road__step {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 3px;
  transition: color .3s;
}
.road__card b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.road__card small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.road__ms.is-reached .road__pin {
  color: #fff;
  border-color: #fff;
  background: var(--grad-btn);
  transform: scale(1.12);
  box-shadow: 0 0 0 7px rgba(48, 94, 255, .18), 0 12px 24px -10px rgba(48, 94, 255, .9);
}
.road__ms.is-reached .road__pin em { background: #16b97a; }
.road__ms.is-reached .road__card { opacity: 1; border-color: #c9d7fb; }
.road__ms.is-reached .road__step { color: var(--blue); }
.road__ms:last-child.is-reached .road__pin {
  background: linear-gradient(135deg, #ff9a3c, #f07c1b);
  box-shadow: 0 0 0 8px rgba(240, 124, 27, .2), 0 12px 24px -10px rgba(240, 124, 27, .9);
}
.road__win {
  position: absolute;
  z-index: 5;
  right: 4px;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #16b97a, #0fa36b);
  box-shadow: 0 14px 28px -12px rgba(22, 185, 122, .9);
  opacity: 0;
  transform: translateY(10px) scale(.8);
  transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1);
  pointer-events: none;
}
.road.is-done .road__win { opacity: 1; transform: none; }
.road__confetti { position: absolute; z-index: 5; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.road__confetti i { position: absolute; width: 8px; height: 12px; border-radius: 2px; opacity: 0; background: var(--cc, #305eff); }
.road__confetti i:nth-child(3n) { --cc: #f07c1b; }
.road__confetti i:nth-child(3n+1) { --cc: #16b97a; }
.road__confetti i:nth-child(4n) { --cc: #e0457b; }
.road.is-done .road__confetti i { animation: confetti 1.4s cubic-bezier(.2, .7, .3, 1) forwards; }
#sec-how + .panel .inline-links { margin-top: 6px; }

/* ---- panels: ≥961px (desktop only) ---- */
@media (min-width: 961px) {
  .panel[data-stack] { position: sticky; top: calc(var(--header-h) + 80px); margin-bottom: 40px; }
  .panel[data-stack] > .container {
    transform-origin: 50% 0;
    transform: scale(var(--stack-scale, 1));
    filter: brightness(var(--stack-dim, 1));
    box-shadow: 0 -10px 40px -18px rgba(15, 29, 54, .25), var(--shadow-sm);
    transition: filter .1s linear;
    will-change: transform;
  }
  .panels { padding-bottom: 120px; }
}

/* ---- panels: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .guide:active, .pcard:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- panels: ≤1100px (laptops, tablets & touch screens) ---- */
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- panels: ≤1000px (tablets) ---- */
@media (max-width: 1000px) {
  .road { margin: 10px 0 0; }
  .road__card {
    width: min(420px, calc(100vw - 124px));
    margin-left: 0;
    text-align: left;
    left: 40px;
    right: auto;
    top: 0 !important;
    bottom: auto !important;
    transform: translateY(-50%);
    padding: 10px 12px;
  }
  .road__start { display: none; }
  .road__card b { font-size: 14.5px; }
  .road__card small { font-size: 12px; }
  .road__base, .road__fill { stroke-width: 22; }
  .road__win { right: auto; left: 0; }
  .road__hud { width: 100%; justify-content: space-between; }
}

/* ---- panels: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .guides { grid-template-columns: 1fr 1fr; }
}

/* ---- panels: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .panel > .container { border-radius: 0; padding: 26px 18px 28px; }
  .cards--4 { grid-template-columns: 1fr; }
  .guides {
    grid-template-columns: 1fr;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -18px;
    padding: 4px 18px 12px;
    scroll-padding: 18px;
  }
  .panels { padding-bottom: 36px; }
  .panel { margin-bottom: 14px; }
  /* Exam Resources: 2-up compact cards instead of 4 tall ones */
  #sec-resources + .panel .cards--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  #sec-resources + .panel .pcard__visual { height: 130px; padding: 12px; }
  #sec-resources + .panel .mock--doc { max-width: 120px; padding: 26px 10px 10px; gap: 5px; }
  #sec-resources + .panel .mock__dl { font-size: 9.5px; padding: 5px 6px; }
  #sec-resources + .panel .pcard__body { padding: 12px; }
  #sec-resources + .panel .pcard__body h3 { font-size: 14px; }
  #sec-resources + .panel .pcard__body p { font-size: 12.5px; }
  /* Scholarship Guide: shorter cards */
  .guide { padding: 16px 18px; flex: 0 0 82%; scroll-snap-align: start; min-height: 200px; }
  .guide__top { margin-bottom: 10px; }
  .guide__ico { width: 40px; height: 40px; font-size: 16px; }
  .guide__text { margin-bottom: 10px; letter-spacing: -.01em; font-size: 15px !important; line-height: 1.4; }
  .guide__mark { font-size: 90px; }
  .guides::-webkit-scrollbar { display: none; }
  #sec-how + .panel .inline-links { margin-top: 18px; flex-direction: column; gap: 4px; }
  /* exam resources mock labels never wrap */
  .mock__dl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .panel__title { font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important; line-height: 1.18; letter-spacing: -.02em; }
  .panel__sub { font-size: 14.5px; line-height: 1.6; }
  .road__card b, .pcard__body h3 { font-size: 14.5px !important; }
  /* small labels never below 11px */
  .road__step, .mock__pdf { font-size: 11px; }
  #sec-how + .panel .inline-links a { min-height: 44px; }
  .road__replay { min-height: 40px; }
}

/* ---- panels: ≤360px (small phones) ---- */
@media (max-width: 360px) {
  .guide { flex-basis: 88%; }
}

/* animations */
@keyframes lane { to { stroke-dashoffset: -24; } }
@keyframes carbob { to { transform: translateY(-2px); } }
@keyframes confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }


/* =========================================================
   12. SCHOLARS & REVIEWS
   Auto-scrolling rows of scholar photo cards and text reviews.
   ========================================================= */
.stars .fa-star { color: #f5a623; margin: 0; font-size: 12px; }
.scholars {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #fff6ec 0%, #fff1f4 55%, #f3efff 100%);
  border-top: 1px solid #ffe3c7;
  border-bottom: 1px solid #ece4ff;
}
.scholars__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px 320px at 8% 0%, rgba(255, 166, 61, .22), transparent 70%), radial-gradient(520px 320px at 95% 100%, rgba(124, 92, 255, .16), transparent 70%);
}
.scholars__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(194, 94, 10, .12) 1px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.scholars .about__eyebrow { color: #c25e0a; border-color: #ffd9b5; }
.scholars__head .section-title { margin: 0; }
/* section heading */
.scholars__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.scholars__sub { margin: 10px 0 0; max-width: 680px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.scholars__stats { display: flex; gap: 12px; }
.scholars__stats span {
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ffe3c7;
  box-shadow: 0 10px 24px -16px rgba(232, 101, 15, .45);
}
.scholars__stats b { display: block; font-size: 20px; letter-spacing: -.02em; color: #e8650f; }
.scholars__stats small { font-size: 12px; color: var(--muted); }
/* scholars + reviews marquee (two rows, opposite directions) */
.smarq {
  overflow: hidden;
  padding: 8px 0 14px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.smarq__track { display: flex; align-items: center; gap: 18px; width: max-content; animation: marquee var(--smarq-dur, 60s) linear infinite; }
.smarq--rev .smarq__track { animation-direction: reverse; }
.smarq:hover .smarq__track, .smarq:focus-within .smarq__track { animation-play-state: paused; }
.scard {
  --c: #305eff;
  --c2: #00a3ff;
  --soft: #eaf0ff;
  flex: none;
  width: 340px;
  height: 190px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px 18px 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #f0e6ff;
  box-shadow: 0 18px 36px -26px rgba(60, 40, 140, .5);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.scard--med { --c: #e0457b; --c2: #ff9a3c; --soft: #ffe9f1; }
.scard--den { --c: #0a8a8a; --c2: #23c4b5; --soft: #e1f7f5; }
.scard--other { --c: #7c5cf6; --c2: #4f9cff; --soft: #efeafe; }
.scard:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -24px rgba(60, 40, 140, .55); }
.scard__media { position: relative; flex: none; width: 104px; height: 124px; }
.scard__shape {
  position: absolute;
  inset: 8px -8px -8px 8px;
  border-radius: 26px 10px 26px 10px;
  background: linear-gradient(135deg, var(--c), var(--c2));
  transform: rotate(6deg);
  transition: transform .4s var(--ease);
}
.scard__media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 26px 10px 26px 10px;
  border: 3px solid #fff;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .45);
  transition: transform .4s var(--ease);
}
.scard:hover .scard__shape { transform: rotate(12deg); }
.scard:hover .scard__media img { transform: rotate(-3deg); }
.scard__stream {
  position: absolute;
  right: -12px;
  bottom: -6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--c);
  background: #fff;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
}
.scard__info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.scard__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c25e0a;
  background: #fff1e3;
}
.scard__name { font-size: 17px; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.scard__course { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--c); background: var(--soft); }
.scard__college {
  gap: 7px;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.scard__college i { margin-top: 3px; font-size: 10.5px; color: #b0b9c9; }

/* ---- scholars & reviews: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .scard:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- scholars & reviews: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .scard { width: 300px; height: 176px; gap: 16px; padding: 16px; }
  .scard__media { width: 88px; height: 106px; }
  .scholars__stats { width: 100%; display: none; }
  .scholars__stats span { flex: 1; }
  .scholars__head { flex-direction: column; align-items: flex-start; }
  .scholars { padding: 40px 0 34px; content-visibility: auto; contain-intrinsic-size: auto 680px; }
  .scholars__sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.6; }
  .scard__name { font-size: 14.5px !important; }
  .scard__badge { font-size: 11px; }
  .scard__college { font-size: 12.5px; }
}


/* =========================================================
   13. ABOUT AISEE (TABS)
   Tabbed About section with "Read full story" toggles.
   ========================================================= */
.about { position: relative; overflow: hidden; isolation: isolate; padding: 100px 0; background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 100%); }
.about__blob {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 94, 255, .12), transparent 65%);
  pointer-events: none;
}
.about__head { margin-bottom: 30px; }
.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: #fff;
  border: 1px solid #dbe4fb;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.about .section-title { margin: 0; }
/* tab cards */
.abtabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.abtabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid #e3eafa;
  box-shadow: 0 1px 2px rgba(15, 29, 54, .04);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.abtabs button:hover { transform: translateY(-2px); border-color: #c9d7fb; box-shadow: 0 14px 28px -18px rgba(48, 94, 255, .5); }
.abtabs__ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--blue);
  background: var(--blue-soft);
  transition: background .25s, color .25s;
}
.abtabs b { display: block; font-size: 15px; color: var(--ink); line-height: 1.25; }
.abtabs small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.abtabs button[aria-selected="true"] {
  border-color: transparent;
  background: radial-gradient(200px 100px at 100% 0%, rgba(255, 255, 255, .25), transparent 70%), linear-gradient(120deg, #2147e6, #305eff 50%, #0284c7);
  box-shadow: 0 18px 36px -18px rgba(48, 94, 255, .85);
}
.abtabs button[aria-selected="true"] b { color: #fff; }
.abtabs button[aria-selected="true"] small { color: rgba(255, 255, 255, .82); }
.abtabs button[aria-selected="true"] .abtabs__ico { color: var(--blue); background: #fff; }
.abtabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  transform: rotate(45deg);
  border-radius: 3px;
  background: #1c63e8;
}
/* tab panel content */
.ab {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3eafa;
  box-shadow: 0 30px 60px -36px rgba(30, 60, 140, .45);
}
.ab__media { position: relative; min-height: 460px; overflow: hidden; }
.ab__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}
.tabs__panel:not([hidden]) .ab__media img { transform: scale(1); }
.ab__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 67, 0) 35%, rgba(6, 21, 67, .65) 100%);
}
.ab__chips { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.ab__chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.tabs__panel:not([hidden]) .ab__chip { opacity: 1; transform: none; }
.tabs__panel:not([hidden]) .ab__chip--1 { transition-delay: .15s; }
.tabs__panel:not([hidden]) .ab__chip--2 { transition-delay: .28s; }
.tabs__panel:not([hidden]) .ab__chip--3 { transition-delay: .41s; }
.ab__chip > i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--blue);
  background: #fff;
}
.ab__chip b { display: block; font-size: 14px; line-height: 1.2; }
.ab__chip small { display: block; font-size: 12px; color: rgba(255, 255, 255, .85); }
.ab__body { padding: 38px 40px; }
.ab__body h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.025em; margin-bottom: 14px; }
.ab__body p { font-size: 15.5px; color: var(--body); line-height: 1.7; }
.ab__lead { font-size: 17px !important; color: var(--ink) !important; font-weight: 500; }
.ab__programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 18px; }
.ab__programs span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #f5f8ff;
  border: 1px solid #e6ecfa;
  transition: transform .2s, border-color .2s, background .2s;
}
.ab__programs span:hover { transform: translateY(-2px); border-color: #c9d7fb; background: #fff; }
.ab__programs i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 8px 16px -8px rgba(48, 94, 255, .8);
}
.ab__more:not([hidden]) { animation: fadeUp .4s var(--ease); }
.ab__toggle { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-weight: 600; color: var(--blue); }
.ab__toggle i { font-size: 11px; transition: transform .25s; }
.ab__toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.ab__values { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ab__values span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #2747c9;
  background: var(--blue-soft);
}
.ab__values span::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 10px; }
.ab__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.ab__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.ab__meta > i { color: var(--blue); }

/* ---- about aisee (tabs): ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .abtabs button:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- about aisee (tabs): ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .ab { grid-template-columns: 1fr; }
  .ab__media { min-height: 340px; }
  .abtabs { grid-template-columns: 1fr 1fr; }
}

/* ---- about aisee (tabs): ≤640px (phones) ---- */
@media (max-width: 640px) {
  .abtabs {
    grid-template-columns: 1fr 1fr;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -18px 16px;
    padding: 2px 18px 8px;
  }
  .abtabs small { display: none; }
  .ab__programs { grid-template-columns: 1fr 1fr; }
  .ab__chips { left: 12px; right: 12px; bottom: 12px; gap: 6px; display: none; }
  .ab__chip { padding: 7px 10px; gap: 10px; }
  .ab__chip > i { width: 28px; height: 28px; font-size: 12px; }
  .ab__chip small { display: none; }
  .ab__toggle { padding-block: 7px; display: inline-flex; padding-left: 0; padding-right: 0; min-height: 44px; }
  .about { padding: 40px 0; content-visibility: auto; contain-intrinsic-size: auto 1060px; }
  .abtabs::-webkit-scrollbar { display: none; }
  .abtabs button { flex: none; padding: 9px 14px 9px 9px; border-radius: 999px; gap: 8px; }
  .abtabs__ico { width: 30px; height: 30px; border-radius: 50%; font-size: 13px; }
  .abtabs b { font-size: 13.5px; white-space: nowrap; }
  .abtabs button[aria-selected="true"]::after { display: none; }
  .ab__media { min-height: 190px; }
  .ab__body { padding: 20px 18px 18px; }
  .ab__body h3 { margin-bottom: 10px; font-size: 1.3rem !important; line-height: 1.22; }
  .ab__body:not(.is-open) > p:not(.ab__lead), .ab__body:not(.is-open) > .ab__programs, .ab__body:not(.is-open) > .ab__values { display: none; }
  .ab__body .ab__toggle { margin-bottom: 14px; }
  .ab__foot { gap: 10px 14px; padding-top: 14px; align-items: center; }
  .ab__meta { font-size: 12.5px; }
  .ab__foot .ab__meta:last-child { flex-basis: 100%; }
  .ab__body p { font-size: 14.5px; line-height: 1.6; }
  .ab__lead { font-size: 15px !important; }
  .about__eyebrow { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
}


/* =========================================================
   14. FAQ
   Category filters + accordion. On phones the first 5 questions show with "Show all".
   ========================================================= */
.faq { position: relative; padding: 96px 0; background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%); border-top: 1px solid #e3eafc; }
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 30px); min-width: 0; }
.faq__main { min-width: 0; }
.faq__side .section-title { margin: 0 0 12px; }
.faq__lead { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.faq__help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  background: radial-gradient(220px 140px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(135deg, #2147e6, #305eff 55%, #0284c7);
  box-shadow: 0 24px 46px -26px rgba(48, 94, 255, .9);
}
.faq__help-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--blue);
  background: #fff;
}
.faq__help b { font-size: 17px; }
.faq__help small { color: rgba(255, 255, 255, .85); font-size: 13.5px; margin-bottom: 14px; }
.faq__help-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.faq__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  transition: background .2s, transform .2s;
}
.faq__btn:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.faq__btn--wa { background: linear-gradient(180deg, #2fdc74, #1fb85c); border-color: transparent; }
.faq__btn--wa i { font-size: 15px; }
.faq__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.faq__filters button {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  background: #fff;
  border: 1px solid #dfe6f5;
  transition: background .2s, color .2s, border-color .2s;
}
.faq__filters button:hover { border-color: #c9d7fb; color: var(--blue); }
.faq__filters button[aria-selected="true"] {
  color: #fff;
  background: var(--grad-btn);
  border-color: transparent;
  box-shadow: 0 8px 18px -10px rgba(48, 94, 255, .9);
}
.faq__list { display: grid; gap: 12px; }
.faq__item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3eafa;
  box-shadow: 0 1px 2px rgba(15, 29, 54, .04);
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[hidden] { display: none; }
.faq__item[open] { border-color: #c9d7fb; box-shadow: 0 18px 36px -26px rgba(48, 94, 255, .6); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq__item[open] .faq__q { color: var(--blue); }
.faq__plus {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  transition: background .25s, transform .3s var(--ease);
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform .3s var(--ease), background .25s;
}
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--blue); transform: rotate(180deg); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: #fff; }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__a { overflow: hidden; padding: 0 20px; }
.faq__a p { margin: 0; padding: 14px 0 18px; border-top: 1px dashed #e3eafa; font-size: 15px; line-height: 1.7; color: var(--body); }
.faq__a a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(48, 94, 255, .35);
}
.faq__a a:hover { text-decoration-color: var(--blue); }

/* ---- faq: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .faq__item summary:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- faq: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq__side { position: static; }
}

/* ---- faq: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .faq__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .faq__filters::-webkit-scrollbar { display: none; }
  .faq__filters button { flex: none; min-height: 40px; padding: 9px 15px; }
  .faq__item summary { padding: 15px 16px; }
  .faq__a { padding: 0 16px; }
  .faq__a p { font-size: 14.5px; }
  .faq__help-actions { width: 100%; }
  .faq__btn { flex: 1; justify-content: center; padding: 10px 6px; }
  .faq { padding: 40px 0; content-visibility: auto; contain-intrinsic-size: auto 1000px; }
  .faq__help { display: none; }
  .faq__lead { margin-bottom: 4px; }
  .faq__item.is-collapsed { display: none; }
  .faq__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 13px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    color: var(--blue);
    background: var(--blue-soft);
  }
  .faq .section-title { font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important; line-height: 1.18; letter-spacing: -.02em; }
  .faq__lead, .faq__a p { font-size: 14.5px; line-height: 1.6; }
  .faq__q { font-size: 14.5px; }
}


/* =========================================================
   15. DONATION / CTA BAND
   Photo banner with the donation call-to-action.
   ========================================================= */
.cta { background: linear-gradient(120deg, #eef3ff 0%, #dde8ff 100%); overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; min-height: 280px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; }
.cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e0457b;
}
.cta__sub { color: var(--muted); margin-bottom: 22px; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta__img { width: 100%; height: 280px; object-fit: cover; object-position: 45% 42%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }

/* ---- donation / cta band: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .cta__inner { grid-template-columns: 1fr; padding-top: 60px; }
  .cta__img { height: 240px; clip-path: none; border-radius: var(--radius-md); margin-bottom: 40px; }
}

/* ---- donation / cta band: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .cta__inner { gap: 18px; padding-top: 34px; }
  .cta__img { height: 170px; margin-bottom: 30px; }
  .cta__sub { display: none; font-size: 14.5px; line-height: 1.6; }
  .cta { content-visibility: auto; contain-intrinsic-size: auto 470px; }
  .cta__actions .btn--text { padding-left: 0; padding-right: 0; }
  .cta__eyebrow { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
  /* every section heading the same size */
  .cta h2 { font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important; line-height: 1.18; }
}


/* =========================================================
   16. GOV LOGOS STRIP & FOOTER
   Government logos row, footer columns (accordions on phones), college list, back-to-top.
   ========================================================= */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  width: 100%;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.footer__legal a { font-size: 13.5px; color: var(--blue); }
.gov {
  padding: 14px 0;
  border-top: 1px solid #d6e0fb;
  border-bottom: 1px solid #d6e0fb;
  background: linear-gradient(90deg, #eaf0ff 0%, #f7f9ff 50%, #e3ecff 100%);
}
.gov__track {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.gov__track a { flex: none; display: block; transition: transform .2s; }
.gov__track a:hover { transform: scale(1.08); }
.gov__track img { height: 44px; width: auto; max-width: 140px; object-fit: contain; }
.gov__track img.is-square { height: 54px; }
.footer { background: #fff; padding: 70px 0 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr 1fr; gap: 32px; }
.footer__brand { display: block; width: fit-content; margin: 0 auto 22px; }
.footer__brand img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(15, 29, 54, .35);
}
.footer__about p { font-size: 13.5px; color: var(--muted); max-width: 340px; margin-left: auto; margin-right: auto; text-align: center; }
.footer__about p a { color: var(--blue); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__col h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); margin: 14px 0 4px; }
.footer__col h4:first-child { margin-top: 0; }
.footer__col a { color: var(--blue); font-size: 14.5px; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.footer__social a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font-size: 15px; transition: .2s;
}
.footer__social a:hover { background: var(--blue); color: #fff; }
/* scholarship directory: every SEO page, grouped */
.footer__dir { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__dir-title { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 15px; font-weight: 700; color: var(--ink); }
.footer__dir-title i { color: var(--blue); }
.footer__dir-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer__dir .footer__col { gap: 7px; }
.footer__dir .footer__col h4 { font-size: 12.5px; color: var(--muted); }
.footer__dir .footer__col a { font-size: 13.5px; }
.colleges { margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.colleges summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
}
.colleges summary::-webkit-details-marker { display: none; }
.colleges summary i { font-size: 12px; color: var(--muted); transition: transform .2s; }
.colleges[open] summary i { transform: rotate(180deg); }
/* college-list-footer.php uses Bootstrap grid classes — lightweight shim */
.college-list { padding-bottom: 24px; }
.college-list .row { display: flex; flex-wrap: wrap; margin: 0 -12px; line-height: 1.5 !important; font-size: 13.5px !important; }
.college-list [class*="col-"] { padding: 0 12px; width: 100%; }
.college-list .col-md-6 { width: 50%; }
.college-list .col-md-3 { width: 25%; }
.college-list h4 { font-size: 14px; text-transform: uppercase; margin: 10px 0 6px; }
.college-list ul { list-style: none; padding: 0; margin: 0; }
.college-list li { padding: 3px 0; }
.college-list a { color: var(--blue); }
.college-list a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 0 28px;
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--blue); }
.to-top {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-hover); }
.facc__head { display: none; }
.facc__body { display: contents; }

/* ---- gov logos strip & footer: ≤1100px (laptops, tablets & touch screens) ---- */
@media (max-width: 1100px) {
  /* 9 logos don't fit in one row below ~1000px: wrap into centred rows instead of overflowing */
  .gov__track { flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
}

/* ---- gov logos strip & footer: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .footer__dir-grid { grid-template-columns: 1fr 1fr; }
  .college-list .col-md-3 { width: 50%; }
}

/* ---- gov logos strip & footer: ≤768px (tablets & large phones) ---- */
@media (max-width: 768px) {
  /* floating buttons sit above the bar; back-to-top is replaced by the Home tab */
  .to-top { display: none; }
}

/* ---- gov logos strip & footer: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .gov { padding: 10px 0; }
  .gov__track {
    flex-wrap: wrap;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 14px 10px;
  }
  .gov__track img { height: 36px; }
  .gov__track img.is-square { height: 44px; }
  .college-list .col-md-6, .college-list .col-md-3 { width: 100%; }
  .footer__about { grid-column: 1 / -1; }
  /* touch targets: >= 36px tall */
  .footer__col a, .footer__about p a, .footer__bottom a { padding-block: 7px; display: inline-flex; }
  .college-list li { padding: 0; }
  .college-list a { display: inline-block; padding: 8px 0; }
  .footer { padding-top: 32px; content-visibility: auto; contain-intrinsic-size: auto 860px; }
  .footer__brand img { width: 96px; height: 96px; }
  .footer__about p { font-size: 13px; }
  .footer__grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .footer__col { gap: 0; border-top: 1px solid var(--line); }
  .footer__grid .footer__col:last-child { border-bottom: 1px solid var(--line); }
  .footer__dir { margin-top: 22px; padding-top: 0; border-top: 0; }
  .footer__dir-title { margin-bottom: 4px; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
  .footer__dir-grid { grid-template-columns: 1fr; gap: 0; }
  .footer__dir .footer__col { gap: 0; }
  .footer__dir-grid .footer__col:last-child { border-bottom: 1px solid var(--line); }
  .facc__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 15px 0;
  }
  .facc__head i { font-size: 12px; color: var(--muted); transition: transform .25s; }
  .facc__head[aria-expanded="true"] i { transform: rotate(180deg); }
  .facc__body { display: none; flex-direction: column; padding: 0 2px 12px; }
  .facc__body.is-open { display: flex; }
  .footer__col.is-acc > h4 { display: none; }
  .colleges { margin-top: 0; }
  .footer__legal { gap: 2px 14px; }
  .footer__about p a { display: inline; padding-block: 0; }
  .colleges summary { padding: 15px 0; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .gov__track a:last-child:nth-child(3n+1) { grid-column: 2; }
}


/* =========================================================
   17. APPLY MODAL (DESKTOP)
   "Choose your application" dialog shown once per session. Phones use the Apply bottom sheet instead.
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 29, 54, .55); opacity: 0; transition: opacity .3s; }
.modal__dialog {
  position: relative;
  width: min(740px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: .35s var(--ease);
}
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: var(--radius); color: var(--muted); }
.modal__x:hover { background: var(--bg-soft); color: var(--ink); }
.modal h3 { font-size: 24px; padding-right: 30px; }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 10px; }
.choice { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.choice h4 { font-size: 18px; color: var(--orange); }
.choice p { font-size: 14px; color: var(--muted); flex: 1; }
.modal__skip { display: block; margin: 6px auto 0; color: var(--muted); font-weight: 500; padding: 8px 16px; }
.modal__skip:hover { color: var(--ink); }

/* ---- apply modal (desktop): ≤640px (phones) ---- */
@media (max-width: 640px) {
  .modal__dialog { padding: 30px 20px; }
  .modal__grid { grid-template-columns: 1fr; }
}


/* =========================================================
   18. MOBILE APP UI: FLOATING ISLAND + BOTTOM SHEETS
   Phones/tablets ≤768px only: glass pill nav (Home, Updates, Login, Help) + animated Apply orb, and the Apply / Help bottom sheets.
   ========================================================= */
.appbar, .sheet { display: none; }

/* ---- mobile app ui: ≤1230px (laptops, tablets & touch screens) ---- */
@media (max-width: 1230px) {
  .sheet__row:active, .sheet__tile:active, .appbar__item:active { transform: scale(.97); transition: transform .08s; }
}

/* ---- mobile app ui: ≤768px (tablets & large phones) ---- */
@media (max-width: 768px) {
  /* floating island: glass pill with 4 tabs + Apply orb on the right */
  .appbar {
    position: fixed;
    z-index: 90;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .appbar__pill {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    height: 58px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 14px 34px -14px rgba(15, 29, 54, .4), inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(15, 29, 54, .05);
    backdrop-filter: saturate(190%) blur(20px);
    -webkit-backdrop-filter: saturate(190%) blur(20px);
  }
  /* tabs: icon only; the active tab (JS keeps exactly one) grows and shows its label */
  .appbar__item {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 46px;
    margin: 0;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: #64748b;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    transition: background .35s cubic-bezier(.2, .8, .2, 1), color .25s, padding .35s cubic-bezier(.2, .8, .2, 1), gap .35s;
  }
  .appbar__item i { display: grid; place-items: center; font-size: 18px; line-height: 1; }
  .appbar__item span {
    display: block;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    line-height: 1;
    transition: max-width .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
  }
  .appbar__item.is-active {
    flex: 1 1 auto;
    gap: 8px;
    padding: 0 16px;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(48, 94, 255, .14), rgba(0, 163, 255, .12));
  }
  .appbar__item.is-active span { max-width: 64px; opacity: 1; }
  /* third-party WhatsApp chat widget: not used on phones/tablets (WhatsApp is in the Help sheet).
     It isn't loaded at this size (partials/scripts.php); this hides it if the window is resized smaller. */
  #df-btn-cont { display: none !important; }
  /* bottom sheets (Apply / Help): slide up from the bottom, swipe down to close */
  .sheet { display: block; position: fixed; inset: 0; z-index: 140; visibility: hidden; }
  .sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 29, 54, .45);
    opacity: 0;
    transition: opacity .3s;
    backdrop-filter: blur(2px);
  }
  .sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 86vh;
    overflow-y: auto;
    padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -20px 50px -20px rgba(15, 29, 54, .45);
    transform: translateY(100%);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1);
    overscroll-behavior: contain;
  }
  .sheet.is-open { visibility: visible; }
  .sheet.is-open .sheet__backdrop { opacity: 1; }
  .sheet.is-open .sheet__panel { transform: translateY(var(--drag, 0px)); }
  .sheet.is-dragging .sheet__panel { transition: none; }
  .sheet__grip { display: block; width: 42px; height: 5px; margin: 0 auto 12px; border-radius: 5px; background: #d5dceb; }
  .sheet__title { margin: 0 4px 12px; font-size: 18px; font-weight: 700; color: var(--ink); }
  .sheet__row {
    --c: #305eff;
    --soft: #eaf0ff;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    margin-bottom: 8px;
    border-radius: 16px;
    background: #f7f9fe;
    border: 1px solid #e9eef8;
    color: var(--ink);
  }
  .sheet__row > i { color: #9aa6b8; font-size: 13px; }
  .sheet__ico {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #fff;
    background: var(--c);
  }
  .sheet__ico--violet { background: #6d4fe0; }
  .sheet__ico--orange { background: #f2470d; }
  .sheet__txt { flex: 1; min-width: 0; }
  .sheet__txt b { display: block; font-size: 15.5px; }
  .sheet__txt small { display: block; font-size: 12.5px; color: var(--muted); }
  .sheet__alt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px;
    margin-top: 4px;
    font-size: 14.5px;
    color: var(--muted);
  }
  .sheet__alt b { color: var(--blue); }
  .sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
  .sheet__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 6px;
    border-radius: 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    background: #f7f9fe;
    border: 1px solid #e9eef8;
  }
  .sheet__tile i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; }
  .sheet__tile--wa i { background: linear-gradient(180deg, #2fdc74, #1fb85c); font-size: 24px; }
  .sheet__tile--mail i { background: linear-gradient(180deg, #ff7aa8, #e0457b); }
  .sheet__tile--call i { background: var(--grad-btn); }
  body.sheet-open { overflow: hidden; }
  /* Apply orb */
  .orb {
    position: relative;
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at 30% 25%, #ffb15c 0%, #ff7a00 45%, #f2470d 100%);
    box-shadow: 0 14px 28px -10px rgba(242, 71, 13, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
    isolation: isolate;
    animation: orb-breathe 3.6s ease-in-out infinite;
  }
  .orb__ring {
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff7a00, #ffd29a, #305eff, #00a3ff, #ff7a00);
    -webkit-mask: radial-gradient(circle, transparent 29px, #000 30px);
    mask: radial-gradient(circle, transparent 29px, #000 30px);
    animation: orb-spin 4s linear infinite;
  }
  .orb::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: 50%;
    background: rgba(255, 122, 0, .35);
    animation: orb-ping 3.6s cubic-bezier(.2, .7, .3, 1) infinite;
  }
  .orb__face { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: 50%; }
  .orb__f { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(.7); animation: orb-cycle 7.5s cubic-bezier(.2, .8, .2, 1) infinite; }
  i.orb__f { font-size: 22px; }
  b.orb__f { font-size: 13px; font-weight: 800; letter-spacing: .02em; }
  .orb__f--2 { animation-delay: 2.5s; }
  .orb__f--3 { animation-delay: 5s; }
  .orb:active { transform: scale(.92); }
  /* Help sheet tiles: number under the label (e.g. WhatsApp +91 …) */
  .sheet__tile span { text-align: center; line-height: 1.25; }
  .sheet__tile small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
}

/* ---- mobile app ui: ≤360px (small phones) ---- */
@media (max-width: 360px) {
  .appbar { gap: 8px; left: 8px; right: 8px; }
  .appbar__item { padding: 0 10px; }
  .appbar__item.is-active { padding: 0 12px; }
  .appbar__item span { font-size: 9.5px; }
  .sheet__grid { gap: 8px; }
  .orb { width: 56px; height: 56px; }
}

/* animations */
@keyframes orb-cycle {
  0% { opacity: 0; transform: translateY(14px) scale(.7); }
  6%, 30% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-14px) scale(.7); }
}
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes orb-ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }


/* =========================================================
   19. INNER PAGES (shared)
   Used by About, Procedure, both Layout pages and Participating Colleges (partials/page-*.php).
   Hero → content cards (.pbox) + sidebar (.paside) → "Keep exploring" cards + Apply CTA band.
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ico-teal { --c: #0d9488; }
.ico-sky { --c: #0284c7; }
.t-grad-light { background: var(--grad-blue-light); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* page hero: breadcrumb, title, lead, buttons + fact cards */
.phero { position: relative; overflow: hidden; isolation: isolate; padding: 22px 0 44px; background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(620px 320px at 92% 0%, rgba(48, 94, 255, .13), transparent 70%), radial-gradient(520px 280px at 0% 100%, rgba(0, 163, 255, .08), transparent 70%);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "\f054"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 8px; color: #a3afc2; }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.phero__grid--solo { grid-template-columns: minmax(0, 760px); }
.phero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 16px; }
.phero h1 .t-grad { display: inline; }
.phero__lead { font-size: 17.5px; line-height: 1.65; color: var(--body); max-width: 620px; margin-bottom: 28px; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.phero__lead:last-child { margin-bottom: 0; } /* hero without buttons */
.phero__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pfact { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(15, 29, 54, .25); }
.pfact i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, #305eff) 12%, #fff); margin-bottom: 14px; }
.pfact b { display: block; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.pfact small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
/* compact fact cards (e.g. Participating Colleges): icon beside the text, about half the height */
.phero__facts--small { gap: 10px; }
.phero__facts--small .pfact { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 14px; }
.phero__facts--small .pfact i { grid-row: span 2; width: 34px; height: 34px; margin: 0; font-size: 14px; border-radius: 10px; }
.phero__facts--small .pfact b { font-size: 16px; }
.phero__facts--small .pfact small { margin-top: 1px; font-size: 12.5px; line-height: 1.35; }

/* content area: cards on the left, sticky sidebar on the right */
.pwrap { padding: 44px 0 64px; background: var(--bg-soft); }
.pwrap__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.pmain { display: grid; gap: 22px; min-width: 0; }
.pmain > * { min-width: 0; }
.js .pmain > .reveal:first-child { opacity: 1; transform: none; } /* the first content card is visible straight away (no fade-in) */ /* lets scrollable rows (e.g. the slab picker) scroll instead of widening the card */
.pbox { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pbox h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.025em; margin-bottom: 16px; }
.pbox h3 { font-size: 17px; margin: 24px 0 8px; }
.pbox p { line-height: 1.7; }
.pbox > :last-child { margin-bottom: 0; }
.pbox__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: #fff; background: var(--c, var(--blue)); }
.pnote { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* callouts */
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff7ec; border: 1px solid #ffd9ad; color: #6e3a07; font-size: 15px; line-height: 1.6; }
.callout > i { flex: none; margin-top: 4px; color: var(--orange); }
.callout--blue { background: #eef3ff; border-color: #d3defd; color: #1d3270; }
.callout--blue > i { color: var(--blue); }
.pbox .callout { margin-top: 18px; }

/* feature tiles, chips, quotes, checklists */
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 18px 0 4px; }
.fitem { padding: 18px; border-radius: 16px; background: #f7f9fe; border: 1px solid #e9eef8; }
.fitem > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, #305eff) 12%, #fff); }
.fitem b { display: block; margin: 12px 0 4px; font-size: 15.5px; color: var(--ink); }
.fitem p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.chips { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--blue-soft); color: #1f3fae; font-size: 14px; font-weight: 600; }
.chips i { font-size: 13px; }
.pquote { position: relative; margin: 20px 0 0; padding: 20px 22px 20px 58px; border-radius: 16px; background: linear-gradient(135deg, #f4f7ff, #f2fbff); border: 1px solid #dfe7fb; }
.pquote > i { position: absolute; left: 22px; top: 22px; font-size: 20px; color: #9db4ff; }
.pquote p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #f7f9fe; border: 1px solid #e9eef8; font-size: 15px; line-height: 1.6; color: var(--ink); }
.checks li > i { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--grad-btn); }

/* scholarship slab table (on phones: one column at a time via a picker) */
.slab-pick { display: none; }
.slab-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.slab-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.slab { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.slab th, .slab td { padding: 13px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.slab thead th { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 0; }
.slab tbody tr:last-child > * { border-bottom: 0; }
.slab tbody tr:nth-child(even) { background: #fafbfe; }
.slab tbody tr { transition: background .2s; }
.slab tbody tr:hover, .slab tbody tr.is-match { background: #eef3ff; }
.slab tbody tr.is-match th { box-shadow: inset 4px 0 0 var(--blue); }
.slab tbody th { width: 30%; font-weight: 700; color: var(--ink); white-space: nowrap; }
.slab__pct { display: block; }
.slab__bar { display: block; height: 4px; width: var(--w); max-width: 120px; margin-top: 7px; border-radius: 4px; background: var(--grad-blue); }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.tag--year { background: #e8eeff; color: #1f47e0; }
.tag--sem { background: #efeafe; color: #5b3fd1; }
.tag--stipend { background: #e1f6f2; color: #0b7a70; }
.tag--reward { background: #fff0e0; color: #b45309; }

/* "how many win" example */
.example { display: flex; align-items: stretch; gap: 10px; margin: 6px 0 18px; }
.example__card { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 2px; padding: 16px; border-radius: 16px; background: #f7f9fe; border: 1px solid #e9eef8; }
.example__card b { font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.example__card small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.example__card em { margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); }
.example__card--cut { background: linear-gradient(135deg, #eef3ff, #e9f7ff); border-color: #d3defd; }
.example__who { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: #fff; background: var(--grad-btn); }
.example__arrow { align-self: center; color: #a3afc2; }

/* percentile vs percentage, calculation steps, formula */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vs__item { padding: 16px 18px; border-radius: 16px; background: #f7f9fe; border: 1px solid #e9eef8; }
.vs__item b { font-size: 15.5px; color: var(--ink); }
.vs__item p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.vs__item--on { background: #eef3ff; border-color: #d3defd; }
.vs__item--on b { color: var(--blue); }
.nsteps { counter-reset: n; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nsteps li { counter-increment: n; position: relative; padding-left: 44px; font-size: 15px; line-height: 1.65; }
.nsteps li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
}
.nsteps b { color: var(--ink); }
.formula { margin: 10px 0 2px; padding: 14px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; text-align: center; letter-spacing: .02em; }

/* percentile calculator */
.pcalc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #eef3ff, #eefaff); border: 1px solid #d6e2fd; }
.pcalc__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.pcalc__head > i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); }
.pcalc__head b { display: block; color: var(--ink); }
.pcalc__head small { color: var(--muted); font-size: 13px; }
.pcalc label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.pcalc input { height: 48px; padding: 0 14px; border: 1px solid #cdd8ee; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.pcalc input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48, 94, 255, .18); }
.pcalc__out { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pcalc__out small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pcalc__p b { font-size: 30px; line-height: 1.1; letter-spacing: -.03em; color: var(--blue); }
.pcalc__res { display: grid; gap: 3px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pcalc__res em { font-style: normal; font-weight: 500; color: var(--muted); }
.pcalc__err { font-size: 14px; color: #b42318; }

/* terms */
.terms { counter-reset: t; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.terms li { counter-increment: t; position: relative; padding-left: 42px; font-size: 15px; line-height: 1.65; }
.terms li::before {
  content: counter(t);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fff0e0;
}

/* procedure timeline */
.ptl { list-style: none; margin: 4px 0 0; padding: 0; }
.ptl__item { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding-bottom: 16px; }
.ptl__item:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: linear-gradient(180deg, #b9c9fb, #e3e9f8); }
.ptl__no { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #fff; background: var(--grad-btn); box-shadow: 0 10px 20px -10px rgba(48, 94, 255, .8); }
.ptl__item:last-child .ptl__no { background: linear-gradient(180deg, #ff9a3c, #f07c1b); box-shadow: 0 10px 20px -10px rgba(240, 124, 27, .8); }
.ptl__body { padding: 14px 18px 16px; border-radius: 16px; background: #f7f9fe; border: 1px solid #e9eef8; transition: border-color .2s, box-shadow .2s; }
.ptl__item:hover .ptl__body { border-color: #cfdcfb; box-shadow: 0 12px 26px -20px rgba(48, 94, 255, .6); }
.ptl__body b { display: flex; align-items: center; gap: 8px; font-size: 16.5px; color: var(--ink); }
.ptl__body b i { font-size: 14px; color: var(--blue); }
.ptl__body p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--body); }
.ptl__phase { display: inline-block; margin-bottom: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ptl__phase--apply { background: #e8eeff; color: #1f47e0; }
.ptl__phase--exam { background: #efeafe; color: #5b3fd1; }
.ptl__phase--admission { background: #e1f6f2; color: #0b7a70; }
.ptl__phase--result { background: #fff0e0; color: #b45309; }
.ptl__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
.ptl__link i { font-size: 11px; transition: transform .2s; }
.ptl__link:hover i { transform: translateX(3px); }
.pbox .utl { margin-top: 6px; }

/* sidebar widgets */
/* the sidebar can be taller than the screen, so only the Apply card is sticky: it sits last on desktop and follows the reader */
.paside { min-width: 0; align-self: stretch; align-content: start; display: grid; gap: 16px; }
.paside > .aw--date { order: 1; }
.paside > .aw--links { order: 2; }
.paside > .aw--apply { order: 4; position: sticky; top: calc(var(--header-h) + 18px); }
.aw { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aw__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 16px; }
.aw__ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--grad-btn); }
.aw p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.aw--apply { position: relative; overflow: hidden; isolation: isolate; border: 0; color: #fff; background: var(--grad-dark); }
.aw--apply::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 255, .35), transparent 70%); }
.aw--apply h3 { margin: 12px 0 6px; font-size: 20px; color: #fff; }
.aw--apply p { color: rgba(255, 255, 255, .72); }
.aw__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #cfe0ff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); }
.aw--apply .btn { justify-content: space-between; margin-top: 10px; padding: 11px 16px; text-align: left; white-space: normal; }
.aw--apply .btn small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; opacity: .8; }
.aw__login { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: #cfe0ff; }
.aw__login:hover { color: #fff; }
.aw--date { position: relative; display: flex; align-items: center; gap: 14px; padding-right: 54px; }
.aw__cal { flex: none; width: 52px; height: 56px; border-radius: 14px; display: grid; place-content: center; text-align: center; color: #fff; background: linear-gradient(180deg, #ff9a3c, #f07c1b); }
.aw__cal small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.aw__cal b { font-size: 20px; line-height: 1; }
.aw__cal--done { background: var(--grad-btn); font-size: 18px; }
.aw__datetxt { min-width: 0; display: grid; gap: 1px; }
.aw__datetxt small { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); }
.aw__datetxt b { font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.aw__datetxt em { font-style: normal; font-size: 13px; color: var(--muted); }
.aw__more { position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--blue); background: var(--blue-soft); }
.aw__more::after { content: ""; position: absolute; inset: -6px; }
.aw .ulinks { gap: 8px; }
.aw .ulinks li a { padding: 10px 12px; gap: 12px; }
.aw .ulink__text { font-size: 13.5px; line-height: 1.4; }
.aw .ulink__ico { width: 32px; height: 32px; font-size: 13px; }
.paside--row { align-self: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.paside--row > .aw--apply { order: 0; position: relative; top: auto; }

/* college directory */
.cdir__head p { margin: -6px 0 16px; color: var(--muted); }
.cdir__bar { display: flex; gap: 10px; }
.cdir__search { position: relative; flex: 1; min-width: 0; }
.cdir__search > i { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: #94a3b8; pointer-events: none; }
.cdir__search input, .cdir__limit select {
  width: 100%;
  height: 54px;
  border: 1px solid #cdd8ee;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.cdir__search input { padding: 0 48px; }
.cdir__search input::-webkit-search-cancel-button { display: none; }
.cdir__search input:focus, .cdir__limit select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48, 94, 255, .18); }
.cdir__clear { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; color: var(--muted); }
.cdir__clear:hover { background: #f1f4fa; color: var(--ink); }
.cdir__limit select { padding: 0 14px; cursor: pointer; }
.cdir__limit { flex: none; width: 150px; }
.cdir__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.cdir__chips button { min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #1f3fae; background: var(--blue-soft); transition: background .2s, color .2s; }
.cdir__chips button:hover { background: #dbe5ff; }
.cdir__chips button[aria-pressed="true"] { color: #fff; background: var(--blue); }
.cdir__status { margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.cdir__status b { color: var(--ink); }
.cdir__table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cdir__row { display: grid; grid-template-columns: 48px minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.1fr); /* # | institution | location | website | type */ gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
[data-cdir-list] > .cdir__row:last-child { border-bottom: 0; }
[data-cdir-list] > .cdir__row:nth-child(even) { background: #fafbfe; }
[data-cdir-list] > .cdir__row:hover { background: #eef3ff; }
.cdir__row--head { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 0; }
.cdir__no { color: var(--muted); font-variant-numeric: tabular-nums; }
.cdir__name b { display: block; color: var(--ink); font-weight: 600; line-height: 1.4; }
.cdir__name small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* one line; full address on hover */
.cdir__loc { color: var(--body); }
.cdir__loc i { margin-right: 4px; font-size: 12px; color: #94a3b8; }
/* institution type: small outline tag that hugs its text */
.cdir__type { text-align: right; }
.cdir__row--head > :nth-child(5) { text-align: right; }
/* outline tag with a light fill; long types break at the hyphen ("Deemed University" / "Private") and the tag hugs its longest line */
.ctype { display: inline-block; width: max-content; max-width: 100%; padding: 3px 8px; border-radius: 6px; border: 1px solid #c9d7fb; background: #f5f8ff; font-size: 11.5px; font-weight: 600; line-height: 1.4; text-align: left; color: #1f47e0; }
.cdir__web { min-width: 0; }
.cdir__web a { display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%; font-weight: 500; font-size: 13.5px; line-height: 1.4; color: var(--blue); }
.cdir__web a span { min-width: 0; overflow-wrap: anywhere; } /* long addresses wrap instead of overflowing */
.cdir__web a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.cdir__web a i { font-size: 11px; }
.cdir__row--skel span { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef2f8 0%, #f7f9fd 50%, #eef2f8 100%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
.cdir__empty { display: grid; justify-items: center; gap: 6px; padding: 44px 20px; text-align: center; color: var(--muted); }
.cdir__empty > i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; font-size: 18px; color: var(--blue); background: var(--blue-soft); }
.cdir__empty b { font-size: 16px; color: var(--ink); }
.cdir__empty .btn { margin-top: 10px; }
.cdir__pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cdir__pager .btn:disabled { opacity: .45; cursor: not-allowed; }
.cdir__note { margin-top: 22px; }

/* end of page: keep exploring + Apply CTA band */
.pnext { padding: 60px 0 72px; background: #fff; }
.pnext__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.025em; margin-bottom: 20px; }
.pnext__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nextc { --c: #305eff; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #f7f9fe; border: 1px solid #e9eef8; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.nextc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 16px 30px -22px var(--c); }
.nextc--violet { --c: #6d4fe0; }
.nextc--teal { --c: #0d9488; }
.nextc--pink { --c: #e0457b; }
.nextc--sky { --c: #0284c7; }
.nextc__ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; color: #fff; background: var(--c); }
.nextc__txt { flex: 1; min-width: 0; }
.nextc__txt b { display: block; font-size: 15px; line-height: 1.3; color: var(--ink); }
.nextc__txt small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.nextc__go { font-size: 12px; color: var(--c); transition: transform .2s; }
.nextc:hover .nextc__go { transform: translateX(3px); }
.pcta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  margin-top: 40px;
  padding: 40px 44px;
  border-radius: 24px;
  color: #fff;
  background: var(--grad-dark);
}
.pcta::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 255, .28), transparent 70%); }
.pcta__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #cfe0ff; background: rgba(255, 255, 255, .1); }
.pcta h2 { margin: 14px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; color: #fff; }
.pcta p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, .75); }
.pcta__actions { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 420px; }
.pcta__help { flex-basis: 100%; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #cfe0ff; }
.pcta__help i { font-size: 17px; color: #2fdc74; }
.pcta__help:hover { color: #fff; }

/* Important Dates page: hero status card, journey bar, schedule timeline */
.nextc--orange { --c: #f07c1b; }
.pnext--cta-only { padding-top: 8px; }
.pnext--cta-only .pcta { margin-top: 0; }
/* Important Dates page layout: slim title row, then schedule (main) + status / quick actions / links (side) */
.dpage { padding-top: 28px; }
/* compact banner (smaller than the standard page hero) + small status card */
.dbanner { padding: 18px 0 26px; }
.dbanner .crumbs { margin-bottom: 14px; }
.dbanner__row { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; }
.dbanner h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.dbanner p { margin: 0 0 14px; font-size: 15.5px; color: var(--body); }
.dstat { flex: 0 1 420px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px -20px rgba(15, 29, 54, .45); }
.dstat__ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; color: #fff; background: var(--grad-btn); }
.dstat--next .dstat__ico { background: linear-gradient(180deg, #ff9a3c, #f07c1b); }
.dstat--live .dstat__ico { background: linear-gradient(180deg, #34d399, #10b981); }
.dstat--next { border-color: #ffd9ad; }
.dstat--live { border-color: #bbf0d1; }
.dstat__txt { min-width: 0; display: grid; gap: 2px; }
.dstat__txt small { font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.dstat__txt > b { font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.dstat__txt > span { font-size: 13.5px; color: var(--muted); }
.dstat__cd b { font-variant-numeric: tabular-nums; color: var(--ink); }
.dpage__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dpage__closed { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #b42318; background: #fdecea; }
.btn--wa { color: #fff; background: linear-gradient(180deg, #2fdc74, #1fb85c); border-color: transparent; }
.btn--wa:hover { background: linear-gradient(180deg, #28c968, #19a350); }
.dpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto 1fr; grid-template-areas: "sched quick" "sched links"; gap: 20px 24px; align-items: start; }
.dsched { grid-area: sched; }
.dquick { grid-area: quick; }
.dlinks { grid-area: links; }
.dsched__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.dsched__head h2 { margin: 0; }
.dsched__tz { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  background: var(--grad-dark);
  box-shadow: 0 24px 48px -28px rgba(10, 36, 99, .7);
}

/* quick actions */
.dquick { display: grid; gap: 8px; }
.dquick .aw__title { margin-bottom: 6px; }
.dquick__btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 14px; text-align: left; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #f7f9fe; border: 1px solid #e9eef8; cursor: pointer; transition: border-color .2s, background .2s; }
.dquick__btn:hover { border-color: #cfdcfb; background: #fff; }
.dquick__btn > i { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; color: var(--blue); background: var(--blue-soft); }
.dquick__btn > i.dquick__wa { color: #fff; font-size: 18px; background: linear-gradient(180deg, #2fdc74, #1fb85c); }
.dquick__btn small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
/* compact Important Links */
.dlinks .aw__title { margin-bottom: 12px; font-size: 15px; }
.dlinks .ulinks { gap: 6px; }
.dlinks .ulinks li a { padding: 8px 10px; gap: 10px; border-radius: 12px; }
.dlinks .ulink__ico { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; }
.dlinks .ulink__text { font-size: 12.5px !important; line-height: 1.35; font-weight: 500; }
.dlinks .ulink__new { height: 12px; }
.dlinks .ulink__go { display: none; }
/* "today" marker and folded past dates */
.dline__today { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin: 6px 0; }
.dline__today::before { content: ""; flex: none; width: 14px; height: 14px; margin-left: 21px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(48, 94, 255, .18); }
.dline__today span { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--blue); }
.dline__today::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #9db4ff 0 6px, transparent 6px 12px); }
.dline__fold button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 6px 70px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); }
.dline[data-fold]:not(.is-unfolded) .is-folded { display: none; }
.dline.is-unfolded .dline__fold { display: none; }

/* schedule timeline */
.dline { position: relative; list-style: none; margin: 0; padding: 0; }
.dline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: #e6ecf7; }
.dline__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 38px; align-items: center; gap: 16px; padding: 10px 0; }
.dline--all-done .dline__item { grid-template-columns: 56px minmax(0, 1fr) auto; } /* no "add to calendar" column when every date has passed */
.dline__ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; color: var(--blue); background: #fff; border: 1px solid #d6e0f7; }
.dline__body { min-width: 0; display: grid; gap: 8px; padding: 12px 16px; border-radius: 14px; }
.dline__body b { font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
/* explicit date range: STARTS date → ENDS date (always with the year) */
.drange { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.drange__part { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #f3f6fd; border: 1px solid #e6ecf7; font-variant-numeric: tabular-nums; white-space: nowrap; }
.drange__part small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.drange__to { font-size: 11px; color: #a3afc2; }
.dline__state { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #b45309; background: #fff0e0; white-space: nowrap; }
.dline__add { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; color: var(--blue); background: var(--blue-soft); transition: background .2s, color .2s; }
.dline__add:hover { color: #fff; background: var(--blue); }
.dline__item.is-done .dline__state { color: #0b7a70; background: #e1f6f2; }
.dline__item.is-next .dline__ico, .dline__item.is-live .dline__ico { color: #fff; border: 0; background: linear-gradient(180deg, #ff9a3c, #f07c1b); box-shadow: 0 0 0 6px rgba(240, 124, 27, .15), 0 12px 22px -12px rgba(240, 124, 27, .9); }
.dline__item.is-next .dline__body, .dline__item.is-live .dline__body { background: #fff8f0; box-shadow: inset 0 0 0 1px #ffd9ad; }
.dline__item.is-live .dline__ico { background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 0 0 6px rgba(16, 185, 129, .15); }
.dline__item.is-live .dline__body { background: #f0fdf6; box-shadow: inset 0 0 0 1px #bbf0d1; }
.dline__item.is-live .dline__state { color: #0b7a3c; background: #dcfce7; }
.dline__item.is-next .drange__part, .dline__item.is-live .drange__part { background: #fff; }
.dline__item.is-next .dline__state { color: #fff; background: var(--orange); }
.dsched .pnote { margin-top: 18px; }
.dsched .pnote i { margin-right: 4px; color: #94a3b8; }
.dsched .pnote a { display: inline-block; padding: 12px 0; margin: -12px 0; font-weight: 600; color: var(--blue); } /* taller tap area, same look */

/* Free Test Series page: offer + activation card in the hero, how it works, login strip */
.thero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: center; }
.thero__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #0b7a3c; background: #dcfce7; }
.thero h1 { margin-bottom: 14px; }
.thero__points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.thero__points li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink); }
.thero__points i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--grad-btn); }
.thero__login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; color: var(--muted); }
.thero__login b { color: var(--blue); }
.thero__login .fa-arrow-right { font-size: 11px; color: var(--blue); transition: transform .2s; }
.thero__login:hover .fa-arrow-right { transform: translateX(3px); }
.tact { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -32px rgba(15, 29, 54, .45); }
.tact__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tact__head h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; }
.tact__head p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.tact__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; color: #fff; background: linear-gradient(180deg, #ff9a3c, #f07c1b); }
.tact__steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tact__steps li { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--muted); background: #f3f6fd; }
.tact__steps span { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid #dfe6f4; }
.tact__steps li.is-on { color: var(--blue); background: var(--blue-soft); }
.tact__steps li.is-on span { color: #fff; border-color: transparent; background: var(--blue); }
.tact__steps li.is-done span { color: #fff; border-color: transparent; background: #16a34a; }
.tact__form { display: grid; gap: 14px; }
.tact__field { display: grid; gap: 6px; }
.tact__field > span:first-child { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tact__field small { font-weight: 500; color: var(--muted); }
.tact__input { position: relative; display: block; }
.tact input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #cdd8ee; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.tact input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48, 94, 255, .18); }
.tact input[readonly] { background: #f3f6fd; color: var(--muted); }
.tact input.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.tact__input input:read-only + .tact__change, .tact__change { position: absolute; right: 6px; top: 50%; translate: 0 -50%; min-height: 38px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); }
.tact__msg:empty { display: none; }
.tact__msg { padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: #0b7a3c; background: #ecfdf3; border: 1px solid #bbf0d1; }
.tact__msg.is-error { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.tact__form .btn[disabled] { opacity: .6; cursor: progress; }
.tact__resend { justify-self: center; min-height: 40px; padding: 0 12px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.tact__resend[disabled] { color: var(--muted); cursor: default; }
.tact__done { display: grid; justify-items: center; gap: 8px; text-align: center; }
.tact__done-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 0 0 8px rgba(16, 185, 129, .15); }
.tact__done h3 { margin: 6px 0 0; font-size: 1.15rem; }
.tact__done p { margin: 0 0 6px; font-size: 14px; color: var(--body); }
.tact__foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; text-align: center; color: var(--muted); }
.tact__foot a { font-weight: 600; color: var(--orange); }
.thow__steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.thow__steps li { position: relative; padding: 20px; border-radius: 16px; background: #f7f9fe; border: 1px solid #e9eef8; }
.thow__no { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; font-weight: 800; color: #fff; background: var(--grad-btn); }
.thow__steps b { display: block; margin-bottom: 4px; font-size: 15.5px; color: var(--ink); }
.thow__steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.tlogin { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 20px 24px; border-radius: 20px; color: #fff; background: var(--grad-dark); }
.tlogin__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: rgba(255, 255, 255, .12); }
.tlogin__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tlogin__txt b { font-size: 16px; }
.tlogin__txt span { font-size: 13.5px; color: rgba(255, 255, 255, .7); overflow-wrap: anywhere; }
.thelp { margin: 16px 4px 0; font-size: 14px; color: var(--muted); }
.thelp i { margin-right: 6px; color: #94a3b8; }
.thelp a { font-weight: 600; color: var(--blue); }

/* Contact page: quick contact tiles, support desk (raise / track tickets), office details */
.chero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 22px; }
.chero h1 { margin-bottom: 10px; }
.chero .phero__lead { margin: 0; }
.chero__status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #64748b; background: #fff; border: 1px solid var(--line); }
.chero__status .live-dot { background: #94a3b8; animation: none; box-shadow: none; }
.chero__status.is-open { color: #0b7a3c; border-color: #bbf0d1; background: #f0fdf6; }
.chero__status.is-open .live-dot { background: #16b97a; animation: live 2s infinite; }
.cquick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cquick__item { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px -22px rgba(15, 29, 54, .45); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cquick__item:hover { transform: translateY(-3px); border-color: #cfdcfb; box-shadow: 0 18px 34px -22px rgba(48, 94, 255, .55); }
.cquick__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; }
.cquick__item--wa .cquick__ico { background: linear-gradient(180deg, #2fdc74, #1fb85c); font-size: 24px; }
.cquick__item--mail .cquick__ico { background: linear-gradient(180deg, #ff7aa8, #e0457b); }
.cquick__item--call .cquick__ico { background: var(--grad-btn); }
.cquick__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cquick__txt small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cquick__txt b { font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.cquick__go { font-size: 12px; color: #a3afc2; transition: transform .2s, color .2s; }
.cquick__item:hover .cquick__go { color: var(--blue); transform: translateX(3px); }
.pbox.desk { padding: 0; overflow: hidden; } /* tabs run edge to edge; panels carry the padding */
.desk__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); background: #f7f9fe; }
.desk__tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.desk__tabs button:hover { color: var(--ink); }
.desk__tabs button[aria-selected="true"] { color: var(--blue); background: #fff; border-bottom-color: var(--blue); }
.desk__panel { padding: 28px 32px 32px; }
.desk__intro { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.desk__form, .desk__login { display: grid; gap: 14px; }
.desk__login { max-width: 460px; }
.desk__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.desk__field { display: grid; gap: 6px; }
.desk__field > span { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.desk__field > span i, .desk__check i { font-style: normal; color: #dc2626; }
.desk__field small { margin-left: auto; font-weight: 500; color: var(--muted); }
.desk input[type="text"], .desk input[type="tel"], .desk input[type="email"], .desk select, .desk textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cdd8ee;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.desk input, .desk select { height: 50px; }
.desk textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.desk input:focus, .desk select:focus, .desk textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48, 94, 255, .18); }
.desk .is-invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
.desk__drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed #b9c9f1; border-radius: 14px; background: #f7f9fe; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.desk__drop:hover, .desk__drop.is-over { border-color: var(--blue); background: #eef3ff; }
.desk__drop.has-file { border-style: solid; border-color: #bbf0d1; background: #f0fdf6; color: #0b7a3c; }
.desk__drop > i { flex: none; font-size: 20px; color: var(--blue); }
.desk__drop b { color: var(--ink); }
.desk__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.desk__check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--body); cursor: pointer; }
.desk__check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.desk__msg:empty { display: none; }
.desk__msg { padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: #0b7a3c; background: #ecfdf3; border: 1px solid #bbf0d1; }
.desk__msg.is-error { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.desk__form .btn, .desk__login .btn { justify-self: start; }
.desk .btn[disabled] { opacity: .6; cursor: progress; }
.desk__done { display: grid; justify-items: center; gap: 6px; padding: 10px 0; text-align: center; }
.desk__done-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; font-size: 24px; color: #fff; background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 0 0 8px rgba(16, 185, 129, .15); }
.desk__done h3 { margin: 0; font-size: 1.3rem; }
.desk__done p { margin: 0; }
.desk__tid { display: flex; align-items: center; gap: 8px; margin: 4px 0 6px; padding: 8px 8px 8px 16px; border-radius: 12px; background: #f3f6fd; border: 1px solid #e3e9f6; }
.desk__tid b { font-size: 20px; letter-spacing: .04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.desk__tid button { min-height: 36px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid #d6e0f7; }
.desk__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.desk__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.desk__bar h3, .desk__thead h3 { margin: 0; font-size: 1.1rem; }
.desk__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.desk__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; width: 100%; margin-bottom: 10px; padding: 14px 16px; border-radius: 14px; text-align: left; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.desk__item:hover { border-color: #cfdcfb; box-shadow: 0 10px 22px -18px rgba(48, 94, 255, .6); }
.desk__item b { font-size: 15px; color: var(--ink); }
.desk__item small { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.desk__item .desk__status { grid-column: 2; grid-row: 1 / span 2; }
.desk__status { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #1f47e0; background: #e8eeff; white-space: nowrap; }
.desk__status--open { color: #b45309; background: #fff0e0; }
.desk__status--resolved { color: #0b7a3c; background: #dcfce7; }
.desk__status--closed { color: #475569; background: #f1f4f9; }
.desk__empty { padding: 30px 10px; text-align: center; color: var(--muted); }
.desk__thead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 6px 0 14px; }
.desk__thead small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.desk__thread { display: grid; gap: 10px; max-height: 460px; overflow-y: auto; margin-bottom: 14px; padding: 16px; border-radius: 14px; background: #f7f9fe; border: 1px solid #e9eef8; }
.desk__msgb { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; border: 1px solid #e3e9f6; }
.desk__msgb small { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: normal; }
.desk__msgb--me { justify-self: end; background: #eef3ff; border-color: #d3defd; }
.desk__msgb--desc { max-width: none; background: #fff; }
.desk__reply { display: grid; gap: 10px; }
.desk__reply .btn { justify-self: end; }
.cside .aw__title { flex-wrap: wrap; }
.cside__badge { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #64748b; background: #f1f4f9; }
.cside__badge.is-open { color: #0b7a3c; background: #dcfce7; }
.chours { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.chours li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--body); }
.chours li b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.chours li.is-today { background: #eef3ff; }
.chours .is-closed { color: #b42318; }
.cside__note { margin: 0; font-size: 12.5px; color: var(--muted); }
.coffice { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.coffice:first-of-type { padding-top: 0; border-top: 0; }
.coffice b { font-size: 14.5px; color: var(--ink); }
.coffice address { font-style: normal; font-size: 13.5px; line-height: 1.55; color: var(--body); }
.coffice a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.coffice a i { font-size: 11px; }
.cfaq { display: flex; align-items: center; gap: 12px; color: var(--ink); transition: border-color .2s; }
.cfaq:hover { border-color: #cfdcfb; }
.cfaq > span:nth-child(2) { flex: 1; display: grid; }
.cfaq small { font-size: 12.5px; color: var(--muted); }
.cfaq > i { font-size: 12px; color: var(--blue); }

/* Scholarship in India: dark hero with the animated journey road */
.ihero { position: relative; overflow: hidden; isolation: isolate; padding: 22px 0 40px; color: #fff; background: var(--grad-dark); }
.ihero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(560px 380px at 78% 40%, rgba(79, 209, 255, .22), transparent 70%), radial-gradient(420px 300px at 5% 100%, rgba(255, 122, 0, .14), transparent 70%); }
.ihero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.crumbs--dark, .crumbs--dark a { color: rgba(255, 255, 255, .65); }
.crumbs--dark a:hover { color: #fff; }
.crumbs--dark [aria-current] { color: #fff; }
.crumbs--dark li + li::before { color: rgba(255, 255, 255, .4); }
.ihero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.ihero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd29a; background: rgba(255, 122, 0, .14); border: 1px solid rgba(255, 166, 77, .35); }
.ihero h1 { margin: 16px 0 14px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.05; color: #fff; }
.ihero__lead { max-width: 540px; margin: 0 0 26px; font-size: 17.5px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.ihero__lead strong { color: #fff; }
.ihero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.ihero__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.ihero__stats li { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ihero__stats b { display: block; font-size: 20px; letter-spacing: -.02em; }
.ihero__stats span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .65); }
/* the road (SVG) + flags (HTML placed on the road by JS) */
.iroad { position: relative; width: 100%; max-width: 580px; aspect-ratio: 600 / 680; margin: 0 auto; }
.iroad__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iroad__svg path { fill: none; stroke-linecap: round; }
.iroad__glow { stroke: rgba(79, 209, 255, .25); stroke-width: 70; filter: blur(14px); }
.iroad__edge { stroke: url(#iroad-edge); stroke-width: 52; }
.iroad__base { stroke: #13265e; stroke-width: 46; }
.iroad__lane { stroke: rgba(255, 255, 255, .7); stroke-width: 2.5; stroke-dasharray: 12 14; }
.iroad__glow, .iroad__edge, .iroad__base { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.6, .1, .3, 1); }
.iroad__lane { opacity: 0; transition: opacity .6s 1.3s; animation: lane-run 1.2s linear infinite; }
.ihero.is-play .iroad__glow, .ihero.is-play .iroad__edge, .ihero.is-play .iroad__base { stroke-dashoffset: 0; }
.ihero.is-play .iroad__lane { opacity: 1; }
.iroad__flags { list-style: none; margin: 0; padding: 0; }
.iflag { position: absolute; width: 0; height: 0; --h: 44px; --d: calc(1.4s + var(--i) * .42s); }
.iflag__pin { position: absolute; left: -9px; top: -6px; width: 18px; height: 12px; border-radius: 50%; border: 3px solid var(--c); background: rgba(255, 255, 255, .9); opacity: 0; transform: scale(.3); transition: opacity .3s var(--d), transform .4s var(--d) cubic-bezier(.3, 1.6, .5, 1); }
.iflag__stem { position: absolute; left: -1.5px; bottom: 0; width: 3px; height: var(--h); border-radius: 3px; background: var(--c); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s calc(var(--d) + .15s) cubic-bezier(.3, 1.3, .5, 1); }
.iflag__card { position: absolute; bottom: var(--h); left: -1.5px; display: grid; min-width: 104px; padding: 6px 10px 7px; border-radius: 10px 10px 10px 0; background: rgba(255, 255, 255, .96); border-left: 3px solid var(--c); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .7); color: var(--ink); white-space: nowrap; opacity: 0; transform: translateY(10px) scale(.9); transform-origin: 0 100%; transition: opacity .35s calc(var(--d) + .45s), transform .45s calc(var(--d) + .45s) cubic-bezier(.3, 1.4, .5, 1); }
.iflag--left .iflag__card { left: auto; right: -1.5px; border-left: 0; border-right: 3px solid var(--c); border-radius: 10px 10px 0 10px; text-align: right; transform-origin: 100% 100%; }
.iflag__card b { font-size: 16px; line-height: 1.1; letter-spacing: -.01em; color: var(--c); }
.iflag__card span { font-size: 12px; font-weight: 700; color: var(--ink); }
.iflag__card small { font-size: 11px; color: var(--muted); }
.ihero.is-play .iflag__pin { opacity: 1; transform: none; }
.ihero.is-play .iflag__stem { transform: none; }
.ihero.is-play .iflag__card { opacity: 1; transform: none; }
.iflag.is-hot .iflag__pin { animation: flag-ping 1.4s ease-out; }
.iflag.is-hot .iflag__card { box-shadow: 0 0 0 3px var(--c), 0 18px 34px -14px rgba(0, 0, 0, .8); }
.iflag--you { --h: 44px; }
.iflag--you .iflag__card { background: linear-gradient(110deg, #f2470d, #ff7a00); border-color: #ffd29a; color: #fff; }
.iflag--you .iflag__card b, .iflag--you .iflag__card span { color: #fff; }
.iflag--you .iflag__card small { color: rgba(255, 255, 255, .9); font-weight: 700; }
.iflag--you .iflag__pin { animation: flag-ping 1.8s ease-out infinite calc(var(--d) + 1s); }
/* landing sections below the hero (Scholarship in India) */
.istatus { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 24px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.istatus--open { color: #bbf7d0; background: rgba(22, 185, 122, .15); border: 1px solid rgba(74, 222, 128, .4); }
.istatus--soon { color: #ffd29a; background: rgba(255, 122, 0, .14); border: 1px solid rgba(255, 166, 77, .35); }
.istatus--closed { color: #fecaca; background: rgba(239, 68, 68, .14); border: 1px solid rgba(248, 113, 113, .35); }
.istatus a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.istatus a .fa-whatsapp { color: #4ade80; }
.lprog__prep { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--c); }
.lprog__prep .fa-arrow-right { font-size: 11px; transition: transform .2s; }
.lprog__prep:hover .fa-arrow-right { transform: translateX(3px); }
.lprog__card { grid-template-rows: auto auto 1fr auto auto auto; }
/* "Our Scholars" on landing pages: centred heading, no repeated stat */
.scholars--center .scholars__head { display: block; max-width: 760px; margin: 0 auto 34px; text-align: center; }
.scholars--center .scholars__sub { margin-left: auto; margin-right: auto; }
.scholars--center .scholars__stats { display: none; }
.lp__sec { padding: 72px 0; background: #fff; }
.lp__sec--soft { background: var(--bg-soft); }
.lp__sec--dark { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--grad-dark); }
.lp__sec--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 85% 10%, rgba(255, 122, 0, .18), transparent 70%), radial-gradient(520px 320px at 10% 100%, rgba(79, 209, 255, .18), transparent 70%); }
.lp__head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.lp__head h2, .lcourse h2, .lfaq h2, .labout h2 { margin: 12px 0 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.15; }
.lp__head p { margin: 0; font-size: 16.5px; color: var(--muted); }
.lp__head--light h2 { color: #fff; }
.lp__head--light p { color: rgba(255, 255, 255, .72); }
.lp__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); }
.lp__eyebrow--light { color: #ffd29a; background: rgba(255, 122, 0, .14); border: 1px solid rgba(255, 166, 77, .35); }
/* choose your exam */
.lprog { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.lprog__card { --c: #305eff; --c2: #00a3ff; position: relative; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 18px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(15, 29, 54, .45); transition: transform .25s var(--ease), box-shadow .25s; }
.lprog__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.lprog__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(15, 29, 54, .5); }
.lprog__card--teal { --c: #0a8a8a; --c2: #23c4b5; }
.lprog__top { display: flex; align-items: center; gap: 14px; }
.lprog__top h3 { margin: 0; font-size: 22px; }
.lprog__top p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.lprog__ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 12px 24px -12px var(--c); }
.lprog__nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lprog__nums li { padding: 14px 10px; border-radius: 16px; text-align: center; background: color-mix(in srgb, var(--c) 7%, #fff); border: 1px solid color-mix(in srgb, var(--c) 18%, #fff); }
.lprog__nums b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.03em; color: var(--c); }
.lprog__nums span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.lprog__detail { display: flex; gap: 10px; margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.lprog__detail i { margin-top: 4px; color: var(--c); }
.lprog__mark { display: flex; flex-wrap: wrap; gap: 6px; }
/* every course */
.lcourse { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.lcourse__copy > p { margin: 0 0 20px; font-size: 16.5px; color: var(--muted); }
.lcourse__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lcourse__chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -16px rgba(15, 29, 54, .5); transition: transform .2s var(--ease); }
.lcourse__chips li:hover { transform: translateY(-2px); }
.lcourse__chips li > i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--c, var(--blue)); }
.lcourse__chips .lcourse__more { padding-left: 16px; color: var(--blue); background: var(--blue-soft); border-color: #d3defd; box-shadow: none; }
/* what you can win */
.lwin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 0 auto; }
.lwin__card { display: grid; gap: 4px; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.lwin__card--hot { background: linear-gradient(160deg, rgba(255, 122, 0, .22), rgba(255, 255, 255, .05)); border-color: rgba(255, 166, 77, .45); }
.lwin__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; font-size: 18px; color: #fff; background: rgba(255, 255, 255, .12); }
.lwin__card--hot .lwin__ico { background: linear-gradient(135deg, #f2470d, #ff7a00); }
.lwin__card b { font-size: 28px; line-height: 1.15; letter-spacing: -.03em; }
.lwin__card > span:not(.lwin__ico) { font-size: 15px; color: rgba(255, 255, 255, .85); }
.lwin__card small { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.lwin__more { margin-top: 30px; text-align: center; }
/* how it works */
.lsteps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lsteps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #b9c9fb 0 8px, transparent 8px 16px); }
.lsteps li { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0 8px; text-align: center; }
.lsteps__no { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; font-size: 22px; font-weight: 800; color: #fff; background: var(--grad-btn); box-shadow: 0 0 0 8px #fff, 0 14px 26px -12px rgba(48, 94, 255, .8); }
.lsteps li:last-child .lsteps__no { background: linear-gradient(180deg, #ff9a3c, #f07c1b); box-shadow: 0 0 0 8px #fff, 0 14px 26px -12px rgba(240, 124, 27, .8); }
.lsteps li > i { display: none; }
.lsteps b { font-size: 16.5px; color: var(--ink); }
.lsteps p { margin: 0; max-width: 240px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.lsteps__more { justify-content: center; margin-top: 32px; }
/* FAQ */
.lfaq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.lfaq__side p { margin: 0 0 18px; font-size: 16px; color: var(--muted); }
.lfaq .ifaq details { background: #fff; }
.lfaq__more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; color: var(--blue); }
/* about */
.labout { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; align-items: center; max-width: 960px; }
.labout h2 { margin-top: 0; }
.labout p { font-size: 16px; line-height: 1.7; }

.imark { display: inline-block; margin: 0 4px 4px 0; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: #475569; background: #f1f4f9; }
.imark--ok { color: #0b7a3c; background: #dcfce7; }
.imark--bad { color: #b42318; background: #fef3f2; }
.ifaq { display: grid; gap: 10px; }
.ifaq details { border-radius: 14px; background: #f7f9fe; border: 1px solid #e9eef8; }
.ifaq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.ifaq summary::-webkit-details-marker { display: none; }
.ifaq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--blue); background: var(--blue-soft); }
.ifaq details[open] summary::after { content: "–"; }
.ifaq details p { margin: 0; padding: 0 16px 14px; font-size: 14.5px; }
.ifaq a { font-weight: 600; color: var(--blue); }

/* Engineering / Medical scholarship pages (partials/stream-page.php): landing hero, 4 visuals, trust band, sticky bar */
.sph { --c: #305eff; --c2: #00a3ff; position: relative; overflow: hidden; isolation: isolate; padding: 22px 0 96px; background: linear-gradient(160deg, #eef3ff 0%, #f8faff 45%, #ffffff 100%); }
.sph--pink { --c: #e0457b; --c2: #a35bff; background: linear-gradient(160deg, #fff0f6 0%, #f8f2ff 50%, #ffffff 100%); }
.sph--merit { background: linear-gradient(160deg, #f1edff 0%, #f8f6ff 50%, #ffffff 100%); }
.sph::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(15, 29, 54, .07) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }
.sph__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .45; pointer-events: none; }
.sph__orb--a { width: 420px; height: 420px; right: -80px; top: -60px; background: var(--c); opacity: .22; }
.sph__orb--b { width: 320px; height: 320px; left: 30%; bottom: -160px; background: var(--c2); opacity: .18; }
.sph--dark { color: #fff; background: var(--grad-dark); }
.sph--dark::before { background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px); }
.sph--dark .sph__orb--a { background: #4fd1ff; opacity: .25; }
.sph--dark .sph__orb--b { background: #ff7a00; opacity: .2; }
.sph__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sph__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--c); background: #fff; border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); box-shadow: 0 8px 20px -14px var(--c); }
.sph--dark .sph__eyebrow { color: #ffd29a; background: rgba(255, 122, 0, .14); border-color: rgba(255, 166, 77, .35); box-shadow: none; }
.sph h1 { margin: 16px 0 14px; font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.035em; line-height: 1.06; }
.sph--dark h1 { color: #fff; }
.sph__lead { max-width: 560px; margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: var(--body); }
.sph--dark .sph__lead { color: rgba(255, 255, 255, .8); }
.sph .phero__cta { margin-bottom: 22px; }
.sproof { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sproof__faces { display: flex; }
.sproof__faces img, .sproof__plus { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #fff; margin-left: -10px; box-shadow: 0 4px 10px -4px rgba(15, 29, 54, .4); }
.sproof__faces img:first-child { margin-left: 0; }
.sproof__plus { display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); }
.sph--dark .sproof__faces img, .sph--dark .sproof__plus { border-color: #0a2463; }
.sproof__txt { display: grid; line-height: 1.3; }
.sproof__txt b { font-size: 15px; color: var(--ink); }
.sproof__txt small { font-size: 13px; color: var(--muted); }
.sph--dark .sproof__txt b { color: #fff; }
.sph--dark .sproof__txt small { color: rgba(255, 255, 255, .65); }
.istatus--light { margin: 0; }
.istatus--light.istatus--open { color: #0b7a3c; background: #f0fdf6; border-color: #bbf0d1; }
.istatus--light.istatus--soon { color: #b45309; background: #fff7ec; border-color: #ffd9ad; }
.istatus--light.istatus--closed { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.istatus--light a { color: var(--ink); }
.sph--dark .istatus { margin: 0; }
.sph__visual { position: relative; }
/* visual 1 · students: exam ticket + floating badges */
.sticket { --c: #305eff; --c2: #00a3ff; max-width: 420px; margin-left: auto; width: 100%; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(15, 29, 54, .55); overflow: hidden; transform: rotate(-2deg); animation: tilt-float 6s ease-in-out infinite; }
.sticket--pink { --c: #e0457b; --c2: #a35bff; }
.sticket__top { display: flex; align-items: center; gap: 14px; padding: 20px 22px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); }
.sticket__top small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.sticket__top b { font-size: 18px; }
.sticket__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: rgba(255, 255, 255, .18); }
.sticket__nums { list-style: none; margin: 0; padding: 18px 22px 6px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.sticket__nums b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.03em; color: var(--c); }
.sticket__nums span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sticket__cut { position: relative; height: 22px; margin: 6px 0; }
.sticket__cut::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed #dfe6f4; }
.sticket__cut::after { content: ""; position: absolute; inset: 0 -11px; background: radial-gradient(circle at 0 50%, #f1f5ff 10px, transparent 11px), radial-gradient(circle at 100% 50%, #f1f5ff 10px, transparent 11px); }
.sticket__rows { list-style: none; margin: 0; padding: 4px 22px 20px; display: grid; gap: 10px; }
.sticket__rows li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sticket__rows span { color: var(--muted); }
.sticket__rows b { color: var(--ink); text-align: right; }
.sfloat { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: #fff; box-shadow: 0 18px 34px -18px rgba(15, 29, 54, .55); animation: chip-float 5s ease-in-out infinite; }
.sfloat i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; color: #fff; }
.sfloat--a { left: 0; top: 18%; }
.sfloat--a i { background: linear-gradient(180deg, #ff9a3c, #f07c1b); }
.sfloat--b { right: -10px; bottom: 6%; animation-delay: -2.5s; }
.sfloat--b i { background: linear-gradient(180deg, #34d399, #10b981); }
/* visual 2 · cost: bars */
.scost { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.scost__title { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.scost__vs { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffd29a; }
.scost__bar { position: relative; display: grid; gap: 2px; margin-bottom: 12px; padding: 14px 16px; border-radius: 14px; overflow: hidden; isolation: isolate; background: rgba(255, 255, 255, .06); }
.scost__bar > span { position: absolute; inset: 0 auto 0 0; z-index: -1; width: var(--w); transform: scaleX(0); transform-origin: 0 50%; animation: bar-grow 1.2s .3s cubic-bezier(.3, .8, .3, 1) forwards; }
.scost__bar--cost > span { background: linear-gradient(90deg, rgba(239, 68, 68, .55), rgba(239, 68, 68, .25)); }
.scost__bar--gov > span { background: linear-gradient(90deg, rgba(22, 185, 122, .6), rgba(22, 185, 122, .25)); animation-delay: .8s; }
.scost__bar--pvt > span { background: linear-gradient(90deg, rgba(255, 122, 0, .65), rgba(255, 122, 0, .25)); animation-delay: 1.1s; }
.scost__bar b { font-size: 20px; letter-spacing: -.02em; }
.scost__bar small { font-size: 13px; color: rgba(255, 255, 255, .75); }
.scost__foot { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: #bbf7d0; }
/* visual 3 · courses: hub card + chips */
.scloud { display: grid; justify-items: center; gap: 18px; }
.scloud__hub { display: grid; justify-items: center; gap: 2px; padding: 22px 34px; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 30px 50px -28px var(--c); }
.scloud__hub i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px; font-size: 22px; background: rgba(255, 255, 255, .2); }
.scloud__hub b { font-size: 24px; letter-spacing: -.02em; }
.scloud__hub small { font-size: 13.5px; opacity: .9; }
.scloud ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.scloud li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -20px rgba(15, 29, 54, .55); animation: chip-float 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.scloud li i { color: var(--c); }
/* visual 4 · merit: gauge */
.sgauge { margin: 0 auto; max-width: 420px; padding: 24px 24px 20px; border-radius: 26px; text-align: center; background: rgba(255, 255, 255, .8); border: 1px solid #e6e1fb; box-shadow: 0 30px 60px -36px rgba(91, 59, 214, .55); }
.sgauge svg { width: 100%; height: auto; overflow: visible; }
.sgauge path { fill: none; stroke-width: 24; stroke-linecap: round; }
.sgauge__track { stroke: #ebe7fb; }
.sgauge__win { stroke: url(#sg-win); stroke-dasharray: 10 100; stroke-dashoffset: -90; }
.sgauge text { font-size: 12px; font-weight: 700; fill: #94a3b8; }
.sgauge__needle { transform-origin: 150px 160px; transform: rotate(-90deg); transition: transform 1.8s cubic-bezier(.3, 1.2, .4, 1) .3s; }
.sgauge.is-on .sgauge__needle { transform: rotate(82deg); }
.sgauge__needle line { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.sgauge__needle circle { fill: var(--ink); }
.sgauge figcaption { display: grid; justify-items: center; margin-top: -4px; }
.sgauge figcaption b { display: flex; align-items: flex-start; font-size: 48px; line-height: 1; letter-spacing: -.04em; color: #5b3bd6; font-variant-numeric: tabular-nums; }
.sgauge figcaption b > span { display: inline; font: inherit; color: inherit; }
.sgauge figcaption sup { margin-top: 4px; font-size: 18px; line-height: 1; }
.sgauge figcaption span { font-size: 15px; font-weight: 600; color: var(--ink); }
.sgauge figcaption small { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
/* trust band overlapping the hero */
.sband-wrap { position: relative; z-index: 2; margin-top: -56px; }
.sband { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(15, 29, 54, .45); }
.sband li { display: flex; align-items: center; gap: 12px; padding: 6px 12px; }
.sband li + li { border-left: 1px solid var(--line); }
.sband i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: var(--blue); background: var(--blue-soft); }
.sband span { display: grid; line-height: 1.25; }
.sband b { font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.sband small { font-size: 12.5px; color: var(--muted); }
/* sticky Apply bar (desktop) */
.sbar { position: fixed; z-index: 45; left: 0; right: 0; top: var(--header-h); /* docks under the sticky header (z 50) and slides out from behind it */ padding: 10px 0; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(15, 29, 54, .5); transform: translateY(-110%); transition: transform .35s var(--ease); }
.sbar:not(.is-on) { visibility: hidden; opacity: 0; transition: transform .35s var(--ease), opacity .2s, visibility 0s .35s; } /* hidden: fully invisible, even when the strip pushes the header down */
.sbar.is-on { transform: none; visibility: visible; opacity: 1; transition: transform .35s var(--ease), opacity .2s; }
.sbar__in { display: flex; align-items: center; gap: 14px; }
.sbar__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); }
.sbar__txt { flex: 1; display: grid; line-height: 1.3; }
.sbar__txt b { font-size: 15px; color: var(--ink); }
.sbar__txt small { font-size: 13px; color: var(--muted); }
/* grid children may shrink (long text wraps instead of widening the page) */
.sph__grid > *, .smerit > *, .sexam > *, .sapply > *, .sband li, .sband span { min-width: 0; }
/* slab tier ladder (Engineering / Medical pages) */
.sslabs__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.stier { list-style: none; margin: 0; padding: 14px; display: grid; gap: 6px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(15, 29, 54, .45); }
.stier__row { --k: #305eff; --k2: #00a3ff; position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 190px); align-items: center; gap: 16px; padding: 10px 14px; border-radius: 14px; transition: background .2s; }
.stier__row:hover, .stier__row.is-match { background: #f3f6ff; }
.stier__row.is-match { box-shadow: inset 0 0 0 2px var(--k); }
.stier__row--sem { --k: #6d4fe0; --k2: #a35bff; }
.stier__row--stipend { --k: #0d9488; --k2: #2dd4bf; }
.stier__row--reward { --k: #f07c1b; --k2: #ffb04a; }
.stier__pct { display: grid; line-height: 1.15; }
.stier__pct b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stier__pct small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.stier__bar { height: 12px; border-radius: 12px; background: #eef2f9; overflow: hidden; }
.stier__bar span { display: block; height: 100%; width: var(--w); border-radius: 12px; background: linear-gradient(90deg, var(--k), var(--k2)); transform-origin: 0 50%; }
.js .sslabs .stier__bar span { transform: scaleX(0); transition: transform .9s cubic-bezier(.3, .8, .3, 1) calc(var(--i) * 70ms); }
.js .sslabs.is-in .stier__bar span { transform: none; }
.stier__val { font-size: 14.5px; font-weight: 700; color: var(--k); }
.stier__val--two { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; row-gap: 0; line-height: 1.35; }
.stier__val--two small { font-size: 11px; font-weight: 600; color: var(--muted); }
.stier__row.is-top { padding-top: 16px; padding-bottom: 16px; background: linear-gradient(90deg, #fff8e8, #fff); box-shadow: inset 0 0 0 1px #fde3a7; }
.stier__row.is-top .stier__pct b { font-size: 18px; }
.stier__crown { position: absolute; right: 12px; top: -9px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #92400e; background: linear-gradient(90deg, #fde68a, #fbbf24); }
.spays { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 10px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(15, 29, 54, .45); }
.spays h3 { margin: 0 0 4px; font-size: 18px; }
.spays__item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.spays__item i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; color: #fff; }
.spays__item--gov i { background: var(--grad-btn); }
.spays__item--pvt i { background: linear-gradient(180deg, #ff9a3c, #f07c1b); }
.spays__item--sti i { background: linear-gradient(180deg, #2dd4bf, #0d9488); }
.spays__item--rew i { background: linear-gradient(180deg, #a35bff, #6d4fe0); }
.spays__item span { display: grid; line-height: 1.35; }
.spays__item b { font-size: 14.5px; color: var(--ink); }
.spays__item small { font-size: 13px; color: var(--muted); }
.spays__note { display: flex; gap: 8px; margin: 2px 0 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.spays__note i { margin-top: 3px; color: #94a3b8; }
.spays__link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--blue); }
/* AISEE Scholarship India (hub page) */
.hub { position: relative; overflow: hidden; isolation: isolate; padding: 22px 0 110px; color: #fff; background: var(--grad-dark); }
.hub::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hub .sph__orb--a { background: #4fd1ff; opacity: .25; }
.hub .sph__orb--b { background: #ff7a00; opacity: .18; }
.hub__head { max-width: 760px; margin: 6px auto 34px; text-align: center; }
.hub__head h1 { margin: 16px 0 12px; font-size: clamp(2.1rem, 4.2vw, 3.5rem); letter-spacing: -.035em; line-height: 1.06; color: #fff; }
.hub__head p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.hub__paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hpath { --c: #305eff; --c2: #00a3ff; position: relative; display: grid; grid-template-rows: auto auto 1fr auto auto auto; gap: 8px; padding: 22px; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; animation: path-in .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.hpath::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.hpath:hover { transform: translateY(-6px); box-shadow: 0 36px 60px -30px rgba(0, 0, 0, .75); }
.hpath--pink { --c: #e0457b; --c2: #a35bff; }
.hpath--violet { --c: #6d4fe0; --c2: #a35bff; }
.hpath--teal { --c: #0a8a8a; --c2: #23c4b5; }
.hpath__ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 6px; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 12px 22px -12px var(--c); }
.hpath h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.hpath p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.hpath__win { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.hpath__go { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 6px; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); }
.hpath__go i { transition: transform .2s; }
.hpath__go:hover i { transform: translateX(3px); }
.hpath__more { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hpath__more a { display: inline-flex; min-height: 32px; align-items: center; font-size: 13px; font-weight: 600; color: var(--c); }
.hpath__more a:hover { text-decoration: underline; }
.hub__status { margin: 26px auto 0; display: flex; width: fit-content; }
.hub__status a { color: #fff; }
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.glance__item { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.glance__item:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -24px rgba(15, 29, 54, .5); }
.glance__item > span { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 12px; font-size: 17px; color: #fff; background: var(--c, var(--blue)); }
.glance__item b { display: block; margin-bottom: 4px; font-size: 17px; color: var(--ink); }
.glance__item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.glance__item a { font-weight: 600; color: var(--blue); }
.lsteps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lsteps--3::before { left: 17%; right: 17%; }
.hub__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
/* policy / document pages */
.dochero { padding-bottom: 34px; }
.dochero__row { display: flex; align-items: center; gap: 20px; }
.dochero__ico { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--grad-btn); box-shadow: 0 16px 30px -16px rgba(48, 94, 255, .8); }
.dochero h1 { margin: 0 0 8px; }
.dochero .phero__lead { margin: 0; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1080px; }
.doc__nav { position: sticky; top: calc(var(--header-h) + 24px); padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.doc__nav p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.doc__nav ol, .doc__nav ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.doc__nav a { display: block; padding: 6px 10px; border-radius: 9px; color: var(--body); transition: background .2s, color .2s; }
.doc__nav a:hover { color: var(--blue); background: var(--blue-soft); }
.doc__nav .doc__other { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.doc__body { padding: 36px 40px; }
.doc__body section { scroll-margin-top: calc(var(--header-h) + 20px); }
.doc__body section + section { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.doc__body h2 { display: block; margin: 0 0 12px; font-size: 1.3rem; }
.doc__body p, .doc__body li { font-size: 15.5px; line-height: 1.75; color: var(--body); }
.doc__body ul { margin: 0 0 12px; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.doc__body ul li { position: relative; padding-left: 22px; }
.doc__body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.doc__body a { font-weight: 600; color: var(--blue); }
.doc__table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.doc__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc__table th, .doc__table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.doc__table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ink); }
.doc__table tr:last-child td { border-bottom: 0; }
.doc__table tr:nth-child(even) td { background: #fafbfe; }
.doc__contact { display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 16px 18px; border-radius: 14px; background: #eef3ff; border: 1px solid #d3defd; font-size: 15px; color: #1d3270; }
.doc__contact i { margin-top: 4px; color: var(--blue); }
/* why AISEE */
.swhy { padding-top: 64px; }
.swhy__intro { max-width: 780px; margin: -12px auto 32px; text-align: center; }
.swhy__intro p { font-size: 16.5px; line-height: 1.75; color: var(--body); }
.swhy__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.swhy__card { padding: 26px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f8faff); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.swhy__card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 29, 54, .5); }
.swhy__ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; font-size: 19px; color: #fff; background: var(--c, var(--blue)); box-shadow: 0 12px 22px -12px var(--c, var(--blue)); }
.swhy__card b { display: block; margin-bottom: 6px; font-size: 18px; color: var(--ink); }
.swhy__card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* shared sections */
.selig { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.selig__item { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.selig__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; font-size: 17px; color: #fff; background: var(--c, var(--blue)); }
.selig__item b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }
.selig__item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.selig__item a { font-weight: 600; color: var(--blue); }
.sexam { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sexam h2, .sapply h2, .smerit h2 { margin: 12px 0 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.15; }
.sexam > div:first-child p { color: var(--muted); }
.sexam .lprog__mark { margin: 16px 0 8px; }
.sexam__split { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 12px; padding: 24px; border-radius: 22px; background: var(--bg-soft); }
.sexam__split > div { display: grid; justify-items: center; align-content: end; gap: 6px; height: calc(var(--n) * 7px + 60px); padding: 12px 6px; border-radius: 14px; text-align: center; color: #fff; background: var(--grad-btn); }
.sexam__split > div:last-of-type { background: linear-gradient(180deg, #a35bff, #6d4fe0); }
.sexam__split b { font-size: 26px; line-height: 1; }
.sexam__split span { font-size: 12.5px; font-weight: 600; line-height: 1.3; opacity: .92; }
.sexam__total { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; font-weight: 600; color: var(--ink); }
.sslab__note { max-width: 720px; margin: 16px auto 0; text-align: center; font-size: 14.5px; color: var(--muted); }
.sslab__note a { font-weight: 600; color: var(--blue); }
.sapply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.sapply__side { position: sticky; top: calc(var(--header-h) + 24px); }
.sapply__side p { color: var(--muted); }
.sapply__fee { display: grid; margin: 18px 0 20px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #fff7ec, #fff1e3); border: 1px solid #ffd9ad; }
.sapply__fee span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #b45309; }
.sapply__fee b { font-size: 34px; line-height: 1.15; letter-spacing: -.03em; color: #c2410c; }
.sapply__fee small { font-size: 13px; color: #7c4a1a; }
.scourses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.scourses__item { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.scourses__item:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(15, 29, 54, .5); }
.scourses__item i { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; color: #fff; background: var(--c, var(--blue)); }
.scourses__item b { font-size: 15.5px; color: var(--ink); }
.smerit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.smerit p { color: var(--body); }
.smerit .formula { margin: 18px 0 8px; }
.smerit__note { font-size: 13.5px; color: var(--muted) !important; }
.smerit .pcalc { margin-top: 0; }
.srel { padding: 48px 0 8px; }
.srel__title { margin: 0 0 16px; font-size: 1.3rem; }
.srel__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.srel__list a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.srel__list a:hover { color: var(--blue); border-color: #cfdcfb; }
.srel__list i { font-size: 13px; color: var(--blue); }

/* ---- inner pages: ≥961px (desktop only) ---- */
@media (min-width: 961px) {
  /* full-width pages (Participating Colleges): Apply + date | Important Links */
  .paside--row { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; align-items: start; }
  .paside--row > .aw--apply { grid-column: 1; grid-row: 1; }
  .paside--row > .aw--date { grid-column: 1; grid-row: 2; }
  .paside--row > .aw--links { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---- inner pages: ≤1100px (laptops, tablets & touch screens) ---- */
@media (max-width: 1100px) {
  .pnext__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcta { flex-direction: column; align-items: flex-start; }
}

/* ---- inner pages: ≤960px (tablets) ---- */
@media (max-width: 960px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .thero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sph__grid, .sexam, .sapply, .smerit { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sph { padding-bottom: 80px; }
  .sticket { margin: 0 auto; }
  .sband { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .sband li:nth-child(3) { border-left: 0; }
  .swhy__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .sslabs__grid { grid-template-columns: minmax(0, 1fr); }
  .hub__paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__nav { position: static; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spays { position: static; }
  .selig, .scourses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sapply__side { position: static; }
  .ihero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .iroad { max-width: 480px; }
  .lprog, .lcourse, .lfaq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lwin { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .lsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .lsteps::before { display: none; }
  .cquick { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cquick__item { padding: 14px; }
  .tact { max-width: 560px; }
  .thow__steps { grid-template-columns: minmax(0, 1fr); }
  .thow__steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
  .thow__no { grid-row: span 2; margin: 0; }
  /* tablets & phones: fact cards become one compact, swipeable row so the content starts sooner */
  .phero__facts { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 6px; scroll-padding-inline: 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .phero__facts::-webkit-scrollbar { display: none; }
  .pfact { flex: 0 0 auto; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; scroll-snap-align: start; }
  .pfact i { grid-row: span 2; width: 32px; height: 32px; margin: 0; font-size: 13px; border-radius: 10px; }
  .pfact b { font-size: 14.5px; white-space: nowrap; }
  .pfact small { margin-top: 0; max-width: 170px; font-size: 11.5px; line-height: 1.3; }
  .pwrap__grid { grid-template-columns: minmax(0, 1fr); }
  /* tablets: two balanced columns (Apply + date | Important Links), flowing in markup order */
  .paside, .paside--row { display: block; columns: 2; column-gap: 16px; }
  .paside > .aw { break-inside: avoid; margin-bottom: 16px; }
  .paside > .aw--apply { position: relative; top: auto; }
  .cdir__row { grid-template-columns: 48px minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, 1.3fr); }
  /* Important Dates: status → schedule → quick actions | links */
  .dpage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-template-areas: "sched sched" "quick links"; }
  .dbanner__row { flex-direction: column; align-items: stretch; }
  .dstat { flex: none; }
  .cdir__type, .cdir__row--head > :nth-child(5) { display: none; } /* tablets: hide the Type column and its header */
}

/* ---- inner pages: ≤640px (phones) ---- */
@media (max-width: 640px) {
  .phero { padding: 16px 0 34px; }
  .crumbs { margin-bottom: 18px; font-size: 12.5px; }
  .phero h1 { font-size: clamp(1.55rem, 7vw, 1.9rem); line-height: 1.16; margin: 12px 0 10px; }
  .phero__lead { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
  /* phones: compact hero so the page content starts on the first screen */
  .phero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .phero__cta .btn--lg { padding: 12px 10px; font-size: 14px; white-space: normal; text-align: center; }
  .phero__facts { margin: 0 -18px; padding: 2px 18px 6px; scroll-padding-inline: 18px; }
  /* contact: compact tiles, single-column form */
  .chero__top { margin-bottom: 16px; }
  .chero__status { font-size: 12px; padding: 6px 12px; }
  .cquick__ico { width: 42px; height: 42px; font-size: 17px; border-radius: 12px; }
  .cquick__item--wa .cquick__ico { font-size: 21px; }
  .cquick__txt b { font-size: 15px; }
  .desk__tabs button { min-height: 52px; font-size: 14px; }
  .desk__panel { padding: 20px 18px 22px; }
  .desk__row { grid-template-columns: minmax(0, 1fr); }
  .desk__form .btn, .desk__login .btn { justify-self: stretch; }
  .desk__msgb { max-width: 92%; }
  /* scholarship in india: compact hero, smaller flags */
  .ihero { padding: 14px 0 20px; }
  .ihero h1 { margin: 12px 0 10px; }
  .ihero__lead { font-size: 15px; margin-bottom: 18px; }
  .ihero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
  .ihero__cta .btn--lg { padding: 12px 8px; font-size: 14px; white-space: normal; text-align: center; }
  .ihero__stats { gap: 6px; }
  .ihero__stats li { padding: 9px 10px; border-radius: 12px; }
  .ihero__stats b { font-size: 15px; }
  .ihero__stats span { font-size: 11px; }
  .iflag, .iflag--you { --h: 26px; }
  .iflag__card { min-width: 0; padding: 4px 7px 5px; border-radius: 8px 8px 8px 0; }
  .iflag--left .iflag__card { border-radius: 8px 8px 0 8px; }
  .iflag__card b { font-size: 12.5px; }
  .iflag__card span { font-size: 11px; }
  .iflag__card small { display: none; }
  .iflag--you .iflag__card small { display: block; font-size: 11px; }
  .iflag__pin { left: -7px; top: -5px; width: 14px; height: 10px; border-width: 2.5px; }
  .lp__sec { padding: 44px 0; }
  .istatus { margin: -6px 0 18px; font-size: 12.5px; }
  .lp__head { margin-bottom: 24px; }
  .lp__head h2, .lcourse h2, .lfaq h2, .labout h2 { font-size: clamp(1.45rem, 6.4vw, 1.75rem); }
  .lp__head p, .lcourse__copy > p { font-size: 15px; }
  .lprog__card { padding: 20px; gap: 14px; border-radius: 20px; }
  .lprog__top h3 { font-size: 19px; }
  .lprog__ico { width: 46px; height: 46px; font-size: 19px; }
  .lprog__nums b { font-size: 24px; }
  .lprog__nums li { padding: 10px 6px; }
  .lcourse__chips { gap: 8px; }
  .lcourse__chips li { padding: 7px 12px 7px 7px; font-size: 13.5px; gap: 8px; }
  .lcourse__chips li > i { width: 26px; height: 26px; font-size: 11px; }
  .lwin__card { padding: 20px; }
  .lwin__card b { font-size: 24px; }
  .lsteps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .lsteps li { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; column-gap: 14px; row-gap: 2px; padding: 0 0 22px; text-align: left; }
  .lsteps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, #b9c9fb 0 6px, transparent 6px 12px); }
  .lsteps__no { grid-row: span 2; width: 48px; height: 48px; margin: 0; font-size: 18px; box-shadow: 0 0 0 6px #fff; }
  .lsteps li:last-child .lsteps__no { box-shadow: 0 0 0 6px #fff; }
  .lsteps__more { margin-top: 8px; justify-content: flex-start; }
  .lfaq__side .btn { width: 100%; }
  .labout { grid-template-columns: minmax(0, 1fr); gap: 14px; text-align: left; }
  .labout img { width: 72px; height: 72px; }
  /* engineering / medical pages */
  .sph { padding: 14px 0 72px; }
  .sph h1 { margin: 12px 0 10px; font-size: clamp(1.65rem, 7.2vw, 2rem); }
  .sph__lead { font-size: 15.5px; margin-bottom: 18px; }
  .sph .phero__cta { margin-bottom: 16px; }
  .sproof { gap: 10px; margin-bottom: 14px; }
  .sproof__faces img, .sproof__plus { width: 34px; height: 34px; margin-left: -9px; }
  .sproof__txt b { font-size: 13.5px; }
  .sproof__txt small { font-size: 12px; }
  .sfloat { display: none; }
  .sticket { transform: none; animation: none; }
  .sticket__nums b { font-size: 24px; }
  .scost { padding: 18px; }
  .scost__bar b { font-size: 17px; }
  .scloud__hub { padding: 16px 24px; }
  .scloud__hub b { font-size: 20px; }
  .scloud ul { gap: 7px; }
  .scloud li { padding: 7px 11px; font-size: 12.5px; gap: 6px; }
  .sgauge { padding: 16px; }
  .sgauge figcaption b { font-size: 38px; }
  .sband-wrap { margin-top: -50px; }
  .sband { padding: 12px; gap: 4px; }
  .sband li { padding: 6px 4px; gap: 8px; }
  .sband li:nth-child(odd) { border-left: 0; }
  .sband i { width: 34px; height: 34px; font-size: 13px; }
  .sband b { font-size: 15px; }
  .sband small { font-size: 11px; }
  .swhy { padding-top: 48px; }
  .swhy__intro p { font-size: 15px; text-align: left; }
  .swhy__card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .swhy__ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; font-size: 16px; }
  .swhy__card b { font-size: 16px; }
  .selig, .scourses { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .selig__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .selig__ico { grid-row: span 2; width: 40px; height: 40px; margin: 0; font-size: 15px; }
  .sexam__split { padding: 16px; gap: 8px; }
  .sexam__split > div { height: calc(var(--n) * 5px + 56px); }
  .sexam__split b { font-size: 20px; }
  .sexam__split span { font-size: 11px; }
  .sexam h2, .sapply h2, .smerit h2 { font-size: clamp(1.45rem, 6.4vw, 1.75rem); }
  .sapply__fee b { font-size: 28px; }
  .srel__list a { font-size: 13px; }
  .dochero__row { align-items: flex-start; gap: 14px; }
  .dochero__ico { width: 48px; height: 48px; font-size: 19px; border-radius: 14px; }
  .doc__nav ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .doc__nav ol a { padding: 6px 10px; background: var(--bg-soft); }
  .doc__body { padding: 22px 18px; }
  .doc__body p, .doc__body li { font-size: 15px; }
  .hub { padding: 14px 0 86px; }
  .hub__head { margin-bottom: 22px; text-align: left; }
  .hub__head h1 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); }
  .hub__head p { font-size: 15.5px; }
  .hub__paths { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hpath { grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: none; column-gap: 14px; row-gap: 4px; padding: 16px; }
  .hpath__ico { grid-row: span 3; width: 46px; height: 46px; margin: 0; font-size: 18px; }
  .hpath h2 { font-size: 17px; }
  .hpath p { font-size: 13.5px; }
  .hpath__go, .hpath__more { grid-column: 1 / -1; }
  .hub__status { margin-top: 18px; width: auto; }
  .glance { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .glance__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .glance__item > span { grid-row: span 2; width: 40px; height: 40px; margin: 0; font-size: 15px; }
  .lsteps--3 { grid-template-columns: minmax(0, 1fr); }
  .hub__cta .btn { flex: 1 1 100%; }
  .stier { padding: 8px; }
  .stier__row { grid-template-columns: 84px minmax(0, 1fr); gap: 6px 12px; padding: 10px; }
  .stier__pct { grid-row: span 2; }
  .stier__pct b { font-size: 14px; }
  .stier__row.is-top .stier__pct b { font-size: 15px; }
  .stier__bar { grid-column: 2; grid-row: 2; height: 9px; }
  .stier__val { grid-column: 2; grid-row: 1; font-size: 13.5px; }
  .stier__crown { right: 8px; font-size: 10.5px; }
  .spays { padding: 16px; }
  /* free test series: offer text stays short so the activation card is on the first screen */
  .thero__badge { margin-bottom: 10px; font-size: 12px; }
  .thero__points { display: none; }
  .thero__login { display: none; }
  .tact { max-width: none; padding: 18px; border-radius: 18px; }
  .tact__head { margin-bottom: 14px; }
  .tact__steps li { padding: 6px; font-size: 11px; }
  .tlogin { flex-wrap: wrap; padding: 18px; }
  .tlogin .btn { width: 100%; }
  .thow__steps li { padding: 16px; }
  .pwrap { padding: 22px 0 40px; }
  .pmain { gap: 14px; }
  .pbox { padding: 22px 18px; border-radius: 18px; }
  .pbox h2 { font-size: 1.2rem; gap: 10px; align-items: flex-start; }
  .pbox__ico { width: 34px; height: 34px; font-size: 14px; border-radius: 10px; }
  .pbox p { font-size: 15px; }
  .callout { font-size: 14px; padding: 14px; }
  .fgrid { grid-template-columns: 1fr; }
  .fitem { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 14px; }
  .fitem > i { grid-row: span 2; }
  .fitem b { margin: 0 0 2px; }
  .pquote { padding: 16px 16px 16px 48px; }
  .pquote > i { left: 16px; top: 18px; font-size: 17px; }
  .pquote p { font-size: 15.5px; }
  .checks li { font-size: 14.5px; padding: 12px 14px; }
  /* slab table: one course column at a time, chosen with the picker above it (JS adds .slab-pick) */
  .slab-legend { display: none; }
  .slab-pick { display: flex; gap: 6px; overflow-x: auto; margin: 0 -18px 12px; padding: 2px 18px 4px; scroll-padding-inline: 18px; scrollbar-width: none; }
  .slab-pick::-webkit-scrollbar { display: none; }
  .slab-pick button { flex: none; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #1f3fae; background: var(--blue-soft); }
  .slab-pick button[aria-selected="true"] { color: #fff; background: var(--blue); }
  .slab th, .slab td { padding: 10px 12px; }
  .slab thead th { font-size: 11px; }
  .slab.has-pick th:not(:first-child):not(.is-col), .slab.has-pick td:not(.is-col) { display: none; }
  .slab { table-layout: fixed; }
  .slab tbody th, .slab thead th:first-child { width: 44%; font-size: 14px; white-space: normal; }
  .slab__bar { max-width: 90px; }
  .slab td .tag { font-size: 12.5px; }
  .example { flex-direction: column; }
  .example__arrow { transform: rotate(90deg); }
  .example__card { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; }
  .example__who { grid-row: span 3; margin: 0; }
  .example__card em { margin-top: 2px; }
  .vs { grid-template-columns: 1fr; }
  .nsteps li, .terms li { font-size: 14.5px; }
  .formula { font-size: 15px; padding: 12px; }
  .pcalc { grid-template-columns: 1fr; padding: 16px; }
  .ptl__item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; }
  .ptl__item:not(:last-child)::before { left: 19px; top: 44px; }
  .ptl__no { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
  .ptl__body { padding: 12px 14px; }
  .ptl__body b { font-size: 15.5px; }
  .ptl__body p { font-size: 14px; }
  .ptl__link { min-height: 40px; margin-top: 4px; }
  .paside, .paside--row { display: grid; columns: auto; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .paside > .aw { margin-bottom: 0; }
  .paside > .aw--apply { order: 0; }
  .cdir__bar { flex-direction: column; }
  .cdir__limit { width: 100%; }
  .cdir__search input, .cdir__limit select { height: 50px; }
  .cdir__limit select { height: 44px; font-size: 15px; }
  .cdir__chips { flex-wrap: nowrap; overflow-x: auto; margin: 12px -18px 14px; padding: 0 18px 4px; scrollbar-width: none; }
  .cdir__chips::-webkit-scrollbar { display: none; }
  .cdir__chips button { flex: none; }
  .cdir__table { border: 0; border-radius: 0; overflow: visible; }
  .cdir__row--head { display: none; }
  [data-cdir-list] { display: grid; gap: 10px; }
  .cdir__row, [data-cdir-list] > .cdir__row:last-child { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
  [data-cdir-list] > .cdir__row:nth-child(even) { background: #fff; }
  .cdir__no { display: none; }
  .cdir__name { grid-column: 1 / -1; }
  .cdir__name small { display: none; } /* phones: name, location, website, type only */
  .cdir__type { text-align: left; }
  .cdir__type { display: block; grid-column: 1 / -1; }
  .cdir__web { grid-column: 1 / -1; }
  .cdir__web a { min-height: 32px; align-items: center; }
  .cdir__row--skel span:nth-child(n+3) { display: none; }
  .cdir__pager { flex-wrap: wrap; justify-content: center; }
  .cdir__pager span { order: -1; flex-basis: 100%; text-align: center; }
  .cdir__pager .btn { flex: 1; }
  .pnext { padding: 36px 0 44px; }
  .pnext__grid { grid-template-columns: 1fr; gap: 10px; }
  .nextc { padding: 14px; }
  .pcta { margin-top: 28px; padding: 28px 20px; border-radius: 20px; gap: 22px; }
  .pcta__actions { width: 100%; }
  .pcta__actions .btn { flex: 1 1 100%; }
  .pcta__help { justify-content: center; }
  /* phones: every event is its own card (status → name → dates), so a chip or date can't be read as part of the next event */
  .dline::before { left: 21px; }
  .dline__item, .dline--all-done .dline__item { isolation: isolate; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 8px 12px; align-items: center; margin: 0 0 10px; padding: 12px 12px 14px 0; }
  .dline__item::after { content: ""; position: absolute; z-index: -1; inset: 0 0 0 56px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #e3e9f6, 0 6px 16px -14px rgba(15, 29, 54, .5); }
  .dline__item.is-next::after { background: #fff8f0; box-shadow: inset 0 0 0 1px #ffd9ad; }
  .dline__item.is-live::after { background: #f0fdf6; box-shadow: inset 0 0 0 1px #bbf0d1; }
  .dline__ico { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 44px; height: 44px; border-radius: 13px; font-size: 16px; }
  .dline__state { grid-column: 2; grid-row: 1; justify-self: start; margin-left: 12px; font-size: 11.5px; }
  .dline__add { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
  .dline__body, .dline__item.is-next .dline__body, .dline__item.is-live .dline__body { grid-column: 2 / -1; grid-row: 2; padding: 0 0 0 12px; background: none; box-shadow: none; }
  .dline__body b { font-size: 14.5px; }
  .dline__fold-x { display: none; }
  .drange__part small { font-size: 11px; }
  /* phones: Starts | Ends side by side, label above the date */
  .drange { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .drange:has(> .drange__part:only-child) { grid-template-columns: 1fr; }
  .drange__part { display: grid; gap: 1px; padding: 6px 10px; font-size: 13px; }
  .drange__to { display: none; }
  .dpage { padding-bottom: 40px; }
          .dpage__cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dpage__cta .btn { padding: 11px 10px; font-size: 14px; }
  .dpage__cta .dpage__closed, .dpage__cta .btn--wa { grid-column: 1 / -1; justify-content: center; }
  .dpage__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sched" "quick" "links"; gap: 14px; }
  .dbanner { padding: 12px 0 18px; }
  .dbanner .crumbs { margin-bottom: 10px; }
  .dbanner h1 { font-size: clamp(1.45rem, 6.4vw, 1.8rem); }
  .dbanner p { font-size: 14px; margin-bottom: 12px; }
  .dbanner__row { gap: 12px; }
  .dstat { padding: 10px 12px; gap: 12px; border-radius: 14px; }
  .dstat__ico { width: 36px; height: 36px; font-size: 14px; border-radius: 11px; }
  .dstat__txt > b { font-size: 14px; }
  .dstat__txt > span { font-size: 12.5px; }
  .dpage { padding-top: 16px; }
                  .dline__today::before { margin-left: 15px; }
  .dline__fold button { margin-left: 56px; }
  .dquick__btn { min-height: 56px; }
}

/* ---- inner pages: ≤380px (small phones) ---- */
@media (max-width: 380px) {
  .dpage__cta { grid-template-columns: 1fr; }
  .drange { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .drange__part { padding: 5px 7px; font-size: 12px; }
  .dline__item, .dline--all-done .dline__item { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 8px; padding-right: 10px; }
  .dline__item::after { left: 44px; }
  .dline__state { margin-left: 10px; }
  .dline__body, .dline__item.is-next .dline__body, .dline__item.is-live .dline__body { padding-left: 10px; }
  .dline__ico { width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
  .dline::before { left: 17px; }
  .dline__today::before { margin-left: 11px; }
  .dline__fold button { margin-left: 44px; }
}

/* animations */
@keyframes skel { to { background-position: -200% 0; } }
@keyframes path-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes bar-grow { to { transform: scaleX(1); } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes tilt-float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
@keyframes lane-run { to { stroke-dashoffset: -26; } }
@keyframes flag-ping { 0% { box-shadow: 0 0 0 0 var(--c); } 100% { box-shadow: 0 0 0 14px transparent; } }


/* =========================================================
   20. SCROLL REVEAL
   Fade-up on scroll (JS adds .is-in). Only active when JS runs (html.js).
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }


/* =========================================================
   21. REDUCED MOTION
   Visitors who turn off animations in their OS settings get a static page.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .orb, .orb__ring, .orb::after { animation: none !important; }
  .orb__f { animation: none !important; }
  .orb__f--1 { opacity: 1; transform: none; }
}

/* Support desk: formatted AISEE replies, attachments */
.desk__msgb--rich { white-space: normal; }
.desk__msgb--rich ul, .desk__msgb--rich ol { margin: 4px 0; padding-left: 20px; }
.desk__msgb--desc { white-space: pre-wrap; }
.desk__file { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--blue, #305eff); text-decoration: none; word-break: break-all; }
.desk__file:hover { text-decoration: underline; }
.desk__attach { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0; padding: 6px 10px; border: 1px dashed #cfd7e4; border-radius: 10px; font-size: 12.5px; color: #64748b; cursor: pointer; max-width: 100%; }
.desk__attach span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk__attach:hover { border-color: #305eff; color: #305eff; }

/* Support desk: progress, new replies, mark solved */
.desk__prog { display: flex; align-items: center; gap: 6px; margin: 4px 0 12px; font-size: 12.5px; color: #64748b; }
.desk__prog b { flex: 1; height: 2px; background: #e3e9f6; border-radius: 2px; min-width: 12px; }
.desk__prog span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.desk__prog i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e3e9f6; color: #64748b; font: 700 11px/1 inherit; font-style: normal; }
.desk__prog .is-done i { background: #12a150; color: #fff; }
.desk__prog .is-done + b { background: #12a150; }
.desk__prog .is-now { color: #0f1d36; font-weight: 600; }
.desk__prog .is-now i { background: #305eff; color: #fff; }
.desk__item.is-new { border-color: #c9d7ff; background: #f5f8ff; }
.desk__new { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #305eff; color: #fff; font: 600 10.5px/1.6 inherit; font-style: normal; vertical-align: middle; }
.desk__replyrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
