/* ==========================================================================
   GENIUS IAS | School of Humanities
   style.css — Core design system, layout & components
   --------------------------------------------------------------------------
   1.  Design tokens & reset
   2.  Base typography & utilities
   3.  Buttons, chips, badges
   4.  Cards & glass surfaces
   5.  Preloader
   6.  Scroll progress, back-to-top, cursor glow
   7.  Topbar
   8.  Navbar & mobile menu
   9.  Home hero
   10. Inner page hero
   11. Stats / trust strip
   12. About split section
   13. Why-us grid
   14. Program cards
   15. Journey timeline
   16. Results & slider
   17. Faculty
   18. CTA band
   19. Footer
   20. Courses page (filters / search / modal)
   21. Program detail pages
   22. FAQ
   23. Contact
   24. Portal
   25. School pages
   26. Global modal & toast
   ========================================================================== */

/* ---------- 1. Design tokens & reset ---------- */
:root {
  --primary: #1234B8;
  --primary-dark: #071A63;
  --primary-light: #2858E8;
  --accent: #FFC928;
  --accent-light: #FFD84A;
  --white: #FFFFFF;
  --light-bg: #F5F7FF;
  --text-dark: #071A63;
  --text-light: #B8C4E8;
  --dark: #050D2A;

  --grad-hero: radial-gradient(1200px 700px at 85% -10%, rgba(40, 88, 232, .55), transparent 60%),
               radial-gradient(900px 600px at -10% 110%, rgba(18, 52, 184, .45), transparent 55%),
               linear-gradient(160deg, #071A63 0%, #050D2A 55%, #04091F 100%);
  --grad-gold: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 55%, #FFE58A 100%);
  --grad-blue: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);

  --glass-dark: rgba(10, 22, 66, .55);
  --glass-border: rgba(184, 196, 232, .18);
  --glass-border-strong: rgba(184, 196, 232, .35);

  --shadow-soft: 0 18px 50px -18px rgba(4, 9, 31, .45);
  --shadow-card: 0 10px 34px -12px rgba(7, 26, 99, .22);
  --shadow-gold: 0 10px 30px -8px rgba(255, 201, 40, .45);
  --shadow-blue: 0 14px 40px -10px rgba(18, 52, 184, .45);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', 'Playfair Display', Georgia, serif;

  --topbar-h: 42px;
  --nav-h: 78px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur: .45s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--primary-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. Base typography & utilities ---------- */
.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}
.container--wide { width: min(1360px, 100% - 40px); }

.section { padding: 96px 0; position: relative; }
.section--light { background: var(--light-bg); }
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--dark .section-title { color: var(--white); }
.section--dark p { color: var(--text-light); }
.section--grad {
  background: var(--grad-hero);
  color: var(--white);
}
.section--grad .section-title { color: var(--white); }
.section--grad p { color: var(--text-light); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.label::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.section--dark .label,
.section--grad .label,
.hero .label { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--simple { margin-bottom: 30px; }
.section-head--simple .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0;
  white-space: nowrap;
}
.section-head--simple .section-title::before,
.section-head--simple .section-title::after {
  content: "";
  width: 72px;
  height: 2px;
  border-radius: 2px;
  flex: none;
}
.section-head--simple .section-title::before { background: linear-gradient(90deg, transparent, var(--accent)); }
.section-head--simple .section-title::after { background: linear-gradient(90deg, var(--accent), transparent); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .label { justify-content: center; }
.section-head--center .label::after {
  content: ""; width: 28px; height: 2px;
  background: var(--grad-gold); border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--text-dark);
  margin: 14px 0 16px;
}
.section-title em {
  font-style: italic;
  color: var(--primary);
}
.section--dark .section-title em,
.section--grad .section-title em { color: var(--accent); }

.section-sub {
  font-size: 1.02rem;
  color: #4a5a8c;
  max-width: 640px;
}
.section-head--center .section-sub { margin-inline: auto; }
.section--dark .section-sub { color: var(--text-light); }

.gold-text { color: var(--accent); }
.muted { color: #5a6a9c; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 3000;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 3. Buttons, chips, badges ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
              background-color .3s var(--ease-soft), border-color .3s var(--ease-soft),
              color .3s var(--ease-soft);
  will-change: transform;
  cursor: pointer;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg.btn-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(-1px) scale(.985); }

/* shine sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn--gold {
  background: var(--grad-gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px rgba(255, 201, 40, .55); }

.btn--blue {
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--blue:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -8px rgba(18, 52, 184, .6); }

.btn--glass {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .4);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .14);
  border-color: var(--accent);
  box-shadow: 0 12px 30px -10px rgba(255, 201, 40, .35);
}

.btn--outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover { transform: translateY(-3px); background: var(--primary); color: var(--white); box-shadow: var(--shadow-blue); }

.btn--ghost-dark {
  border: 1.5px solid rgba(7, 26, 99, .25);
  color: var(--text-dark);
}
.btn--ghost-dark:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--primary); }

.btn--sm { min-height: 42px; padding: 9px 20px; font-size: .76rem; }
.btn--lg { min-height: 56px; padding: 15px 36px; font-size: .95rem; }
.btn--block { width: 100%; }

.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__label { visibility: hidden; }
.btn__spinner {
  position: absolute;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(7, 26, 99, .3);
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  display: none;
  animation: spin .8s linear infinite;
}
.btn.is-loading .btn__spinner { display: block; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 3px;
}
.link-more::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.link-more:hover::after { transform: scaleX(1); }
.link-more svg { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.link-more:hover svg { transform: translateX(4px); }
.section--dark .link-more, .section--grad .link-more { color: var(--accent); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(18, 52, 184, .08);
  color: var(--primary);
  border: 1px solid rgba(18, 52, 184, .16);
}
.chip--gold {
  background: rgba(255, 201, 40, .14);
  border-color: rgba(255, 201, 40, .45);
  color: #8a6a00;
}
.section--dark .chip, .section--grad .chip {
  background: rgba(255, 255, 255, .08);
  border-color: var(--glass-border);
  color: var(--text-light);
}
.section--dark .chip--gold, .section--grad .chip--gold { color: var(--accent); border-color: rgba(255, 201, 40, .4); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--grad-gold);
  color: var(--primary-dark);
}
.badge--blue { background: var(--grad-blue); color: var(--white); }
.badge--glass {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
}

/* ---------- 4. Cards & glass surfaces ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px -20px rgba(7, 26, 99, .32);
  border-color: rgba(255, 201, 40, .55);
}

.glass-card {
  position: relative;
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 201, 40, .5);
  box-shadow: 0 24px 60px -18px rgba(2, 6, 23, .65);
}

.icon-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 52, 184, .1), rgba(40, 88, 232, .16));
  border: 1px solid rgba(18, 52, 184, .18);
  color: var(--primary);
  transition: transform .45s var(--ease-out), background .45s, color .45s, box-shadow .45s;
}
.icon-tile svg { width: 26px; height: 26px; }
.section--dark .icon-tile, .section--grad .icon-tile {
  background: linear-gradient(135deg, rgba(255, 201, 40, .12), rgba(255, 201, 40, .2));
  border-color: rgba(255, 201, 40, .35);
  color: var(--accent);
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071A63' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  box-shadow: 0 4px 10px -3px rgba(255, 201, 40, .55);
}
.section--dark .check-list li, .section--grad .check-list li { color: var(--text-light); }

/* ---------- 5. Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--grad-hero);
  transition: opacity .55s var(--ease-soft), visibility .55s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.preloader__mark {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--primary-dark);
  box-shadow: 0 14px 44px -8px rgba(255, 201, 40, .5);
  animation: preloaderPulse 1.6s var(--ease-soft) infinite;
}
.preloader__img {
  width: min(300px, 72vw);
  height: auto;
  display: block;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 14px 44px -8px rgba(255, 201, 40, .5);
  animation: preloaderPulse 1.6s var(--ease-soft) infinite;
}
.preloader__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
  text-indent: .3em;
}
.preloader__sub {
  font-size: .68rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--accent);
  text-indent: .42em;
}
.preloader__bar {
  width: min(240px, 60vw);
  height: 3px;
  border-radius: 3px;
  background: rgba(184, 196, 232, .18);
  overflow: hidden;
}
.preloader__bar::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 3px;
  background: var(--grad-gold);
  animation: preloaderSlide 1.1s var(--ease-soft) infinite;
}

/* ---------- 6. Scroll progress, back-to-top, cursor glow ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 2200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--grad-gold);
  box-shadow: 0 0 12px rgba(255, 201, 40, .8);
  border-radius: 0 3px 3px 0;
}

.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1500;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.85);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover { transform: translateY(-4px) scale(1.06); }
.back-to-top svg { width: 20px; height: 20px; }

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, rgba(40, 88, 232, .16) 0%, rgba(255, 201, 40, .05) 38%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .5s;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.is-active { opacity: 1; }
}

/* ---------- 7. Topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 1050;
  display: flex;
  align-items: center;
  background: rgba(4, 9, 31, .82);
  border-bottom: 1px solid rgba(184, 196, 232, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-light);
  font-size: .78rem;
  transition: transform .4s var(--ease-out);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__inner {
  width: min(1360px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__contacts { display: flex; align-items: center; gap: 22px; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s;
}
.topbar__item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
a.topbar__item:hover { color: var(--accent); }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links a {
  position: relative;
  letter-spacing: .05em;
  font-weight: 500;
  padding: 4px 0;
  transition: color .25s;
}
.topbar__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.topbar__links a:hover { color: var(--accent); }
.topbar__links a:hover::after { transform: scaleX(1); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(184, 196, 232, .22);
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.topbar__social a svg { width: 13px; height: 13px; }
.topbar__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); transform: translateY(-2px); }

/* ---------- 8. Navbar & mobile menu ---------- */
.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1040;
  display: flex;
  align-items: center;
  background: #FAF8F3;
  border-bottom: 1px solid rgba(7, 26, 99, .1);
  box-shadow: 0 10px 30px -14px rgba(7, 26, 99, .25);
  transition: top .4s var(--ease-out), background-color .4s var(--ease-soft),
              box-shadow .4s var(--ease-soft), border-color .4s;
}
.navbar::before {
  /* off-white navbar needs no dark scrim */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #FAF8F3;
  opacity: 1;
  transition: opacity .4s;
}
.navbar.is-scrolled {
  top: 0;
  background: #FAF8F3;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(7, 26, 99, .12);
  box-shadow: 0 14px 34px -14px rgba(7, 26, 99, .3);
}
.navbar.is-scrolled::before { opacity: 1; }
.navbar.is-top-hidden { top: 0; }

