/* ==========================================================================
   EDUVAK — Premium Design System
   File: sections.css
   Layer: SECTIONS — page-section layout (hero first)
   Requires: design-system.css + components.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   SCROLL-REVEAL  (base states — js/main.js adds .is-visible)
   -------------------------------------------------------------------------- */
/* Uses the independent translate/scale properties (not transform) so it
   composes cleanly with the 3D tilt + hover transforms on cards. */
[data-reveal] {
  opacity: 0;
  translate: 0 34px;
  transition: opacity 0.8s var(--ease-out-soft),
              translate 0.8s var(--ease-out-soft),
              scale 0.8s var(--ease-out-soft);
  will-change: opacity, translate;
}
[data-reveal='left']  { translate: -42px 0; }
[data-reveal='right'] { translate: 42px 0; }
[data-reveal='zoom']  { translate: 0 0; scale: 0.92; }
[data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
[data-reveal-delay='1'] { transition-delay: 0.10s; }
[data-reveal-delay='2'] { transition-delay: 0.20s; }
[data-reveal-delay='3'] { transition-delay: 0.30s; }
[data-reveal-delay='4'] { transition-delay: 0.40s; }
[data-reveal-delay='5'] { transition-delay: 0.50s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
  }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  padding-block: clamp(3rem, 1rem + 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

/* Cinematic background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: hero-kenburns 22s var(--ease-in-out-soft) infinite alternate;
}
@keyframes hero-kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.16) translate(-1.5%, -1.5%); }
}

/* Navy cinematic veil */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--gradient-hero-veil);
}
.hero-veil::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 70% at 82% 18%, rgba(212,160,23,0.26), transparent 62%),
    radial-gradient(50% 60% at 8% 92%, rgba(26,95,160,0.40), transparent 60%);
}

/* Floating decorative glow orbs */
.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-orb--gold {
  width: 380px; height: 380px;
  top: -120px; right: -60px;
  background: radial-gradient(circle, rgba(240,190,84,0.5), transparent 70%);
  animation: orb-drift 16s var(--ease-in-out-soft) infinite alternate;
}
.hero-orb--navy {
  width: 460px; height: 460px;
  bottom: -200px; left: -120px;
  background: radial-gradient(circle, rgba(62,128,190,0.55), transparent 70%);
  animation: orb-drift 20s var(--ease-in-out-soft) infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

/* Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  width: 100%;
}

/* ---- Hero content (left) ---------------------------------------------- */
.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-5);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}
.hero-badge .icon { width: 16px; height: 16px; color: var(--gold-300); }

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: 1.06;
  letter-spacing: var(--tracking-tighter);
  color: #fff;
  margin-bottom: var(--space-5);
}
.hero-title .gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: var(--space-6);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}
.hero-trust .trust-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
}
.hero-trust .trust-text b { color: #fff; }

/* Stats */
.hero-stats {
  display: flex;
  gap: clamp(1.25rem, 0.5rem + 2.6vw, 2.75rem);
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: #fff;
}
.hero-stat .stat-num .text-gradient-gold { font: inherit; }
.hero-stat .stat-label {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.62);
}

/* ---- Hero panel (right) ----------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: rgba(8, 38, 71, 0.46);
  backdrop-filter: blur(var(--blur-strong));
  -webkit-backdrop-filter: blur(var(--blur-strong));
  box-shadow: var(--shadow-2xl), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  animation: panel-float 7s var(--ease-in-out-soft) infinite alternate;
}
@keyframes panel-float {
  from { transform: translateY(-8px); }
  to   { transform: translateY(8px); }
}
.hero-panel h3 {
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-4);
}
.hero-panel .panel-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.hero-panel .panel-status {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Floating accent cards */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--glass-light);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  color: var(--ink-900);
}
.hero-float .icon-tile { width: 42px; height: 42px; }
.hero-float .icon-tile .icon { width: 20px; height: 20px; }
.hero-float b { font-size: var(--text-sm); display: block; }
.hero-float span { font-size: var(--text-2xs); color: var(--ink-500); }
.hero-float--tl {
  top: -22px; left: -34px;
  animation: panel-float 6s var(--ease-in-out-soft) infinite alternate-reverse;
}
.hero-float--br {
  bottom: -26px; right: -30px;
  animation: panel-float 8s var(--ease-in-out-soft) infinite alternate;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3vw, 28px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.scroll-cue .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-cue .mouse::before {
  content: '';
  width: 4px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--gold-300);
  animation: scroll-bob 1.8s var(--ease-in-out-soft) infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.3; }
}

/* ---- Hero responsive -------------------------------------------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-content { max-width: 640px; }
  .hero-visual { order: 2; }
  .hero-float--tl { left: 0; }
  .hero-float--br { right: 0; }
}
@media (max-width: 560px) {
  .hero { min-height: auto; padding-block: 3rem 4.5rem; }
  .hero-actions .btn { flex: 1; }
  .hero-float { display: none; }
  .hero-panel { animation: none; }
  .scroll-cue { display: none; }
}

/* --------------------------------------------------------------------------
   SECTION HELPERS
   -------------------------------------------------------------------------- */
