/* ===================================================================
   JANTA BHARAT AAWASIYA VIDYALAYA — GLOBAL STYLESHEET (Enhanced)
   File: assets/css/main.css
   =================================================================== */

/* ===================================================================
   1. DESIGN TOKENS
   =================================================================== */
:root {
  --color-green-900:   #1B3A2D;
  --color-green-800:   #1F3D2E;
  --color-green-700:   #2E5C45;
  --color-green-600:   #3A7056;
  --color-gold-400:    #F0B83E;
  --color-gold-500:    #E0A526;
  --color-gold-600:    #C68A12;
  --color-cream-50:    #FEFCF6;
  --color-cream-100:   #FBF6EC;
  --color-cream-200:   #F3ECDC;
  --color-cream-300:   #E8DECA;
  --color-ink-900:     #1A1A17;
  --color-ink-700:     #3D3D36;
  --color-ink-600:     #5B5A52;
  --color-ink-400:     #8A8A80;
  --color-line-200:    #E3DCC9;
  --color-white:       #FFFFFF;
  --color-success:     #2E7D4F;
  --color-error:       #B23A2E;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Source Sans 3", "Segoe UI", sans-serif;
  --font-utility: "Source Sans 3", sans-serif;

  --fs-h1: clamp(2.2rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.78rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --container-max: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 12px 40px -12px rgba(27, 58, 45, 0.22);
  --shadow-card: 0 6px 24px -8px rgba(27, 58, 45, 0.16);
  --shadow-glow: 0 0 0 3px rgba(224, 165, 38, 0.25);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 700ms;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 8px);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-ink-900);
  background-color: var(--color-cream-100);
  overflow-x: hidden;
}

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

a {
  color: var(--color-green-700);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--color-gold-600); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-gold-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

svg { display: block; flex-shrink: 0; }
ul { list-style: none; }

/* ===================================================================
   3. TYPOGRAPHY
   =================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-green-900);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 0.6em; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.4em; }
p { margin-bottom: 0.9em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-utility);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.section-heading { max-width: 640px; margin-bottom: var(--space-lg); }
.section-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.text-muted { color: var(--color-ink-600); }

/* ===================================================================
   4. LAYOUT
   =================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section { padding: var(--space-2xl) 0; }
.section--alt { background-color: var(--color-cream-200); }
.section--green { background-color: var(--color-green-900); color: var(--color-cream-100); }
.section--green h2, .section--green h3 { color: var(--color-cream-100); }

.grid { display: grid; gap: var(--space-md); }
.grid--auto-fit { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2col { grid-template-columns: repeat(2, 1fr); }
.grid--3col { grid-template-columns: repeat(3, 1fr); }

/* ===================================================================
   5. BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85em 1.7em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn-sm { padding: 0.6em 1.2em; font-size: 0.875rem; }

.btn-primary {
  background-color: var(--color-gold-500);
  color: var(--color-green-900);
  border-color: var(--color-gold-500);
}
.btn-primary:hover {
  background-color: var(--color-gold-600);
  border-color: var(--color-gold-600);
  color: var(--color-green-900);
  box-shadow: var(--shadow-card);
}

.btn-outline {
  background: transparent;
  color: var(--color-cream-100);
  border-color: rgba(251,246,236,0.55);
}
.btn-outline:hover {
  background: rgba(251,246,236,0.12);
  border-color: var(--color-cream-100);
  color: var(--color-cream-100);
}

.btn-outline--dark {
  background: transparent;
  color: var(--color-green-900);
  border-color: var(--color-green-900);
}
.btn-outline--dark:hover {
  background: var(--color-green-900);
  color: var(--color-cream-100);
}

/* Enhanced Apply Now button */
.btn-apply {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
  color: var(--color-green-900);
  border-color: var(--color-gold-500);
  padding: 0.7em 1.4em;
  border-radius: var(--radius-md);
  font-weight: 700;
  gap: 0.4em;
  box-shadow: 0 4px 14px -4px rgba(224,165,38,0.6);
  position: relative;
}
.btn-apply:hover {
  background: linear-gradient(135deg, var(--color-gold-600), var(--color-gold-500));
  box-shadow: 0 6px 20px -4px rgba(224,165,38,0.7);
  color: var(--color-green-900);
  transform: translateY(-2px);
}
.apply-badge {
  background: var(--color-green-900);
  color: var(--color-gold-500);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15em 0.5em;
  border-radius: 20px;
  margin-left: 0.3em;
}

