/* ==========================================================================
   Avinya Vidya Mandir — Official Design System
   "Rooted in Values, Rising in Excellence"
   35-17/2 Virander Nagar Burari Delhi 110084 | +91 9911102005 | admin@avinyaschool.com
   ========================================================================== */

:root {
  /* Brand Palette from Avinya Crest */
  --navy-950: #071524;
  --navy-900: #0d2238;
  --navy-800: #143254;
  --navy-700: #1d4570;
  --navy-600: #295b91;
  --navy-100: #e7eff8;
  --navy-50:  #f3f7fc;

  --saffron-700: #b93e20;
  --saffron-600: #df5433;
  --saffron-500: #e86b4c;
  --saffron-100: #fdeee9;
  --saffron-50:  #fff7f5;

  --gold-600: #d98f12;
  --gold-500: #f5a623;
  --gold-400: #f7ba4f;
  --gold-100: #fef5e4;
  --gold-50:  #fffaf0;

  --emerald-700: #1b634e;
  --emerald-600: #278065;
  --emerald-500: #38a383;
  --emerald-100: #e6f6f0;
  --emerald-50:  #f3faf7;

  --sky-600: #3a75ad;
  --sky-500: #4f8bc4;
  --sky-100: #e8f2fc;
  --sky-50:  #f4f8fe;

  /* Surfaces & Neutrals */
  --bg-primary: #ffffff;
  --bg-secondary: #fcfbfa;
  --bg-alt: #f6f8fb;
  --text-main: #182230;
  --text-muted: #576375;
  --text-light: #8995a5;
  --border-light: #e4e9f0;
  --border-subtle: #edf2f7;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(13, 34, 56, 0.05);
  --shadow-md: 0 6px 18px rgba(13, 34, 56, 0.08);
  --shadow-lg: 0 14px 34px rgba(13, 34, 56, 0.12);
  --shadow-xl: 0 22px 50px rgba(13, 34, 56, 0.16);
  --shadow-glow: 0 0 24px rgba(223, 84, 51, 0.25);

  /* Fonts */
  --font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Layout */
  --max-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  /* Parity Design Tokens & Aliases for Avinya Vidya Mandir */
  --navy: var(--navy-900);
  --navy-dark: var(--navy-950);
  --navy-light: var(--navy-700);
  --cream: #FAF7F2;
  --cream-card: #FFFFFF;
  --cream-alt: #F4EFE6;
  --cream-border: #E8DFC8;
  --magenta: #C41E66;
  --magenta-soft: #FDF0F5;
  --green: var(--emerald-600);
  --green-soft: var(--emerald-50);
  --gold: var(--gold-500);
  --gold-dark: var(--gold-600);
  --gold-soft: var(--gold-50);
  --orange: var(--saffron-600);
  --orange-soft: var(--saffron-50);
  --blue: var(--sky-600);
  --blue-soft: var(--sky-50);
  --font-heading: var(--font-serif);
  --font-body: var(--font-sans);
  --font-script: 'Caveat', cursive, sans-serif;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-warm: 0 12px 32px rgba(223, 84, 51, 0.09);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* Containers & Grid */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(39, 128, 101, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(39, 128, 101, 0);
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmerEffect {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.75s ease-out forwards;
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Scroll reveal helper */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease-out, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Top Alert Bar & Contact Info
   ========================================================================== */
/* Sticky Unified Header Container (News Ticker + Navigation) */
.sticky-top-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

.sticky-top-wrap .top-bar {
  position: relative;
  z-index: 2;
}

.sticky-top-wrap .header {
  position: relative;
  top: auto;
  z-index: 1;
}

.top-bar {
  background: linear-gradient(90deg, #031427 0%, #06244C 50%, #031427 100%);
  color: #ffffff;
  font-size: 0.84rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 100;
  overflow: hidden;
}

/* Centered News Ticker Layout */
.top-bar-ticker-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.ticker-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, #E66A23 0%, #D9531E 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(230, 106, 35, 0.35);
  z-index: 2;
  user-select: none;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: tickerDotPulse 1.8s infinite ease-in-out;
}

@keyframes tickerDotPulse {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, black 24px, black calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 24px, black calc(100% - 24px), transparent 100%);
  cursor: default;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerSlide 40s linear infinite;
  will-change: transform;
}

.ticker-viewport:hover .ticker-track,
.ticker-viewport:focus-within .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-group {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  padding-right: 1.15rem;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0;
  font-weight: 450;
  font-size: 0.83rem;
  white-space: nowrap;
}

.ticker-item strong {
  color: #ffffff;
  font-weight: 600;
}

.ticker-highlight {
  color: #FBBF24;
  font-weight: 600;
}

.ticker-link {
  color: #d8e5f3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.ticker-link:hover {
  color: #FBBF24;
}

.ticker-link-wa {
  color: #25D366 !important;
  font-weight: 600;
}

.ticker-link-wa:hover {
  color: #4ade80 !important;
}

.ticker-tour-pill {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ticker-tour-pill:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  user-select: none;
}

/* Backward compatibility for legacy pages */
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  text-align: center;
}

.top-bar-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.badge-tag {
  background: var(--saffron-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  animation: badgePulse 3s infinite ease-in-out;
}

.badge-green {
  background: var(--emerald-600);
}

.top-bar-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.top-bar-link {
  color: #d8e5f3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  font-size: 0.84rem;
}

.top-bar-link:hover {
  color: var(--gold-400);
  transform: translateY(-1px);
}

.top-bar-tour-btn {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.top-bar-tour-btn:hover {
  background: var(--emerald-600);
  color: #ffffff;
  transform: scale(1.03);
}

.top-bar-wa {
  color: #25D366 !important;
  font-weight: 600;
}

.top-bar-wa:hover {
  color: #4ade80 !important;
}

.top-bar-wa-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .ticker-badge {
    font-size: 0.65rem;
    padding: 0.18rem 0.55rem;
  }
  .top-bar-ticker-wrap {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(13, 34, 56, 0.04);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: clamp(10px, 1.5vw, 20px);
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: max-content;
}

.brand-crest {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-crest {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--emerald-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(4px, 0.75vw, 12px);
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-size: clamp(0.78rem, 0.8vw, 0.88rem);
  font-weight: 500;
  color: var(--navy-900);
  padding: 0.35rem 0.2rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--saffron-600);
  border-radius: var(--radius-pill);
  transition: width var(--transition-fast);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* 360 Tour Button */
.btn-tour-360 {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--emerald-700) 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 10px rgba(27, 99, 78, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-tour-360:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 99, 78, 0.35);
  background: linear-gradient(135deg, var(--emerald-700) 0%, var(--navy-800) 100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron-600) 0%, var(--saffron-700) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(223, 84, 51, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(223, 84, 51, 0.45);
  color: #fff;
}

.btn-secondary {
  background: var(--navy-900);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background: transparent;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--navy-950);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--navy-900);
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(223, 84, 51, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(39, 128, 101, 0.07) 0%, transparent 45%),
              var(--bg-secondary);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--saffron-100);
  color: var(--saffron-700);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.5s ease-out;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  line-height: 1.15;
  color: var(--navy-950);
  font-weight: 700;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.7s ease-out;
}

.hero-title span.highlight-saffron {
  color: var(--saffron-600);
  position: relative;
  display: inline-block;
}

.hero-title span.highlight-green {
  color: var(--emerald-600);
}

.hero-motto {
  font-family: var(--font-accent);
  font-size: 1.7rem;
  color: var(--emerald-700);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition-fast);
}

.hero-badge-item:hover {
  transform: translateY(-2px);
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--saffron-600);
  border: 1px solid var(--border-light);
}

.hero-badge-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.2;
}

.hero-badge-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid #ffffff;
  background: #ffffff;
  transition: transform var(--transition-normal);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.floating-top-right {
  top: -1.5rem;
  right: -1rem;
  animation: floatSlow 4s ease-in-out infinite;
}

.floating-bottom-left {
  bottom: -1.5rem;
  left: -1rem;
  animation: floatSlow 4s ease-in-out infinite 2s;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.icon-emerald { background: var(--emerald-100); color: var(--emerald-700); }
.icon-saffron { background: var(--saffron-100); color: var(--saffron-600); }
.icon-gold { background: var(--gold-100); color: var(--gold-600); }

/* ==========================================================================
   Section Headers & Common Blocks
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-alt);
}

.section-navy {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #ffffff;
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--saffron-600);
  margin-bottom: 0.75rem;
}

.section-navy .section-eyebrow {
  color: var(--gold-400);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  color: var(--navy-950);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-navy .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-navy .section-subtitle {
  color: #c9d7e8;
}

/* ==========================================================================
   360° Virtual School Tour Showcase Card
   ========================================================================== */
.tour-360-showcase {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--emerald-700) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tour-360-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.tour-360-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.tour-360-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.tour-360-desc {
  color: #d1e2f3;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.tour-360-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  display: block;
}

.tour-360-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-360-visual:hover img {
  transform: scale(1.08);
}

.tour-360-overlay-play {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 36, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background var(--transition-fast);
}

.tour-360-visual:hover .tour-360-overlay-play {
  background: rgba(7, 21, 36, 0.2);
}

.play-360-disc {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--saffron-600);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 20px rgba(223, 84, 51, 0.6);
  animation: pulseGlow 2.5s infinite;
}

/* ==========================================================================
   Interactive Google Map Suite (Modern, Full-Width & Responsive)
   ========================================================================== */
.section-contact-map,
.section-campus-map {
  padding: 60px 0;
  background: var(--bg-alt);
}

.contact-map-wrapper,
.map-section-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.contact-map-bar,
.map-header-bar {
  background: var(--navy-900);
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.map-location-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.map-location-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-beacon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.map-location-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.map-address-sub,
.map-address-badge {
  font-size: 0.85rem;
  color: var(--gold-400);
  line-height: 1.3;
}

.map-size-tabs,
.map-size-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.map-size-btn,
.map-toggle-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.map-size-btn:hover,
.map-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.map-size-btn.active,
.map-toggle-btn.active {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  font-weight: 700;
}

.contact-map-frame-box,
.map-frame-container {
  position: relative;
  width: 100%;
  height: 520px;
  background: #eaeef3;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.contact-map-frame-box iframe,
.map-frame-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
  margin: 0 !important;
}

.contact-map-frame-box.mode-large,
.map-frame-container.mode-large {
  height: 680px;
}

.contact-map-frame-box.mode-compact,
.map-frame-container.mode-compact {
  height: 380px;
}

.contact-map-footer-bar {
  background: #ffffff;
  padding: 14px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.map-address-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-address-text .f-pin {
  font-size: 1.1rem;
}

.map-external-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Route Guides Grid */
.map-routes-heading {
  margin-top: 35px;
  margin-bottom: 20px;
}

.map-routes-heading h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.map-routes-heading p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.routes-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.route-guide-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.route-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.route-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.route-from-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.route-time-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-50);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.route-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.route-landmarks-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--navy-50);
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* ==========================================================================
   Redesigned Seamless Fee Calculator
   ========================================================================== */
.fee-calc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: stretch;
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-output-col {
  background: linear-gradient(180deg, var(--navy-50) 0%, #ffffff 100%);
  border: 1.5px solid var(--navy-100);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.calc-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.92rem;
}

.calc-row-item:last-of-type {
  border-bottom: none;
}

.calc-row-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.calc-row-val {
  font-weight: 600;
  color: var(--navy-900);
}

.calc-grand-total {
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin: 1.5rem 0 1.25rem;
  box-shadow: var(--shadow-md);
}

.calc-total-digits {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin: 0.35rem 0;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   The Avinya 1-Acre Annual Growth Model & CBSE K-12 Roadmap
   ========================================================================== */
.growth-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.growth-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.growth-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--saffron-500);
}

.growth-card.current {
  border: 2px solid var(--saffron-600);
  background: linear-gradient(180deg, var(--saffron-50) 0%, #ffffff 40%);
}

.growth-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.badge-active {
  background: var(--saffron-600);
  color: #ffffff;
}

.badge-upcoming {
  background: var(--navy-100);
  color: var(--navy-800);
}

.growth-card-stage {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.growth-card-grades {
  font-weight: 600;
  color: var(--emerald-600);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.growth-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.growth-card-feature {
  border-top: 1px dashed var(--border-light);
  padding-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--navy-700);
  font-weight: 500;
}

/* 1-Acre Campus Advantage Banner */
.campus-advantage-banner {
  background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.campus-advantage-content h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.campus-advantage-content p {
  color: #e5f5ef;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.campus-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  text-align: center;
}

.campus-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.campus-stat-label {
  font-size: 0.82rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Real Photo Feature Showcases
   ========================================================================= */
.photo-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.story-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.story-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover .story-card-img img {
  transform: scale(1.06);
}

.story-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(13, 34, 56, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.story-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.story-card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.story-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--saffron-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.story-card-link:hover {
  gap: 0.6rem;
  color: var(--saffron-700);
}

/* ==========================================================================
   Curriculum & Pedagogy Pillars
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem 1.85rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-500);
}

.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.pillar-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Founders' Special Privileges & Admissions Strip
   ========================================================================== */
.admissions-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.perk-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-fast);
}

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

.perk-icon {
  font-size: 2.25rem;
  margin-bottom: 0.85rem;
}

.perk-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.perk-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Gallery Page & Interactive Filters
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #ffffff;
  color: var(--navy-900);
  border: 1.5px solid var(--border-light);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f1f4f8;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item.portrait-item {
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 21, 36, 0.85) 0%, rgba(7, 21, 36, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-item-cat {
  font-size: 0.75rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 21, 36, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 75vh;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  color: #ffffff;
  text-align: center;
  margin-top: 1rem;
}

.lightbox-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: #c9d7e8;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--saffron-600);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--saffron-600);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ==========================================================================
   Modals (Inquiry & Tour)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 34, 56, 0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--navy-50);
  color: var(--navy-900);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--saffron-600);
  color: #ffffff;
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--saffron-600);
  box-shadow: 0 0 0 3px var(--saffron-100);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-950);
  color: #ffffff;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-crest {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-motto {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  color: var(--gold-400);
}