.navbar__inner {
  width: min(1360px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--text-dark);
}
.navbar__logo-img {
  height: 54px;
  width: auto;
  max-width: 300px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.mobile-menu__head .navbar__logo-img {
  height: 46px;
  max-width: 230px;
  mix-blend-mode: normal;
  background: var(--white);
  border-radius: 8px;
  padding: 4px 10px;
}
.mobile-menu__head .navbar__logo { color: var(--white); }
.mobile-menu__head .navbar__logo-name { font-size: 1.05rem; }
.navbar__logo-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
  box-shadow: 0 8px 22px -6px rgba(255, 201, 40, .55);
  transition: transform .4s var(--ease-out), box-shadow .4s;
  flex: none;
}
.navbar__logo:hover .navbar__logo-mark { transform: rotate(-6deg) scale(1.06); box-shadow: 0 12px 30px -6px rgba(255, 201, 40, .7); }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.navbar__logo-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 2.375rem;
  letter-spacing: .02em;
  word-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}
.navbar__logo-sub {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.navbar__nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.navbar__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
}
.navbar__link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 18px;
  min-height: 46px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--white);
  background: var(--primary-dark);
  border: 1px solid var(--primary-dark);
  border-radius: 0;
  white-space: nowrap;
  box-shadow: 0 3px 12px -4px rgba(7, 26, 99, .3);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.navbar__link:hover {
  box-shadow: 0 8px 22px -8px rgba(7, 26, 99, .55);
}
.navbar__link-sub {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-indent: .24em;
  color: #C99800;
  line-height: 1;
}
.navbar__link:hover .navbar__link-sub { color: var(--accent); }
.navbar__link::after { display: none; }
.navbar__link:hover {
  color: var(--white);
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.navbar__link.is-active,
.navbar__link.is-active:hover,
.navbar__link[aria-current="page"] {
  color: var(--primary-dark);
  background: #FAF8F3;
  border-color: var(--primary-dark);
  box-shadow: 0 3px 12px -4px rgba(7, 26, 99, .3), inset 0 -3px 0 var(--primary-dark);
}
.navbar__link.is-active .navbar__link-sub,
.navbar__link[aria-current="page"] .navbar__link-sub { color: var(--primary-dark); }
.navbar__cta.btn { border-radius: 0; }

.navbar__actions { display: flex; align-items: center; gap: 14px; flex: none; }

.hamburger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 0;
  border: 1px solid rgba(7, 26, 99, .25);
  background: rgba(7, 26, 99, .06);
  backdrop-filter: none;
  position: relative;
  transition: border-color .3s, background .3s;
}
.hamburger:hover { border-color: var(--primary-dark); background: rgba(7, 26, 99, .1); }
.hamburger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  border-radius: 0;
  background: var(--primary-dark);
  transition: transform .35s var(--ease-out), opacity .25s, background .3s;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  background: rgba(4, 9, 31, .92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-soft), visibility .4s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(184, 196, 232, .14);
}
.mobile-menu__close {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: transform .35s var(--ease-out), background .3s, border-color .3s;
}
.mobile-menu__close:hover { transform: rotate(90deg); background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.mobile-menu__close svg { width: 20px; height: 20px; }
.mobile-menu__body { padding: 26px 22px 40px; display: flex; flex-direction: column; gap: 26px; flex: 1; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  border-bottom: 1px solid rgba(184, 196, 232, .1);
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), color .25s;
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateX(0); }
.mobile-menu__link:hover, .mobile-menu__link.is-active { color: var(--accent); }
.mobile-menu__link small {
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .18em;
  color: rgba(184, 196, 232, .6);
  text-transform: uppercase;
}
.mobile-menu__cta { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out) .45s, transform .5s var(--ease-out) .45s; }
.mobile-menu.is-open .mobile-menu__cta { opacity: 1; transform: translateY(0); }
.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-light);
  opacity: 0;
  transition: opacity .5s var(--ease-out) .55s;
}
.mobile-menu.is-open .mobile-menu__contact { opacity: 1; }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.mobile-menu__contact svg { width: 17px; height: 17px; color: var(--accent); }
.mobile-menu__contact a:hover { color: var(--accent); }

/* ---------- 9. Home hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding: calc(var(--topbar-h) + var(--nav-h) + 56px) 0 84px;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 196, 232, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 196, 232, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: blobDrift 16s ease-in-out infinite alternate;
}
.hero__blob--1 { width: 480px; height: 480px; top: -140px; right: -100px; background: rgba(40, 88, 232, .5); }
.hero__blob--2 { width: 420px; height: 420px; bottom: -160px; left: -120px; background: rgba(18, 52, 184, .45); animation-delay: -5s; }
.hero__blob--3 { width: 260px; height: 260px; top: 30%; left: 42%; background: rgba(255, 201, 40, .14); animation-delay: -9s; }
.hero__particles { position: absolute; inset: 0; z-index: -2; }
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  width: min(1360px, 100% - 40px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__content { max-width: 680px; color: var(--white); min-width: 0; }
.hero__media {
  position: relative;
  margin: 0;
  transform: none;
  justify-self: end;
  width: 100%;
  max-width: 510px;
  aspect-ratio: 5 / 6;
  height: auto;
  min-height: 0;
  flex: none;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(184, 196, 232, .28);
  box-shadow: 0 34px 80px -22px rgba(2, 6, 23, .75), 0 18px 50px -18px rgba(255, 201, 40, .25);
  background: rgba(10, 22, 66, .4);
  isolation: isolate;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, transparent 55%, rgba(4, 9, 31, .38) 100%);
  pointer-events: none;
}
.hero__media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: rgba(5, 13, 42, .72);
  border: 1px solid rgba(255, 201, 40, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
}
.hero__media-badge strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}
.hero__media-badge span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.4;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 201, 40, .4);
  background: rgba(255, 201, 40, .1);
  backdrop-filter: blur(6px);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.6;
  overflow-wrap: break-word;
}
.hero__label .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 201, 40, .7);
  animation: dotPulse 2.2s infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  margin: 26px 0 22px;
  letter-spacing: .005em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .accent { color: var(--accent); font-style: italic; }
.hero__title .nowrap { white-space: normal; overflow-wrap: break-word; }

.hero__desc {
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 26px;
  border-top: 1px solid rgba(184, 196, 232, .16);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-light);
}
.hero__trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  z-index: 3;
  transition: color .3s;
}
.hero__scroll:hover { color: var(--accent); }
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -46px; left: 0;
  width: 1px; height: 46px;
  background: var(--white);
  animation: scrollLine 2s var(--ease-soft) infinite;
}

/* Floating result cards around hero — removed per design update */
.hero__floats { display: none !important; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-card {
  position: absolute;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 22, 66, .58);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -16px rgba(2, 6, 23, .7);
  animation: floatY 7s ease-in-out infinite;
  will-change: transform;
  transition: border-color .35s, box-shadow .35s, background .35s;
}
.float-card:hover {
  border-color: rgba(255, 201, 40, .65);
  box-shadow: 0 26px 60px -14px rgba(255, 201, 40, .28), 0 20px 50px -16px rgba(2, 6, 23, .7);
  background: rgba(13, 27, 78, .72);
  animation-play-state: paused;
}
.float-card__rank {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}
.float-card__meta { display: flex; flex-direction: column; line-height: 1.3; }
.float-card__exam { font-size: .74rem; font-weight: 600; color: var(--white); letter-spacing: .04em; white-space: nowrap; }
.float-card__year { font-size: .64rem; color: var(--text-light); letter-spacing: .14em; text-transform: uppercase; }
.float-card--1 { top: 16%; right: 6%; animation-delay: 0s; transform: rotate(2.5deg); }
.float-card--2 { top: 40%; right: 2.5%; animation-delay: -1.8s; transform: rotate(-2deg); }
.float-card--3 { bottom: 26%; right: 9%; animation-delay: -3.4s; transform: rotate(1.8deg); }
.float-card--4 { bottom: 12%; right: 24%; animation-delay: -5s; transform: rotate(-2.6deg); }
.float-card--1:hover, .float-card--3:hover { transform: rotate(0deg) scale(1.05); }
.float-card--2:hover, .float-card--4:hover { transform: rotate(0deg) scale(1.05); }

