/* ==========================================================================
   V-SCOR ACADEMY - Design System, Layout & Motion Architecture
   ========================================================================== */

:root {
  --navy: #0A1D56;
  --navy-deep: #050E2B;
  --navy-mid: #102A78;
  --crimson: #D91E2A;
  --crimson-dark: #B0141F;
  --gold: #F59E0B;
  --ink: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --surface: #F8FAFC;
  --white: #FFFFFF;

  --font-display: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-motto: 'Cormorant Garamond', Georgia, serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 14px rgba(10, 29, 86, 0.06);
  --shadow-md: 0 14px 36px rgba(10, 29, 86, 0.10);
  --shadow-lg: 0 26px 60px rgba(5, 14, 43, 0.18);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

/* ==========================================================================
   SCROLL PROGRESS & PRELOADER
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--navy));
  z-index: 9999;
  transition: width 0.08s linear;
}

.preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, #112A75 0%, var(--navy-deep) 75%);
  z-index: 9998;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: opacity 0.55s var(--ease-out-expo), visibility 0.55s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  padding: 2rem;
}

.preloader-emblem {
  width: 112px;
  height: 86px;
  margin: 0 auto 1.25rem;
  background: var(--white);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  animation: preloaderPop 0.6s var(--ease-elastic) both;
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.svg-draw-arrow {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawStroke 0.75s var(--ease-out-expo) 0.1s forwards;
}

.svg-draw-arrow-head {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawStroke 0.45s var(--ease-out-expo) 0.45s forwards;
}

.preloader-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.preloader-brand span {
  color: var(--crimson);
}

.preloader-motto {
  font-family: var(--font-motto);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes preloaderPop {
  from {
    opacity: 0;
    transform: scale(0.75) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   ANNOUNCEMENT BAR & HEADER
   ========================================================================== */

.announcement-bar {
  background: linear-gradient(90deg, var(--navy-deep), #142B6F, var(--navy-deep));
  color: var(--white);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 60;
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0;
}

.ann-badge {
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(217, 30, 42, 0.6);
  animation: pulseBadge 2.2s infinite;
}

@keyframes pulseBadge {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 30, 42, 0.5);
  }
  60% {
    box-shadow: 0 0 0 8px rgba(217, 30, 42, 0);
  }
}

.ann-ticker-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ann-ticker-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: tickerScroll 28s linear infinite;
}

.ann-ticker-wrap:hover .ann-ticker-track {
  animation-play-state: paused;
}

.ann-ticker-item {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ann-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ann-cta {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ann-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}

.ann-close:hover {
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 29, 86, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(5, 14, 43, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-emblem {
  width: 60px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--white);
  padding: 2px;
  border: 1px solid rgba(10, 29, 86, 0.12);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.05;
}

.brand-name .accent-v {
  color: var(--crimson);
}

.brand-motto {
  font-family: var(--font-motto);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.82rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.82rem;
  right: 0.82rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out-expo), box-shadow 0.25s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out-expo);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 0.92rem 1.6rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  padding: 0.95rem 1.4rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson) 0%, #B8111C 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(217, 30, 42, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217, 30, 42, 0.38);
}

.btn-ghost {
  background: rgba(10, 29, 86, 0.06);
  color: var(--navy);
}

.btn-ghost:hover {
  background: rgba(10, 29, 86, 0.12);
}

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-deep);
}

/* Mobile Menu Button & Drawer */
.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 4vw 1.5rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-link {
  padding: 0.72rem 0.6rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--surface);
}