.footer-desc {
  font-size: 0.9rem;
  color: #9cb2c9;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--saffron-600);
}

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

.footer-links a {
  color: #a4b9d0;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #a4b9d0;
  font-size: 0.9rem;
}

.footer-contact-icon {
  color: var(--saffron-500);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #7d93ac;
}

.footer-bottom > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
}

.footer-bottom a {
  color: #a4b9d0;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Admin Dashboard Styles
   ========================================================================== */
.admin-body {
  background: #f1f5f9;
  min-height: 100vh;
}

.admin-header {
  background: var(--navy-900);
  color: #ffffff;
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.admin-stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.admin-stat-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy-900);
}

.admin-stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.admin-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--navy-50);
  color: var(--navy-900);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.admin-table tr:hover td {
  background: #f8fafc;
}

.status-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pending { background: var(--gold-100); color: var(--gold-600); }
.status-contacted { background: var(--sky-100); color: var(--sky-600); }
.status-scheduled { background: var(--saffron-100); color: var(--saffron-600); }
.status-enrolled { background: var(--emerald-100); color: var(--emerald-600); }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .growth-model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admissions-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campus-advantage-banner {
    grid-template-columns: 1fr;
  }
  .fee-calc-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tour-360-showcase {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1160px) {
  .mobile-toggle {
    display: block;
  }
  .nav-actions {
    display: none !important;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    display: none;
    z-index: 1000;
  }
  .sticky-top-wrap .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }
  .nav-links.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-actions {
    display: none !important;
  }
  .navbar {
    justify-content: space-between;
    gap: 0.5rem;
  }
  .brand-logo {
    min-width: 0;
    gap: 0.5rem;
    max-width: calc(100% - 50px);
  }
  .brand-crest {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.58rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .pillars-grid, .photo-story-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
  }
  .hero-motto-spaced {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
  .hero-overline-tag {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .growth-model-grid {
    grid-template-columns: 1fr;
  }
  .admissions-perks-grid {
    grid-template-columns: 1fr;
  }
  .campus-stats-strip {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-card img {
    height: 340px;
  }
}


/* ==========================================================================
   AVINYA VIDYA MANDIR — PARITY MODULES (PARENTS, CAREERS, ALUMNI, CALENDAR, A11Y)
   ========================================================================== */

/* ==========================================================================
   ORIGINKIT-INSPIRED ANIMATIONS MODULE (CUSTOM TAILORED FOR CRAYON BOX SCHOOL)
   1. STICKER PEEL (.sticker-peel, .adm-trust-item, .hero-floating-card)
   2. SHINE CARD & 3D PERSPECTIVE TILT (.shine-card, .stage-card, .step-card, .fee-card)
   3. SCROLL TEXT HIGHLIGHT (.highlight-crayon)
   4. DRY BRUSH / WATERCOLOR MASK REVEAL (.dry-brush-frame)
   5. BUBBLE BURST PARTICLES (.bubble-particle)
   6. INTERACTIVE GOOGLE MAPS SWITCHER (.map-view-switcher, .google-map-embed-wrap)
   ========================================================================== */

/* 1. STICKER PEEL */
.sticker-peel,
.adm-trust-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  transform-origin: center bottom;
}

.sticker-peel:hover,
.adm-trust-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 26px -4px rgba(6, 36, 76, 0.14), 0 4px 10px rgba(229, 169, 30, 0.12);
}

/* 2. SHINE CARD WITH 3D PERSPECTIVE & DYNAMIC LIGHT SHEEN */
.shine-card,
.stage-card,
.step-card,
.fee-card,
.campus-pillar-card,
.age-checker-card,
.leader-card,
.pillar-card,
.faculty-card,
.board-member-card,
.cred-card,
.department-card,
.route-guide-card,
.contact-ribbon-card,
.walkthrough-step,
.fleet-feature-card,
.faq-guide-card,
.zone-card,
.dir-card,
.safety-pillar-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.shine-card::after,
.stage-card::after,
.step-card::after,
.fee-card::after,
.campus-pillar-card::after,
.age-checker-card::after,
.leader-card::after,
.pillar-card::after,
.faculty-card::after,
.board-member-card::after,
.cred-card::after,
.department-card::after,
.route-guide-card::after,
.contact-ribbon-card::after,
.walkthrough-step::after,
.fleet-feature-card::after,
.faq-guide-card::after,
.zone-card::after,
.dir-card::after,
.safety-pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(229, 169, 30, 0.08) 35%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 5;
}

.shine-card:hover::after,
.stage-card:hover::after,
.step-card:hover::after,
.fee-card:hover::after,
.campus-pillar-card:hover::after,
.age-checker-card:hover::after,
.leader-card:hover::after,
.pillar-card:hover::after,
.faculty-card:hover::after,
.board-member-card:hover::after,
.cred-card:hover::after,
.department-card:hover::after,
.route-guide-card:hover::after,
.contact-ribbon-card:hover::after,
.walkthrough-step:hover::after,
.fleet-feature-card:hover::after,
.faq-guide-card:hover::after,
.zone-card:hover::after,
.dir-card:hover::after,
.safety-pillar-card:hover::after {
  opacity: 1;
}

/* 3. SCROLL TEXT HIGHLIGHT (BULLETPROOF MULTI-LINE CRAYON HIGHLIGHTER) */
.text-nowrap {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .text-nowrap {
    white-space: normal !important;
  }
}

.highlight-crayon {
  display: inline;
  background-image: linear-gradient(120deg, rgba(229, 169, 30, 0.42) 0%, rgba(240, 185, 45, 0.52) 100%);
  background-repeat: no-repeat;
  background-size: 0% 52%;
  background-position: 0 88%;
  transition: background-size 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 4px;
  padding: 0 4px;
}

.highlight-crayon.in-view,
.in-view .highlight-crayon {
  background-size: 100% 52%;
}

.highlight-crayon-gold {
  background: linear-gradient(120deg, rgba(229, 169, 30, 0.45) 0%, rgba(229, 169, 30, 0.7) 100%);
  background-repeat: no-repeat;
  background-size: 100% 45%;
  background-position: 0 88%;
  border-radius: 4px;
  padding: 0 4px;
}

/* ==========================================================================
   SECTION 21 — PARENT CORNER & PORTAL (parents.html)
   ========================================================================== */

/* Hero */
.section-parents-hero {
  position: relative;
  padding: 140px 0 70px;
  background: linear-gradient(180deg, #FDFBF7 0%, #F5F1E8 100%);
  overflow: hidden;
}

.parents-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.parents-hero-content {
  max-width: 920px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.parents-hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  margin: 20px 0 18px;
  letter-spacing: -0.02em;
}

.parents-hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 32px auto;
}

.parents-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.parents-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.parents-kpi-card {
  background: #FFFFFF;
  border: 1px solid rgba(229, 169, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(26, 43, 76, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.parents-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(26, 43, 76, 0.08);
}

.parents-kpi-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 10px;
}

.parents-kpi-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.parents-kpi-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ERP Section */
.section-parents-erp {
  padding: 100px 0;
  background: #FFFFFF;
}

.erp-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.erp-intro-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.erp-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}

.erp-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #FDFBF7;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 169, 30, 0.2);
}

.erp-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.erp-step-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.erp-step-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.erp-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}

.app-store-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.app-store-pill:hover {
  transform: translateY(-2px);
  background: #0f1c33;
  color: #FFFFFF;
}
.app-store-pill .store-icon {
  font-size: 1.4rem;
}

.erp-visual-col {
  position: relative;
}

.erp-visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(26, 43, 76, 0.14);
  border: 3px solid #FFFFFF;
}

.erp-visual-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.erp-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  background: rgba(26, 43, 76, 0.94);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.erp-floating-badge .badge-icon {
  font-size: 1.4rem;
  background: #166534;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.erp-floating-badge .badge-text {
  font-size: 0.84rem;
  line-height: 1.35;
}
.erp-floating-badge .badge-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gold);
}

/* 6 ERP Modules Grid */
.erp-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.erp-module-card {
  background: #FDFBF7;
  border: 1px solid rgba(229, 169, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.erp-module-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(26, 43, 76, 0.08);
}

.erp-module-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  background: rgba(229, 169, 30, 0.15);
}

.erp-module-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.erp-module-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Calendar Section */
.section-parents-calendar {
  padding: 100px 0;
  background: #F8F5EE;
}

.calendar-terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.calendar-term-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 43, 76, 0.1);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(26, 43, 76, 0.05);
}

.calendar-term-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 2px solid #F1ECE1;
}

.calendar-term-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.calendar-term-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.calendar-events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calendar-event-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(26, 43, 76, 0.1);
}
.calendar-event-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-date-badge {
  min-width: 62px;
  background: var(--navy);
  color: #FFFFFF;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 8px 6px;
  flex-shrink: 0;
}

.event-date-month {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.event-date-day {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.event-details h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.event-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.calendar-download-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #152238 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 16px 36px rgba(26, 43, 76, 0.15);
}

.calendar-download-banner h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.calendar-download-banner p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 0.92rem;
}

/* Timings Section */
.section-parents-timings {
  padding: 100px 0;
  background: #FFFFFF;
}

.wing-timings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.wing-timing-card {
  background: #FDFBF7;
  border: 1px solid rgba(229, 169, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.wing-timing-card.featured-wing {
  border-color: var(--gold);
  background: #FFFDF9;
  box-shadow: 0 12px 30px rgba(229, 169, 30, 0.12);
}

.wing-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.wing-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.wing-hours {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--magenta);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wing-hours-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.wing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}
.wing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.wing-features-list li::before {
  content: "✔";
  color: #166534;
  font-weight: 700;
  flex-shrink: 0;
}

/* Master Bell Schedule Table */
.bell-table-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(26, 43, 76, 0.12);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: 0 10px 28px rgba(26, 43, 76, 0.04);
}

.bell-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.bell-table th {
  background: var(--navy);
  color: #FFFFFF;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.bell-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #F1ECE1;
  color: var(--text-main);
}

.bell-table tr:last-child td {
  border-bottom: none;
}

.bell-table tr.highlight-break {
  background: rgba(229, 169, 30, 0.08);
  font-weight: 600;
}

.bell-table tr.highlight-break td:first-child {
  color: #B7791F;
}

/* Uniform Section */
.section-parents-uniform {
  padding: 100px 0;
  background: #FDFBF7;
}

.uniform-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.uniform-card {
  background: #FFFFFF;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uniform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26, 43, 76, 0.08);
}

.uniform-card-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.uniform-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.uniform-card-days {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.uniform-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}

.uniform-spec-list li strong {
  color: var(--navy);
  display: block;
}

.uniform-spec-list li span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Vendor Info Box */
.uniform-vendor-box {
  background: #FFFFFF;
  border: 2px dashed rgba(229, 169, 30, 0.6);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.uniform-vendor-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.uniform-vendor-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Booklists Section */
.section-parents-books {
  padding: 100px 0;
  background: #FFFFFF;
}

.booklists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.booklist-card {
  background: #FDFBF7;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.booklist-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.booklist-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.booklist-grade {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.booklist-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.light-bag-pledge {
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.light-bag-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.light-bag-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 4px;
}

.light-bag-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* PTA Section */
.section-parents-pta {
  padding: 100px 0;
  background: #F8F5EE;
}

.pta-split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.pta-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 43, 76, 0.12);
  border: 3px solid #FFFFFF;
}

.pta-photo-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.pta-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 43, 76, 0.95) 70%);
  color: #FFFFFF;
  padding: 24px 20px 18px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.pta-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.pta-pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(229, 169, 30, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
}

.pta-pillar-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pta-pillar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Downloads Section */
.section-parents-downloads {
  padding: 100px 0;
  background: #FFFFFF;
}

.downloads-table-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(26, 43, 76, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 43, 76, 0.04);
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #F1ECE1;
  transition: background-color 0.2s ease;
}
.download-row:last-child {
  border-bottom: none;
}
.download-row:hover {
  background-color: #FDFBF7;
}

.download-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-doc-icon {
  font-size: 1.8rem;
  color: #C62828;
}

.download-doc-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.download-doc-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQs Section */
.section-parents-faqs {
  padding: 100px 0;
  background: #FDFBF7;
}

/* Support Banner */
.section-parents-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #101c33 100%);
  color: #FFFFFF;
  text-align: center;
}

.parents-cta-box {
  max-width: 1080px;
  margin: 0 auto;
}

.parents-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  color: #FFFFFF;
  margin-bottom: 16px;
}

.parents-cta-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.parents-cta-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  font-size: 1rem;
}

.parents-cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
}
.parents-cta-contact-item strong {
  color: var(--gold);
}

/* Modals & ERP Login */
.modal-erp-card {
  max-width: 520px;
  padding: 32px;
}

.erp-login-tabs {
  display: flex;
  border-bottom: 2px solid #F1ECE1;
  margin-bottom: 20px;
  gap: 16px;
}

