/* ==========================================================================
   APEX ZENITH ACADEMY - LUXURY STYLING ENGINE
   Theme: Deep Obsidian Black (#090D16) & Electric Emerald (#10B981)
   Agency-Grade Micro-Interactions & Deliberate Slow Motion
   ========================================================================== */

:root {
  /* Color Architecture */
  --bg-primary: #090D16;
  --bg-secondary: #0B0F19;
  --bg-card: #111927;
  --bg-card-hover: #162235;
  --bg-glass: rgba(9, 13, 22, 0.85);
  --bg-glass-card: rgba(17, 25, 39, 0.75);

  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);
  --accent-emerald-border: rgba(16, 185, 129, 0.22);
  --accent-cyan: #06B6D4;
  --accent-mint: #34D399;

  --text-primary: #F9FAFB;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #090D16;

  --border-subtle: rgba(16, 185, 129, 0.15);
  --border-focus: rgba(16, 185, 129, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Elevation & Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-glow-strong: 0 0 40px rgba(16, 185, 129, 0.45);
  --shadow-cyan-glow: 0 0 25px rgba(6, 182, 212, 0.25);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --header-height-desktop: 60px;
  --header-height-mobile: 52px;
  --container-max-width: 1240px;

  /* Deliberate Agency Transitions */
  --ease-agency: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-normal: 0.9s;
  --duration-slow: 1.2s;
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Lighting */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.07) 0%, rgba(6, 182, 212, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-agency);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   LAYOUT CONTAINERS & UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.section-padding {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  border-radius: 9999px;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Gradient Shimmer Text */
.emerald-shimmer-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #A7F3D0 40%, #10B981 70%, #06B6D4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerFlow 6s linear infinite;
}

@keyframes shimmerFlow {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* --------------------------------------------------------------------------
   SLIM COMPACT STICKY HEADER (Desktop <= 60px, Mobile <= 52px)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-desktop);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
  z-index: 1000;
  transition: background 0.4s var(--ease-agency), border-color 0.4s var(--ease-agency), box-shadow 0.4s var(--ease-agency);
}

.site-header.scrolled {
  background: rgba(9, 13, 22, 0.95);
  border-bottom-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-emerald), 0 0 20px var(--accent-emerald);
  animation: pulseDot 2.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
}

/* STRICTLY ONE-WORD Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0.1rem;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease-agency);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  border-radius: 2px;
  transition: width 0.35s var(--ease-agency);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-emerald);
}

/* Header Action CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-pill-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.42rem 1.1rem;
  color: var(--text-primary);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--accent-emerald);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
  transition: all 0.3s var(--ease-agency);
  white-space: nowrap;
}

.btn-pill-call:hover {
  background: var(--accent-emerald);
  color: var(--text-dark);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.call-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Hamburger Toggle */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  margin: 5px auto;
  transition: transform 0.4s var(--ease-agency), opacity 0.3s ease;
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent-emerald);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent-emerald);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: rgba(9, 13, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--accent-emerald-border);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height-mobile) + 1.5rem) 2rem 2.5rem;
  transition: right 0.5s var(--ease-agency);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.mobile-nav-item {
  transform: translateX(30px);
  opacity: 0;
  transition: transform 0.5s var(--ease-agency), opacity 0.5s ease;
}

.mobile-drawer.is-open .mobile-nav-item {
  transform: translateX(0);
  opacity: 1;
}

/* Stagger cascade in mobile drawer */
.mobile-drawer.is-open .mobile-nav-item:nth-child(1) { transition-delay: 0.10s; }
.mobile-drawer.is-open .mobile-nav-item:nth-child(2) { transition-delay: 0.16s; }
.mobile-drawer.is-open .mobile-nav-item:nth-child(3) { transition-delay: 0.22s; }
.mobile-drawer.is-open .mobile-nav-item:nth-child(4) { transition-delay: 0.28s; }
.mobile-drawer.is-open .mobile-nav-item:nth-child(5) { transition-delay: 0.34s; }
.mobile-drawer.is-open .mobile-nav-item:nth-child(6) { transition-delay: 0.40s; }
.mobile-drawer.is-open .mobile-nav-item:nth-child(7) { transition-delay: 0.46s; }