/* Hero buttons */
.btn-hero-primary {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
  color: var(--color-green-900);
  border: 2px solid transparent;
  font-size: 1.05rem;
  padding: 0.9em 2em;
  border-radius: var(--radius-lg);
  font-weight: 800;
  box-shadow: 0 8px 32px -8px rgba(224,165,38,0.5);
  position: relative;
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-600), var(--color-gold-500));
  color: var(--color-green-900);
  box-shadow: 0 12px 40px -8px rgba(224,165,38,0.65);
  transform: translateY(-3px);
}
.btn-tag {
  background: rgba(27,58,45,0.2);
  border: 1px solid rgba(27,58,45,0.3);
  color: var(--color-green-900);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.15em 0.6em;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-hero-outline {
  background: rgba(251,246,236,0.12);
  color: var(--color-cream-100);
  border: 2px solid rgba(251,246,236,0.5);
  font-size: 1rem;
  padding: 0.9em 1.8em;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  background: rgba(251,246,236,0.2);
  border-color: var(--color-cream-100);
  color: var(--color-cream-100);
  transform: translateY(-2px);
}
.btn-hero-ghost {
  background: transparent;
  color: rgba(251,246,236,0.8);
  border: 2px solid transparent;
  font-size: 0.95rem;
  padding: 0.9em 1.4em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(251,246,236,0.4);
}
.btn-hero-ghost:hover {
  color: var(--color-cream-100);
  text-decoration-color: var(--color-gold-500);
}

/* ===================================================================
   6. SITE HEADER / NAVBAR
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(251,246,236,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}
.site-header--scrolled {
  box-shadow: 0 4px 24px -8px rgba(27,58,45,0.2);
  border-bottom-color: var(--color-line-200);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-sm);
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-green-900);
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--color-green-900); }
.nav-brand__logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var(--color-green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.nav-brand__text {
  overflow: visible;
  white-space: nowrap;
  text-overflow: unset;
  min-width: 0;
  font-size: 1rem;
}
.nav-brand__text small {
  display: block;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  margin-top: 0.1em;
  overflow: hidden;
}

/* Nav menu */
nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-ink-700);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background-color var(--duration-fast);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { color: var(--color-green-900); background-color: var(--color-cream-200); }
.nav-link.active { color: var(--color-green-900); background-color: rgba(224,165,38,0.12); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: var(--color-gold-500);
  border-radius: 2px;
}
.nav-icon {
  width: 15px;
  height: 15px;
  opacity: 0.65;
}
.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 600;
  border-radius: var(--radius-sm);
  transition: background-color var(--duration-fast);
}
.nav-toggle:hover { background-color: var(--color-cream-200); }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-green-900);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,58,45,0.5);
  z-index: 400;
  opacity: 0;
  transition: opacity var(--duration-base);
}
.nav-overlay.is-active { display: block; opacity: 1; }

/* ===================================================================
   7. NOTICE TICKER
   Notice band z-index must be below header (500) but above content
   =================================================================== */
.notice-band {
  position: relative;
  z-index: 200;
  background-color: var(--color-gold-500);
  color: var(--color-green-900);
  overflow: hidden;
  line-height: 1;
}

.notice-band__inner {
  display: flex;
  align-items: stretch;
  min-height: 44px;
}

.notice-band__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--color-green-900);
  color: var(--color-cream-100);
  padding: 0 var(--space-md);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.notice-band__label svg { width: 16px; height: 16px; flex-shrink: 0; }

.notice-band__track {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  white-space: nowrap;
  padding: 0 var(--space-lg);
  animation: notice-scroll 40s linear infinite;
  will-change: transform;
}
.notice-band:hover .notice-band__track { animation-play-state: paused; }

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

.notice-band__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 0;
}
.notice-band__sep {
  color: var(--color-green-700);
  font-size: 0.75rem;
}

/* ===================================================================
   8. HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-cream-100);
  width: 100%;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img, .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
  display: block;
  max-width: 100%;
}

@media (max-width: 767px) {

  /* Navbar brand full fix */
  .nav-bar {
    padding: 0 0.75rem !important;
    gap: 0.4rem !important;
    height: var(--nav-height) !important;
  }
  
  .nav-brand {
    flex: 1 !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
    gap: 0.4rem !important;
    overflow: hidden !important;
  }
  
  .nav-brand__logo {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }
  
  .nav-brand__text {
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
    display: block !important;
  }
  
  .nav-brand__text small {
    display: none !important;
  }
  
  .nav-toggle {
    display: flex !important;
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.4rem !important;
  }

  /* Footer complete mobile fix */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }
  
  .footer-col__heading {
    font-size: 0.9rem !important;
    margin-bottom: var(--space-sm) !important;
  }
  
  .footer-tagline {
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
  }
  
  .footer-udise {
    flex-direction: column !important;
    gap: 0.3rem !important;
  }
  
  .udise-chip {
    font-size: 0.7rem !important;
  }
  
  .footer-links a {
    font-size: 0.82rem !important;
    padding: 0.1rem 0 !important;
  }
  
  .footer-contact-list li {
    font-size: 0.78rem !important;
    gap: 0.35rem !important;
  }
  
  .footer-contact-list span,
  .footer-contact-list a {
    font-size: 0.78rem !important;
  }
  
  .footer-admission-box {
    padding: var(--space-sm) !important;
  }
  
  .footer-admission-box p {
    font-size: 0.82rem !important;
  }

  .hero {
    min-height: 100svh;
    min-height: 100vh;
    width: 100vw;
    max-width: 100%;
  }
  
  .hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  
  .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  
  .hero__content {
    padding: 1.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
    max-width: 100vw;
  }
  
  .hero__title {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    word-break: break-word;
  }
  
  .hero__subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .btn-hero-ghost {
    display: none;
  }
  
  .hero__trust-badges {
    display: none;
  }
  
  .hero__info-pills {
    display: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27,58,45,0.45) 0%,
    rgba(27,58,45,0.72) 50%,
    rgba(27,58,45,0.92) 100%
  );
  z-index: 1;
}