.mobile-admin-link {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  background: radial-gradient(ellipse at 18% 15%, #16368F 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 3.4rem 0 3rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

/* Signature Diagonal Corner Ribbons (Poster DNA) */
.corner-ribbon {
  position: absolute;
  width: 240px;
  height: 240px;
  pointer-events: none;
  opacity: 0.9;
}

.corner-top-left {
  top: -110px;
  left: -110px;
  background: linear-gradient(135deg, var(--crimson) 0 42%, transparent 42% 48%, rgba(255, 255, 255, 0.25) 48% 58%, transparent 58%);
  transform: rotate(0deg);
}

.corner-top-right {
  top: -110px;
  right: -110px;
  background: linear-gradient(225deg, var(--crimson) 0 42%, transparent 42% 48%, rgba(255, 255, 255, 0.25) 48% 58%, transparent 58%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 420px;
  height: 420px;
  background: rgba(217, 30, 42, 0.22);
  top: -80px;
  right: 10%;
  animation: floatSlow 11s ease-in-out infinite alternate;
}

.hero-glow-2 {
  width: 360px;
  height: 360px;
  background: rgba(59, 130, 246, 0.24);
  bottom: -60px;
  left: 5%;
  animation: floatSlow 14s ease-in-out infinite alternate-reverse;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FDE68A;
  margin-bottom: 1.35rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 0 rgba(217, 30, 42, 0.85);
  animation: pulseBadge 1.8s infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.3vw, 3.75rem);
  font-weight: 900;
  line-height: 1.14;
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.08em;
}

.line-inner {
  display: inline-block;
  animation: slideUpMask 0.85s var(--ease-out-expo) var(--d, 0s) both;
}

.highlight-text {
  color: #FF4D58;
  position: relative;
  display: inline-block;
  margin-right: 0.2em;
}

.highlight-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineDraw 0.7s var(--ease-out-expo) 0.55s forwards;
}

@keyframes slideUpMask {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineDraw {
  to {
    transform: scaleX(1);
  }
}

.hero-motto-quote {
  font-family: var(--font-motto);
  font-style: italic;
  font-size: 1.38rem;
  color: #E2E8F0;
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--crimson);
}

.hero-description {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero-grade-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.grade-pill-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-right: 0.25rem;
  font-weight: 600;
}

.grade-pill {
  padding: 0.34rem 0.74rem;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.grade-pill:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: translateY(-2px);
}

.reveal-hero {
  animation: fadeUpSimple 0.8s var(--ease-out-expo) var(--d, 0s) both;
}

@keyframes fadeUpSimple {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Right 3D Hero Stage Card */
.hero-visual {
  position: relative;
  perspective: 1100px;
}

.hero-stage-card {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.38);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  overflow: hidden;
}

.stage-card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.stage-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.stage-crest {
  width: 72px;
  height: 55px;
  border-radius: 10px;
  background: var(--white);
  padding: 4px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.stage-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stage-kicker {
  font-family: var(--font-motto);
  font-style: italic;
  font-size: 0.95rem;
  color: #FDE68A;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.1rem 0;
}

.stage-grades {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.stage-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0;
}

.stage-track-item {
  background: rgba(5, 14, 43, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease, background 0.25s ease;
}

.stage-track-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(16, 42, 120, 0.72);
}

.stage-track-item.highlight {
  border-color: rgba(217, 30, 42, 0.6);
  background: linear-gradient(135deg, rgba(217, 30, 42, 0.28), rgba(5, 14, 43, 0.65));
}

.stage-track-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.stage-track-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.track-price {
  font-family: var(--font-display);
  font-weight: 800;
  color: #FCA5A5 !important;
  font-size: 0.86rem !important;
}

.stage-faculty-peek {
  margin-top: 0.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(5, 14, 43, 0.65) 100%);
  border-radius: 14px;
  padding: 0.75rem 0.75rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stage-faculty-peek img {
  width: 100%;
  height: 125px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.peek-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.peek-caption a {
  color: #FDE68A;
  font-weight: 700;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  padding: 0.65rem 0.95rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  z-index: 3;
  animation: floatBob 5.5s ease-in-out infinite;
}

.badge-top-right {
  top: -16px;
  right: -12px;
}

.badge-bottom-left {
  bottom: 24px;
  left: -20px;
  animation-delay: -2.4s;
}

.fb-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--crimson), #B0141F);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.fb-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  line-height: 1.1;
}

.fb-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes floatSlow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -20px) scale(1.08); }
}