.erp-tab-btn {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.erp-tab-btn.active {
  color: var(--navy);
  font-weight: 700;
}
.erp-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.erp-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #166534;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.3s ease;
}
.erp-toast.show {
  display: flex;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR PARENT CORNER & PORTAL
   ========================================================================== */

@media (max-width: 1200px) {
  .booklists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .erp-split-grid {
    gap: 36px;
  }
}

@media (max-width: 992px) {
  .parents-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .erp-split-grid {
    grid-template-columns: 1fr;
  }
  .erp-visual-img {
    height: 360px;
  }
  .erp-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calendar-terms-grid {
    grid-template-columns: 1fr;
  }
  .wing-timings-grid {
    grid-template-columns: 1fr;
  }
  .uniform-cards-grid {
    grid-template-columns: 1fr;
  }
  .pta-split-grid {
    grid-template-columns: 1fr;
  }
  .pta-photo-img {
    height: 360px;
  }
  .calendar-download-banner {
    flex-direction: column;
    text-align: center;
  }
  .uniform-vendor-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-parents-hero {
    padding: 110px 0 50px;
  }
  .parents-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .parents-hero-actions .btn {
    width: 100%;
  }
  .parents-kpi-bar {
    grid-template-columns: 1fr;
  }
  .erp-modules-grid {
    grid-template-columns: 1fr;
  }
  .booklists-grid {
    grid-template-columns: 1fr;
  }
  .pta-pillars-grid {
    grid-template-columns: 1fr;
  }
  .download-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .download-row .btn {
    width: 100%;
  }
  .parents-cta-contacts {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .calendar-term-card {
    padding: 22px 18px;
  }
  .event-date-badge {
    min-width: 54px;
    padding: 6px 4px;
  }
  .light-bag-pledge {
    flex-direction: column;
    text-align: center;
  }
}

/* Ultrawide 2100px+ Scaling for Parents */
@media (min-width: 2100px) {
  .parents-hero-container {
    max-width: min(94vw, 2100px);
  }
  .parents-hero-content {
    max-width: 1300px;
  }
  .parents-kpi-bar {
    max-width: min(94vw, 2100px);
    gap: 28px;
  }
  .erp-modules-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .booklists-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pta-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 2560px) {
  .parents-hero-container {
    max-width: min(94vw, 2520px);
  }
  .parents-hero-content {
    max-width: 1600px;
  }
  .parents-kpi-bar {
    max-width: min(94vw, 2520px);
    gap: 32px;
  }
}

@media (min-width: 3400px) {
  .parents-hero-container {
    max-width: min(94vw, 3200px);
  }
  .parents-hero-content {
    max-width: 1900px;
  }
  .parents-kpi-bar {
    max-width: min(94vw, 3200px);
    gap: 36px;
  }
}


/* ==========================================================================
   SECTION 23 — CAREERS & FACULTY RECRUITMENT (careers.html)
   ========================================================================== */

/* Hero */
.section-careers-hero {
  position: relative;
  padding: 140px 0 60px;
  background: linear-gradient(180deg, #FDFBF7 0%, #F5F1E8 100%);
  overflow: hidden;
}

.careers-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.careers-hero-content {
  max-width: 920px;
  margin: 0 auto 46px auto;
  text-align: center;
}

.careers-hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  margin: 20px 0 18px;
  letter-spacing: -0.02em;
}

.careers-hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.careers-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.careers-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.careers-kpi-card {
  background: #FFFFFF;
  border: 1px solid rgba(229, 169, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(26, 43, 76, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.careers-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(26, 43, 76, 0.08);
}

.careers-kpi-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 10px;
}

.careers-kpi-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.careers-kpi-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Benefits Section */
.section-careers-benefits {
  padding: 100px 0;
  background: #FFFFFF;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.benefit-card {
  background: #FDFBF7;
  border: 1px solid rgba(229, 169, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(26, 43, 76, 0.08);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Current Openings Section */
.section-careers-openings {
  padding: 100px 0;
  background: #F8F5EE;
}

.openings-filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.openings-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #FFFFFF;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(26, 43, 76, 0.1);
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 43, 76, 0.04);
}

.opening-filter-btn {
  background: none;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.opening-filter-btn:hover {
  color: var(--navy);
  background: rgba(26, 43, 76, 0.05);
}

.opening-filter-btn.active {
  background: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(26, 43, 76, 0.16);
}

.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.vacancy-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 43, 76, 0.1);
  padding: 32px 28px;
  box-shadow: 0 10px 28px rgba(26, 43, 76, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.vacancy-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(26, 43, 76, 0.09);
}

.vacancy-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.vacancy-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.vacancy-dept {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vacancy-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(46, 125, 50, 0.12);
  color: #2E7D32;
  white-space: nowrap;
}

.vacancy-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-pill {
  font-size: 0.82rem;
  background: #F5F1E8;
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vacancy-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}
.vacancy-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.vacancy-specs-list li strong {
  color: var(--navy);
  min-width: 90px;
  flex-shrink: 0;
}

.vacancy-footer {
  border-top: 1px dashed #F1ECE1;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Process Section */
.section-careers-process {
  padding: 100px 0;
  background: #FFFFFF;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step-card {
  background: #FDFBF7;
  border: 1px solid rgba(229, 169, 30, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  text-align: center;
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border: 2px solid var(--gold);
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Application Form Section */
.section-careers-form {
  padding: 100px 0;
  background: #F8F5EE;
}

.careers-form-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 16px 48px rgba(26, 43, 76, 0.08);
  border: 1px solid rgba(26, 43, 76, 0.1);
}

.careers-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.careers-form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.careers-form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.file-upload-box {
  border: 2px dashed rgba(26, 43, 76, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: #FDFBF7;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.file-upload-box:hover {
  border-color: var(--gold);
  background: #FFFDF9;
}

.file-upload-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

/* Testimonials / Teacher Voices */
.section-careers-voices {
  padding: 100px 0;
  background: #FFFFFF;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.voice-card {
  background: #FDFBF7;
  border: 1px solid rgba(229, 169, 30, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.voice-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px dashed #F1ECE1;
  padding-top: 16px;
}

.voice-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.voice-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.voice-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Educator Culture & Environment */
.section-careers-culture {
  padding: 100px 0;
  background: #FFFFFF;
}

.culture-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.culture-split-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 70px;
}

.culture-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 43, 76, 0.12);
  border: 1px solid rgba(229, 169, 30, 0.3);
}

.culture-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.culture-image-card:hover img {
  transform: scale(1.02);
}

.culture-img-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(26, 43, 76, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(229, 169, 30, 0.4);
}

.culture-points-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.culture-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.culture-point-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(229, 169, 30, 0.15);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.culture-point-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.culture-point-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Career Application Toast */
.career-toast, #careerToast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #166534;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  animation: slideInUp 0.3s ease;
}

.career-toast.show, #careerToast.show {
  display: flex;
}

/* Responsive Media Queries for Careers */
@media (max-width: 1200px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .culture-split-grid,
  .culture-split-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .culture-image-card img {
    height: 300px;
  }
  .careers-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vacancies-grid {
    grid-template-columns: 1fr;
  }
  .voices-grid {
    grid-template-columns: 1fr;
  }
  .careers-form-wrap {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .section-careers-hero {
    padding: 110px 0 50px;
  }
  .careers-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .careers-hero-actions .btn {
    width: 100%;
  }
  .careers-kpi-bar {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .openings-filter-bar {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px;
    border-radius: var(--radius-md);
  }
}

/* Ultrawide 2100px+ Scaling for Careers */
@media (min-width: 2100px) {
  .careers-hero-container {
    max-width: min(94vw, 2100px);
  }
  .careers-hero-content {
    max-width: 1300px;
  }
  .careers-kpi-bar {
    max-width: min(94vw, 2100px);
    gap: 28px;
  }
  .benefits-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .vacancies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (min-width: 2560px) {
  .careers-hero-container {
    max-width: min(94vw, 2520px);
  }
  .careers-hero-content {
    max-width: 1600px;
  }
  .careers-kpi-bar {
    max-width: min(94vw, 2520px);
    gap: 32px;
  }
}

@media (min-width: 3400px) {
  .careers-hero-container {
    max-width: min(94vw, 3200px);
  }
  .careers-hero-content {
    max-width: 1900px;
  }
  .careers-kpi-bar {
    max-width: min(94vw, 3200px);
    gap: 36px;
  }
  .vacancies-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}


/* ==========================================================================
   SECTION 26 — ALUMNI NETWORK & WALL OF FAME (alumni.html)
   ========================================================================== */

/* Hero */
.section-alumni-hero {
  position: relative;
  padding: 140px 0 60px;
  background: linear-gradient(180deg, #F8F5EE 0%, #FFFFFF 100%);
  border-bottom: 1px solid rgba(229, 169, 30, 0.2);
}

.alumni-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.alumni-hero-content {
  max-width: 920px;
  margin: 0 auto 36px;
  text-align: center;
}

.alumni-hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin: 20px 0 16px;
  letter-spacing: -0.02em;
}

.alumni-hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 28px;
}

.alumni-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.alumni-kpi-card {
  background: #FFFFFF;
  border: 1px solid rgba(229, 169, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(26, 43, 76, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.alumni-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(26, 43, 76, 0.08);
}

.alumni-kpi-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 10px;
}

.alumni-kpi-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.alumni-kpi-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Controls: Search & Filter */
.alumni-controls-wrap {
  max-width: 920px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.alumni-search-box {
  position: relative;
  width: 100%;
}

.alumni-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(26, 43, 76, 0.18);
  background: #FFFFFF;
  font-size: 1rem;
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(26, 43, 76, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.alumni-search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(229, 169, 30, 0.18);
}

.alumni-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
}

.alumni-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.alumni-filter-btn {
  background: #FFFFFF;
  border: 1px solid rgba(26, 43, 76, 0.12);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}
.alumni-filter-btn:hover {
  background: #F8F5EE;
  color: var(--navy);
  border-color: var(--navy);
}
.alumni-filter-btn.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(26, 43, 76, 0.15);
}

/* Wall of Fame Grid */
.alumni-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.alumni-card {
  background: #FFFFFF;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 43, 76, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.alumni-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(26, 43, 76, 0.1);
}

.alumni-card-media {
  position: relative;
  height: 240px;
  background: #ECE7DE;
  overflow: hidden;
}
.alumni-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.alumni-card:hover .alumni-card-media img {
  transform: scale(1.04);
}

.alumni-batch-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 43, 76, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(229, 169, 30, 0.4);
}

.alumni-domain-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #FFFFFF;
  color: var(--navy);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alumni-card-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.alumni-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.alumni-curr-role {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.alumni-quote {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}

.alumni-card-footer {
  padding: 16px 22px;
  border-top: 1px dashed #ECE7DE;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FCFAF6;
}

/* Mentorship Initiatives Grid */
.section-alumni-mentorship {
  padding: 90px 0;
  background: #FFFFFF;
}

.mentorship-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.mentorship-card {
  background: #FDFBF7;
  border: 1px solid rgba(229, 169, 30, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
}

.mentorship-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(26, 43, 76, 0.08);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 18px;
}

/* Registration Form */
.section-alumni-form {
  padding: 90px 0;
  background: #F8F5EE;
}

.alumni-form-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 16px 48px rgba(26, 43, 76, 0.08);
  border: 1px solid rgba(26, 43, 76, 0.1);
}

/* Toast */
.alumni-toast, #alumniToast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #166534;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  animation: slideInUp 0.3s ease;
}
.alumni-toast.show, #alumniToast.show {
  display: flex;
}

/* Modal Alumnus Story */
.modal-alumni-card {
  max-width: 740px;
  width: 92%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.modal-alumni-header {
  background: var(--navy);
  color: #FFFFFF;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-alumni-body {
  padding: 32px 28px;
  background: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
}

/* Responsive Media Queries for Alumni */
@media (max-width: 1200px) {
  .alumni-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mentorship-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-alumni-hero {
    padding: 110px 0 40px;
  }
  .alumni-kpi-bar {
    grid-template-columns: 1fr;
  }
  .alumni-cards-grid {
    grid-template-columns: 1fr;
  }
  .alumni-form-wrap {
    padding: 28px 20px;
  }
}

/* Ultrawide 2100px+ Scaling for Alumni */
@media (min-width: 2100px) {
  .alumni-hero-container {
    max-width: min(94vw, 2100px);
  }
  .alumni-hero-content {
    max-width: 1350px;
  }
  .alumni-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .alumni-kpi-bar {
    max-width: min(94vw, 2100px);
  }
}

@media (min-width: 2560px) {
  .alumni-hero-container {
    max-width: min(94vw, 2520px);
  }
  .alumni-hero-content {
    max-width: 1600px;
  }
}

@media (min-width: 3400px) {
  .alumni-cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}


/* ==========================================================================
   SECTION 27 — ACCESSIBILITY & READING TOOLBAR (WCAG AAA)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap');

/* Font Scaling on HTML root */
html.font-scale-sm { font-size: 14px !important; }
html.font-scale-base { font-size: 16px !important; }
html.font-scale-lg { font-size: 18.5px !important; }
html.font-scale-xl { font-size: 21px !important; }

/* Enhanced Focus Outlines for Keyboard Navigation */
:focus-visible {
  outline: 3px solid var(--gold) !important;
  outline-offset: 3px !important;
}

/* Dyslexia-Friendly Font Mode */
body.dyslexia-font,
body.dyslexia-font * {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0.04em !important;
  word-spacing: 0.08em !important;
  line-height: 1.8 !important;
}

/* Highlight Links Mode */
body.highlight-links a:not(.btn):not(.brand-link):not(.nav-link):not(.mobile-link) {
  background-color: #FFEB3B !important;
  color: #000000 !important;
  text-decoration: underline 2px solid #000000 !important;
  font-weight: 700 !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
}

/* Monochrome / Grayscale Mode */
body.monochrome {
  filter: grayscale(100%) !important;
}

/* High Contrast Mode (WCAG AAA Pure Black & High-Visibility Yellow/White) */
body.high-contrast {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

body.high-contrast .site-header {
  background-color: #000000 !important;
  border-bottom: 3px solid #FFFF00 !important;
}

body.high-contrast .brand-name,
body.high-contrast .brand-motto,
body.high-contrast .nav-link,
body.high-contrast .mobile-link,
body.high-contrast p,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body.high-contrast span,
body.high-contrast li,
body.high-contrast td,
body.high-contrast th,
body.high-contrast label,
body.high-contrast div {
  color: #FFFFFF !important;
}

body.high-contrast a {
  color: #FFFF00 !important;
  text-decoration: underline !important;
}

body.high-contrast section,
body.high-contrast main,
body.high-contrast .site-footer {
  background-color: #000000 !important;
  border-color: #FFFF00 !important;
}

body.high-contrast .btn,
body.high-contrast button {
  background-color: #000000 !important;
  color: #FFFF00 !important;
  border: 2px solid #FFFF00 !important;
}

body.high-contrast .btn:hover,
body.high-contrast button:hover {
  background-color: #FFFF00 !important;
  color: #000000 !important;
}

body.high-contrast .btn-gold,
body.high-contrast .btn-primary {
  background-color: #FFFF00 !important;
  color: #000000 !important;
  font-weight: 800 !important;
}

body.high-contrast .disclosure-card,
body.high-contrast .news-card,
body.high-contrast .alumni-card,
body.high-contrast .vacancy-card,
body.high-contrast .benefit-card,
body.high-contrast .parents-kpi-card,
body.high-contrast .careers-kpi-card,
body.high-contrast .doc-card,
body.high-contrast .infra-spec-card,
body.high-contrast .committee-card,
body.high-contrast .timeline-item-card,
body.high-contrast .mentorship-card,
body.high-contrast .careers-form-wrap,
body.high-contrast .alumni-form-wrap,
body.high-contrast .modal-card {
  background-color: #121212 !important;
  border: 2px solid #FFFF00 !important;
  box-shadow: none !important;
}

body.high-contrast .form-input,
body.high-contrast select,
body.high-contrast textarea {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFF00 !important;
}

body.high-contrast .spotlight-tag,
body.high-contrast .news-category-badge,
body.high-contrast .disclosure-meta-tag,
body.high-contrast .badge-verified,
body.high-contrast .meta-pill {
  background-color: #000000 !important;
  color: #FFFF00 !important;
  border: 1px solid #FFFF00 !important;
}

body.high-contrast .leaf-ambient-container {
  display: none !important;
}

body.high-contrast .a11y-trigger-btn {
  background: #000000 !important;
  color: #FFFF00 !important;
  border: 2px solid #FFFF00 !important;
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.4) !important;
}

body.high-contrast .a11y-panel {
  background: #000000 !important;
  border: 2px solid #FFFF00 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 25px rgba(255, 255, 0, 0.3) !important;
}

body.high-contrast .a11y-panel-header {
  background: #111111 !important;
  color: #FFFF00 !important;
  border-bottom: 2px solid #FFFF00 !important;
}

body.high-contrast .a11y-group-label {
  color: #FFFF00 !important;
}

body.high-contrast .a11y-opt-btn {
  background: #000000 !important;
  color: #FFFFFF !important;
  border: 1px solid #FFFF00 !important;
}

body.high-contrast .a11y-opt-btn.active {
  background: #FFFF00 !important;
  color: #000000 !important;
  font-weight: 800 !important;
}

body.high-contrast .a11y-toggle-item {
  background: #111111 !important;
  border: 1px solid #FFFF00 !important;
}

body.high-contrast .a11y-toggle-text {
  color: #FFFFFF !important;
}

body.high-contrast .a11y-switch-btn {
  background: #333333 !important;
  border: 1px solid #FFFF00 !important;
}

body.high-contrast .a11y-switch-btn.active {
  background: #FFFF00 !important;
}

body.high-contrast .a11y-switch-btn.active::after {
  background: #000000 !important;
}

body.high-contrast .a11y-reset-btn {
  background: #000000 !important;
  color: #FFFF00 !important;
  border: 1px solid #FFFF00 !important;
}

/* Floating Accessibility Launcher Button */
.a11y-trigger-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9995;
  background: var(--navy);
  color: #FFFFFF;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-full);
  padding: 6px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(6, 36, 76, 0.22);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.a11y-trigger-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.a11y-trigger-btn:hover {
  transform: translateY(-2px);
  background: var(--navy-light);
  box-shadow: 0 8px 22px rgba(6, 36, 76, 0.3);
}

.a11y-trigger-btn .a11y-icon {
  font-size: 1rem;
}

/* Accessibility Control Drawer / Panel */
.a11y-panel {
  position: fixed;
  bottom: 64px;
  left: 20px;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #FFFFFF;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(6, 36, 76, 0.25);
  z-index: 9996;
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: slideInUp 0.25s ease;
}

.a11y-panel.open {
  display: flex;
}

.a11y-panel-header {
  background: var(--navy);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a11y-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.a11y-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.a11y-panel-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 70vh;
  overflow-y: auto;
}

.a11y-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a11y-group-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin: 0;
}

.a11y-btn-row {
  display: flex;
  gap: 6px;
}

.a11y-opt-btn {
  flex: 1;
  background: #F8F5EE;
  border: 1px solid rgba(26, 43, 76, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.a11y-opt-btn:hover {
  background: #EDE6D8;
  border-color: var(--navy);
}

.a11y-opt-btn.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.a11y-toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #FDFBF7;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-sm);
}

.a11y-toggle-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}

.a11y-switch-btn {
  background: #E0E0E0;
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 24px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.a11y-switch-btn::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.a11y-switch-btn.active {
  background: #2E7D32;
}

.a11y-switch-btn.active::after {
  transform: translateX(20px);
}

.a11y-reset-btn {
  background: #FFF3E0;
  border: 1px solid #FFE0B2;
  color: #E65100;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
}
.a11y-reset-btn:hover {
  background: #FFE0B2;
}

/* ==========================================================================
   FLOATING QUICK ADMISSIONS CONNECT (WHATSAPP)
   ========================================================================== */
.floating-quick-connect {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9990;
}

.quick-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-weight: 600;
  font-size: 0.80rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill, 9999px);
  box-shadow: 0 6px 18px rgba(18, 140, 126, 0.32), 0 2px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid #FFFFFF;
  position: relative;
}