/* Subtle diagonal pattern for texture */
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(224,165,38,0.03) 0,
    rgba(224,165,38,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero__trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(224,165,38,0.15);
  border: 1px solid rgba(224,165,38,0.35);
  color: var(--color-gold-400);
  font-family: var(--font-utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25em 0.75em;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.trust-badge svg { width: 14px; height: 14px; }

.hero__eyebrow { color: var(--color-gold-400); }

.hero__title {
  color: var(--color-cream-100);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: var(--space-sm);
  font-weight: 800;
}
.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-line-in var(--duration-slow) var(--ease-out) forwards;
}
.hero__title-line:nth-child(2) { animation-delay: 0.18s; }
.hero__title-accent { color: var(--color-gold-400); }

@keyframes hero-line-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(251,246,236,0.88);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease-out) 0.4s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease-out) 0.6s forwards;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
  opacity: 0;
  animation: hero-fade-up var(--duration-slow) var(--ease-out) 0.8s forwards;
}
.info-pill {
  background: rgba(251,246,236,0.1);
  border: 1px solid rgba(251,246,236,0.2);
  color: rgba(251,246,236,0.85);
  font-family: var(--font-utility);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3em 0.85em;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(251,246,236,0.65);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll-cue svg {
  width: 20px;
  height: 20px;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ===================================================================
   9. ABOUT SNAPSHOT
   =================================================================== */
.about-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.about-snapshot__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-snapshot__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-snapshot__media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(224,165,38,0.5);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.about-snapshot__badge {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: var(--color-gold-500);
  color: var(--color-green-900);
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.about-snapshot__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.about-snapshot__badge span {
  font-family: var(--font-utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: var(--space-sm) 0 var(--space-md);
}
.ah-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-ink-700);
}
.ah-item svg { width: 20px; height: 20px; flex-shrink: 0; }

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-green-700);
  margin-top: var(--space-xs);
}
.read-more-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast) var(--ease-out);
}
.read-more-link:hover svg { transform: translateX(4px); }

/* ===================================================================
   10. FEATURE CARDS
   =================================================================== */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-gold-500);
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-cream-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: background-color var(--duration-base) var(--ease-out);
}
.feature-card:hover .feature-card__icon { background-color: var(--color-gold-500); }
.feature-card__icon svg { width: 26px; height: 26px; color: var(--color-green-900); }
.feature-card p { font-size: var(--fs-small); color: var(--color-ink-600); margin: 0; }

/* ===================================================================
   11. ADMISSION CTA SECTION
   =================================================================== */
.admission-cta-section { background-color: var(--color-cream-50); }
.admission-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.admission-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0 var(--space-lg);
}
.af-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.af-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.af-icon svg { width: 22px; height: 22px; color: var(--color-green-900); }
.af-item strong { display: block; color: var(--color-green-900); font-weight: 700; }
.af-item p { font-size: var(--fs-small); color: var(--color-ink-600); margin: 0; }