/* Hero Stat Counters */
.hero-stats-bar {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 900;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.stat-number .stat-suffix {
  color: #FF5A65;
}

.stat-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 0.15rem;
}

/* ==========================================================================
   KINETIC MARQUEE
   ========================================================================== */

.marquee-section {
  background: var(--crimson);
  color: var(--white);
  padding: 0.9rem 0;
  overflow: hidden;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.25rem;
  align-items: center;
  animation: tickerScroll 32s linear infinite;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  white-space: nowrap;
}

.marquee-item::after {
  content: "◆";
  color: #FDE68A;
  font-size: 0.75rem;
}

/* ==========================================================================
   SECTIONS SHARED HEADERS & REVEAL ANIMATIONS
   ========================================================================== */

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.25rem;
}

.section-header-light {
  color: var(--white);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.36rem 0.95rem;
  border-radius: 999px;
  background: rgba(10, 29, 86, 0.08);
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.badge-crimson {
  background: var(--crimson);
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-header-light .section-title {
  color: var(--white);
}

.section-subtitle {
  margin: 0;
  font-size: 1.04rem;
  color: var(--muted);
}

.section-header-light .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

/* Scroll Reveal Choreography */
[data-animate] {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 0) * 75ms);
}

[data-animate="fade-up"] {
  transform: translateY(32px);
}

[data-animate="scale-in"] {
  transform: scale(0.93) translateY(20px);
}

[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   PROGRAMS GRID (CLASSES 7-12)
   ========================================================================== */

.programs-section {
  background: var(--surface);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.program-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.32s var(--ease-out-expo), box-shadow 0.32s ease, border-color 0.32s ease;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
  transition: height 0.25s ease;
}

.program-card[data-accent="crimson"]::before {
  background: var(--crimson);
}

.program-card[data-accent="gold"]::before {
  background: linear-gradient(90deg, var(--gold), var(--crimson));
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 29, 86, 0.22);
}

.program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.prog-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: rgba(10, 29, 86, 0.08);
  color: var(--navy);
}

.prog-board {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--crimson);
  text-transform: uppercase;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: var(--navy);
}

.program-card p {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.program-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.program-highlights li {
  font-size: 0.86rem;
  color: var(--ink);
  padding-left: 1.25rem;
  position: relative;
}

.program-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--crimson);
  font-weight: 800;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.prog-fee-preview {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--navy);
}

.prog-action {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--crimson);
}

/* ==========================================================================
   FEE STRUCTURE & INTERACTIVE CALCULATOR
   ========================================================================== */

.fees-section {
  background: var(--white);
}

.fee-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.fee-tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.38rem;
  gap: 0.25rem;
}

.fee-tab-indicator {
  position: absolute;
  top: 0.38rem;
  bottom: 0.38rem;
  left: 0;
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 6px 16px rgba(10, 29, 86, 0.25);
  transition: transform 0.35s var(--ease-elastic), width 0.35s var(--ease-elastic);
  z-index: 1;
}

.fee-tab {
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 0.72rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
  border-radius: 12px;
  transition: color 0.25s ease;
}

.fee-tab.active {
  color: var(--white);
}

.fees-layout {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 1.75rem;
  align-items: start;
}

.fees-layout.no-calc {
  grid-template-columns: 1fr;
}

.fee-table-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.fee-card-corner-tl,
.fee-card-corner-br {
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none;
}

.fee-card-corner-tl {
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--crimson) 0 36%, transparent 36% 44%, var(--navy) 44% 58%, transparent 58%);
}

.fee-card-corner-br {
  bottom: 0;
  right: 0;
  background: linear-gradient(315deg, var(--crimson) 0 36%, transparent 36% 44%, var(--navy) 44% 58%, transparent 58%);
}

.fee-card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-left: 0.85rem;
}