/* mobile: floats become horizontal strip inside hero flow */
.hero__float-strip { display: none; }

/* ---------- 10. Inner page hero ---------- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  padding: calc(var(--topbar-h) + var(--nav-h) + 72px) 0 84px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero__grid, .page-hero .hero__blob, .page-hero .hero__noise { position: absolute; }
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
/* Brand logo strip at top of home hero (CLAT Mentors / IPM Mentors / Genius IAS / Genius IAS School) */
.hero-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 10px;
  margin-bottom: 22px;
  width: 100%;
  max-width: 100%;
}
/* Full-width brand block above hero columns — spans 80% of the hero section */
.hero__inner > .hero-brands {
  grid-column: 1 / -1;
  width: min(80%, 100%);
  max-width: 100%;
  margin-inline: auto;
  margin-top: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.hero-brands .hero__label { margin: 0; }
.hero-brands .hero-logos { width: 100%; margin-bottom: 0; }
/* Plain small eyebrow with lines on both sides */
.hero-brands__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.hero-brands__title::before,
.hero-brands__title::after {
  content: "";
  width: 52px;
  height: 1px;
  border-radius: 1px;
}
.hero-brands__title::before { background: linear-gradient(90deg, transparent, rgba(255, 201, 40, .8)); }
.hero-brands__title::after { background: linear-gradient(90deg, rgba(255, 201, 40, .8), transparent); }
.hero-logos img {
  width: 100%;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  padding: 5px 8px;
  box-shadow: 0 12px 30px -12px rgba(2, 6, 23, .6);
  min-width: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.breadcrumb .current { color: var(--accent); font-weight: 500; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 16px 0 18px;
}
.page-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__title .nowrap { white-space: nowrap; }
/* CLAT page label — same pill-badge styling as home .hero__label */
.page-hero .label {
  gap: 12px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 201, 40, .4);
  background: rgba(255, 201, 40, .1);
  backdrop-filter: blur(6px);
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--accent);
}
.page-hero .label::before { content: none; }
.page-hero .label .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 201, 40, .7);
  animation: dotPulse 2.2s infinite;
}
.page-hero__desc { color: var(--text-light); max-width: 640px; font-size: 1.02rem; }
/* Large lead styling — for hero text standing in as the headline */
.page-hero__desc--lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--white);
}
.page-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Hero with right-side YouTube video (UPSC | HCS, CLAT, IPM, CUET pages) */
.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.page-hero__grid .page-hero__inner { max-width: 640px; }
.hero-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 201, 40, .45);
  background: rgba(10, 22, 66, .5);
  box-shadow: 0 30px 70px -20px rgba(2, 6, 23, .7), 0 16px 44px -16px rgba(255, 201, 40, .22);
  transform: none;
  min-width: 0;
}
.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Vertical YouTube Short slot (9:16) */
.hero-video--short {
  aspect-ratio: 9 / 16;
  max-width: 320px;
  width: 100%;
  justify-self: end;
}