.admission-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Classes card */
.classes-card {
  background: var(--color-green-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  color: var(--color-cream-100);
}
.classes-card__header {
  background: rgba(255,255,255,0.05);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.classes-card__header h3 { color: var(--color-cream-100); margin: 0; font-size: 1.2rem; }
.classes-icon { width: 26px; height: 26px; color: var(--color-gold-500); }

.classes-list { padding: var(--space-sm) var(--space-lg); }
.class-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.class-row:last-child { border-bottom: none; }
.class-badge {
  background: rgba(224,165,38,0.2);
  color: var(--color-gold-400);
  font-family: var(--font-utility);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25em 0.75em;
  border-radius: 20px;
  white-space: nowrap;
}
.class-label { flex: 1; font-size: 0.9rem; color: rgba(251,246,236,0.8); }
.class-arrow { color: var(--color-gold-500); font-weight: 700; }

.classes-card__footer {
  background: rgba(224,165,38,0.1);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(224,165,38,0.2);
}
.classes-card__footer p { font-size: 0.88rem; color: rgba(251,246,236,0.8); margin-bottom: 0.5rem; }
.classes-fee-link {
  color: var(--color-gold-400);
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: 0.88rem;
  transition: color var(--duration-fast);
}
.classes-fee-link:hover { color: var(--color-gold-500); }

/* ===================================================================
   12. STATS BAND
   =================================================================== */
.stats-band { background-color: var(--color-green-900); color: var(--color-cream-100); }
.stats-band__title {
  text-align: center;
  color: var(--color-cream-100);
  margin-bottom: var(--space-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.stat-item {
  position: relative;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--duration-base), transform var(--duration-base) var(--ease-out);
}
.stat-item:hover {
  background: rgba(224,165,38,0.08);
  transform: translateY(-4px);
}
.stat-item__icon { font-size: 1.8rem; margin-bottom: 0.3rem; }
.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--color-gold-500);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.stat-item__label {
  font-family: var(--font-utility);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251,246,236,0.75);
}

/* ===================================================================
   13. HOSTEL GRID
   =================================================================== */
.hostel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.hostel-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.hostel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.hostel-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.hostel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.hostel-card:hover .hostel-card__img img { transform: scale(1.06); }
.hostel-card__body { padding: var(--space-md); }
.hostel-card__icon { font-size: 1.6rem; margin-bottom: 0.3rem; }
.hostel-card__body h3 { margin-bottom: 0.3rem; }
.hostel-card__body p { font-size: var(--fs-small); color: var(--color-ink-600); margin: 0; }

/* ===================================================================
   14. CAROUSEL
   =================================================================== */
.carousel { position: relative; max-width: 780px; margin: 0 auto; }
.carousel__track { overflow: hidden; border-radius: var(--radius-lg); }
.carousel__slides {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-out);
}
.carousel__slide {
  flex: 0 0 100%;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-radius: var(--radius-lg);
  text-align: center;
}
.carousel__stars {
  color: var(--color-gold-500);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}
.carousel__quote-icon { width: 36px; height: 36px; color: var(--color-gold-400); margin: 0 auto var(--space-sm); }
.carousel__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-green-900);
  margin-bottom: var(--space-sm);
  font-style: italic;
}
.carousel__author {
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-ink-600);
}
.carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line-200);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-green-900);
  transition: all var(--duration-fast) var(--ease-out);
}
.carousel__btn:hover { background: var(--color-gold-500); border-color: var(--color-gold-500); transform: scale(1.08); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-line-200);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--duration-fast) var(--ease-out);
}
.carousel__dot.is-active { background: var(--color-gold-500); transform: scale(1.3); }

/* ===================================================================
   15. GALLERY GRID + LIGHTBOX
   =================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-xs);
}
.gallery-grid__item:nth-child(1), .gallery-grid__item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.gallery-grid__item:hover img { transform: scale(1.08); }
.gallery-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27,58,45,0.6) 100%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}
.gallery-grid__item:hover::after { opacity: 1; }
.gallery-grid__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--color-cream-100);
  font-family: var(--font-utility);
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--duration-fast);
}
.gallery-grid__item:hover .gallery-grid__caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20,20,18,0.92);
  padding: var(--space-md);
  backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; }
.lightbox__image-wrap { max-width: 90vw; max-height: 80vh; }
.lightbox__image-wrap img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(251,246,236,0.1);
  border: 1px solid rgba(251,246,236,0.25);
  color: var(--color-cream-100);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: var(--color-gold-500);
  color: var(--color-green-900);
  border-color: var(--color-gold-500);
}
.lightbox__close { top: var(--space-md); right: var(--space-md); }
.lightbox__prev { left: var(--space-md); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--space-md); top: 50%; transform: translateY(-50%); }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 22px; height: 22px; }
.lightbox__caption {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(251,246,236,0.85);
  font-family: var(--font-utility);
  font-size: 0.9rem;
  text-align: center;
  max-width: 80%;
}

/* ===================================================================
   16. TOAST
   =================================================================== */
.toast {
  position: fixed;
  bottom: calc(var(--space-md) + 70px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-green-900);
  color: var(--color-cream-100);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-utility);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-base) var(--ease-out);
  z-index: 3000;
  white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--color-gold-500); }

/* ===================================================================
   17. FLOATING ACTION BUTTONS
   =================================================================== */
.fab-group {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast);
}
.fab:hover { transform: scale(1.1); }
.fab:hover .fab__tooltip { opacity: 1; transform: translateX(-6px); }