.quick-whatsapp-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.45);
  color: #FFFFFF !important;
  text-decoration: none;
}

.quick-whatsapp-btn .wa-svg-icon {
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.quick-whatsapp-btn .wa-text {
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Pulsing badge ring effect */
.quick-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.6);
  opacity: 0;
  animation: waPulse 2.8s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  60% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

.btn-green-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-green-whatsapp:hover {
  background: #1eb857;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.35);
  text-decoration: none;
}

.btn-green-whatsapp .wa-svg-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .a11y-trigger-btn {
    bottom: 14px;
    left: 12px;
    padding: 5px 10px;
    font-size: 0.74rem;
    gap: 5px;
  }
  .a11y-trigger-btn svg {
    width: 14px;
    height: 14px;
  }
  .a11y-panel {
    left: 12px;
    bottom: 56px;
    width: calc(100vw - 24px);
  }
  .floating-quick-connect {
    bottom: 14px;
    right: 12px;
  }
  .quick-whatsapp-btn {
    padding: 5px 11px;
    font-size: 0.75rem;
    gap: 5px;
  }
  .quick-whatsapp-btn .wa-svg-icon {
    width: 15px;
    height: 15px;
  }
  .wa-text-full {
    display: none;
  }
}

@media (max-width: 480px) {
  .a11y-trigger-btn {
    bottom: 12px;
    left: 10px;
    padding: 4px 8px;
    font-size: 0.69rem;
    gap: 4px;
  }
  .a11y-trigger-btn svg {
    width: 12px;
    height: 12px;
  }
  .a11y-panel {
    left: 10px;
    bottom: 50px;
    width: calc(100vw - 20px);
  }
  .floating-quick-connect {
    bottom: 12px;
    right: 10px;
  }
  .quick-whatsapp-btn {
    padding: 4px 9px;
    font-size: 0.70rem;
    gap: 4px;
  }
  .quick-whatsapp-btn .wa-svg-icon {
    width: 13px;
    height: 13px;
  }
}

/* ==========================================================================
   INTERACTIVE ACADEMIC CALENDAR & MONTH VIEW
   ========================================================================== */
.calendar-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(6, 36, 76, 0.08);
  box-shadow: 0 12px 36px rgba(6, 36, 76, 0.06);
  padding: 32px;
  margin-bottom: 40px;
}

.calendar-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid rgba(6, 36, 76, 0.08);
}