/* Video testimonials (home) — 9:6 video slots */
.testimonial-card {
  background: linear-gradient(160deg, #0A2268 0%, #071A63 45%, #050D2A 100%);
  border: 1px solid rgba(255, 201, 40, .35);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 22px 50px -18px rgba(4, 9, 31, .55);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 26px 60px -18px rgba(255, 201, 40, .3), 0 22px 50px -18px rgba(4, 9, 31, .6);
}
.testimonials-grid .hero-video { aspect-ratio: 9 / 16; border-radius: 12px; max-width: 280px; width: 100%; margin-inline: auto; }

/* Text reviews (reviews page) — Google review cards */
.review-card {
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .1);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 201, 40, .6);
  box-shadow: 0 26px 60px -20px rgba(7, 26, 99, .3);
}
.review-card__stars { color: #f5a623; font-size: .95rem; letter-spacing: 3px; }
.review-card__text { font-size: .92rem; line-height: 1.7; color: var(--text-dark); flex: 1 1 auto; }
.review-card__foot { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--grad-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.review-card__name { font-size: .92rem; font-weight: 600; color: var(--text-dark); }
.review-card__meta { font-size: .75rem; color: #7a88b4; }
.review-card__src {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5a6a9c;
  border: 1px solid rgba(7, 26, 99, .14);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}
.review-kws { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.review-kws__note { text-align: center; font-size: .82rem; color: #7a88b4; margin-top: 14px; }

/* ---------- 11. Stats / trust strip ---------- */
.stats-strip {
  position: relative;
  margin-top: -52px;
  z-index: 5;
}
.stats-strip__card {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.4fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(4, 9, 31, .5);
  border: 1px solid rgba(184, 196, 232, .3);
  overflow: hidden;
}
.stat-block {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(7, 26, 99, .08);
}
.stat-block:last-child { border-right: 0; }
.stat-block__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--primary);
}
.stat-block__num .accent { color: var(--accent); -webkit-text-stroke: 1px #d9a800; }
.stat-block__label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5a6a9c;
}
.stat-block__sub { font-size: .84rem; color: #7a88b4; }
.trust-block { padding: 30px 36px; background: linear-gradient(135deg, rgba(18, 52, 184, .05), rgba(255, 201, 40, .07)); }
.trust-block__title {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.trust-block__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.trust-block__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-dark);
}
.trust-block__list svg { width: 16px; height: 16px; color: var(--accent); flex: none; filter: drop-shadow(0 2px 4px rgba(255, 201, 40, .4)); }

/* ---------- 12. About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__visual { order: 2; }
.split__visual { position: relative; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(7, 26, 99, .1);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.split__media:hover img { transform: scale(1.05); }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 13, 42, .45));
  pointer-events: none;
}
.split__float-badge {
  position: absolute;
  left: -26px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--grad-hero);
  color: var(--white);
  border: 1px solid rgba(255, 201, 40, .35);
  box-shadow: 0 24px 60px -18px rgba(4, 9, 31, .55);
  animation: floatY 6.5s ease-in-out infinite;
}
.split__float-badge strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.split__float-badge span { font-size: .74rem; color: var(--text-light); letter-spacing: .06em; }
.split__exp-chip {
  position: absolute;
  top: 26px; right: -18px;
  z-index: 2;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--grad-gold);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  animation: floatY 8s ease-in-out -2s infinite;
}
.split__content .section-title { margin-top: 14px; }
.split__points { margin: 26px 0 32px; }

/* ---------- 13. Why-us grid ---------- */
.why-card {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(40, 88, 232, .22), rgba(255, 201, 40, .08) 60%, transparent);
  opacity: 0;
  transition: opacity .45s;
}
.why-card:hover { transform: translateY(-8px) scale(1.015); border-color: rgba(255, 201, 40, .5); box-shadow: 0 30px 70px -22px rgba(2, 6, 23, .75); }
.why-card:hover::before { opacity: 1; }
.why-card:hover .icon-tile { transform: rotate(-8deg) scale(1.1); box-shadow: 0 12px 28px -8px rgba(255, 201, 40, .5); }
.why-card > * { position: relative; z-index: 1; }
.why-card h3 { font-size: 1.12rem; font-weight: 600; margin: 22px 0 10px; color: var(--white); }
.why-card p { font-size: .9rem; color: var(--text-light); }
.why-card__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(184, 196, 232, .12);
  z-index: 0;
}

/* ---------- 14. Program cards ---------- */
.program-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(7, 26, 99, .08); box-shadow: var(--shadow-card); transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; }
.program-card:hover { transform: translateY(-10px); box-shadow: 0 34px 70px -24px rgba(7, 26, 99, .35); border-color: rgba(255, 201, 40, .55); }
.program-card__media { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.program-card:hover .program-card__media img { transform: scale(1.06); }
.program-card__cat { position: absolute; top: 14px; left: 14px; z-index: 2; }
.program-card__dur {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(4, 9, 31, .72);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid rgba(255, 255, 255, .18);
}
.program-card__dur svg { width: 14px; height: 14px; color: var(--accent); }
.program-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.program-card__title { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.program-card__desc { font-size: .9rem; color: #5a6a9c; margin-bottom: 18px; }
.program-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.program-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed rgba(7, 26, 99, .14); }
.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  min-height: 44px;
  transition: color .3s, gap .3s;
}
.program-card__link svg { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.program-card__link:hover { color: var(--accent); gap: 12px; }
.program-card__link:hover svg { transform: translateX(3px); }

/* CSS-art program thumbnails (no external images needed) */
.card-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.card-art::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .55;
  background: rgba(255, 201, 40, .4);
  top: -60px; right: -60px;
}
.card-art svg { width: 64px; height: 64px; color: rgba(255, 255, 255, .92); position: relative; z-index: 1; filter: drop-shadow(0 10px 24px rgba(2, 6, 23, .5)); transition: transform .8s var(--ease-out); }
.program-card:hover .card-art svg, .course-card:hover .card-art svg { transform: scale(1.12) rotate(-4deg); }
.art--upsc { background: linear-gradient(140deg, #0a1a52, #1234B8 70%, #2858E8); }
.art--hcs { background: linear-gradient(140deg, #050D2A, #0d2a8f 65%, #1d4ed8); }
.art--clat { background: linear-gradient(140deg, #0c1440, #23328f 60%, #3b5bdb); }
.art--ipm { background: linear-gradient(140deg, #060f33, #14297e 60%, #2f4fc4); }
.art--cuet { background: linear-gradient(140deg, #0a1338, #1b2f96 60%, #3350c9); }
.art--soh { background: linear-gradient(140deg, #101a4d, #1f3aa8 60%, #3d5fd6); }
.art--soc { background: linear-gradient(140deg, #0b1236, #1a2c86 60%, #2e47bb); }
.art--gold { background: linear-gradient(140deg, #0a1648, #16309c 55%, #b8860b 160%); }

/* ---------- 15. Journey timeline ---------- */
.journey { position: relative; }
.journey__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding-top: 34px;
}
.journey__line {
  position: absolute;
  top: 12px; left: 4%;
  width: 92%; height: 3px;
  border-radius: 3px;
  background: rgba(184, 196, 232, .18);
  overflow: hidden;
}
.journey__line-fill {
  position: absolute;
  inset: 0;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out);
  box-shadow: 0 0 14px rgba(255, 201, 40, .6);
}
.journey.is-inview .journey__line-fill { transform: scaleX(1); }
.journey__step { position: relative; text-align: center; padding: 0 6px; }
.journey__dot {
  width: 26px; height: 26px;
  margin: -34px auto 18px;
  border-radius: 50%;
  background: var(--dark);
  border: 3px solid rgba(184, 196, 232, .35);
  position: relative;
  z-index: 2;
  transition: border-color .5s, box-shadow .5s, transform .5s var(--ease-out);
}
.journey.is-inview .journey__dot { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(255, 201, 40, .14), 0 0 18px rgba(255, 201, 40, .5); }
.journey__step:hover .journey__dot { transform: scale(1.2); }
.journey__num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.journey__step h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 6px; letter-spacing: .06em; text-transform: uppercase; }
.journey__step p { font-size: .82rem; color: var(--text-light); line-height: 1.55; }

/* Off-white variant (Learning Journey) */
.journey--offwhite { background: #FAF8F3; color: var(--text-dark); }
.journey--offwhite .section-title { color: var(--text-dark); }
.journey--offwhite .section-sub { color: #4a5a8c; }
.journey--offwhite .journey__line { background: rgba(7, 26, 99, .15); }
.journey--offwhite .journey__dot { background: #FAF8F3; border-color: rgba(7, 26, 99, .3); }
.journey--offwhite .journey__num { color: #8a6a00; font-weight: 700; }
.journey--offwhite .journey__step h3 { color: var(--primary-dark); }
.journey--offwhite .journey__step p { color: #4a5a8c; }

/* ---------- 16. Results & slider ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; border-radius: var(--radius-lg); padding: 6px; margin: -6px; }
/* per-view widths (JS derives perView from rendered slide width) */
.slider--2 .slider__slide { width: 50%; }
.slider--3 .slider__slide { width: 33.3333%; }
.slider--4 .slider__slide { width: 25%; }
@media (max-width: 1024px) {
  .slider--3 .slider__slide, .slider--4 .slider__slide { width: 50%; }
}
@media (max-width: 640px) {
  .slider--2 .slider__slide, .slider--3 .slider__slide, .slider--4 .slider__slide { width: 100%; }
}
.slider__track { display: flex; transition: transform .6s var(--ease-out); will-change: transform; }
.slider__track.is-dragging { transition: none; cursor: grabbing; }
.slider__slide { flex: 0 0 auto; padding: 0 12px; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.slider__arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border-strong);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background .3s, color .3s, transform .3s var(--ease-out), border-color .3s;
}
.slider__arrow svg { width: 20px; height: 20px; }
.slider__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); transform: scale(1.08); }
.slider__arrow[disabled] { opacity: .35; pointer-events: none; }
.slider__dots { display: flex; gap: 8px; align-items: center; }
.slider__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(184, 196, 232, .35);
  transition: width .35s var(--ease-out), background .35s;
  padding: 0;
}
.slider__dot.is-active { width: 26px; border-radius: 5px; background: var(--accent); }
.section--light .slider__arrow { border-color: rgba(7, 26, 99, .2); background: var(--white); color: var(--primary); box-shadow: var(--shadow-card); }
.section--light .slider__arrow:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.section--light .slider__dot { background: rgba(7, 26, 99, .2); }
.section--light .slider__dot.is-active { background: var(--primary); }

.result-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  height: 100%;
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.result-card:hover { transform: translateY(-8px); border-color: rgba(255, 201, 40, .55); box-shadow: 0 30px 66px -22px rgba(2, 6, 23, .7); }
.result-card__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--primary-dark);
  background: var(--grad-gold);
  border: 3px solid rgba(255, 255, 255, .25);
  box-shadow: 0 12px 30px -8px rgba(255, 201, 40, .55);
}
.result-card__rank {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}
.result-card__name { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.result-card__exam { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-light); }
.result-card__service {
  margin-top: 4px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 201, 40, .14);
  border: 1px solid rgba(255, 201, 40, .4);
  color: var(--accent);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.section--light .result-card { background: var(--white); border-color: rgba(7, 26, 99, .1); box-shadow: var(--shadow-card); }
.section--light .result-card__name { color: var(--text-dark); }
.section--light .result-card__exam { color: #5a6a9c; }
.section--light .result-card:hover { border-color: rgba(255, 201, 40, .6); }

/* Big horizontal result cards (results page) */
.result-big {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .09);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s;
}
.result-big::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--grad-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease-out);
}
.result-big:hover { transform: translateY(-7px); box-shadow: 0 30px 70px -22px rgba(7, 26, 99, .35); border-color: rgba(255, 201, 40, .55); }
.result-big:hover::before { transform: scaleY(1); }
.result-big__avatar {
  flex: none;
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--primary-dark);
  background: var(--grad-gold);
  border: 3px solid rgba(7, 26, 99, .1);
  box-shadow: 0 14px 34px -10px rgba(255, 201, 40, .55);
}
.result-big__body { min-width: 0; }
.result-big__rank {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.result-big__name { font-size: 1.15rem; font-weight: 600; color: var(--text-dark); }
.result-big__exam { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #5a6a9c; margin: 3px 0 10px; }
.result-big__service {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: rgba(18, 52, 184, .08);
  border: 1px solid rgba(18, 52, 184, .2);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.result-big__star {
  position: absolute;
  top: 18px; right: 20px;
  color: var(--accent);
  opacity: .9;
  filter: drop-shadow(0 4px 10px rgba(255, 201, 40, .4));
}
.result-big__star svg { width: 26px; height: 26px; }

.disclaimer {
  margin-top: 34px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(184, 196, 232, .3);
  background: rgba(255, 255, 255, .03);
  font-size: .8rem;
  color: var(--text-light);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.disclaimer svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.section--light .disclaimer { border-color: rgba(7, 26, 99, .2); background: rgba(18, 52, 184, .04); color: #5a6a9c; }
.section--light .disclaimer svg { color: var(--primary); }

/* ---------- 17. Faculty ---------- */
.faculty-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .08);
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s;
  display: flex;
  flex-direction: column;
}
.faculty-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px -22px rgba(7, 26, 99, .35); border-color: rgba(255, 201, 40, .55); }
.faculty-card__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
}
.faculty-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(40, 88, 232, .35), transparent 65%);
}
.faculty-card__monogram {
  position: relative;
  z-index: 1;
  width: 120px; height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--primary-dark);
  background: var(--grad-gold);
  border: 4px solid rgba(255, 255, 255, .3);
  box-shadow: 0 18px 44px -10px rgba(255, 201, 40, .5);
  transition: transform .8s var(--ease-out);
}
.faculty-card:hover .faculty-card__monogram { transform: scale(1.07) rotate(-3deg); }
.faculty-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s var(--ease-out);
}
/* Mini mentor grid (home preview card) */
.faculty-card__mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mini-mentor {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 6px;
  border-radius: 10px;
  background: rgba(7, 26, 99, .04);
  border: 1px solid rgba(7, 26, 99, .1);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  min-width: 0;
}
.mini-mentor:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 201, 40, .6);
  box-shadow: 0 10px 24px -12px rgba(7, 26, 99, .35);
}
.mini-mentor img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex: none;
  border: 2px solid rgba(255, 201, 40, .55);
}
.mini-mentor__monogram {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary-dark);
  background: var(--grad-gold);
  border: 2px solid rgba(255, 201, 40, .55);
}
.mini-mentor span:last-child {
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.faculty-card:hover .faculty-card__photo { transform: scale(1.05); }
.modal-mentor-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex: none;
  border: 2px solid rgba(255, 201, 40, .5);
}
.faculty-card__flag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
}
.faculty-card__body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.faculty-card__name { font-family: var(--font-display); font-size: 1.35rem; color: var(--text-dark); }
.faculty-card__role { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-light); font-weight: 600; }
.faculty-card__creds { display: flex; flex-direction: column; gap: 7px; }
.faculty-card__creds li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .84rem;
  color: #4a5a8c;
}
.faculty-card__creds svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 4px; filter: drop-shadow(0 1px 2px rgba(255, 201, 40, .4)); }
.faculty-card__foot { margin-top: auto; padding-top: 8px; }
.faculty-card__more { display: flex; gap: 10px; flex-wrap: wrap; }