.fab--whatsapp {
  background: #25D366;
  color: #fff;
  animation: pulse-green 3s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: var(--shadow-soft), 0 0 0 0 rgba(37,211,102,0.45); }
  50% { box-shadow: var(--shadow-soft), 0 0 0 14px rgba(37,211,102,0); }
}

.fab--phone {
  background: var(--color-green-700);
  color: #fff;
  width: 48px;
  height: 48px;
  animation: pulse-phone 3s ease-in-out 1.5s infinite;
}
@keyframes pulse-phone {
  0%, 100% { box-shadow: var(--shadow-soft), 0 0 0 0 rgba(46,92,69,0.5); }
  50% { box-shadow: var(--shadow-soft), 0 0 0 12px rgba(46,92,69,0); }
}

.fab--top {
  background: var(--color-cream-100);
  color: var(--color-green-900);
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line-200);
  box-shadow: var(--shadow-card);
}
.fab--top:hover { background: var(--color-gold-500); color: var(--color-green-900); }

.fab__tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: var(--color-green-900);
  color: var(--color-cream-100);
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-fast) var(--ease-out);
}
.fab__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-green-900);
}

/* ===================================================================
   18. SPARKEDGE MODAL
   =================================================================== */
.sparkedge-credit {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: var(--fs-small);
  color: rgba(251,246,236,0.7);
  cursor: pointer;
  text-decoration: underline dotted rgba(251,246,236,0.4);
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}
.sparkedge-credit:hover { color: var(--color-gold-500); }

.sparkedge-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(26,26,23,0.6);
  backdrop-filter: blur(6px);
}
.sparkedge-modal.is-open {
  display: flex;
}
.sparkedge-modal__card {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--color-cream-100);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 24px 80px -20px rgba(27,58,45,0.4);
  animation: modal-pop var(--duration-base) var(--ease-out);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.sparkedge-modal__logo { font-size: 2rem; margin-bottom: 0.5rem; }
.sparkedge-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-ink-600);
  padding: 0.35rem;
  border-radius: 50%;
  transition: background var(--duration-fast), color var(--duration-fast);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sparkedge-modal__close:hover { background: var(--color-cream-200); color: var(--color-ink-900); }
.sparkedge-modal__close svg { width: 22px; height: 22px; }
.sparkedge-modal__eyebrow { margin-bottom: 0.25rem; }
.sparkedge-modal__title { font-size: 1.45rem; margin-bottom: 0.5rem; }
.sparkedge-modal__desc { font-size: var(--fs-small); color: var(--color-ink-600); margin-bottom: var(--space-md); }
.sparkedge-modal__services {
  margin: 0 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sparkedge-modal__services li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
}
.sparkedge-modal__services svg { width: 19px; height: 19px; color: var(--color-gold-600); flex-shrink: 0; }
.sparkedge-modal__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ===================================================================
   18b. BREADCRUMB BASE STYLES
   =================================================================== */
.breadcrumb { 
  background: var(--color-cream-200); 
  border-bottom: 1px solid var(--color-line-200); 
  padding: .6rem 0;
  width: 100%;
  position: relative;
  z-index: 10;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-utility);
  font-size: .82rem;
  color: var(--color-ink-600);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.breadcrumb__list a {
  color: var(--color-green-700);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--duration-fast);
  white-space: nowrap;
}

.breadcrumb__list a:hover {
  color: var(--color-gold-600);
}

.breadcrumb__sep {
  color: var(--color-ink-400);
  font-size: 0.82rem;
  flex-shrink: 0;
  user-select: none;
}

.breadcrumb__current {
  color: var(--color-ink-900);
  font-weight: 700;
  word-break: break-word;
}

/* ===================================================================
   19. FOOTER (matches reference Medona School style)
   =================================================================== */
.site-footer {
  background-color: #0D2137;
  color: rgba(255,255,255,0.8);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col__heading {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-gold-500);
  width: fit-content;
}

/* Brand col */
.footer-col--brand {}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}
.footer-brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.25;
}
.footer-tagline { font-size: var(--fs-small); color: rgba(255,255,255,0.6); margin-bottom: var(--space-md); line-height: 1.7; }