.section-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--surface-0);
  border-bottom: 1px solid var(--color-border);
  padding-block: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 0.4rem + 2.4vw, 3rem);
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-soft);
}
.trust-pill .icon {
  width: 22px; height: 22px;
  color: var(--gold-600);
}

/* --------------------------------------------------------------------------
   COURSES
   -------------------------------------------------------------------------- */
.courses-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.7rem;
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--color-text-soft);
}
.meta-pill .icon { width: 14px; height: 14px; color: var(--gold-600); }
.card--course .card-title { font-size: var(--text-lg); }

/* --------------------------------------------------------------------------
   WHY EDUVAK
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.why-media {
  position: relative;
  border-radius: var(--radius-xl);
}
.why-media > img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.why-media-glow {
  position: absolute;
  inset: auto -28px -28px auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,160,23,0.4), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.why-media-card {
  position: absolute;
  left: -28px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--glass-light);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255,255,255,0.6);
}
.why-media-card b { display: block; font-size: var(--text-base); }
.why-media-card span { font-size: var(--text-2xs); color: var(--color-text-muted); }

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.why-feature {
  display: flex;
  gap: var(--space-4);
}
.why-feature .icon-tile { flex: none; width: 52px; height: 52px; }
.why-feature h4 { font-size: var(--text-md); margin-bottom: 4px; }
.why-feature p { font-size: var(--text-sm); line-height: var(--leading-relaxed); }

/* Track record */
.track-record {
  margin-top: clamp(3rem, 1.6rem + 5vw, 5.5rem);
  padding: clamp(2rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: var(--gradient-navy-deep);
  color: #fff;
  box-shadow: var(--shadow-navy);
}
.track-head { text-align: center; margin-bottom: var(--space-6); }
.track-head h3 { color: #fff; font-size: var(--text-xl); }
.track-head p { color: rgba(255,255,255,0.66); font-size: var(--text-sm); }
.track-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-5) var(--space-8);
}
.track-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.86);
}
.track-bar-label b { font-family: var(--font-display); color: var(--gold-300); }
.bar-wrap {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gradient-gold);
  transition: width 1.4s var(--ease-out-soft);
}
[data-reveal].is-visible .bar-fill { width: var(--w); }

/* --------------------------------------------------------------------------
   PROCESS
   -------------------------------------------------------------------------- */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.process-line {
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(240,190,84,0.6) 0 10px, transparent 10px 20px);
}
.process-step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.process-step .step-num {
  width: 52px; height: 52px;
  font-size: var(--text-md);
}
.process-step .icon-tile {
  width: 64px; height: 64px;
  margin-top: var(--space-2);
}
.process-step h4 { color: #fff; font-size: var(--text-md); }
.process-step p { font-size: var(--text-sm); color: rgba(255,255,255,0.7); }

/* --------------------------------------------------------------------------
   COLLEGE SHOWCASE
   -------------------------------------------------------------------------- */
.colleges-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
.college-rating {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.32rem 0.6rem;
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.college-rating .icon { width: 13px; height: 13px; fill: var(--gold-500); stroke: none; }
.college-rating.dark { background: var(--gold-50); }

.college-type {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  margin-bottom: var(--space-2);
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  color: #fff;
}
.type-govt   { background: var(--navy-700); }
.type-pvt    { background: var(--navy-500); }
.type-deemed { background: #0F6E56; }
.type-auto   { background: #6D3FB0; }
.type-univ   { background: #B5651D; }

.college-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.college-loc .icon { color: var(--gold-600); flex: none; }
.card--college .card-title { font-size: var(--text-md); margin-bottom: var(--space-2); }
.card--college .cluster { margin-bottom: var(--space-3); }
.card--college .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
/* Let card bodies grow so CTAs align to the bottom across uneven content */
.card--course .card-body { flex: 1 1 auto; }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.card--testimonial { position: relative; overflow: hidden; }
.card--testimonial .quote-icon {
  width: 44px; height: 44px;
  color: var(--gold-200);
}
.card--testimonial .rating .icon { width: 16px; height: 16px; fill: var(--gold-400); stroke: none; }
.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.testi-avatar {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--gold-200);
}
.testi-author b { display: block; font-size: var(--text-sm); }
.testi-author span { font-size: var(--text-2xs); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   STATS BAND
   -------------------------------------------------------------------------- */
.stats-band {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--gradient-navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.stats-band-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}
.stats-band-grid { text-align: center; }
.stat-block .stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-block .stat-label {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  color: rgba(255,255,255,0.68);
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(7,41,77,0.96) 0%, rgba(11,61,110,0.9) 55%, rgba(10,51,96,0.82) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.88);
}
.contact-list .ci {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}
.contact-list .ci .icon { width: 20px; height: 20px; color: var(--gold-300); }

.contact-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: var(--surface-0);
  box-shadow: var(--shadow-2xl);
}
.contact-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.contact-card .field { margin-bottom: var(--space-4); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-row .field { margin-bottom: 0; }
.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-4);
  font-size: var(--text-2xs);
  color: var(--color-text-muted);
}
.form-note .icon { color: var(--success); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-darker);
  color: rgba(255,255,255,0.7);
  padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
}
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p { font-size: var(--text-sm); color: rgba(255,255,255,0.6); max-width: 36ch; }
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: var(--transition-base);
}
.footer-social a:hover {
  background: var(--gradient-gold);
  color: var(--navy-900);
  transform: translateY(-3px);
}
.footer-social .icon { width: 20px; height: 20px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col li { list-style: none; }
.footer-col a, .footer-col span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--duration-fast) var(--ease-out-soft);
}
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }

/* --------------------------------------------------------------------------
   MODALS
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(12px, 4vw, 48px) clamp(12px, 4vw, 32px);
  background: rgba(4, 18, 31, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity var(--duration-base) var(--ease-out-soft),
              visibility var(--duration-base);
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: auto;
  background: var(--surface-0);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: translateY(28px) scale(0.97);
  opacity: 0;
  transition: transform var(--duration-slow) var(--ease-spring),
              opacity var(--duration-base) var(--ease-out-soft);
}
.modal.is-open .modal-dialog { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(7, 41, 77, 0.55);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: var(--transition-base);
}
.modal-close:hover { background: var(--navy-900); transform: rotate(90deg); }
.modal-close .icon { width: 20px; height: 20px; }

/* Course modal */
.cm-hero {
  position: relative;
  padding: clamp(1.5rem, 1rem + 3vw, 2.75rem);
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.cm-hero-in { display: flex; flex-direction: column; gap: var(--space-3); color: #fff; }
.cm-hero-in .icon-tile { width: 56px; height: 56px; }
.cm-hero-in .badge { align-self: flex-start; }
.cm-hero-in h2 { color: #fff; font-size: var(--text-2xl); }
.cm-content { padding: clamp(1.5rem, 1rem + 3vw, 2.75rem); }
.cm-content .lead { margin-bottom: var(--space-5); }
.cm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.cm-stat {
  text-align: center;
  padding: var(--space-4) var(--space-2);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.cm-stat-v {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--navy-700);
}
.cm-stat-l { font-size: var(--text-2xs); color: var(--color-text-muted); margin-top: 2px; }
.cm-h {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-md);
  margin: var(--space-6) 0 var(--space-3);
}
.cm-h .icon { width: 20px; height: 20px; color: var(--gold-600); }
.cm-h span { font-size: var(--text-xs); font-weight: var(--fw-regular); color: var(--color-text-muted); }
.cm-p { font-size: var(--text-sm); line-height: var(--leading-relaxed); }
.cm-bars { display: flex; flex-direction: column; gap: var(--space-4); }
.cm-bar-top {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  margin-bottom: 6px;
  color: var(--color-text-soft);
}
.cm-bar-top b { color: var(--gold-700); }
.cm-bar-wrap {
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  overflow: hidden;
}
.cm-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gradient-navy);
  transition: width 1s var(--ease-out-soft);
}
.cm-bar-fill.is-gold { background: var(--gradient-gold); }
.cm-bar small { display: block; margin-top: 5px; font-size: var(--text-2xs); color: var(--color-text-muted); }
.cm-eduvak {
  display: flex;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.cm-eduvak .icon-tile { flex: none; }
.cm-eduvak b { display: block; margin-bottom: 4px; font-size: var(--text-md); font-family: var(--font-display); }
.cm-eduvak p { font-size: var(--text-sm); line-height: var(--leading-relaxed); }

/* College modal gallery */
.clg-gallery { position: relative; overflow: hidden; background: var(--navy-900); }
.clg-track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-out-soft);
}
.clg-track img {
  width: 100%;
  flex: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.clg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(7, 41, 77, 0.6);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background var(--duration-base) var(--ease-out-soft);
}
.clg-nav:hover { background: var(--navy-900); }
.clg-prev { left: 12px; }
.clg-next { right: 12px; }
.clg-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.clg-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: var(--transition-base);
}
.clg-dot.is-active { background: var(--gold-400); width: 22px; border-radius: var(--radius-pill); }
.clg-meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.clg-meta .college-type { margin-bottom: 0; }
.clg-name { font-size: var(--text-xl); margin-bottom: var(--space-2); }

/* --------------------------------------------------------------------------
   SECTION RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 940px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-media { max-width: 520px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; gap: var(--space-7) var(--space-5); }
  .process-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .why-features { grid-template-columns: 1fr; }
  .cm-stats { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-media-card { left: 12px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