.calendar-month-selector {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calendar-nav-btn {
  background: #FDFBF7;
  border: 1.5px solid rgba(6, 36, 76, 0.15);
  border-radius: var(--radius-full);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.calendar-current-month {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  min-width: 200px;
  text-align: center;
}

.calendar-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calendar-category-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #F8F5EE;
  border-radius: var(--radius-md);
}

.cal-filter-btn {
  background: #FFFFFF;
  border: 1px solid rgba(6, 36, 76, 0.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cal-filter-btn.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.cal-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-exam { background: #D32F2F; }
.dot-holiday { background: #2E7D32; }
.dot-sports { background: #E65100; }
.dot-cultural { background: #1976D2; }
.dot-ptm { background: #7B1FA2; }

/* Grid Layout */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-header-day {
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 0;
}

.calendar-day-cell {
  min-height: 110px;
  background: #FDFBF7;
  border: 1px solid rgba(6, 36, 76, 0.08);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.calendar-day-cell:hover {
  background: #FFFFFF;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 36, 76, 0.08);
}

.calendar-day-cell.inactive {
  background: #FAFAFA;
  opacity: 0.35;
  cursor: default;
}

.calendar-day-cell.inactive:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(6, 36, 76, 0.08);
}

.calendar-day-cell.today {
  border: 2px solid var(--navy);
  background: #FFFFFF;
}

.calendar-day-cell.today .calendar-day-num {
  background: var(--navy);
  color: #FFFFFF;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-day-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.calendar-day-num {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.calendar-today-pill {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}

.calendar-day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.event-pill {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 3px solid transparent;
}

.event-pill.exam {
  background: #FFEBEE;
  color: #C62828;
  border-left-color: #C62828;
}

.event-pill.holiday {
  background: #E8F5E9;
  color: #2E7D32;
  border-left-color: #2E7D32;
}

.event-pill.sports {
  background: #FFF3E0;
  color: #E65100;
  border-left-color: #E65100;
}

.event-pill.cultural {
  background: #E3F2FD;
  color: #1565C0;
  border-left-color: #1565C0;
}

.event-pill.ptm {
  background: #F3E5F5;
  color: #7B1FA2;
  border-left-color: #7B1FA2;
}

/* Day Details Modal */
.modal-day-details-card {
  max-width: 540px;
}

.modal-day-item {
  background: #FDFBF7;
  border-radius: var(--radius-md);
  border: 1px solid rgba(6, 36, 76, 0.08);
  padding: 16px;
  margin-bottom: 12px;
}

.modal-day-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.modal-day-item-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.modal-day-item-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .calendar-wrapper {
    padding: 20px 14px;
  }
  .calendar-grid {
    gap: 4px;
  }
  .calendar-day-cell {
    min-height: 70px;
    padding: 4px;
  }
  .event-pill span.event-pill-text {
    display: none;
  }
  .event-pill {
    padding: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 2px auto;
  }
}


/* ==========================================================================
   SECTION 24 — VAANI MASCOT COMPANION & INTERACTIVE SHOWCASE
   Powered by @bible-strong/avatar-web
   ========================================================================== */
@keyframes vaaniFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes vaaniCardPop {
  0% { opacity: 0; transform: scale(0.88) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Floating Dock */
.vaani-floating-dock {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 9980;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.vaani-speech-bubble {
  pointer-events: auto;
  background: #FFFFFF;
  border: 2px solid var(--gold);
  border-radius: 18px 18px 4px 18px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(6, 36, 76, 0.16);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: vaaniFloat 3.5s ease-in-out infinite;
  max-width: 240px;
  line-height: 1.35;
}

.vaani-bubble-close {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}
.vaani-bubble-close:hover {
  color: var(--navy);
}

.vaani-dock-btn {
  pointer-events: auto;
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.38);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.vaani-dock-btn:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.55);
}

.vaani-dock-canvas {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.vaani-dock-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 12px;
  border: 1.5px solid var(--gold);
  letter-spacing: 0.5px;
}

/* Guide Card Drawer */
.vaani-guide-card {
  pointer-events: auto;
  position: fixed;
  bottom: 176px;
  right: 24px;
  width: 350px;
  max-width: calc(100vw - 48px);
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(6, 36, 76, 0.22);
  border: 2px solid var(--gold);
  overflow: hidden;
  z-index: 9990;
  display: none;
  flex-direction: column;
}

.vaani-guide-card.open {
  display: flex;
  animation: vaaniCardPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vaani-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, #06244C 0%, #0F3A70 100%);
  color: #FFFFFF;
}

.vaani-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}

.vaani-card-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vaani-card-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.vaani-card-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.vaani-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vaani-card-avatar-box {
  width: 140px;
  height: 140px;
  margin-bottom: 8px;
}

.vaani-card-speech {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
  width: 100%;
  font-style: italic;
  min-height: 52px;
}

.vaani-emotion-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
  width: 100%;
}

.vaani-emotion-btn {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}

.vaani-emotion-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--navy);
}

.vaani-emotion-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.vaani-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.vaani-action-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  background: #F8FAFC;
  color: var(--navy);
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vaani-action-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  transform: translateX(3px);
  color: var(--navy);
}

.vaani-action-btn.primary {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}
.vaani-action-btn.primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.vaani-action-btn.whatsapp {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}
.vaani-action-btn.whatsapp:hover {
  background: #D1FAE5;
}

/* In-Page Showcase Section (Student Life) */
.section-sl-mascot {
  padding: 90px 0;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFFDF5 100%);
  position: relative;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.sl-mascot-card {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 16px 45px rgba(6, 36, 76, 0.08);
  border: 2px solid var(--gold);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.sl-mascot-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-radius: 24px;
  padding: 30px;
  border: 1px dashed var(--gold);
}

.vaani-showcase-box {
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}

.sl-mascot-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.sl-mascot-pill-btn {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}

.sl-mascot-pill-btn:hover {
  border-color: var(--gold);
  background: var(--gold-light);
}

.sl-mascot-pill-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.sl-mascot-content-col h3 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 16px;
}

.sl-mascot-content-col p {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.sl-mascot-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.sl-mascot-fact-card {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 16px;
  border-left: 4px solid var(--gold);
}

.sl-mascot-fact-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.sl-mascot-fact-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .sl-mascot-card {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .vaani-floating-dock {
    bottom: 84px;
    right: 16px;
  }
  .vaani-dock-btn {
    width: 62px;
    height: 62px;
  }
  .vaani-dock-canvas {
    width: 58px;
    height: 58px;
  }
  .vaani-guide-card {
    right: 16px;
    bottom: 156px;
    width: calc(100vw - 32px);
  }
  .sl-mascot-facts-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   AVINYA VIDYA MANDIR — CRAYON BOX PARITY HOMEPAGE MODULE
   Clean, spacious, editorial 9-section narrative layout
   ========================================================================== */

.ambient-leaf {
  position: absolute;
  width: 16px;
  height: 28px;
  background: radial-gradient(ellipse at 30% 30%, rgba(46, 139, 87, 0.12), rgba(229, 169, 30, 0.08));
  border-radius: 50% 0 50% 0;
  filter: blur(1px);
  animation: leafFloat 22s infinite linear;
}

.leaf-1 { top: 12%; left: 4%; animation-duration: 26s; transform: rotate(25deg); }
.leaf-2 { top: 38%; right: 6%; animation-duration: 30s; animation-delay: -5s; transform: rotate(-40deg); }
.leaf-3 { top: 65%; left: 8%; animation-duration: 24s; animation-delay: -11s; transform: rotate(15deg); }
.leaf-4 { top: 82%; right: 12%; animation-duration: 28s; animation-delay: -16s; transform: rotate(-20deg); }
.leaf-5 { top: 22%; right: 28%; animation-duration: 34s; animation-delay: -8s; transform: rotate(45deg); }

@keyframes leafFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  50% { transform: translateY(35px) rotate(18deg); opacity: 0.55; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-md {
  padding: 12px 24px;
  font-size: 0.94rem;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(6, 36, 76, 0.18);
}
.btn-primary:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 36, 76, 0.25);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--navy);
  border: 1.5px solid var(--cream-border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--navy);
  background-color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: #FFFFFF;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(6, 36, 76, 0.04);
}
.btn-outline-navy:hover {
  background-color: var(--navy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #F0B324 0%, #D8980F 100%);
  color: #03142B;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(229, 169, 30, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #FDBF2E 0%, #E5A91E 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(229, 169, 30, 0.42);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--navy);
  font-weight: 700;
  border: 1.5px solid #FFFFFF;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
  background-color: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn-arrow {
  width: 18px;
  height: 18px;
}



/* ==========================================================================
   01 — HERO SECTION
   ========================================================================== */
.section-hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 24px;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 620px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.2vw, 3.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* Brand Palette Letters for "shine" directly matching reference */
.shine-letters {
  display: inline-block;
  font-weight: 700;
}
.shine-letters .c-orange { color: #E66A23; }
.shine-letters .c-gold { color: #E5A91E; }
.shine-letters .c-green { color: #2E8B57; }
.shine-letters .c-blue { color: #1E60B5; }
.shine-letters .c-magenta { color: #C41E66; }

.hero-motto-spaced {
  font-size: clamp(0.68rem, 1.2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: clamp(0.1em, 0.4vw, 0.28em);
  color: #7B8CA0;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Hero Right Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-frame-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hero-organic-halo {
  position: absolute;
  inset: -28px;
  background: radial-gradient(circle at 65% 35%, rgba(229, 169, 30, 0.35) 0%, rgba(196, 30, 102, 0.18) 42%, rgba(46, 139, 87, 0.14) 72%, transparent 88%);
  border-radius: 64% 36% 72% 28% / 38% 62% 38% 62%;
  z-index: 0;
  animation: morphHalo 12s ease-in-out infinite alternate;
  pointer-events: none;
  filter: blur(24px);
}

@keyframes morphHalo {
  0% { border-radius: 64% 36% 72% 28% / 38% 62% 38% 62%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 38% 62% 28% 72% / 62% 38% 62% 38%; transform: rotate(3deg) scale(1.05); }
  100% { border-radius: 72% 28% 52% 48% / 28% 72% 48% 52%; transform: rotate(-2deg) scale(0.98); }
}

.hero-image-frame {
  position: relative;
  z-index: 1;
  border-radius: 56px 180px 56px 140px / 70px 140px 70px 165px;
  overflow: hidden;
  box-shadow: 0 28px 65px -10px rgba(6, 36, 76, 0.22), 0 10px 28px rgba(229, 169, 30, 0.15);
  border: 7px solid #FFFFFF;
  outline: 2px solid rgba(229, 169, 30, 0.4);
  outline-offset: 4px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-image-frame:hover .hero-img {
  transform: scale(1.04);
}

/* Floating Script Tag in Top-Right of Hero matching reference */
.hero-script-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  max-width: 190px;
  font-family: var(--font-script);
  font-size: 1.25rem;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  transform: rotate(-3deg);
  pointer-events: none;
  z-index: 2;
  animation: gentleTiltFloat 5s ease-in-out infinite alternate;
}
.script-sprout {
  font-size: 1.4rem;
}

@keyframes gentleTiltFloat {
  0% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1.2deg) translateY(-5px); }
  100% { transform: rotate(-3.8deg) translateY(3px); }
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 22px;
  box-shadow: 0 14px 34px rgba(6, 36, 76, 0.12), 0 4px 14px rgba(229, 169, 30, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--cream-border);
  z-index: 3;
}
.hero-floating-left {
  bottom: -20px;
  left: -20px;
  border-radius: 28px 12px 28px 12px;
  animation: floatCardLeft 4.5s ease-in-out infinite;
}

.leaf-icon-inline {
  font-size: 26px;
}
.hero-floating-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--navy);
}
.hero-floating-card span {
  font-size: 0.8rem;
  color: var(--magenta);
  font-weight: 600;
}

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

/* ==========================================================================
   WAVE DIVIDERS
   ========================================================================== */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 55px;
}

.wave-top { background: var(--cream); }
.wave-journey-diff { background: #F4EFE6; }
.wave-diff-life { background: var(--cream); }
.wave-life-spotlight { background: #FFFFFF; }
.wave-k12-stories { background: var(--cream); }

/* ==========================================================================
   02 — THE CRAYON BOX JOURNEY
   ========================================================================== */
.section-journey {
  background-color: #F4EFE6;
  padding: 50px 0 80px;
  position: relative;
}

.journey-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.journey-header-text {
  max-width: 680px;
}

.journey-overline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.journey-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.journey-subtext {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.journey-tree-container {
  position: relative;
  margin-top: 24px;
}

.tree-canvas-wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto -45px auto;
  position: relative;
  z-index: 4;
  pointer-events: none;
  text-align: center;
  overflow: visible;
}

.journey-watercolor-tree {
  width: 100%;
  max-width: 1200px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(6, 36, 76, 0.08));
  animation: branchBreeze 8s ease-in-out infinite alternate;
  transform-origin: 24% 85%;
  transition: transform 0.5s ease;
}

@keyframes branchBreeze {
  0% { transform: rotate(0deg) scale(1); }
  35% { transform: rotate(0.7deg) scale(1.004) translateY(-3px); }
  70% { transform: rotate(-0.5deg) scale(0.998) translateY(2px); }
  100% { transform: rotate(0deg) scale(1); }
}

/* Delicate Floating Watercolor Leaves */
.floating-leaf {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(6, 36, 76, 0.12));
}
.fl-1 { top: 36%; left: 6%; width: 18px; animation: leafDrift1 6.5s ease-in-out infinite alternate; }
.fl-2 { top: 16%; left: 20%; width: 14px; animation: leafDrift2 7.2s ease-in-out infinite alternate; }
.fl-3 { top: 50%; left: 40%; width: 16px; animation: leafDrift1 8s ease-in-out infinite alternate; }
.fl-4 { top: 20%; left: 60%; width: 15px; animation: leafDrift2 6.8s ease-in-out infinite alternate; }
.fl-5 { top: 42%; left: 78%; width: 17px; animation: leafDrift1 7.5s ease-in-out infinite alternate; }
.fl-6 { top: 28%; right: 4%; width: 15px; animation: leafDrift2 8.5s ease-in-out infinite alternate; }

@keyframes leafDrift1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, -10px) rotate(12deg); }
  100% { transform: translate(-4px, 8px) rotate(-8deg); }
}

@keyframes leafDrift2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-8px, -12px) rotate(-15deg); }
  100% { transform: translate(6px, 10px) rotate(10deg); }
}

.journey-stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 3;
}