.mobile-nav-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-emerald);
  padding-left: 0.5rem;
}

.mobile-footer-info {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-location-tag {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   RECURSIVE CASCADE MOTION ENGINE & TEXT ANIMATION ARSENAL
   Agency-Grade Deep-Nested Auto-Stagger System (140ms Index Multiplier)
   -------------------------------------------------------------------------- */

/* 1. Universal Motion Items - Default Inactive State */
.motion-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.05s var(--ease-agency), transform 1.05s var(--ease-agency);
  will-change: opacity, transform;
}

/* When parent .cascade-group is revealed by JS */
.cascade-group.is-revealed .motion-item,
.motion-item.is-revealed,
.reveal-item.revealed,
.stagger-box.revealed .stagger-item {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* 2. Text Animation Arsenal */
/* Split-Word / Line Slide-Up Mask */
.text-mask {
  display: block;
  overflow: hidden;
  line-height: 1.25;
}

.text-mask.inline-mask {
  display: inline-block;
}

.text-mask-inner {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 1.1s var(--ease-agency), opacity 0.85s ease;
  will-change: transform, opacity;
}

.cascade-group.is-revealed .text-mask-inner,
.text-mask-inner.is-revealed {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Directional Text Enters */
.text-slide-left {
  opacity: 0;
  transform: translateX(-50px) !important;
  transition: opacity 1.0s var(--ease-agency), transform 1.0s var(--ease-agency);
  will-change: opacity, transform;
}

.cascade-group.is-revealed .text-slide-left,
.text-slide-left.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.text-slide-right {
  opacity: 0;
  transform: translateX(50px) !important;
  transition: opacity 1.0s var(--ease-agency), transform 1.0s var(--ease-agency);
  will-change: opacity, transform;
}

.cascade-group.is-revealed .text-slide-right,
.text-slide-right.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.text-fade-up {
  opacity: 0;
  transform: translateY(25px) !important;
  transition: opacity 1.0s var(--ease-agency), transform 1.0s var(--ease-agency);
  will-change: opacity, transform;
}

.cascade-group.is-revealed .text-fade-up,
.text-fade-up.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 3. Component & Card Reveal Choreography */
/* Card Outer Shell: slides up & expands from scale 0.94 to 1.0 */
.card-shell {
  opacity: 0;
  transform: translateY(34px) scale(0.94) !important;
  transition: opacity 0.95s var(--ease-agency), transform 0.95s var(--ease-agency);
  will-change: opacity, transform;
}

.cascade-group.is-revealed .card-shell,
.card-shell.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Card Image / Media Zoom-Out Reveal: from scale 1.15 to 1.0 */
.card-media-reveal {
  overflow: hidden;
  border-radius: inherit;
}

.card-media-reveal img,
.card-media-zoom {
  transform: scale(1.15);
  transition: transform 1.25s var(--ease-agency);
  will-change: transform;
}

.cascade-group.is-revealed .card-media-reveal img,
.cascade-group.is-revealed .card-media-zoom,
.card-media-zoom.is-revealed {
  transform: scale(1.0) !important;
}

/* Card Badge / Category: Pops in from the left with a slight bounce */
.badge-pop {
  opacity: 0;
  transform: translateX(-24px) scale(0.88) !important;
  transition: opacity 0.8s ease, transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: opacity, transform;
}

.cascade-group.is-revealed .badge-pop,
.badge-pop.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) scale(1) !important;
}

/* Card Feature Bullets: sequential items */
.bullet-reveal {
  opacity: 0;
  transform: translateX(-18px) !important;
  transition: opacity 0.85s var(--ease-agency), transform 0.85s var(--ease-agency);
  will-change: opacity, transform;
}

.cascade-group.is-revealed .bullet-reveal,
.bullet-reveal.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Card CTA Button: Fades in last with a glowing pulse */
.btn-pulse-reveal {
  opacity: 0;
  transform: translateY(18px) !important;
  transition: opacity 0.9s var(--ease-agency), transform 0.9s var(--ease-agency);
  will-change: opacity, transform;
}

.cascade-group.is-revealed .btn-pulse-reveal,
.btn-pulse-reveal.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: subtleBtnGlow 3s infinite ease-in-out 1.5s;
}