/* faculty preview (dark section) variants */
.section--grad .faculty-card, .section--dark .faculty-card {
  background: rgba(255, 255, 255, .05);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
}
.section--grad .faculty-card__name, .section--dark .faculty-card__name { color: var(--white); }
.section--grad .faculty-card__creds li, .section--dark .faculty-card__creds li { color: var(--text-light); }

/* ---------- 18. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__card {
  position: relative;
  border-radius: 34px;
  padding: clamp(44px, 7vw, 84px) clamp(28px, 6vw, 80px);
  background: var(--grad-hero);
  border: 1px solid rgba(255, 201, 40, .28);
  box-shadow: 0 40px 90px -30px rgba(4, 9, 31, .6);
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.cta-band__glow {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.cta-band__glow--1 { background: rgba(40, 88, 232, .5); top: -260px; left: -140px; }
.cta-band__glow--2 { background: rgba(255, 201, 40, .18); bottom: -300px; right: -120px; }
.cta-band__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.15;
  margin: 16px 0 16px;
}
.cta-band__title em { font-style: italic; color: var(--accent); }
.cta-band__desc { color: var(--text-light); margin-bottom: 34px; }
.cta-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-band__note { margin-top: 24px; font-size: .78rem; color: rgba(184, 196, 232, .75); display: flex; align-items: center; justify-content: center; gap: 8px; }
.cta-band__note svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- 19. Footer ---------- */
.footer {
  position: relative;
  background: var(--dark);
  color: var(--text-light);
  padding-top: 84px;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 201, 40, .6), transparent);
}
.footer__glow {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  filter: blur(140px);
  background: rgba(18, 52, 184, .22);
  top: -320px; right: -180px;
  pointer-events: none;
}
.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer__brand .navbar__logo { color: var(--white); margin-bottom: 18px; }
.footer__brand .navbar__logo-img {
  mix-blend-mode: normal;
  background: var(--white);
  border-radius: 10px;
  padding: 4px 10px;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: .06em;
  margin: 18px 0 4px;
}
.footer__brand-tag {
  font-size: .92rem;
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: 16px;
}
.footer__brand-desc { font-size: .86rem; line-height: 1.75; margin-bottom: 22px; }
.footer__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 22px; max-width: 340px; }
.footer__logos img { width: 100%; height: 52px; object-fit: contain; background: var(--white); border-radius: 10px; padding: 4px 8px; }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 196, 232, .22);
  color: var(--text-light);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.footer__social a svg { width: 17px; height: 17px; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }
.footer__col-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer__col-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.footer__links { display: flex; flex-direction: column; gap: 4px; }
.footer__links a, .footer__links button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: .88rem;
  color: var(--text-light);
  text-align: left;
  transition: color .25s, transform .25s var(--ease-out);
  min-height: 36px;
}
.footer__links a::before, .footer__links button::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(184, 196, 232, .4);
  transition: background .25s, transform .25s;
  flex: none;
}
.footer__links a:hover, .footer__links button:hover { color: var(--accent); transform: translateX(5px); }
.footer__links a:hover::before, .footer__links button:hover::before { background: var(--accent); transform: scale(1.3); }
.footer__contact { display: flex; flex-direction: column; gap: 16px; }
.footer__contact-item { display: flex; gap: 13px; align-items: flex-start; font-size: .87rem; line-height: 1.6; }
.footer__contact-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.footer__contact-item a { transition: color .25s; }
.footer__contact-item a:hover { color: var(--accent); }
.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(184, 196, 232, .12);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal button {
  font-size: .8rem;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
  min-height: 32px;
  transition: color .25s;
}
.footer__legal button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.footer__legal button:hover { color: var(--accent); }
.footer__legal button:hover::after { transform: scaleX(1); }