/* Stage Cards with Stadium Arch Top and Tinted Backgrounds */
.stage-card {
  border-radius: 28px;
  padding: 16px 16px 22px;
  box-shadow: 0 8px 24px rgba(6, 36, 76, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.stage-card:hover {
  transform: translateY(-10px);
}
.stage-card-kg {
  background-color: #FEF4F7;
  border: 1.5px solid #FAD1DE;
}
.stage-card-kg:hover {
  box-shadow: 0 20px 45px rgba(196, 30, 102, 0.16);
  border-color: #F48FB1;
}
.stage-card-primary {
  background-color: #F1FAF4;
  border: 1.5px solid #C7EBD4;
}
.stage-card-primary:hover {
  box-shadow: 0 20px 45px rgba(46, 139, 87, 0.16);
  border-color: #81C784;
}
.stage-card-middle {
  background-color: #F1F6FD;
  border: 1.5px solid #C9DCFA;
}
.stage-card-middle:hover {
  box-shadow: 0 20px 45px rgba(30, 96, 181, 0.16);
  border-color: #90CAF9;
}
.stage-card-senior {
  background-color: #FDF9EE;
  border: 1.5px solid #FAEBC2;
}
.stage-card-senior:hover {
  box-shadow: 0 20px 45px rgba(229, 169, 30, 0.18);
  border-color: #FFE082;
}

/* Stadium-Top Arch for Stage Image matching reference */
.stage-img-arch {
  width: 100%;
  height: 200px;
  border-radius: 40px 40px 16px 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(6, 36, 76, 0.06);
}

.stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.stage-card:hover .stage-img {
  transform: scale(1.05);
}

.stage-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stage-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.stage-classes {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stage-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Stage Pill Buttons matching reference */
.stage-pill-btn {
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  text-align: center;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-pill-coral {
  background-color: #FEE7EE;
  color: #C41E66;
}
.btn-pill-coral:hover {
  background-color: #C41E66;
  color: #FFFFFF;
}

.btn-pill-green {
  background-color: #E2F5E9;
  color: #2E8B57;
}
.btn-pill-green:hover {
  background-color: #2E8B57;
  color: #FFFFFF;
}

.btn-pill-blue {
  background-color: #E2EEFD;
  color: #1E60B5;
}
.btn-pill-blue:hover {
  background-color: #1E60B5;
  color: #FFFFFF;
}

.btn-pill-gold {
  background-color: #FCF3D7;
  color: #B37D06;
}
.btn-pill-gold:hover {
  background-color: #E5A91E;
  color: #03142B;
}

/* ==========================================================================
   03 — WHAT MAKES CRAYON BOX DIFFERENT?
   ========================================================================== */
.section-difference {
  background-color: var(--cream);
  padding: 60px 0 70px;
}

.difference-header-row {
  margin-bottom: 40px;
}

.difference-text-col {
  max-width: 860px;
}

.difference-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}
.sprout-icon {
  font-size: 1.6rem;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

.difference-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.difference-features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.diff-feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diff-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(6, 36, 76, 0.06);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.diff-feature-item:hover .diff-icon-circle {
  transform: translateY(-8px) scale(1.1);
}
.diff-feature-item:hover .bg-diff-magenta { box-shadow: 0 12px 28px rgba(196, 30, 102, 0.28); }
.diff-feature-item:hover .bg-diff-gold { box-shadow: 0 12px 28px rgba(229, 169, 30, 0.28); }
.diff-feature-item:hover .bg-diff-green { box-shadow: 0 12px 28px rgba(46, 139, 87, 0.28); }
.diff-feature-item:hover .bg-diff-blue { box-shadow: 0 12px 28px rgba(30, 96, 181, 0.28); }
.diff-feature-item:hover .bg-diff-purple { box-shadow: 0 12px 28px rgba(126, 58, 242, 0.28); }

.d-svg {
  width: 28px;
  height: 28px;
}

.bg-diff-magenta { background-color: #FDF0F5; color: #C41E66; }
.bg-diff-gold { background-color: #FFF9E6; color: #E5A91E; }
.bg-diff-green { background-color: #EBF7F0; color: #2E8B57; }
.bg-diff-blue { background-color: #EEF4FD; color: #1E60B5; }
.bg-diff-purple { background-color: #F5EEFD; color: #7E3AF2; }

.diff-feature-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.diff-feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   04 — LIFE AT CRAYON BOX
   ========================================================================== */
.section-life {
  background-color: #FFFFFF;
  padding: 70px 0 80px;
}

.life-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.life-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.leaf-icon {
  font-size: 1.6rem;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

.life-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.life-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.life-card {
  display: flex;
  flex-direction: column;
}

.life-img-wrap {
  width: 100%;
  height: 175px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(6, 36, 76, 0.08);
}

.life-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.life-card:hover .life-img {
  transform: scale(1.06);
}

.life-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.life-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.badge-classroom { background-color: #EEF4FD; color: #1E60B5; }
.badge-sports { background-color: #EBF7F0; color: #2E8B57; }
.badge-arts { background-color: #FFF9E6; color: #B37D06; }
.badge-science { background-color: #EEF4FD; color: #1E60B5; }
.badge-events { background-color: #FDF0F5; color: #C41E66; }
.badge-campus { background-color: #EBF7F0; color: #2E8B57; }

.life-card-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   05A — KINDERGARTEN SPOTLIGHT
   ========================================================================== */
.section-spotlight-kg {
  background-color: var(--cream);
  padding: 60px 0 35px;
}

.kg-spotlight-card {
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF8EE 100%);
  border-radius: 40px;
  border: 1.5px solid #F4E7CF;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(6, 36, 76, 0.05);
}

.kg-sunburst-glow {
  position: absolute;
  top: -60px;
  left: 20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(247, 183, 29, 0.28) 0%, rgba(247, 183, 29, 0) 70%);
  pointer-events: none;
  filter: blur(28px);
  animation: sunburstPulse 6s ease-in-out infinite alternate;
}

@keyframes sunburstPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.98); opacity: 0.85; }
}

.kg-spotlight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.kg-photo-wrap {
  width: 100%;
  height: 330px;
  border-radius: 120px 120px 30px 30px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(6, 36, 76, 0.12);
  border: 5px solid #FFFFFF;
}

.kg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-narrative {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.spotlight-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tag-magenta { color: var(--magenta); }
.tag-gold { color: var(--gold); }

.spotlight-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.spotlight-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.kg-features-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kg-feature-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  box-shadow: 0 4px 12px rgba(6, 36, 76, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kg-feature-pill:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(6, 36, 76, 0.08);
}
.kg-feature-pill span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.kg-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kg-feat-icon svg {
  width: 18px;
  height: 18px;
}

.icon-orange { background-color: #FDF2E9; color: #E66A23; }
.icon-green { background-color: #EBF7F0; color: #2E8B57; }
.icon-blue { background-color: #EEF4FD; color: #1E60B5; }

/* ==========================================================================
   05B — SENIOR SCHOOL VISION
   ========================================================================== */
.section-spotlight-k12 {
  background-color: var(--cream);
  padding: 35px 0 60px;
}

.k12-vision-card {
  background: radial-gradient(circle at 75% 30%, #10427A 0%, #06244C 75%);
  border-radius: 40px;
  color: #FFFFFF;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(6, 36, 76, 0.2);
}

.k12-stars-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1.5px 1.5px at 15% 20%, #FFF 100%, transparent),
                    radial-gradient(2px 2px at 85% 15%, #FFF 100%, transparent),
                    radial-gradient(1.5px 1.5px at 45% 75%, #FFF 100%, transparent),
                    radial-gradient(2px 2px at 70% 85%, #FFE680 100%, transparent),
                    radial-gradient(1.5px 1.5px at 30% 40%, #FFF 100%, transparent),
                    radial-gradient(2px 2px at 90% 60%, #FFF 100%, transparent);
  opacity: 0.55;
  pointer-events: none;
  animation: starTwinkle 4.5s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% { opacity: 0.35; transform: scale(0.98); }
  50% { opacity: 0.75; transform: scale(1.02); }
  100% { opacity: 0.45; transform: scale(1); }
}

.k12-vision-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.k12-vision-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.k12-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.k12-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 520px;
}

.k12-leaf-art {
  width: 90px;
  height: 90px;
  margin-top: 10px;
}

.k12-vision-right {
  position: relative;
}

.k12-photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  height: 320px;
}

.k12-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.k12-script-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--font-script);
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  line-height: 1.15;
}
.script-title {
  display: block;
  font-size: 1.5rem;
}
.script-sub {
  font-size: 1.7rem;
  font-weight: 700;
  color: #FFE680;
}
.script-star {
  font-size: 1.3rem;
  display: inline-block;
  animation: starPulse 2.5s ease-in-out infinite alternate;
}

@keyframes starPulse {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.25) rotate(15deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ==========================================================================
   07 — CAMPUS & GROUNDS
   ========================================================================== */
.section-campus {
  background-color: #FFFFFF;
  padding: 60px 0 80px;
  position: relative;
}

.campus-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.campus-header-text {
  max-width: 650px;
}

.campus-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-top: 6px;
  margin-bottom: 8px;
}

.campus-subtext {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.campus-showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.campus-panoramic-card {
  background-color: var(--cream);
  border-radius: 32px;
  padding: 16px;
  border: 1.5px solid var(--cream-border);
  box-shadow: 0 12px 32px rgba(6, 36, 76, 0.05);
  display: flex;
  flex-direction: column;
}

.campus-hero-frame {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 36, 76, 0.08);
}

.campus-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.campus-glass-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(6, 36, 76, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.campus-badge-lead {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFE680;
}

.campus-badge-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.campus-quote-bar {
  padding: 20px 12px 8px;
  text-align: center;
}

.campus-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.5;
}

.campus-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(46, 139, 87, 0.08);
  border: 1px solid rgba(46, 139, 87, 0.2);
  transition: all 0.25s ease;
}

.campus-directions-link:hover {
  background: var(--green);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.25);
}

.campus-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.campus-pillar-card {
  background-color: var(--cream);
  border: 1.5px solid var(--cream-border);
  border-radius: 24px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.campus-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(6, 36, 76, 0.08);
  border-color: rgba(46, 139, 87, 0.3);
  background-color: #FFFFFF;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon-box svg {
  width: 24px;
  height: 24px;
}

.bg-pillar-green { background-color: #EBF7F0; color: #2E8B57; }
.bg-pillar-gold { background-color: #FEF6E4; color: #D4900C; }
.bg-pillar-blue { background-color: #EEF4FD; color: #1E60B5; }
.bg-pillar-magenta { background-color: #FEF0F5; color: #C41E66; }

.pillar-content h4 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.pillar-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tag-green { color: var(--green); }
.wave-k12-campus { background: var(--cream); }
.wave-campus-stories { background: #FFFFFF; }

/* ==========================================================================
   08 — WHAT PARENTS SAY
   ========================================================================== */
.section-stories {
  background-color: var(--cream);
  padding: 60px 0 70px;
}

.stories-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.stories-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.stories-subtext {
  font-size: 1.02rem;
  color: var(--text-muted);
}

.stories-slider-nav {
  display: flex;
  gap: 8px;
}

.slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1.5px solid var(--cream-border);
  color: var(--navy);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition);
}
.slider-btn:hover {
  background-color: var(--navy);
  color: #FFFFFF;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.story-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: 30px 26px;
  border: 1.5px solid var(--cream-border);
  box-shadow: 0 6px 20px rgba(6, 36, 76, 0.04);
  display: flex;
  flex-direction: column;
}

.story-author-row {
  margin-bottom: 14px;
}

.story-avatar,
.story-avatar-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(6, 36, 76, 0.08);
}

.story-avatar-initials.av-magenta { background: #C41E66; }
.story-avatar-initials.av-gold { background: #E5A91E; color: #06244C; }
.story-avatar-initials.av-blue { background: #1E60B5; }

.story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.story-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.story-stars {
  color: #E5A91E;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   07 — FINAL BANNER ("Their journey starts here.")
   ========================================================================== */
.section-final-banner {
  background-color: var(--cream);
  padding: 40px 0 80px;
}

.final-green-card {
  background: linear-gradient(135deg, #092819 0%, #13462D 100%);
  border-radius: 40px;
  color: #FFFFFF;
  padding: 50px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(6, 36, 76, 0.16);
}

.final-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.final-green-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.final-green-subtext {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.final-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.final-leaf-flourish {
  width: 70px;
  height: 55px;
  margin-top: 24px;
}

.final-running-frame {
  width: 100%;
  height: 290px;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.final-running-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




/* ==========================================================================
   HOMEPAGE 6-STAGE REFINED DESIGN SYSTEM
   ========================================================================== */

/* Overline tags */
.section-overline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 8px;
}
.section-overline.overline-gold { color: var(--gold-600); }
.section-overline.overline-navy { color: var(--navy-700); }

/* Dual-Tone Headline Accent from Reference */
.highlight-serif-amber {
  font-family: var(--font-serif);
  font-style: italic;
  color: #E5A91E;
}

/* Hero Overline Tag from Reference */
.hero-overline-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D98F12;
  margin-bottom: 12px;
}

/* Hero 4 Trust Pills Row from Reference */
.hero-trust-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(13, 34, 56, 0.08);
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--cream-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(6, 36, 76, 0.04);
  transition: all 0.25s ease;
}
.hero-trust-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 36, 76, 0.08);
  border-color: #E5A91E;
}
.trust-pill-icon {
  font-size: 1rem;
}

/* Script multiline on Hero Photo */
.script-multiline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-script);
  font-size: 1.15rem;
  line-height: 1.18;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}
.script-leaf-svg {
  color: #FFE680;
  margin-top: 2px;
  margin-left: 6px;
  flex-shrink: 0;
}

/* ==========================================================================
   ACADEMIC JOURNEY — OPTION A STORY HERO + DUAL-TRACK MILESTONE DECK
   ========================================================================== */
.pathway-showcase-container {
  background: #FAF7F2;
  border: 1px solid rgba(229, 219, 203, 0.7);
  border-radius: 28px;
  padding: 3rem 2.75rem 2.5rem 2.75rem;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(6, 36, 76, 0.03);
}

/* Background Organic Flourishes */
.pathway-showcase-container::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(230, 106, 35, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* 1. Top Story Hero Row */
.pathway-hero-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.75rem;
  position: relative;
}

.pathway-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.pathway-overline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E66A23;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pathway-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 2.8vw, 2.75rem);
  font-weight: 700;
  color: #06244C;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.pathway-headline-amber {
  color: #D97706;
  position: relative;
  display: inline-block;
}

.pathway-headline-amber::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 6px;
  background: rgba(245, 158, 11, 0.28);
  border-radius: 4px;
  z-index: -1;
}

.pathway-subtitle {
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.btn-pathway-approach {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #06244C;
  color: #FFFFFF !important;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(6, 36, 76, 0.15);
}

.btn-pathway-approach:hover {
  background: #E66A23;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 106, 35, 0.3);
  color: #FFFFFF !important;
}

.btn-pathway-approach svg {
  transition: transform 0.2s ease;
}

.btn-pathway-approach:hover svg {
  transform: translateX(3px);
}

/* Right Hero Visual with Doodles */
.pathway-hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pathway-hero-photo-frame {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(6, 36, 76, 0.08);
  border: 4px solid #FFFFFF;
}

.pathway-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Floating Paper Plane Doodle & Trajectory */
.pathway-doodle-plane {
  position: absolute;
  top: -16px;
  left: -20px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.pathway-doodle-sparkle {
  position: absolute;
  top: -12px;
  right: 18px;
  z-index: 3;
  pointer-events: none;
}

.pathway-doodle-leaf {
  position: absolute;
  bottom: -10px;
  right: -10px;
  z-index: 3;
  pointer-events: none;
}

/* 2. Bottom Milestones Dual-Track Layout */
.pathway-milestones-area {
  display: grid;
  grid-template-columns: 1.35fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
  position: relative;
}

/* Track Header Bar */
.track-header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.track-bar-line {
  flex: 1;
  height: 1.5px;
  border-radius: 2px;
}

.track-bar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.track-bar-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Current Track Accent (Emerald Green) */
.current-track-bar .track-bar-line {
  background: #A3D4BF;
}
.current-track-bar .track-bar-dot {
  background: #2A855E;
}
.current-track-bar .track-bar-title {
  color: #2A855E;
}

/* Future Track Accent (Slate/Grey) */
.future-track-bar .track-bar-line {
  background: #CBD5E1;
}
.future-track-bar .track-bar-dot {
  background: #64748B;
}
.future-track-bar .track-bar-title {
  color: #64748B;
}

/* Milestone Cards Grids */
.milestones-current-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.milestones-future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* Track Connector Bridge */
.pathway-track-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.2rem;
  gap: 6px;
  margin-top: 1.6rem;
}

.bridge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
}

.bridge-dashed-line {
  width: 1.5px;
  flex: 1;
  border-left: 1.5px dashed #CBD5E1;
}

/* Milestone Cards */
.milestone-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.75rem 0.65rem 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.milestone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(6, 36, 76, 0.07);
  border-color: #2A855E;
}

.milestone-card-future:hover {
  border-color: #64748B;
}

/* Milestone Card Header */
.milestone-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.milestone-num {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.num-current {
  background: #E8F5EE;
  color: #2A855E;
  border: 1px solid #C1E5D4;
}

.num-future {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
}

.milestone-age-tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: #8C9CAE;
}

/* Photo Thumbnail Container */
.milestone-img-wrap {
  width: 100%;
  height: 82px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.55rem;
  background: #F1F5F9;
  position: relative;
}

.milestone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Icon Container for Future Cards */
.milestone-icon-wrap {
  width: 100%;
  height: 82px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.milestone-icon-wrap svg {
  color: #475569;
}

/* Card Titles & Captions */
.milestone-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 0.2rem;
}

.milestone-name {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #06244C;
  line-height: 1.2;
}

.milestone-upcoming-pill {
  font-size: 0.6rem;
  font-style: italic;
  color: #94A3B8;
  font-weight: 500;
}

.milestone-caption {
  font-size: 0.68rem;
  color: #64748B;
  line-height: 1.35;
  margin: 0;
  flex: 1;
}

.milestone-corner-icon {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  width: 14px;
  height: 14px;
  opacity: 0.65;
  pointer-events: none;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .pathway-hero-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pathway-hero-photo-frame {
    height: 220px;
  }
  .pathway-milestones-area {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .pathway-track-bridge {
    display: none;
  }
}

@media (max-width: 768px) {
  .pathway-showcase-container {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }
  .pathway-headline {
    font-size: 1.95rem;
  }
  .milestones-current-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .milestones-future-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .milestones-future-grid {
    grid-template-columns: 1fr;
  }
  .milestone-img-wrap, .milestone-icon-wrap {
    height: 90px;
  }
}
.adm-script-badge {
  font-family: var(--font-script);
  font-size: 1.18rem;
  color: #FFE680;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Section Header Rows */
.section-header-block {
  margin-bottom: 40px;
}
.section-header-block.text-center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.section-header-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 10px;
}
.section-header-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 02. The Avinya Difference 4-Pillars Grid */
.difference-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.difference-pillar-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 24px;
  border: 1.5px solid var(--cream-border);
  box-shadow: 0 8px 24px rgba(6, 36, 76, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.difference-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(6, 36, 76, 0.09);
  border-color: rgba(39, 128, 101, 0.4);
}
.pillar-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.difference-pillar-card:hover .pillar-card-icon {
  transform: scale(1.08);
}
.icon-terracotta { background: #FDEEE9; color: #DF5433; }
.icon-gold { background: #FFF9E6; color: #D98F12; }
.icon-emerald { background: #E6F6F0; color: #278065; }
.icon-sky { background: #E8F2FC; color: #3A75AD; }

.pillar-card-icon svg {
  width: 28px;
  height: 28px;
}
.difference-pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.difference-pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin-bottom: 16px;
  flex-grow: 1;
}
.pillar-card-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--cream);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  border: 1px solid var(--cream-border);
}

/* 03. Learning Experience 5-Stages Grid */
.section-learning {
  background-color: var(--cream-alt);
  padding: 70px 0 80px;
  position: relative;
}
.learning-stages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.learning-stage-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--cream-border);
  box-shadow: 0 8px 22px rgba(6, 36, 76, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.learning-stage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(6, 36, 76, 0.1);
}
.stage-photo-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
}
.stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.learning-stage-card:hover .stage-photo {
  transform: scale(1.06);
}
.stage-age-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(13, 34, 56, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}
.stage-card-content {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.stage-class-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.stage-class-focus {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-600);
  margin-bottom: 10px;
}
.stage-class-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.stage-key-points {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-main);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}
.stage-key-points li {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stage-key-points li::before {
  content: "•";
  color: var(--gold-600);
  font-weight: bold;
}

/* Expansion Callout Card */
.expansion-callout-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 32px;
  border: 1.5px solid var(--cream-border);
  box-shadow: 0 6px 18px rgba(6, 36, 76, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.expansion-card-text h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.expansion-card-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 04. Curated Campus 4-Photo Showcase */
.campus-curated-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.campus-curated-item {
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(6, 36, 76, 0.06);
  border: 2px solid #FFFFFF;
}
.campus-curated-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.campus-curated-item:hover .campus-curated-img {
  transform: scale(1.07);
}
.campus-curated-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(7, 21, 36, 0.92) 0%, rgba(7, 21, 36, 0) 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

/* 05. Trust & Leadership Grid */
.section-trust {
  background-color: var(--cream);
  padding: 70px 0 80px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: start;
}
.trust-leadership-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 36px 30px;
  border: 1.5px solid var(--cream-border);
  box-shadow: 0 10px 28px rgba(6, 36, 76, 0.05);
}
.trust-quote-box {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cream-border);
}
.trust-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
}
.trust-quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-commitments-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-commit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.45;
}
.trust-check-svg {
  width: 20px;
  height: 20px;
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 1px;
}
.trust-stories-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 06. Admissions Overview 3-Panels */
.section-admissions {
  background-color: #FFFFFF;
  padding: 70px 0 90px;
}
.admissions-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
}
.admissions-panel-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 32px 26px;
  border: 1.5px solid var(--cream-border);
  box-shadow: 0 8px 24px rgba(6, 36, 76, 0.04);
  display: flex;
  flex-direction: column;
}
.admissions-panel-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.admissions-panel-card .panel-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Age Criteria Table */
.criteria-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.criteria-table tr {
  border-bottom: 1px solid var(--cream-border);
}
.criteria-table tr:last-child {
  border-bottom: none;
}
.criteria-table td {
  padding: 10px 4px;
  color: var(--text-main);
}
.criteria-table td.grade-name {
  font-weight: 700;
  color: var(--navy);
}
.criteria-table td.age-req {
  text-align: right;
  font-weight: 600;
  color: var(--emerald-600);
}

/* 3-Step Process List */
.admission-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.adm-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.adm-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.adm-step-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.adm-step-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Admissions Action Card (Gradient) */
.admissions-action-card {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 16px 40px rgba(7, 21, 36, 0.18);
}
.admissions-action-card h3 {
  color: #FFFFFF;
}
.admissions-action-card .panel-sub {
  color: rgba(255, 255, 255, 0.85);
}
.adm-fee-note {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  margin-bottom: 22px;
}
.adm-action-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.adm-contact-row {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-contact-row a {
  color: #FFE680;
  text-decoration: none;
}
.adm-contact-row a:hover {
  text-decoration: underline;
}

.btn-wa-green {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-wa-green:hover {
  background-color: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .difference-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .learning-stages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .campus-curated-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .admissions-overview-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .learning-stages-grid {
    grid-template-columns: 1fr;
  }
  .difference-pillars-grid {
    grid-template-columns: 1fr;
  }
  .campus-curated-showcase {
    grid-template-columns: 1fr;
  }
  .expansion-callout-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 36, 76, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-backdrop.open,
.modal-backdrop.active {
  display: flex;
}

.modal-card,
.modal-box {
  background-color: #FFFFFF;
  border-radius: 28px;
  max-width: 540px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--cream-border);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
}
.modal-close:hover {
  color: var(--navy);
}

.modal-header {
  margin-bottom: 24px;
}
.modal-header h2,
.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy);
  margin-top: 8px;
  margin-bottom: 6px;
}
.modal-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-direct-contact {
  margin-top: 10px;
  padding: 8px 14px;
  background-color: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.modal-direct-contact a {
  color: var(--navy);
  font-weight: 600;
}
.modal-direct-contact a:hover {
  color: var(--magenta);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--cream);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background-color: #FFFFFF;
}

.form-success-msg {
  display: none;
  background-color: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(46, 139, 87, 0.3);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
}
.form-success-msg.show {
  display: block;
}



.modal-360-card {
  max-width: 1240px !important;
  width: 96% !important;
  height: 90vh !important;
  max-height: 90vh !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: var(--navy) !important;
  border: 2px solid rgba(229, 169, 30, 0.4) !important;
}

.modal-360-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #041B3B;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 16px;
  flex-wrap: wrap;
}

.modal-360-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-360-title-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #FFFFFF;
  margin: 0;
}

.modal-360-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-360-close {
  position: static !important;
  color: #FFFFFF !important;
  font-size: 32px !important;
  line-height: 1 !important;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 4px;
}
.modal-360-close:hover {
  color: var(--gold) !important;
}

.modal-360-iframe-wrap {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #000;
}

.modal-360-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 992px) {
  .direct-360-hotspots-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-campus-360 {
    padding: 60px 0;
  }
  .direct-360-frame-wrap {
    height: 420px;
  }
  .direct-360-viewer-bar {
    padding: 12px 16px;
  }
  .direct-360-hotspots-bar {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .modal-360-card {
    height: 94vh !important;
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }
  
  .journey-stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tree-canvas-wrap {
    margin: 0 auto -45px auto;
  }
  .journey-watercolor-tree {
    max-height: 250px;
  }

  .difference-features-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .life-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .kg-spotlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .kg-features-col {
    grid-column: span 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .k12-vision-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .campus-showcase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .campus-hero-frame {
    height: 300px;
  }

  .final-banner-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .desktop-nav {
    display: none;
  }
  .header-actions .btn,
  .header-actions .btn-sm,
  .header-actions .btn-header {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .header-actions .btn,
  .header-actions .btn-sm,
  .header-actions .btn-header {
    display: none;
  }
  .header-actions {
    display: flex;
    align-items: center;
  }
  .mobile-toggle {
    display: flex;
  }

  .hero-visual {
    overflow: hidden;
    border-radius: 28px;
  }
  .hero-organic-halo {
    inset: -6px;
    filter: blur(14px);
  }

  .journey-stages-grid {
    grid-template-columns: 1fr;
  }
  .tree-canvas-wrap {
    margin: 0 auto -20px auto;
  }
  .journey-watercolor-tree {
    max-height: 180px;
  }

  .difference-features-row {
    grid-template-columns: 1fr 1fr;
  }

  .life-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kg-spotlight-card {
    padding: 30px 20px;
  }
  .kg-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .kg-features-col {
    grid-column: span 1;
    flex-direction: column;
  }

  .k12-vision-card {
    padding: 30px 20px;
  }
  .k12-photo-frame {
    height: 240px;
  }

  .campus-pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .campus-hero-frame {
    height: 240px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .final-green-card {
    padding: 36px 20px;
  }
  .final-running-frame {
    height: 220px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Academics Page: 3-Pillar Curriculum Matrix & Pedagogical Pillars
   ========================================================================== */
.curriculum-stages-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.curriculum-stage-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #E2E8F0);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(6, 36, 76, 0.04);
  padding: 2.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.curriculum-stage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(6, 36, 76, 0.08);
}

.curriculum-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light, #E2E8F0);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.curriculum-stage-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.curriculum-stage-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy-900, #06244C);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif, Fraunces);
  font-weight: 700;
  font-size: 1.2rem;
}

.curriculum-stage-name {
  font-family: var(--font-serif, Fraunces);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-900, #06244C);
  margin: 0;
}

.curriculum-stage-age {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #FEF3C7;
  color: #92400E;
}

.curriculum-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.curriculum-col {
  background: #FDFBF7;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 14px;
  padding: 1.35rem;
}

.curriculum-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.curriculum-col-title.learn {
  color: #D97706;
}

.curriculum-col-title.how {
  color: #2A855E;
}

.curriculum-col-title.develop {
  color: #0284C7;
}

.curriculum-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.curriculum-col-list li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dark, #2D3748);
  position: relative;
  padding-left: 1.25rem;
}

.curriculum-col-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  font-weight: bold;
}

.curriculum-col-list.learn li::before { color: #D97706; }
.curriculum-col-list.how li::before { color: #2A855E; }
.curriculum-col-list.develop li::before { color: #0284C7; }

/* 4 Pedagogical Pillars */
.pedagogy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.pedagogy-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #E2E8F0);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pedagogy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 36, 76, 0.08);
}

.pedagogy-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.pedagogy-title {
  font-family: var(--font-serif, Fraunces);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900, #06244C);
  margin-bottom: 0.65rem;
}

.pedagogy-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted, #64748B);
  margin: 0;
}

/* Parent Assessment Card */
.assessment-wrap-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #E2E8F0);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  box-shadow: 0 4px 20px rgba(6, 36, 76, 0.04);
}

.assessment-col-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.assessment-col-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.assessment-col-title {
  font-family: var(--font-serif, Fraunces);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900, #06244C);
  margin: 0;
}

/* Admissions Hero Badges & Concessions */
.admissions-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}

.admissions-badge-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.admissions-fee-note {
  background: #FDFBF7;
  border-left: 4px solid #2A855E;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .curriculum-stage-grid {
    grid-template-columns: 1fr;
  }
  .pedagogy-grid {
    grid-template-columns: 1fr 1fr;
  }
  .assessment-wrap-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}

@media (max-width: 600px) {
  .pedagogy-grid {
    grid-template-columns: 1fr;
  }
  .curriculum-stage-card {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Phase 3: Student Life Photo-Journal & Grouped Campus Facilities
   ========================================================================== */
.day-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.day-journal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.day-journal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--saffron-400);
}

.day-journal-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy-900);
}

.day-journal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.day-journal-card:hover .day-journal-img-wrap img {
  transform: scale(1.06);
}

.day-time-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 36, 76, 0.9);
  backdrop-filter: blur(6px);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.day-journal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.day-journal-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.day-journal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.day-outcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-800);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