.footer-udise {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-md);
}
.udise-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(224,165,38,0.3);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3em 0.75em;
  border-radius: 20px;
  width: fit-content;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  text-decoration: none;
}
.footer-social__btn--fb { background: #1877F2; color: #fff; }
.footer-social__btn--wa { background: #25D366; color: #fff; }
.footer-social__btn--yt { background: #FF0000; color: #fff; }
.footer-social__btn--ig { background: linear-gradient(135deg, #E1306C, #F77737, #833AB4); color: #fff; }
.footer-social__btn:hover { transform: translateY(-3px) scale(1.1); filter: brightness(1.1); }

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-small);
  transition: color var(--duration-fast), padding-left var(--duration-fast);
}
.footer-links a:hover { color: var(--color-gold-500); padding-left: 4px; }
.footer-links svg { width: 14px; height: 14px; opacity: 0.6; flex-shrink: 0; }
.footer-apply-link { color: var(--color-gold-400) !important; font-weight: 700 !important; }

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.fc-icon { flex-shrink: 0; margin-top: 1px; }
.footer-contact-list span { color: rgba(255,255,255,0.72); line-height: 1.5; }
.footer-contact-list a { color: rgba(255,255,255,0.85); }
.footer-contact-list a:hover { color: var(--color-gold-500); }

/* Admissions box in footer (matches reference) */
.footer-admission-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(224,165,38,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
}
.footer-admission-box p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* Footer bottom */
.footer-bottom {
    padding: var(--space-md) 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem var(--space-md);
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.6rem;
}

.footer-bottom__copy { color: rgba(255,255,255,0.65); font-weight: 600; }
.footer-bottom__loc  { color: rgba(255,255,255,0.45); }
.footer-bottom__rights { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-bottom__sep  { color: rgba(255,255,255,0.2); }

.footer-bottom__right {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom__heart {
    color: #e85d75;
    font-size: 0.8rem;
    animation: heartbeat 2s ease-in-out infinite;
}

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

.footer-bottom__crafted,
.footer-bottom__by { color: rgba(255,255,255,0.38); }

.sparkedge-bolt { font-size: 0.9rem; }

/* Responsive — stack on mobile */
@media (max-width: 767px) {
  .nav-bar {
    gap: 0.5rem;
    padding: 0 var(--space-sm);
  }

  .nav-brand__logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-brand {
    font-size: 0.82rem;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
  }

  .nav-brand__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .nav-brand__text small {
    display: none;
  }

  .nav-toggle {
    display: flex !important;
    flex-shrink: 0;
    margin-left: auto;
  }

  .page-banner {
    padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-lg);
  }

  .page-banner h1 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    word-break: break-word;
  }

  .page-banner p {
    font-size: 0.88rem;
    padding: 0 var(--space-xs);
  }

  .banner-pills {
    gap: 0.35rem;
    margin-top: var(--space-xs);
  }

  .banner-pill {
    font-size: 0.72rem;
    padding: 0.25em 0.7em;
  }
  .section-heading {
    margin-bottom: var(--space-md);
  }

  .section-heading h2 {
    word-break: break-word;
    hyphens: auto;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    .nav-toggle { display: flex; }
    .footer-bottom__left {
        justify-content: center;
    }
    .footer-bottom__sep { display: none; }
    .footer-bottom__loc,
    .footer-bottom__rights { display: block; width: 100%; text-align: center; }
}

/* ===================================================================
   20. CTA SECTION
   =================================================================== */
.section--green .eyebrow { color: var(--color-gold-500); }
.cta-school-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}
.section--green h2 { color: var(--color-cream-100); margin-bottom: 0.5rem; }

/* ===================================================================
   21. SCROLL REVEAL
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ===================================================================
   22. ACCORDION
   =================================================================== */
.accordion-item { border-bottom: 1px solid var(--color-line-200); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-green-900);
  padding: var(--space-sm) 0;
  cursor: pointer;
}
.accordion-trigger svg { width: 22px; height: 22px; flex-shrink: 0; transition: transform var(--duration-base) var(--ease-out); }
.accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--duration-base) var(--ease-out); }
.accordion-panel__inner { padding-bottom: var(--space-sm); font-size: var(--fs-small); color: var(--color-ink-600); }

/* ===================================================================
   23. RESPONSIVE — COMPLETE MOBILE FIX
   =================================================================== */

/* ── TABLETS ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl) var(--space-lg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admission-cta-grid { grid-template-columns: 1fr; }
  .hostel-grid { grid-template-columns: repeat(2, 1fr); }
  .hostel-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 991px) {
  .about-snapshot { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; }
}

/* ── MOBILE ── */
@media (max-width: 767px) {

  
  /* PREVENT HORIZONTAL OVERFLOW */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  * {
    max-width: 100%;
  }
  

  /* CSS VARIABLES - REDUCE SPACING */
  :root {
    --nav-height: 64px;
    --space-xl:  2.5rem;
    --space-2xl: 3.5rem;
    --space-lg:  1.8rem;
    --fs-h1: clamp(1.6rem, 7vw, 2.4rem);
    --fs-h2: clamp(1.35rem, 5vw, 1.9rem);
    --fs-h3: clamp(1.05rem, 3.5vw, 1.35rem);
  }

  html { font-size: 15px; }
  body { overflow-x: hidden; }
  * { box-sizing: border-box; }
  img, video { max-width: 100% !important; }
  iframe { max-width: 100% !important; }

  .container { padding: 0 var(--space-sm); }
  .section { padding: var(--space-xl) 0; }

  /* ── NAVBAR ── */
  .nav-bar {
    gap: 0.4rem;
    padding: 0 0.75rem;
  }

  .nav-brand {
    flex: 1;
    flex-shrink: 1;
    min-width: 0;
    gap: 0.4rem;
    font-size: 0.82rem;
    overflow: hidden;
  }

  .nav-brand__logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-brand__text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    font-size: 0.78rem;
  }

  .nav-brand__text small { display: none; }

  .nav-toggle {
    display: flex !important;
    flex-shrink: 0;
    margin-left: 4px;
    z-index: 600;
  }

 nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(80vw, 300px);
  z-index: 550;
  display: block;
  pointer-events: none;
}