@keyframes subtleBtnGlow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  }
  50% {
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.65), 0 0 15px rgba(6, 182, 212, 0.4);
  }
}

/* 4. Performance Safeguard: remove will-change once sequence completes */
.motion-done,
.motion-done .motion-item,
.motion-done .card-shell,
.motion-done .text-mask-inner,
.motion-done .text-slide-left,
.motion-done .text-slide-right,
.motion-done .text-fade-up,
.motion-done .badge-pop,
.motion-done .bullet-reveal,
.motion-done .btn-pulse-reveal {
  will-change: auto !important;
}

/* Backward compatibility with .reveal-item and .stagger-box */
.reveal-item,
.stagger-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-normal) var(--ease-agency),
              transform var(--duration-normal) var(--ease-agency);
}

.revealed,
.stagger-box.revealed .stagger-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   FOCUS MODE: SEQUENTIAL NESTED DIV COMPONENT CASCADE & DELAY ANIMATIONS
   Targeted Selectors:
   1. main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2)
   2. main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2)
   3. main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2)
   4. main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2)
   ========================================================================== */

/* Base transitions on all nested div components inside the selected containers */
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2),
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2),
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2),
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) {
  position: relative;
}

main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) div,
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) div,
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) div,
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) div {
  transition-property: opacity, transform;
  transition-duration: 0.95s;
  transition-timing-function: var(--ease-agency);
}