/* Learning outcome tags for Traditions */
.pedagogy-outcome-box {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--saffron-700);
}

/* Houses Grid */
.houses-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.house-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.house-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.house-symbol-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem auto;
}

.house-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.house-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.house-motto {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Campus Grouped Facilities */
.facility-group-wrap {
  margin-bottom: 3.5rem;
}

.facility-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.facility-group-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.facility-group-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--navy-900);
  margin: 0;
}

.facility-group-badge {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-700);
  background: var(--emerald-50);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--emerald-200);
}

.facility-cards-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Consolidated Transit Hub Card */
.transit-unified-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.transit-unified-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
  flex-wrap: wrap;
}

.transit-unified-top h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin: 0;
}

.transit-hubs-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.transit-hub-item {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.transit-hub-item:hover {
  transform: translateY(-3px);
  border-color: var(--saffron-400);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.transit-hub-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-100);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.6rem;
}

.transit-hub-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.transit-hub-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Responsive adjustments for Phase 3 */
@media (max-width: 992px) {
  .day-journal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .houses-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
  .facility-cards-duo {
    grid-template-columns: 1fr;
  }
  .transit-hubs-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .day-journal-grid {
    grid-template-columns: 1fr;
  }
  .houses-showcase-grid {
    grid-template-columns: 1fr;
  }
  .transit-hubs-grid-4 {
    grid-template-columns: 1fr;
  }
  .transit-unified-card {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Phase 4: Official Circulars & Noticeboard Hub
   ========================================================================== */
.circular-tabs-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.circular-tab-pill {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--navy-800);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.circular-tab-pill:hover,
.circular-tab-pill.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.circular-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.circular-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.circular-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--saffron-500);
}