nav.has-open-menu {
  pointer-events: all;
}

.nav-menu {
  pointer-events: all;
}

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: calc(var(--nav-height) + 1.5rem) 1.25rem 1.25rem;
    background: var(--color-green-900);
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform var(--duration-base) var(--ease-out);
    width: 100%;
  }

  .nav-menu.is-open { transform: translateX(0); }

  .nav-link {
    color: rgba(251,246,236,0.85);
    font-size: 1rem;
    padding: 0.6rem 0.75rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover { color: var(--color-gold-400); background: rgba(255,255,255,0.07); }
  .nav-link.active { color: var(--color-gold-400); background: rgba(224,165,38,0.12); }
  .nav-link.active::after { display: none; }
  .nav-icon { color: var(--color-gold-500); opacity: 1; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; width: 100%; }
  .btn-apply { width: 100%; justify-content: center; }

  /* ── BREADCRUMB ── */
.breadcrumb {
    padding: 0.25rem 0 !important;
    border-bottom: 1px solid var(--color-line-200);
    min-height: unset !important;
    height: auto !important;
  }

  .breadcrumb .container {
    padding: 0 0.75rem !important;
  }

  .breadcrumb__list {
    font-size: 0.7rem !important;
    gap: 0.15rem !important;
    flex-wrap: nowrap !important;
    line-height: 1.2 !important;
    align-items: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    padding: 0.2rem 0 !important;
    margin: 0 !important;
  }
  
  .breadcrumb__list li {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  
  .breadcrumb__list li:last-child {
    flex-shrink: 1 !important;
    overflow: hidden !important;
  }

  .breadcrumb__list a {
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .breadcrumb__sep {
    font-size: 0.68rem;
    flex-shrink: 0;
    opacity: 0.6;
    margin: 0 0.1rem;
  }

  .breadcrumb__current {
    font-size: 0.72rem;
    font-weight: 700;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 55vw;
  }

  /* ── PAGE BANNER ── */
  .page-banner {
    padding: calc(var(--nav-height) + 1.5rem) 0 1.5rem;
    text-align: center;
  }
  .page-banner h1 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    word-break: break-word;
    margin-bottom: 0.4rem;
  }
  .page-banner p {
    font-size: 0.88rem;
    padding: 0 var(--space-xs);
    margin-bottom: 0.5rem;
  }
  .banner-pills {
    gap: 0.3rem;
    margin-top: 0.5rem;
    justify-content: center;
  }
  .banner-pill {
    font-size: 0.7rem;
    padding: 0.2em 0.6em;
  }

  /* ── EYEBROW + HEADINGS ── */
  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
  .section-heading {
    margin-bottom: var(--space-md);
  }
  .section-heading h2 {
    word-break: break-word;
    hyphens: auto;
  }

  /* ── HERO ── */
  .hero { min-height: 100svh; min-height: 100vh; }
  .hero__trust-badges { display: none; }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.6rem;
  }
  .btn-hero-primary,
  .btn-hero-outline { width: 100%; justify-content: center; }
  .btn-hero-ghost { display: none; }
  .hero__info-pills { display: none; }
  .hero__content {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
  .hero__title { word-break: break-word; }

  /* ── ABOUT SNAPSHOT ── */
  .about-snapshot__body { order: -1; }
  .about-snapshot__badge { display: none; }

  /* ── FEATURE CARDS ── */
  .grid--auto-fit { grid-template-columns: 1fr 1fr; }
  .feature-card { padding: var(--space-md) var(--space-sm); }

  /* ── STATS ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .stat-item__number { font-size: clamp(1.8rem, 5vw, 2.6rem); }

  /* ── HOSTEL GRID ── */
  .hostel-grid { grid-template-columns: 1fr; }
  .hostel-card:last-child { grid-column: auto; max-width: 100%; }

  /* ── GRIDS ── */
  .grid--2col { grid-template-columns: 1fr; }
  .grid--3col { grid-template-columns: 1fr; }

  /* ── GALLERY ── */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }
  .gallery-grid__item:nth-child(1),
  .gallery-grid__item:nth-child(6) { grid-column: span 2; grid-row: span 1; }

  /* ── CAROUSEL ── */
  .carousel__slide { padding: var(--space-lg) var(--space-md); }
  .carousel__quote { font-size: 0.95rem; }

  /* ── TABLES ── */
  table { font-size: 0.82rem; }
  th, td { padding: 0.6rem 0.75rem !important; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-col__heading { font-size: 0.95rem; }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: var(--space-sm) 0;
  }
  .footer-bottom__left {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }
  .footer-bottom__sep { display: none; }
  .footer-bottom__loc,
  .footer-bottom__rights { display: block; width: 100%; text-align: center; }

  /* ── SPARKEDGE MODAL ── */
  .sparkedge-modal__card { padding: var(--space-lg) var(--space-md); }

  /* ── FABS ── */
  .fab { width: 50px; height: 50px; }
  .fab--phone { width: 42px; height: 42px; }
  .fab__tooltip { display: none; }

  /* ── LIGHTBOX ── */
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }

  /* ── CLASSES CARD ── */
  .classes-card { border-radius: var(--radius-lg); }
  .class-row { padding: 0.6rem 0; }

  /* ── ADMISSION CTA ── */
  .admission-cta-grid { grid-template-columns: 1fr; }
  .admission-cta__actions { flex-direction: column; }
  .admission-cta__actions .btn { width: 100%; justify-content: center; }
}