/* 1. Selector 1: Programs Grid (.programs-grid) - Sequential Staggered Delays for All Nested Components */
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) {
  transition-delay: 0.05s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-header-badge {
  transition-delay: 0.14s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-title {
  transition-delay: 0.23s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-target {
  transition-delay: 0.32s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-meta-list {
  transition-delay: 0.41s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-features li:nth-child(1) {
  transition-delay: 0.50s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-features li:nth-child(2) {
  transition-delay: 0.59s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-features li:nth-child(3) {
  transition-delay: 0.68s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .card-footer-cta {
  transition-delay: 0.77s;
}

main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) {
  transition-delay: 0.45s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-ribbon {
  transition-delay: 0.54s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-header-badge {
  transition-delay: 0.63s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-title {
  transition-delay: 0.72s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-target {
  transition-delay: 0.81s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-meta-list {
  transition-delay: 0.90s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-features li:nth-child(1) {
  transition-delay: 0.99s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-features li:nth-child(2) {
  transition-delay: 1.08s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-features li:nth-child(3) {
  transition-delay: 1.17s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .card-footer-cta {
  transition-delay: 1.26s;
}

main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) {
  transition-delay: 0.85s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-header-badge {
  transition-delay: 0.94s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-title {
  transition-delay: 1.03s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-target {
  transition-delay: 1.12s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-meta-list {
  transition-delay: 1.21s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-features li:nth-child(1) {
  transition-delay: 1.30s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-features li:nth-child(2) {
  transition-delay: 1.39s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-features li:nth-child(3) {
  transition-delay: 1.48s;
}
main:nth-of-type(1) > section#courses:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .card-footer-cta {
  transition-delay: 1.57s;
}

/* 2. Selector 2: Schedule Grid (.schedule-grid) - Day Cards & Internal Elements */
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) {
  transition-delay: 0.05s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .day-badge {
  transition-delay: 0.15s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .day-title {
  transition-delay: 0.25s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .day-desc {
  transition-delay: 0.35s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .day-hours {
  transition-delay: 0.45s;
}

main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) {
  transition-delay: 0.30s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .day-badge {
  transition-delay: 0.40s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .day-title {
  transition-delay: 0.50s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .day-desc {
  transition-delay: 0.60s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .day-hours {
  transition-delay: 0.70s;
}

main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) {
  transition-delay: 0.55s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .day-badge {
  transition-delay: 0.65s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .day-title {
  transition-delay: 0.75s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .day-desc {
  transition-delay: 0.85s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .day-hours {
  transition-delay: 0.95s;
}

main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) {
  transition-delay: 0.80s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .day-badge {
  transition-delay: 0.90s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .day-title {
  transition-delay: 1.00s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .day-desc {
  transition-delay: 1.10s;
}
main:nth-of-type(1) > section#schedule:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .day-hours {
  transition-delay: 1.20s;
}

/* 3. Selector 3: Facilities Grid (.facilities-grid) - Image Wraps, Contents & Headings */
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) {
  transition-delay: 0.05s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .facility-img-wrap {
  transition-delay: 0.15s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .facility-content {
  transition-delay: 0.25s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .facility-title {
  transition-delay: 0.35s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .facility-desc {
  transition-delay: 0.45s;
}

main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) {
  transition-delay: 0.30s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .facility-img-wrap {
  transition-delay: 0.40s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .facility-content {
  transition-delay: 0.50s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .facility-title {
  transition-delay: 0.60s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .facility-desc {
  transition-delay: 0.70s;
}

main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) {
  transition-delay: 0.55s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .facility-img-wrap {
  transition-delay: 0.65s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .facility-content {
  transition-delay: 0.75s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .facility-title {
  transition-delay: 0.85s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .facility-desc {
  transition-delay: 0.95s;
}

main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) {
  transition-delay: 0.80s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .facility-img-wrap {
  transition-delay: 0.90s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .facility-content {
  transition-delay: 1.00s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .facility-title {
  transition-delay: 1.10s;
}
main:nth-of-type(1) > section#facilities:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(4) .facility-desc {
  transition-delay: 1.20s;
}

/* 4. Selector 4: Faculty Grid (.faculty-grid) - Photos, Names, Roles & Bios */
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) {
  transition-delay: 0.05s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .faculty-photo {
  transition-delay: 0.15s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .faculty-name {
  transition-delay: 0.25s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .faculty-role {
  transition-delay: 0.35s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .faculty-credentials {
  transition-delay: 0.45s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(1) .faculty-bio {
  transition-delay: 0.55s;
}

main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) {
  transition-delay: 0.40s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .faculty-photo {
  transition-delay: 0.50s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .faculty-name {
  transition-delay: 0.60s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .faculty-role {
  transition-delay: 0.70s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .faculty-credentials {
  transition-delay: 0.80s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(2) .faculty-bio {
  transition-delay: 0.90s;
}

main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) {
  transition-delay: 0.75s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .faculty-photo {
  transition-delay: 0.85s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .faculty-name {
  transition-delay: 0.95s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .faculty-role {
  transition-delay: 1.05s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .faculty-credentials {
  transition-delay: 1.15s;
}
main:nth-of-type(1) > section:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-child(3) .faculty-bio {
  transition-delay: 1.25s;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height-desktop) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  border-radius: 9999px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.hero-loc-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

/* Typewriter Subtitle */
.hero-typewriter-wrapper {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  min-height: 3.6em;
  max-width: 600px;
}

.typewriter-text {
  color: var(--text-primary);
  font-weight: 600;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  background-color: var(--accent-emerald);
  margin-left: 3px;
  vertical-align: -0.15em;
  animation: blinkCursor 0.85s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  background: var(--accent-emerald);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 8px;
  border: 1px solid var(--accent-emerald);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.35s var(--ease-agency);
  cursor: pointer;
}

.btn-primary:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  background: rgba(17, 25, 39, 0.8);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all 0.35s var(--ease-agency);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

/* Hero Micro Trust Stats */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
  object-fit: cover;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trust-text strong {
  color: var(--text-primary);
}

/* Hero Image Card with Glowing Accent */
.hero-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.hero-image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 13, 22, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 1.2s var(--ease-agency);
}

.hero-image-card:hover .hero-img {
  transform: scale(1.04);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(17, 25, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-emerald-border);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.floating-badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-badge-sub {
  font-size: 0.75rem;
  color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   METRIC / STAT HIGHLIGHTS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.4s var(--ease-agency), transform 0.4s var(--ease-agency), box-shadow 0.4s var(--ease-agency);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  border-color: var(--accent-emerald-border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-number-wrapper {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-counter {
  color: var(--accent-emerald);
}

.stat-suffix {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.stat-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   PROGRAMS & BATCHES (3D TILT CARDS)
   -------------------------------------------------------------------------- */
.programs-section {
  background-color: var(--bg-primary);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1200px;
}

.tilt-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease-out, border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: var(--shadow-card);
}

.tilt-card.featured {
  background: linear-gradient(180deg, #131f31 0%, #111927 100%);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.15);
}

.card-ribbon {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.card-header-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card-target {
  font-size: 0.875rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.card-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
}

.card-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.card-meta-item span.meta-val {
  color: var(--text-primary);
  font-weight: 600;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-emerald);
  margin-top: 2px;
}

.card-footer-cta {
  margin-top: auto;
}

.btn-card-enroll {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  transition: all 0.3s var(--ease-agency);
  cursor: pointer;
}

.btn-card-enroll:hover {
  background: var(--accent-emerald);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* --------------------------------------------------------------------------
   WEEKLY ACADEMIC SYSTEM
   -------------------------------------------------------------------------- */
.academic-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

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

.schedule-day-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: transform 0.35s var(--ease-agency), border-color 0.35s ease;
}

.schedule-day-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
}

.day-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.day-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.day-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.day-hours {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   INFRASTRUCTURE & FACILITIES (Image Cards)
   -------------------------------------------------------------------------- */
.facilities-section {
  background-color: var(--bg-primary);
}

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

.facility-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-agency), border-color 0.4s ease;
}

.facility-card:hover {
  border-color: var(--accent-emerald-border);
  transform: translateY(-6px);
}

.facility-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-agency);
}

.facility-card:hover .facility-img {
  transform: scale(1.08);
}

.facility-content {
  padding: 1.5rem;
}

.facility-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.facility-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   STUDY MATERIAL KIT & SCHOLARSHIP (ZTSE)
   -------------------------------------------------------------------------- */
.materials-section {
  background-color: var(--bg-secondary);
}

.materials-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.materials-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.material-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.material-box:hover {
  transform: translateX(6px);
  border-color: var(--accent-emerald-border);
}

.material-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.material-box-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.material-box-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Scholarship ZTSE Card */
.ztse-card {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15) 0%, #111927 70%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.ztse-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #090D16;
  background: var(--accent-emerald);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.ztse-waiver-headline {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 900;
  color: #F9FAFB;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.ztse-waiver-headline span {
  color: var(--accent-emerald);
}

.ztse-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.ztse-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.ztse-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ztse-points li svg {
  color: var(--accent-emerald);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   FACULTY & PEDAGOGY
   -------------------------------------------------------------------------- */
.faculty-section {
  background-color: var(--bg-primary);
}

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

.faculty-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-agency), border-color 0.4s ease;
}

.faculty-card:hover {
  border-color: var(--accent-emerald-border);
  transform: translateY(-6px);
}

.faculty-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem auto;
  border: 3px solid var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.faculty-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.faculty-role {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
}

.faculty-credentials {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1rem;
}

.faculty-bio {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 4 Pillars Philosophy */
.pedagogy-pillars-row {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar-box {
  background: rgba(17, 25, 39, 0.6);
  border: 1px dashed rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.pillar-step {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   HALL OF FAME (TESTIMONIAL SLIDER)
   -------------------------------------------------------------------------- */
.results-section {
  background-color: var(--bg-secondary);
}

.slider-container {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 3.5rem 0;
}

.slider-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.6s var(--ease-agency);
  cursor: grab;
  user-select: none;
}

.slider-track:active {
  cursor: grabbing;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--accent-emerald-border);
  transform: translateY(-4px);
}

.quote-mark {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(16, 185, 129, 0.12);
  pointer-events: none;
}

.topper-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.topper-quote {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.topper-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}

.topper-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-emerald);
}

.topper-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.topper-rank {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.slider-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-nav-btn:hover {
  background: var(--accent-emerald);
  color: var(--text-dark);
  border-color: var(--accent-emerald);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.is-active {
  width: 28px;
  border-radius: 9999px;
  background: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   ADMISSION PROCEDURE (3-STEP TIMELINE)
   -------------------------------------------------------------------------- */
.admission-section {
  background-color: var(--bg-primary);
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.timeline-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.timeline-step-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-5px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.step-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.is-open {
  border-color: var(--accent-emerald-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.faq-item.is-open .faq-question {
  color: var(--accent-emerald);
}

.faq-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
  transition: transform 0.4s var(--ease-agency), background 0.3s ease, color 0.3s ease;
}

.faq-item.is-open .faq-icon-wrapper {
  transform: rotate(45deg);
  background: var(--accent-emerald);
  color: var(--text-dark);
  border-color: var(--accent-emerald);
}

.faq-icon {
  width: 14px;
  height: 14px;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-agency);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CONTACT & LEAD CAPTURE
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.contact-info-header {
  margin-bottom: 2rem;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.contact-detail-val {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* WhatsApp Direct CTA Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Interactive Map Placeholder */
.map-placeholder-box {
  margin-top: 1.5rem;
  height: 160px;
  border-radius: 12px;
  background: #0d141f;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.map-placeholder-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 80%);
  pointer-events: none;
}

/* Inquiry Form */
.inquiry-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  background: rgba(9, 13, 22, 0.95);
}

.form-submit-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--accent-emerald);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-agency);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.form-submit-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  padding: 4.5rem 0 2rem 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   MODAL DIALOG (Brochure / Instant Confirmation)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-emerald-border);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease-agency);
}

.modal-overlay.is-active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .programs-grid,
  .facilities-grid,
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid,
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-layout {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    flex: 0 0 calc(50% - 0.9rem);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height-desktop: 52px;
  }

  .site-header {
    height: var(--header-height-mobile);
  }

  .desktop-nav,
  .btn-pill-call {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  /* Mobile adjustment for Hero CTA Group (Focus Mode targeted selector) */
  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3),
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 0.85rem;
    margin-bottom: 2rem;
    box-shadow: none !important;
  }

  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > a,
  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > button,
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 1.25rem;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border-radius: 8px;
    box-sizing: border-box;
  }

  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > a:active,
  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > button:active,
  .hero-cta-group .btn-primary:active,
  .hero-cta-group .btn-secondary:active {
    transform: scale(0.985);
  }

  .programs-grid,
  .facilities-grid,
  .faculty-grid,
  .pedagogy-pillars-row,
  .timeline-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3),
  .hero-cta-group {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > a,
  main:nth-of-type(1) > section#hero:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > button,
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    font-size: 0.875rem;
    padding: 0.8rem 1rem;
    min-height: 48px;
    gap: 0.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .hero-typewriter-wrapper {
    min-height: auto;
    margin-bottom: 1.75rem;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }
}