/* ---------- 20. Courses page ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 44px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill {
  padding: 10px 22px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(7, 26, 99, .18);
  background: var(--white);
  color: var(--text-dark);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  transition: all .3s var(--ease-out);
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.filter-pill.is-active {
  background: var(--grad-blue);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.search-box { position: relative; flex: 0 1 320px; min-width: 240px; }
.search-box svg {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: #8a97c4;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 12px 44px 12px 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(7, 26, 99, .15);
  background: var(--white);
  font-size: .9rem;
  transition: border-color .3s, box-shadow .3s;
}
.search-box input:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 4px rgba(40, 88, 232, .14); }
.search-box__clear {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: none;
  place-items: center;
  color: #8a97c4;
  transition: background .25s, color .25s;
}
.search-box__clear.is-visible { display: grid; }
.search-box__clear:hover { background: rgba(18, 52, 184, .1); color: var(--primary); }
.search-box__clear svg { position: static; transform: none; width: 14px; height: 14px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(7, 26, 99, .08); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s, opacity .4s; }
.course-card:hover { transform: translateY(-8px); box-shadow: 0 30px 66px -22px rgba(7, 26, 99, .33); border-color: rgba(255, 201, 40, .55); }
.course-card.is-hidden { display: none; }
.course-card__media { position: relative; aspect-ratio: 16 / 8.4; }
.course-card__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.course-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.course-card__title { font-size: 1.12rem; font-weight: 600; color: var(--text-dark); line-height: 1.35; }
.course-card__dur { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: var(--primary-light); white-space: nowrap; }
.course-card__dur svg { width: 15px; height: 15px; color: var(--accent); }
.course-card__desc { font-size: .88rem; color: #5a6a9c; }
.course-card__features { display: flex; flex-direction: column; gap: 7px; }
.course-card__features li { position: relative; padding-left: 24px; font-size: .85rem; color: #4a5a8c; }
.course-card__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(18, 52, 184, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231234B8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}
.course-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed rgba(7, 26, 99, .14); display: flex; gap: 10px; }
.course-card__foot .btn { flex: 1; }
.courses-empty {
  display: none;
  text-align: center;
  padding: 70px 20px;
  border: 2px dashed rgba(7, 26, 99, .16);
  border-radius: var(--radius-lg);
  color: #5a6a9c;
}
.courses-empty.is-visible { display: block; }
.courses-empty h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-dark); margin-bottom: 8px; }
.courses-count { font-size: .84rem; color: #7a88b4; margin-bottom: 26px; }
.courses-count strong { color: var(--primary); }

/* ---------- 21. Program detail pages ---------- */
.program-detail { scroll-margin-top: calc(var(--nav-h) + 30px); }
.program-detail + .program-detail { margin-top: 72px; }
.program-detail__card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .09);
  box-shadow: var(--shadow-card);
}
.program-detail__visual { position: relative; min-height: 340px; }
.program-detail__visual .card-art { position: absolute; inset: 0; }
.program-detail__visual-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(4, 9, 31, .7);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .2);
}
.program-detail__visual-badge svg { width: 16px; height: 16px; color: var(--accent); }
.program-detail__body { padding: clamp(28px, 4vw, 46px); }
.program-detail__num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--accent);
  letter-spacing: .2em;
  -webkit-text-stroke: .4px #d9a800;
}
.program-detail__title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--text-dark); margin: 8px 0 12px; }
.program-detail__desc { color: #4a5a8c; font-size: .95rem; margin-bottom: 22px; }
.program-detail__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.program-detail__features { margin-bottom: 26px; }
.program-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.expandable__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .85rem;
  color: var(--primary);
  min-height: 44px;
  letter-spacing: .04em;
}
.expandable__toggle .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid currentColor;
  transition: transform .4s var(--ease-out), background .3s, color .3s;
}
.expandable__toggle .plus svg { width: 13px; height: 13px; }
.expandable__toggle[aria-expanded="true"] .plus { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.expandable__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.expandable__panel > div { overflow: hidden; }
.expandable__panel.is-open { grid-template-rows: 1fr; }

.eligibility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 18px; }
.eligibility-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .08);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), border-color .35s;
}
.eligibility-item:hover { transform: translateY(-4px); border-color: rgba(255, 201, 40, .55); }
.eligibility-item > div:not(.icon-tile) { min-width: 0; }
.eligibility-item h3, .eligibility-item p { overflow-wrap: anywhere; }
.eligibility-item .icon-tile { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; }
.eligibility-item .icon-tile svg { width: 20px; height: 20px; }
.eligibility-item h3 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.eligibility-item p { font-size: .82rem; color: #5a6a9c; line-height: 1.55; }

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.method-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: transform .4s var(--ease-out), border-color .4s;
}
.method-card:hover { transform: translateY(-6px); border-color: rgba(255, 201, 40, .5); }
.method-card__step {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.method-card h3 { font-size: 1.05rem; color: var(--white); font-weight: 600; margin-bottom: 10px; }
.method-card p { font-size: .87rem; color: var(--text-light); }

.info-panel {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  background: linear-gradient(135deg, rgba(18, 52, 184, .06), rgba(255, 201, 40, .08));
  border: 1px solid rgba(18, 52, 184, .14);
}
.info-panel h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; color: var(--text-dark); }
.info-panel p { color: #4a5a8c; font-size: .94rem; }
.info-panel .btn { margin-top: 20px; }

/* ---------- 22. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.faq-cats { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--nav-h) + 26px); }
.faq-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 20px;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(7, 26, 99, .12);
  background: var(--white);
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-dark);
  text-align: left;
  transition: all .3s var(--ease-out);
}
.faq-cat:hover { border-color: var(--primary-light); transform: translateX(4px); }
.faq-cat.is-active { background: var(--grad-blue); border-color: transparent; color: var(--white); box-shadow: var(--shadow-blue); }
.faq-cat__count {
  font-size: .7rem;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(7, 26, 99, .08);
  color: #5a6a9c;
  font-weight: 700;
}
.faq-cat.is-active .faq-cat__count { background: rgba(255, 255, 255, .22); color: var(--white); }
.faq-search { margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(7, 26, 99, .1);
  background: var(--white);
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.faq-item:hover { border-color: rgba(18, 52, 184, .35); }
.faq-item.is-open { border-color: rgba(255, 201, 40, .7); box-shadow: 0 16px 40px -16px rgba(7, 26, 99, .25); }
.faq-item.is-hidden { display: none; }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  min-height: 48px;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: color .3s;
}
.faq-item__q:hover { color: var(--primary); }
.faq-item__icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 52, 184, .08);
  color: var(--primary);
  transition: transform .45s var(--ease-out), background .35s, color .35s;
}
.faq-item__icon svg { width: 15px; height: 15px; }
.faq-item.is-open .faq-item__icon { transform: rotate(135deg); background: var(--grad-gold); color: var(--primary-dark); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p {
  padding: 0 24px 22px;
  font-size: .9rem;
  color: #4a5a8c;
  line-height: 1.75;
}
.faq-item__cat-tag {
  display: inline-block;
  margin: 0 24px 18px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(18, 52, 184, .08);
  color: var(--primary-light);
}
.faq-empty { display: none; padding: 50px 20px; text-align: center; color: #5a6a9c; border: 2px dashed rgba(7, 26, 99, .14); border-radius: var(--radius-lg); }
.faq-empty.is-visible { display: block; }
.faq-empty h3 { font-family: var(--font-display); color: var(--text-dark); font-size: 1.4rem; margin-bottom: 6px; }

/* ---------- 23. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info__card {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .09);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), border-color .35s;
  align-items: flex-start;
}
.contact-info__card:hover { transform: translateY(-4px); border-color: rgba(255, 201, 40, .55); }
.contact-info__card > div:not(.icon-tile) { min-width: 0; }
.contact-info__card h3 { font-size: .98rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.contact-info__card p, .contact-info__card a { font-size: .9rem; color: #4a5a8c; line-height: 1.65; overflow-wrap: anywhere; }
.contact-info__card a { transition: color .25s; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; }
.contact-info__card a:hover { color: var(--primary); }
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(7, 26, 99, .09);
  box-shadow: var(--shadow-card);
  position: relative;
  aspect-ratio: 16 / 7;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  gap: 8px;
}
.contact-map__pin { animation: floatY 4s ease-in-out infinite; }
.contact-map__pin svg { width: 44px; height: 44px; color: var(--accent); margin-inline: auto; filter: drop-shadow(0 8px 18px rgba(255, 201, 40, .45)); }
.contact-map p { font-size: .85rem; color: var(--text-light); padding: 0 20px; }

.form-card {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .09);
  box-shadow: 0 30px 80px -30px rgba(7, 26, 99, .35);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad-gold);
}
.form-card__title { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-dark); margin-bottom: 6px; }
.form-card__sub { font-size: .9rem; color: #5a6a9c; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group label .req { color: #e0453a; }
.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(7, 26, 99, .16);
  background: #fbfcff;
  font-size: .92rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
  appearance: none;
  -webkit-appearance: none;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231234B8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control:focus { outline: none; border-color: var(--primary-light); background: var(--white); box-shadow: 0 0 0 4px rgba(40, 88, 232, .13); }
.form-control.is-invalid { border-color: #e0453a; background: #fff6f5; }
.form-control.is-valid { border-color: #1fa971; }
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .76rem;
  font-weight: 500;
  color: #e0453a;
}
.field-error.is-visible { display: flex; }
.field-error svg { width: 13px; height: 13px; flex: none; }

.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(7, 26, 99, .18);
  background: #fbfcff;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all .3s var(--ease-out);
}
.radio-pill span::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(7, 26, 99, .3);
  transition: all .3s;
}
.radio-pill input:checked + span { border-color: var(--primary); background: rgba(18, 52, 184, .07); color: var(--primary); }
.radio-pill input:checked + span::before { border-color: var(--primary); background: var(--grad-gold); box-shadow: inset 0 0 0 3px rgba(18, 52, 184, .9); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.radio-pill input:hover + span { border-color: var(--primary-light); }
.radio-group.is-invalid .radio-pill span { border-color: #e0453a; }

.form-note { font-size: .76rem; color: #7a88b4; margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--accent); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #1fa971, #128c5c);
  color: var(--white);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .05em;
  box-shadow: 0 12px 30px -10px rgba(31, 169, 113, .55);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.whatsapp-btn svg { width: 19px; height: 19px; }
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(31, 169, 113, .65); }

.contact-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }

/* ---------- 24. Portal ---------- */
.portal-shell {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: calc(100svh - var(--nav-h) - var(--topbar-h));
  background: var(--dark);
}
.portal-side__backdrop { display: none; }
.portal-side {
  background: rgba(7, 16, 51, .92);
  border-right: 1px solid rgba(184, 196, 232, .12);
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: calc(var(--nav-h) + var(--topbar-h));
  height: calc(100svh - var(--nav-h) - var(--topbar-h));
  overflow-y: auto;
}
.portal-side__head { display: flex; align-items: center; gap: 12px; padding: 6px 12px 20px; border-bottom: 1px solid rgba(184, 196, 232, .12); margin-bottom: 14px; }
.portal-side__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  flex: none;
}
.portal-side__name { color: var(--white); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.portal-side__plan { color: var(--accent); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.portal-nav { display: flex; flex-direction: column; gap: 4px; }
.portal-nav__label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(184, 196, 232, .5);
  padding: 16px 14px 8px;
}
.portal-nav__btn {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  min-height: 46px;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: .88rem;
  font-weight: 500;
  text-align: left;
  width: 100%;
  transition: background .3s, color .3s, transform .3s var(--ease-out);
  position: relative;
}
.portal-nav__btn svg { width: 19px; height: 19px; flex: none; }
.portal-nav__btn:hover { background: rgba(255, 255, 255, .06); color: var(--white); transform: translateX(3px); }
.portal-nav__btn.is-active {
  background: linear-gradient(135deg, rgba(18, 52, 184, .5), rgba(40, 88, 232, .32));
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 201, 40, .35);
}
.portal-nav__btn.is-active svg { color: var(--accent); }
.portal-nav__btn .tag {
  margin-left: auto;
  font-size: .64rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--primary-dark);
}
.portal-side__foot { margin-top: auto; padding: 16px 12px 4px; border-top: 1px solid rgba(184, 196, 232, .12); font-size: .72rem; color: rgba(184, 196, 232, .55); }

.portal-main { padding: 34px clamp(18px, 3vw, 40px) 60px; color: var(--white); min-width: 0; }
.portal-panel { display: none; }
.portal-panel.is-active { display: block; animation: panelIn .5s var(--ease-out); }
.portal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.portal-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--white); }
.portal-head p { color: var(--text-light); font-size: .9rem; margin-top: 4px; }
.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 201, 40, .45);
  background: rgba(255, 201, 40, .1);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.demo-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dotPulse 2s infinite; }