.circular-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.circular-ref-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy-800);
  background: var(--navy-50);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--navy-200);
}

.circular-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.circular-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-800);
  margin-bottom: 0.5rem;
}

.circular-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.circular-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.circular-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px dashed var(--border-light);
  padding-top: 0.85rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.circular-applicability {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.circular-download-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--saffron-600);
  background: var(--saffron-50);
  border: 1px solid var(--saffron-200);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.circular-download-btn:hover {
  background: var(--saffron-600);
  color: #ffffff;
  border-color: var(--saffron-600);
}

@media (max-width: 768px) {
  .circular-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   404 DETOUR PAGE & POPULAR PAGES SHOWCASE (PARITY ENHANCEMENT)
   ========================================================================== */
.detour-hero-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, #FDFBF7 0%, #F8F5EE 100%);
  position: relative;
  overflow: hidden;
}

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

.detour-badge-wrap {
  margin-bottom: 1rem;
}

.detour-oops-badge {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  background: rgba(42, 133, 94, 0.12);
  border: 1px solid rgba(42, 133, 94, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.detour-404-number {
  display: flex;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 9vw, 7.8rem);
  font-weight: 800;
  line-height: 0.95;
  margin: 0.25rem 0 1rem;
  letter-spacing: -0.03em;
}

.detour-404-number .num-4.orange {
  color: #E66A23;
  position: relative;
}

.detour-404-number .num-0.navy {
  color: #06244C;
  margin: 0 0.15ch;
}

.detour-404-number .num-4.green {
  color: #2A855E;
  position: relative;
}

.detour-404-number .sprout-icon {
  font-size: 0.35em;
  vertical-align: super;
  margin-left: 2px;
}

.detour-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.18;
  margin-bottom: 1.1rem;
}

.detour-desc {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.detour-btn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-detour-home {
  background: #06244C;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(6, 36, 76, 0.2);
  transition: all var(--transition-fast);
}

.btn-detour-home:hover {
  background: #09336b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 36, 76, 0.28);
}

.btn-detour-home .countdown-badge {
  background: #E66A23;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  min-width: 28px;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-detour-back {
  background: #ffffff;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid #dcd4c6;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-detour-back:hover {
  background: #fdfbf7;
  border-color: var(--navy-900);
  transform: translateY(-2px);
}

.detour-redirect-status {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(42, 133, 94, 0.28);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  color: #1e6345;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.25rem;
}

.pulse-status-dot {
  width: 9px;
  height: 9px;
  background-color: #2A855E;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(42, 133, 94, 0.4);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(42, 133, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(42, 133, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 133, 94, 0); }
}

.btn-pause-toggle {
  background: #edf5f0;
  border: 1px solid #b8dfca;
  color: #17543a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pause-toggle:hover {
  background: #2A855E;
  color: #ffffff;
  border-color: #2A855E;
}

.detour-contact-help {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detour-contact-help a {
  color: var(--navy-900);
  font-weight: 700;
}

.detour-contact-help a:hover {
  color: var(--saffron-600);
  text-decoration: underline;
}

.detour-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detour-art-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(13, 34, 56, 0.09);
  border: 1px solid rgba(232, 223, 200, 0.6);
  background: #ffffff;
}

/* Popular Pages Section */
.popular-pages-section {
  padding: clamp(3.5rem, 5vw, 5rem) 0 clamp(4rem, 6vw, 6rem);
  background: #ffffff;
}

.popular-pages-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 2rem;
}

.popular-pages-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
}

.popular-page-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.popular-page-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 106, 35, 0.35);
}

.popular-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.popular-card-icon.icon-amber {
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  color: #D97706;
}

.popular-card-icon.icon-green {
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  color: #16A34A;
}

.popular-card-icon.icon-coral {
  background: #FFF1F2;
  border: 1px solid #FFE4E6;
  color: #E11D48;
}

.popular-card-icon.icon-teal {
  background: #F0FDFA;
  border: 1px solid #CCFBF1;
  color: #0D9488;
}

.popular-card-icon.icon-purple {
  background: #FAF5FF;
  border: 1px solid #F3E8FF;
  color: #9333EA;
}

.popular-card-icon.icon-blue {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #2563EB;
}

.popular-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.popular-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.popular-card-arrow {
  font-size: 1.1rem;
  color: #9ca3af;
  font-weight: 700;
  transition: all var(--transition-fast);
  margin-top: auto;
}

.popular-page-card:hover .popular-card-arrow {
  color: var(--saffron-600);
  transform: translateX(4px);
}

/* ==========================================================================
   FULL-SPECTRUM RESPONSIVE ARCHITECTURE (MULTI-RESOLUTION ADAPTATION)
   Optimized for: 4K / Ultrawide, QHD / 2K, Large Monitors, 13-inch Laptops,
   Handheld Tablets, and Mobile Phones.
   ========================================================================== */

/* --------------------------------------------------------------------------
   TIER 1A: 4K ULTRA-WIDE & MASSIVE DISPLAYS (3200px to 3840px+)
   -------------------------------------------------------------------------- */
@media (min-width: 3200px) {
  html {
    font-size: 21px; /* Proportional scaling for ultra-large displays at viewing distance */
  }
  :root {
    --max-w: 2680px;
  }
  .container {
    max-width: min(85vw, 2680px);
    padding: 0 4.5rem;
  }
  .container-narrow {
    max-width: 1680px;
  }
  .hero-content {
    max-width: 1250px;
  }
  .hero-visual {
    max-width: 1050px;
  }
  .hero-headline {
    font-size: clamp(3.2rem, 3.8vw, 5.2rem);
    line-height: 1.1;
  }
  .hero-subtitle {
    font-size: 1.35rem;
    max-width: 960px;
  }
  .hero-ctas .btn {
    font-size: 1.15rem;
    padding: 1.1rem 2.4rem;
  }
  .campus-curated-showcase {
    gap: 28px;
  }
  .campus-curated-item {
    height: 380px;
  }
  .campus-pillar-card {
    padding: 2.75rem;
  }
  .popular-pages-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
  }
  .detour-art-img {
    max-width: 680px;
  }
}

/* --------------------------------------------------------------------------
   TIER 1B: QHD & 2K LARGE MONITORS (2400px to 3199px)
   -------------------------------------------------------------------------- */
@media (min-width: 2400px) and (max-width: 3199px) {
  html {
    font-size: 18.5px; /* Scales layout and typography gracefully for 1440p / 27-32" monitors */
  }
  :root {
    --max-w: 2180px;
  }
  .container {
    max-width: min(88vw, 2180px);
    padding: 0 3.75rem;
  }
  .container-narrow {
    max-width: 1420px;
  }
  .hero-content {
    max-width: 1040px;
  }
  .hero-visual {
    max-width: 880px;
  }
  .hero-headline {
    font-size: clamp(2.8rem, 3.5vw, 4.6rem);
    line-height: 1.12;
  }
  .hero-subtitle {
    font-size: 1.25rem;
    max-width: 840px;
  }
  .hero-ctas .btn {
    font-size: 1.08rem;
    padding: 1rem 2.2rem;
  }
  .campus-curated-showcase {
    gap: 24px;
  }
  .campus-curated-item {
    height: 330px;
  }
  .campus-pillar-card {
    padding: 2.4rem;
  }
  .popular-pages-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem;
  }
  .detour-art-img {
    max-width: 600px;
  }
}

/* --------------------------------------------------------------------------
   TIER 1C: LARGE MONITORS / FULL HD EXPANDED (1921px to 2399px)
   -------------------------------------------------------------------------- */
@media (min-width: 1921px) and (max-width: 2399px) {
  html {
    font-size: 17px;
  }
  :root {
    --max-w: 1760px;
  }
  .container {
    max-width: min(90vw, 1760px);
    padding: 0 3rem;
  }
  .container-narrow {
    max-width: 1200px;
  }
  .hero-content {
    max-width: 880px;
  }
  .hero-visual {
    max-width: 740px;
  }
  .hero-headline {
    font-size: clamp(2.5rem, 3.2vw, 4.2rem);
    line-height: 1.14;
  }
  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 760px;
  }
  .hero-ctas .btn {
    font-size: 1.02rem;
    padding: 0.95rem 1.95rem;
  }
  .campus-curated-showcase {
    gap: 20px;
  }
  .campus-curated-item {
    height: 290px;
  }
  .campus-pillar-card {
    padding: 2.15rem;
  }
  .popular-pages-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
  .detour-art-img {
    max-width: 540px;
  }
}

/* --------------------------------------------------------------------------
   TIER 1D: STANDARD HIGH-RES DESKTOPS & 1080p MONITORS (1441px to 1920px)
   -------------------------------------------------------------------------- */
@media (min-width: 1441px) and (max-width: 1920px) {
  :root {
    --max-w: 1440px;
  }
  .container {
    max-width: min(92vw, 1440px);
    padding: 0 2.5rem;
  }
  .container-narrow {
    max-width: 1040px;
  }
  .hero-content {
    max-width: 720px;
  }
  .hero-visual {
    max-width: 620px;
  }
  .hero-headline {
    font-size: clamp(2.35rem, 3vw, 3.7rem);
  }
  .campus-curated-item {
    height: 250px;
  }
  .popular-pages-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.35rem;
  }
  .detour-art-img {
    max-width: 500px;
  }
}

/* --------------------------------------------------------------------------
   TIER 2: SMALL-SCREEN MONITORS & STANDARD LAPTOPS (1201px to 1440px)
   -------------------------------------------------------------------------- */
@media (min-width: 1201px) and (max-width: 1440px) {
  :root {
    --max-w: 1240px;
  }
  .container {
    max-width: 1240px;
    padding: 0 1.75rem;
  }
  .hero-container {
    gap: 36px;
  }
  .hero-content {
    max-width: 640px;
  }
  .hero-visual {
    max-width: 540px;
  }
  .hero-headline {
    font-size: clamp(2rem, 2.8vw, 3rem);
  }
  .popular-pages-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
  }
  .campus-curated-item {
    height: 220px;
  }
}

/* --------------------------------------------------------------------------
   TIER 3: 13-INCH LAPTOPS & COMPACT MONITORS (1025px to 1200px)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1200px) {
  :root {
    --max-w: 1140px;
  }
  .container {
    max-width: 1140px;
    padding: 0 1.25rem;
  }
  .navbar {
    gap: 0.45rem;
    justify-content: space-between;
  }
  .brand-crest {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.08rem;
  }
  .brand-subtitle {
    font-size: 0.58rem;
  }
  .nav-links {
    gap: clamp(2px, 0.4vw, 5px);
  }
  .nav-link {
    font-size: 0.78rem;
    padding: 0.35rem 0.15rem;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .btn-tour-360 {
    font-size: 0.74rem;
    padding: 0.4rem 0.65rem;
  }
  .nav-actions .btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-headline {
    font-size: clamp(1.85rem, 2.6vw, 2.45rem);
    line-height: 1.18;
    margin-bottom: 10px;
  }
  .hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-ctas {
    gap: 10px;
  }
  .hero-ctas .btn {
    font-size: 0.88rem;
    padding: 0.65rem 1.15rem;
  }
  .hero-trust-pills-row {
    gap: 8px;
  }
  .hero-trust-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
  }
  .popular-pages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
  .detour-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   TIER 4: HANDHELD TABLETS (769px to 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-headline {
    font-size: clamp(2.1rem, 3.8vw, 3rem);
  }
  .campus-curated-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .campus-curated-item {
    height: 220px;
  }
  .popular-pages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .detour-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .detour-badge-wrap,
  .detour-404-number,
  .detour-btn-row {
    justify-content: center;
  }
  .detour-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .detour-art-img {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .popular-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   TIER 5: MOBILE PHONES (320px to 768px & SUB-480px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-headline {
    font-size: clamp(1.65rem, 5.2vw, 2.25rem);
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-pills-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .hero-trust-pill {
    width: 100%;
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }
  .campus-curated-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .campus-curated-item {
    height: 200px;
  }
  .detour-hero-section {
    padding: 2.75rem 0 2rem;
  }
  .detour-title {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem);
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .detour-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .detour-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .btn-detour-home,
  .btn-detour-back {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
  }
  .detour-redirect-status {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
    gap: 0.6rem;
  }
  .popular-pages-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }
  .a11y-trigger-btn {
    bottom: 12px;
    left: 10px;
    padding: 5px 10px;
    font-size: 0.72rem;
    gap: 4px;
  }
  .floating-quick-connect {
    bottom: 12px;
    right: 10px;
  }
  .quick-whatsapp-btn {
    padding: 5px 11px;
    font-size: 0.74rem;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-headline {
    font-size: clamp(1.55rem, 5vw, 1.95rem);
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .hero-motto-spaced {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }
  .hero-overline-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
  }
  .detour-title {
    font-size: 1.45rem;
    word-break: normal;
    overflow-wrap: normal;
  }
  .detour-404-number {
    font-size: 4.8rem;
  }
  .popular-pages-title {
    font-size: 1.55rem;
    margin-bottom: 1.25rem;
  }
  .popular-page-card {
    padding: 1.25rem 1rem;
  }
  .detour-redirect-status {
    font-size: 0.78rem;
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }
  .a11y-trigger-btn {
    bottom: 10px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.68rem;
  }
  .floating-quick-connect {
    bottom: 10px;
    right: 8px;
  }
  .quick-whatsapp-btn {
    padding: 4px 9px;
    font-size: 0.70rem;
  }
}