/* ── SMALL MOBILE ── */
@media (max-width: 480px) {

  :root {
    --space-md: 1rem;
    --space-sm: 0.75rem;
  }

  html { font-size: 14px; }

  .hero__title { font-size: clamp(1.5rem, 8vw, 2rem); }

  .breadcrumb {
    padding: 0.2rem 0 !important;
  }
  
  .breadcrumb__list {
    font-size: 0.65rem !important;
  }

  .breadcrumb .container {
    padding: 0 0.6rem;
  }

  .breadcrumb__list {
    font-size: 0.68rem;
    gap: 0.15rem;
  }

  .breadcrumb__list a {
    font-size: 0.68rem;
  }

  .breadcrumb__current {
    font-size: 0.68rem;
    max-width: 48vw;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid--auto-fit { grid-template-columns: 1fr; }

  .admission-features { gap: var(--space-xs); }
  .footer-col__heading { font-size: 0.9rem; }

  /* Tables scroll */
  .fee-table-wrap,
  .eligibility-wrap,
  .aff-table-wrap,
  .calendar-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .notice-band__label { padding: 0 0.75rem; font-size: 0.68rem; }
  .notice-band__item { font-size: 0.78rem; }
}

/* ===================================================================
   24. REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title-line, .hero__subtitle, .hero__actions, .hero__info-pills { opacity: 1; animation: none; transform: none; }
  .notice-band__track { animation: none; }
  .fab--whatsapp, .fab--phone { animation: none; }
}

/* ===================================================================
   25. PRINT STYLES
   =================================================================== */
@media print {
  .site-header, .notice-band, .fab-group, .sparkedge-modal, .lightbox, .whatsapp-fab, .nav-toggle { display: none !important; }
  body { font-size: 12pt; background: #fff; color: #000; }
  a { color: inherit; text-decoration: underline; }
  .section { padding: 20pt 0; }
}

/*  */

/* ===================================================
   GLOBAL MOBILE OVERFLOW FIX — ADD AT END OF FILE
   =================================================== */

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
}

@media (max-width: 767px) {
  
  /* Fix nav not covering content */
  nav {
    pointer-events: none;
  }
  
  .nav-menu.is-open {
    pointer-events: all;
  }
  
  /* Fix breadcrumb positioning */
.breadcrumb {
  background: var(--color-cream-200);
  border-bottom: 1px solid var(--color-line-200);
  padding: 0.4rem 0;
  width: 100%;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}
  
  .breadcrumb .container {
    width: 100% !important;
    padding: 0 0.75rem !important;
  }
  
  /* Fix all grids */
  .grid--3col,
  .grid--2col {
    grid-template-columns: 1fr !important;
  }
  
  /* Fix images overflowing */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Fix tables */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
  }
  
  /* Fix iframes (Google Form, Map) */
  iframe {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Fix containers */
  .container {
    width: 100% !important;
    padding: 0 0.75rem !important;
    box-sizing: border-box !important;
  }
  
  /* Fix sections */
  .section {
    width: 100% !important;
    overflow: hidden !important;
  }
  
  /* Fix hero */
  .hero__content {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Fix notice band overflow */
  .notice-band {
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem !important;
  }
  
  h1, h2, h3 {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}