.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.dash-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: transform .35s var(--ease-out), border-color .35s;
}
.dash-card:hover { transform: translateY(-5px); border-color: rgba(255, 201, 40, .45); }
.dash-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-card__icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 201, 40, .12);
  border: 1px solid rgba(255, 201, 40, .3);
  color: var(--accent);
}
.dash-card__icon svg { width: 21px; height: 21px; }
.dash-card__icon--blue { background: rgba(40, 88, 232, .18); border-color: rgba(40, 88, 232, .4); color: #8fb0ff; }
.dash-card__num { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--white); }
.dash-card__label { font-size: .78rem; color: var(--text-light); margin-top: 6px; letter-spacing: .04em; }
.dash-card__trend { font-size: .72rem; font-weight: 600; color: #57d9a3; display: inline-flex; align-items: center; gap: 5px; }
.dash-card__trend svg { width: 13px; height: 13px; }

.portal-columns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.portal-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--glass-border);
  padding: 24px;
  margin-bottom: 20px;
}
.portal-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.portal-card__head h3 { font-size: 1rem; font-weight: 600; color: var(--white); display: flex; align-items: center; gap: 10px; }
.portal-card__head h3 svg { width: 18px; height: 18px; color: var(--accent); }

.lesson-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(184, 196, 232, .1);
  margin-bottom: 10px;
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
  flex-wrap: wrap;
}
.lesson-row:hover { background: rgba(255, 255, 255, .065); border-color: rgba(255, 201, 40, .35); transform: translateX(4px); }
.lesson-row__time {
  flex: none;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
  min-width: 74px;
}
.lesson-row__info { flex: 1; min-width: 160px; }
.lesson-row__title { font-size: .9rem; font-weight: 600; color: var(--white); }
.lesson-row__meta { font-size: .74rem; color: var(--text-light); }
.lesson-row__badge { flex: none; }
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.live-dot--live { background: rgba(224, 69, 58, .18); color: #ff8a80; border: 1px solid rgba(224, 69, 58, .5); }
.live-dot--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4e; animation: dotPulse 1.6s infinite; }
.live-dot--upcoming { background: rgba(40, 88, 232, .18); color: #9db9ff; border: 1px solid rgba(40, 88, 232, .45); }
.live-dot--done { background: rgba(255, 255, 255, .08); color: var(--text-light); border: 1px solid rgba(184, 196, 232, .25); }

.chart-wrap { position: relative; width: 100%; }
.chart-wrap canvas { width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .76rem; color: var(--text-light); }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.test-row { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid rgba(184, 196, 232, .1); margin-bottom: 12px; flex-wrap: wrap; transition: border-color .3s, background .3s; }
.test-row:hover { border-color: rgba(255, 201, 40, .35); background: rgba(255, 255, 255, .06); }
.test-row__num {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(40, 88, 232, .16);
  border: 1px solid rgba(40, 88, 232, .4);
  color: #9db9ff;
  font-weight: 700;
  font-size: .84rem;
}
.test-row__info { flex: 1; min-width: 170px; }
.test-row__title { font-weight: 600; font-size: .92rem; color: var(--white); }
.test-row__meta { font-size: .75rem; color: var(--text-light); }
.test-row__score { font-family: var(--font-display); font-size: 1.15rem; color: var(--accent); flex: none; }
.test-row__action { flex: none; }

.ca-item { padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid rgba(184, 196, 232, .1); margin-bottom: 10px; }
.ca-item__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ca-item__date { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ca-item__title { font-size: .92rem; font-weight: 600; color: var(--white); margin: 6px 0 4px; }
.ca-item__src { font-size: .74rem; color: var(--text-light); }
.ca-item__body { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(184, 196, 232, .2); font-size: .85rem; color: var(--text-light); }
.ca-item.is-open .ca-item__body { display: block; animation: panelIn .4s var(--ease-out); }
.ca-toggle { font-size: .74rem; font-weight: 600; color: #9db9ff; min-height: 32px; padding: 4px 10px; border-radius: 8px; transition: background .25s; }
.ca-toggle:hover { background: rgba(40, 88, 232, .2); }

.progress-line { margin-bottom: 18px; }
.progress-line__head { display: flex; justify-content: space-between; font-size: .82rem; margin-bottom: 8px; color: var(--white); }
.progress-line__head span:last-child { color: var(--accent); font-weight: 600; }
.progress-line__bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress-line__fill { height: 100%; border-radius: 8px; background: var(--grad-gold); width: 0; transition: width 1.2s var(--ease-out); box-shadow: 0 0 12px rgba(255, 201, 40, .5); }
.progress-line__fill--blue { background: var(--grad-blue); box-shadow: 0 0 12px rgba(40, 88, 232, .6); }

.mentor-slot { display: flex; gap: 15px; align-items: center; padding: 15px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid rgba(184, 196, 232, .1); margin-bottom: 10px; }
.mentor-slot__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-gold); color: var(--primary-dark); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.05rem; flex: none; }
.mentor-slot__photo { object-fit: cover; object-position: center top; padding: 0; }
.mentor-slot__info { flex: 1; min-width: 150px; }
.mentor-slot__name { font-weight: 600; font-size: .9rem; color: var(--white); }
.mentor-slot__meta { font-size: .74rem; color: var(--text-light); }

/* quiz */
.quiz-q { padding: 24px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-border); margin-bottom: 16px; }
.quiz-q__text { font-weight: 600; color: var(--white); margin-bottom: 16px; font-size: .95rem; }
.quiz-q__text small { display: block; color: var(--accent); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; font-weight: 700; }
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  min-height: 46px;
  border-radius: 12px;
  border: 1.5px solid rgba(184, 196, 232, .2);
  background: rgba(255, 255, 255, .03);
  color: var(--text-light);
  font-size: .88rem;
  text-align: left;
  margin-bottom: 8px;
  transition: all .25s var(--ease-out);
}
.quiz-opt:hover { border-color: rgba(255, 201, 40, .5); color: var(--white); transform: translateX(4px); }
.quiz-opt.is-correct { border-color: #2ecc8f; background: rgba(46, 204, 143, .14); color: #b9f5dd; }
.quiz-opt.is-wrong { border-color: #e0453a; background: rgba(224, 69, 58, .14); color: #ffc9c4; }
.quiz-opt__key {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  font-size: .74rem;
  font-weight: 700;
}
.quiz-result { text-align: center; padding: 20px 0; }
.quiz-result__score { font-family: var(--font-display); font-size: 3rem; color: var(--accent); line-height: 1; }

/* portal mobile sidebar toggle */
.portal-side-toggle { display: none; }

/* ---------- 25. School pages ---------- */
.roadmap { position: relative; padding: 20px 0; }
.roadmap__line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(184, 196, 232, .16);
  border-radius: 3px;
  overflow: hidden;
}
.roadmap__line-fill {
  position: absolute;
  inset: 0;
  background: var(--grad-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--ease-out);
  box-shadow: 0 0 16px rgba(255, 201, 40, .55);
}
.roadmap.is-inview .roadmap__line-fill { transform: scaleY(1); }
.roadmap__item {
  position: relative;
  width: calc(50% - 48px);
  margin-bottom: 34px;
}
.roadmap__item:nth-child(odd) { margin-left: 0; text-align: right; }
.roadmap__item:nth-child(even) { margin-left: calc(50% + 48px); }
.roadmap__dot {
  position: absolute;
  top: 26px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--dark);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 201, 40, .12), 0 0 16px rgba(255, 201, 40, .5);
  z-index: 2;
}
.roadmap__item:nth-child(odd) .roadmap__dot { right: -58px; }
.roadmap__item:nth-child(even) .roadmap__dot { left: -58px; }
.roadmap__card {
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: transform .4s var(--ease-out), border-color .4s;
}
.roadmap__card:hover { transform: translateY(-5px); border-color: rgba(255, 201, 40, .5); }
.roadmap__stage { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.roadmap__card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.roadmap__card p { font-size: .87rem; color: var(--text-light); }

.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.exam-card {
  padding: 30px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--glass-border);
  transition: transform .4s var(--ease-out), border-color .4s, background .4s;
}
.exam-card:hover { transform: translateY(-7px) scale(1.02); border-color: rgba(255, 201, 40, .55); background: rgba(255, 255, 255, .08); }
.exam-card__abbr {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.exam-card__name { font-size: .82rem; font-weight: 600; color: var(--white); margin-bottom: 6px; letter-spacing: .04em; }
.exam-card__desc { font-size: .76rem; color: var(--text-light); line-height: 1.55; }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card { padding: 32px 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid rgba(7, 26, 99, .08); box-shadow: var(--shadow-card); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; position: relative; overflow: hidden; }
.value-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--grad-gold); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out); }
.value-card:hover { transform: translateY(-6px); border-color: rgba(255, 201, 40, .5); box-shadow: 0 26px 60px -20px rgba(7, 26, 99, .3); }
.value-card:hover::before { transform: scaleY(1); }
.value-card h3 { font-size: 1.1rem; font-weight: 600; margin: 18px 0 10px; color: var(--text-dark); }
.value-card p { font-size: .9rem; color: #5a6a9c; }

.quote-block {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--text-dark);
}
.section--dark .quote-block, .section--grad .quote-block { color: var(--white); }