.fee-card-brand-mini {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.mini-badge {
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.fee-card-brand-mini h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--navy);
}

.fee-card-brand-mini p {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.fee-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.fee-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
}

.fee-table thead th:last-child {
  text-align: right;
}

.fee-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, transform 0.2s ease;
  animation: tableRowFade 0.38s var(--ease-out-expo) both;
}

.fee-table tbody tr:nth-child(even) {
  background: #F4F7FB;
}

.fee-table tbody tr:hover {
  background: #EEF2FF;
}

.fee-table tbody tr.is-highlight {
  background: rgba(217, 30, 42, 0.045);
}

.fee-table tbody td {
  padding: 1.02rem 1.25rem;
  font-size: 1rem;
}

.fee-class-cell strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy);
}

.fee-row-note {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.fee-amount-cell {
  text-align: right;
}

.fee-amount-val {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--crimson);
}

.fee-cycle-pill {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 29, 86, 0.09);
  color: var(--navy);
  vertical-align: middle;
}

@keyframes tableRowFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fee-card-footer {
  margin-top: 1rem;
  padding-right: 1rem;
}

.fee-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Fee Calculator Card */
.fee-calculator-card {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 96px;
}

.calc-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.calc-header h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  margin: 0 0 0.3rem;
}

.calc-header p {
  margin: 0 0 1.25rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.calc-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.4rem;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.28rem;
  border-radius: 12px;
}

.seg-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.83rem;
  padding: 0.52rem 0.5rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.seg-btn.active {
  background: var(--crimson);
  color: var(--white);
}

.calc-select {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(5, 14, 43, 0.8);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.calc-select option {
  background: var(--navy-deep);
  color: var(--white);
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.15rem;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.85);
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-total-amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #FCA5A5;
  font-variant-numeric: tabular-nums;
}

.calc-subnote {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #FDE68A;
}

/* ==========================================================================
   METHODOLOGY PILLARS
   ========================================================================== */

.methodology-section {
  background: var(--surface);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--navy), var(--crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.85rem;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* ==========================================================================
   FACULTY SHOWCASE
   ========================================================================== */

.faculty-section {
  background: radial-gradient(circle at 50% 10%, #15348D 0%, var(--navy-deep) 70%);
  color: var(--white);
  overflow: hidden;
}

.faculty-stage {
  position: relative;
  max-width: 1020px;
  margin: 0 auto 3.25rem;
  padding: 2rem 1.5rem 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  overflow: hidden;
}

.faculty-halo {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 72%;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.42), rgba(217, 30, 42, 0.18), transparent 72%);
  filter: blur(42px);
  pointer-events: none;
}

.faculty-quote-pill {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-family: var(--font-motto);
  font-style: italic;
  font-size: 1.25rem;
  color: #FDE68A;
  background: rgba(5, 14, 43, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.faculty-cutout-wrap {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  transition: transform 0.25s ease-out;
}

.faculty-team-img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.55));
}

.faculty-plinth {
  position: relative;
  z-index: 3;
  background: rgba(5, 14, 43, 0.86);
  border-top: 2px solid var(--crimson);
  padding: 0.9rem 1.5rem;
  margin: 0 -1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.plinth-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.faculty-plinth p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.faculty-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1.15rem;
}

.faculty-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  backdrop-filter: blur(10px);
  transition: transform 0.28s var(--ease-out-expo), background 0.28s ease, border-color 0.28s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 158, 11, 0.5);
}

.faculty-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.faculty-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--crimson), #991B1B);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.faculty-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-classes-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #FDE68A;
}

.faculty-card h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 0.2rem;
  color: var(--white);
}

.faculty-role {
  font-size: 0.84rem;
  color: #FCA5A5;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.faculty-spec {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.faculty-bio {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   POSTERS & OFFICIAL BROCHURES
   ========================================================================== */

.posters-section {
  background: var(--white);
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.poster-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.poster-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.poster-thumb-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #EEF2F7;
  overflow: hidden;
}

.poster-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.poster-card:hover .poster-thumb-wrap img {
  transform: scale(1.05);
}

.poster-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(5, 14, 43, 0.82);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.poster-info {
  padding: 1rem 1.15rem 1.2rem;
}

.poster-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--crimson);
  margin-bottom: 0.3rem;
}

.poster-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.poster-info p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   TESTIMONIALS & FAQ
   ========================================================================== */

.testimonials-section {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--ink);
  margin: 0 0 1.35rem;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  background: var(--white);
}

.faq-container {
  max-width: 880px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 29, 86, 0.08);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo), background 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background: var(--crimson);
  color: var(--white);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out-expo);
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 1.4rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   ADMISSIONS & CONTACT
   ========================================================================== */

.admissions-section {
  background: linear-gradient(180deg, var(--surface) 0%, #E8EEF8 100%);
}

.admissions-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.admissions-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 900;
  margin: 0.2rem 0 0.85rem;
  line-height: 1.15;
}

.admissions-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1.75rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--crimson);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.15rem;
}

.contact-value {
  font-weight: 700;
  color: var(--white);
  margin: 0;
  font-size: 0.96rem;
}

.map-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #FDE68A;
  font-weight: 700;
}

/* Form Card */
.admissions-form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.admissions-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0 0 0.3rem;
}

.form-intro {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.admission-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-status.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ==========================================================================
   FOOTER & FLOATING DOCK
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-emblem {
  width: 62px;
  height: 48px;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.footer-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo-row h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
}

.footer-logo-row h3 span {
  color: var(--crimson);
}

.footer-motto {
  font-family: var(--font-motto);
  font-style: italic;
  margin: 0;
  font-size: 0.9rem;
  color: #FDE68A;
}

.footer-desc {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.social-links a {
  padding: 0.4rem 0.78rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.social-links a:hover {
  background: var(--crimson);
  color: var(--white);
}

.admin-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FDE68A;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.admin-portal-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FDE68A;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-submotto {
  font-family: var(--font-motto);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Floating Quick Action Dock */
.floating-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 45;
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(5, 14, 43, 0.26);
  transition: transform 0.25s var(--ease-out-expo), opacity 0.25s ease;
}

.dock-whatsapp {
  background: #16A34A;
  color: var(--white);
}

.dock-whatsapp:hover {
  transform: scale(1.08);
}

.dock-top {
  position: relative;
  background: var(--white);
  color: var(--navy);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.dock-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.progress-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: #E2E8F0;
  stroke-width: 3;
}

.progress-ring-fg {
  fill: none;
  stroke: var(--crimson);
  stroke-width: 3;
  stroke-dasharray: 125.6;
  stroke-dashoffset: 125.6;
  stroke-linecap: round;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 43, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(880px, 94vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.lightbox-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FDE68A;
  font-weight: 700;
}

.lightbox-toolbar h4 {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 0.75rem;
  overflow: hidden;
}

.lightbox-body img {
  max-height: 70vh;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(5, 14, 43, 0.72);
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }

.lightbox-caption {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   MOTION PREFERENCES (ADMIN TOGGLE + REDUCED MOTION)
   ========================================================================== */

body.motion-subtle * {
  animation-duration: 0.35s !important;
}

body.motion-off *,
body.motion-off *::before,
body.motion-off *::after {
  animation: none !important;
  transition: none !important;
}

body.motion-off [data-animate] {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1120px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fees-layout {
    grid-template-columns: 1fr;
  }
  .fee-calculator-card {
    position: static;
  }
}

@media (max-width: 960px) {
  .main-nav,
  .hide-mobile {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admissions-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 3rem 0 2.5rem;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .programs-grid,
  .pillars-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
  .brand-motto {
    display: none;
  }
  .fee-tabs {
    width: 100%;
    justify-content: center;
  }
  .fee-tab {
    font-size: 0.82rem;
    padding: 0.6rem 0.8rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}