/* ---------- 26. Global modal & toast ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 7, 22, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease-soft), visibility .35s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  width: min(680px, 100%);
  max-height: min(86svh, 780px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 50px 110px -30px rgba(2, 6, 23, .8);
  transform: translateY(30px) scale(.96);
  opacity: 0;
  transition: transform .45s var(--ease-out), opacity .35s;
  position: relative;
  overscroll-behavior: contain;
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal--dark { background: linear-gradient(165deg, #0a1648, #050D2A 70%); color: var(--white); border: 1px solid var(--glass-border-strong); }
.modal--dark p, .modal--dark li { color: var(--text-light); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 5;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7, 26, 99, .07);
  color: var(--text-dark);
  transition: transform .35s var(--ease-out), background .3s, color .3s;
}
.modal--dark .modal__close { background: rgba(255, 255, 255, .1); color: var(--white); }
.modal__close:hover { transform: rotate(90deg); background: var(--accent); color: var(--primary-dark); }
.modal__close svg { width: 18px; height: 18px; }
.modal__hero {
  padding: 40px clamp(24px, 5vw, 44px) 28px;
  background: var(--grad-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.modal__hero .hero__grid { position: absolute; inset: 0; }
.modal__hero-inner { position: relative; z-index: 2; }
.modal__hero h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 10px 0 8px; }
.modal__hero p { color: var(--text-light); font-size: .9rem; }
.modal__body { padding: clamp(24px, 5vw, 40px); }
.modal__body h4 { font-size: .98rem; font-weight: 600; margin: 20px 0 10px; color: var(--text-dark); }
.modal--dark .modal__body h4 { color: var(--white); }
.modal__body h4:first-child { margin-top: 0; }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.modal--dark .modal__body { padding-top: 28px; }

.success-visual { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 46px 24px 10px; }
.success-visual__icon {
  width: 86px; height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: var(--primary-dark);
  box-shadow: 0 18px 44px -10px rgba(255, 201, 40, .6);
  margin-bottom: 22px;
  animation: successPop .6s var(--ease-out) both;
}
.success-visual__icon svg { width: 40px; height: 40px; }
.success-visual h3 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 10px; }
.success-visual p { color: #5a6a9c; font-size: .93rem; max-width: 420px; }

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 120px);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: rgba(5, 13, 42, .95);
  border: 1px solid rgba(255, 201, 40, .4);
  color: var(--white);
  font-size: .88rem;
  box-shadow: 0 24px 60px -18px rgba(2, 6, 23, .8);
  transition: transform .5s var(--ease-out);
  max-width: calc(100vw - 40px);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* page transition states */
body.page-entering main { animation: pageIn .55s var(--ease-out) both; }
body.page-leaving { opacity: 0; transform: translateY(10px); transition: opacity .32s var(--ease-soft), transform .32s var(--ease-soft); }
body { transition: opacity .32s var(--ease-soft), transform .32s var(--ease-soft); }

/* ---------- Home courses: mode toggle + course cards ---------- */
.course-toggle {
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 44px;
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .25);
  border-radius: 0;
  overflow: hidden;
  flex-wrap: wrap;
}
.course-toggle__btn {
  border: 0;
  border-radius: 0;
  padding: 13px 38px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.course-toggle__btn + .course-toggle__btn { border-left: 1px solid rgba(7, 26, 99, .25); }
.course-toggle__btn:hover { background: rgba(7, 26, 99, .06); }
.course-toggle__btn.is-active { background: var(--primary-dark); color: var(--white); }
[data-course-panel][hidden] { display: none !important; }
.course-item {
  position: relative;
  background: linear-gradient(160deg, #0A2268 0%, #071A63 45%, #050D2A 100%);
  border: 1px solid rgba(255, 201, 40, .35);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--white);
  box-shadow: 0 22px 50px -18px rgba(4, 9, 31, .65);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.course-item::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 40, .22), transparent 70%);
  pointer-events: none;
}
.course-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 26px 60px -18px rgba(255, 201, 40, .3), 0 22px 50px -18px rgba(4, 9, 31, .7);
}
.course-item__num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent);
  text-shadow: 0 4px 18px rgba(255, 201, 40, .35);
}
.course-item__cat { align-self: flex-start; box-shadow: var(--shadow-gold); }
.course-item__title { font-size: 1.15rem; line-height: 1.4; font-weight: 700; color: var(--white); }
.course-item__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.course-item .chip {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(184, 196, 232, .4);
  color: var(--accent-light);
}
.course-item__points { display: flex; flex-direction: column; gap: 9px; margin: 2px 0 4px; }
.course-item__points li {
  position: relative;
  padding-left: 24px;
  font-size: .86rem;
  line-height: 1.55;
  color: #D9E1FA;
}
.course-item__points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 201, 40, .22);
}
.course-item__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(184, 196, 232, .2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.course-item__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.course-item__link:hover { color: var(--accent-light); }
.course-item__link:hover svg { transform: translateX(5px); }

/* ---------- Program detail sub-sections (Ideal Features / Who Can Enroll) ---------- */
.program-subhead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 40px 0 20px;
}
.feature-group h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.feature-group .check-list li { font-size: .9rem; }
/* Light-theme admission step cards (white card, navy number, yellow bullets) */
.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(7, 26, 99, .12);
  border-radius: 0;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-dark);
  box-shadow: 0 22px 50px -18px rgba(7, 26, 99, .35);
}
.step-card__num {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--primary-dark);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  border-radius: 0;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feature-group p { font-size: .9rem; color: #3c4a7d; line-height: 1.65; }

/* ---------- Exam pattern tables ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(7, 26, 99, .14);
  border-radius: 0;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.exam-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 560px;
}
.exam-table th,
.exam-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(7, 26, 99, .1);
}
.exam-table thead th {
  background: var(--primary-dark);
  color: var(--white);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.exam-table tbody tr:nth-child(even) { background: rgba(7, 26, 99, .03); }
.exam-table tbody tr:last-child th,
.exam-table tbody tr:last-child td { border-bottom: 0; }
.exam-table tbody td:first-child { font-weight: 600; color: var(--primary-dark); white-space: nowrap; }
.table-note {
  margin-top: 14px;
  font-size: .82rem;
  color: #5a6a9c;
}
/* Yellow circle bullets for every checklist point on the UPSC|HCS, IPM and CLAT pages */
body[data-page="upsc-hcs"] .check-list li::before,
body[data-page="ipm"] .check-list li::before,
body[data-page="clat"] .check-list li::before {
  left: 3px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 201, 40, .22);
}

/* Properly managed multi-option toggle rows (separate buttons, not joined) */
.course-toggle--grid {
  display: grid;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: 0;
  overflow: visible;
}
.course-toggle--grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.course-toggle--grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.course-toggle--grid .course-toggle__btn {
  border: 1px solid rgba(7, 26, 99, .25);
  background: var(--white);
  box-shadow: 0 3px 12px -4px rgba(7, 26, 99, .25);
  padding: 13px 10px;
  white-space: nowrap;
}
.course-toggle--grid .course-toggle__btn + .course-toggle__btn {
  border-left: 1px solid rgba(7, 26, 99, .25);
}
.course-toggle--grid .course-toggle__btn.is-active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 8px 22px -8px rgba(7, 26, 99, .55);
}
@media (max-width: 900px) {
  .course-toggle--grid.cols-4,
  .course-toggle--grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .program-subhead { margin: 30px 0 16px; }
}
@media (max-width: 560px) {
  .course-toggle { width: 100%; }
  .course-toggle__btn { flex: 1 1 auto; padding: 11px 10px; font-size: .7rem; letter-spacing: .08em; }
}
/* Vertical 9:16 video testimonials (3 per row) */
.shorts-grid { align-items: start; }
@media (max-width: 1024px) {
  .shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .short-video { border-radius: 14px; }
  .short-video--empty span { font-size: .72rem; padding: 12px; }
}
@media (max-width: 380px) {
  .shorts-grid { grid-template-columns: minmax(0, 1fr); max-width: 300px; margin-inline: auto; }
}
.short-video {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a1440;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 60px -24px rgba(2, 6, 23, .55);
}
.short-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short-video--empty { display: grid; place-items: center; border-style: dashed; }
.short-video--empty span { color: var(--text-light); font-size: .85rem; letter-spacing: .08em; padding: 20px; text-align: center; }
/* Yellow high-visibility bullets on School of Humanities + Commerce pages */
body[data-page="humanities"] .check-list li,
body[data-page="commerce"] .check-list li { color: var(--primary-dark); font-weight: 500; }
body[data-page="humanities"] .check-list li::before,
body[data-page="commerce"] .check-list li::before {
  background: #FFC928 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071A63' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  border: 2px solid #071A63;
  box-shadow: 0 0 0 3px rgba(255, 201, 40, .35), 0 4px 10px -3px rgba(7, 26, 99, .6);
}
/* Rank-free result cards: student photo + name + qualified exam */
.result-photo { padding: 0; gap: 0; overflow: hidden; }
.result-photo img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; display: block; object-fit: cover; object-position: top; }
.result-photo__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
