/* ==========================================================================
   H. S. HIGH SCHOOL, SRI MUKTSAR SAHIB
   Official Classical + Modern Theme Stylesheet
   Affiliated to CBSE, New Delhi (Affiliation No: 1630707)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Classical Academic Palette - Updated to #418750 */
  --primary-deep: #418750;       /* Requested Academic Green */
  --primary: #418750;            /* Classic School Green */
  --primary-dark: #2d6239;       /* Deep Contrast Green */
  --primary-light: #52a364;      /* Vibrant Foliage Green */
  --primary-soft: #edf6f0;       /* Subtle Green Wash */
  --primary-glow: transparent;

  --gold-dark: #9a761c;          /* Antique Bronze Gold */
  --gold: #c99726;               /* Classical Regal Gold */
  --gold-light: #e6b84a;         /* Bright Brass Gold */
  --gold-soft: #fcf6e6;          /* Ivory Gold Wash */
  --gold-border: rgba(201, 151, 38, 0.4);

  --crimson: #8f1d22;            /* Academic Maroon */
  --crimson-soft: #fdf2f2;

  --navy: #152238;               /* Deep Classical Navy */
  --slate-dark: #1e293b;
  --slate-medium: #475569;
  --slate-light: #64748b;
  --border-light: #e2e8f0;
  
  --bg-cream: #faf8f5;           /* Classical Parchment / Cream */
  --bg-white: #ffffff;
  --bg-card: #ffffff;

  /* Typography */
  --font-serif-title: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-serif-body: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Crisp Subtle Elevations (No Glow, No Shine) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-gold: none;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.25s ease;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--slate-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-serif-title);
  color: var(--primary-deep);
  font-weight: 700;
  line-height: 1.25;
}

h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--slate-dark);
}

p {
  color: #334155;
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--gold-dark);
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  max-width: 1380px;
}

/* Classical Ribbon Divider */
.classical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 2.2rem;
}

.classical-divider::before,
.classical-divider::after {
  content: '';
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.classical-divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.classical-divider-icon {
  color: var(--gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

/* Section Header Utility */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 3.25rem;
  position: relative;
}

.section-title {
  order: 1;
  font-size: 2.35rem;
  letter-spacing: -0.5px;
  position: relative;
  display: block;
  width: 100%;
  color: var(--primary-deep);
  margin: 0 0 0.5rem 0;
}

.section-subtitle {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  margin: 0.35rem auto 0.6rem;
}

.classical-divider {
  order: 3;
  margin: 0.4rem auto 0.8rem;
}

.section-desc {
  order: 4;
  font-size: 1.05rem;
  color: var(--slate-medium);
  max-width: 720px;
  margin: 0.4rem auto 0;
  line-height: 1.65;
}

/* ==========================================================================
   CLASSICAL BRANDING MASTHEAD (Clean Header)
   ========================================================================== */
.school-masthead {
  display: none !important;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.masthead-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-crest-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  padding: 4px;
  background: radial-gradient(circle, var(--gold-soft) 40%, #ffffff 80%);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(17, 76, 47, 0.15);
}

.logo-crest-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.school-name-title {
  font-family: var(--font-serif-title);
  font-size: 2.1rem;
  color: var(--primary-deep);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 1px 1px 0 rgba(201, 151, 38, 0.2);
}

.school-motto-tag {
  display: inline-block;
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 0.2rem;
}

.school-affiliation-tag {
  font-size: 0.84rem;
  color: var(--slate-medium);
  font-weight: 500;
  margin-top: 0.15rem;
}

.masthead-cta-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: #ffffff;
  box-shadow: none;
}

.btn-gold {
  background: var(--gold);
  color: #ffffff;
  border: 1px solid var(--gold-dark);
  font-weight: 600;
  box-shadow: none;
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: #ffffff;
  box-shadow: none;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-deep);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.main-nav-bar {
  background: var(--primary-deep);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid var(--gold);
}

.main-nav-bar .container-wide {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.55rem 0;
  flex-shrink: 0;
}

.nav-brand-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #ffffff;
  padding: 0.35rem 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.nav-brand-mobile:hover {
  opacity: 0.92;
}

.nav-brand-mobile-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: #ffffff;
  padding: 1px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.nav-brand-mobile-title {
  font-family: var(--font-serif-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
  background: #ffffff;
}

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

.nav-brand-title {
  font-family: var(--font-serif-title);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.nav-brand-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: 0;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.85rem 0.65rem;
  color: #f1f5f9;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
}

/* Dropdown Menu */
.has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: var(--transition-smooth);
  margin-top: -3px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1000;
  padding: 0.5rem 0;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.dropdown-item {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--slate-dark);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition-smooth);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--primary-soft);
  color: var(--primary-deep);
  padding-left: 1.55rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem 0.5rem;
}

.mobile-nav-toggle svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* ==========================================================================
   NEWS TICKER / LIVE NOTICES
   ========================================================================== */
.announcement-ticker {
  background: #0e2417;
  color: #ffffff;
  border-bottom: 1px solid rgba(201, 151, 38, 0.3);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.88rem;
  position: relative;
  z-index: 10;
}

.ticker-below-slider {
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid rgba(201, 151, 38, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  background: linear-gradient(90deg, #091a10 0%, #0e281a 50%, #091a10 100%);
}

.ticker-badge {
  background: var(--gold);
  color: #0b1a11;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 3px 0 10px rgba(0,0,0,0.25);
}

.ticker-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #15803d;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.ticker-content-track {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  padding: 0.65rem 0;
}

.ticker-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 34s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 3.5rem;
  color: #f1f5f9;
}

.ticker-item strong {
  color: var(--gold-light);
}

.ticker-item a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticker-item a:hover {
  color: var(--gold-light);
}

.ticker-action {
  flex-shrink: 0;
  padding: 0 1.25rem;
  z-index: 2;
  background: rgba(9, 26, 16, 0.95);
  border-left: 1px solid rgba(201, 151, 38, 0.25);
  display: flex;
  align-items: center;
  height: 100%;
}

.ticker-action-link {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ticker-action-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .ticker-action {
    display: none;
  }
}

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

/* ==========================================================================
   HERO SLIDER SECTION (New Dynamic Cinematic Horizon Slide & Scale Reveal)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 620px;
  height: 640px;
  overflow: hidden;
  background: #0d2217;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08) translate3d(0, 0, 0);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.9s;
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate3d(0, 0, 0);
  z-index: 2;
}

.slide-item.prev-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95) translate3d(0, 0, 0);
  transition: opacity 0.8s ease, transform 0.9s ease;
  z-index: 1;
}

/* Dynamic Directional Slide Reveal */
.slider-container.dir-next .slide-item.animating-in {
  animation: slideRevealNext 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slider-container.dir-prev .slide-item.animating-in {
  animation: slideRevealPrev 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideRevealNext {
  0% {
    opacity: 0;
    transform: scale(1.12) translate3d(50px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

@keyframes slideRevealPrev {
  0% {
    opacity: 0;
    transform: scale(1.12) translate3d(-50px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.0);
  filter: brightness(0.92);
  transition: filter 0.8s ease;
}

.slide-item.active .slide-bg {
  animation: livingFloat 7s ease-in-out infinite alternate;
}

@keyframes livingFloat {
  0% {
    transform: scale(1.0) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.04) translate3d(-6px, -3px, 0);
  }
  100% {
    transform: scale(1.02) translate3d(4px, 2px, 0);
  }
}

.slide-overlay {
  display: none;
}

/* ==========================================================================
   HERO BRAND IDENTITY OVERLAY (School Logo on Left, Name, Motto, Desc, Buttons)
   Bottom-Left Anchored with Smooth Fade Shadow (No Box / No Card)
   ========================================================================== */
.hero-brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to top, rgba(3, 14, 7, 0.90) 0%, rgba(3, 14, 7, 0.45) 32%, rgba(3, 14, 7, 0.12) 55%, transparent 75%),
              radial-gradient(ellipse at 8% 95%, rgba(3, 14, 7, 0.85) 0%, rgba(3, 14, 7, 0.40) 50%, transparent 75%);
  padding-bottom: 2.5rem;
}

.hero-brand-overlay .container-wide {
  pointer-events: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
}

.hero-brand-card {
  background: transparent;
  border: none;
  border-left: none;
  border-radius: 0;
  padding: 0;
  max-width: 620px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-left: 0;
  margin-right: auto;
}

.hero-brand-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 0.85rem;
}

.hero-emblem-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-emblem-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s ease;
  display: block;
}

.hero-emblem-img:hover {
  transform: scale(1.05);
}

.hero-title-group {
  flex-grow: 1;
}

.hero-school-title {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
  line-height: 1.15;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
}

.hero-school-motto {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-school-desc {
  font-size: 0.86rem;
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-school-buttons {
  display: none !important;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 720px;
  padding: 2rem 0;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
}

.slide-item.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-tag {
  display: inline-block;
  background: rgba(201, 151, 38, 0.25);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.slide-title {
  font-family: var(--font-serif-title);
  font-size: 3.2rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.slide-title span {
  color: var(--gold-light);
  display: block;
}

.slide-desc {
  font-size: 1.12rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Premium Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(14, 36, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(201, 151, 38, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.slider-arrow:hover {
  background: var(--gold);
  color: #0a1b11;
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(201, 151, 38, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow svg {
  display: block;
}

.slider-prev {
  left: 2rem;
}

.slider-next {
  right: 2rem;
}

/* Bottom Controls Bar */
.slider-bottom-controls {
  position: absolute;
  bottom: 1.85rem;
  right: 2.5rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 1rem;
  pointer-events: auto;
}

.slider-dots-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(11, 28, 18, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 151, 38, 0.4);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.slider-counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.slider-counter .current-slide {
  color: var(--gold-light);
}

.slider-counter .counter-slash {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.slider-counter .total-slides {
  color: #cbd5e1;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: static;
  transform: none;
}

.slider-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.slider-dots .dot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(201, 151, 38, 0.85);
}

/* Progress Countdown Bar */
.slider-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 7;
  overflow: hidden;
}

.slider-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #fef08a, var(--gold));
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.8);
  transition: width 0.05s linear;
}

@media (max-width: 768px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  .slider-prev {
    left: 0.75rem;
  }
  .slider-next {
    right: 0.75rem;
  }
  .slider-bottom-controls,
  .slider-dots-wrap {
    display: none !important;
  }
}

/* ==========================================================================
   KEY STATS / HONORS RIBBON
   ========================================================================== */
.stats-ribbon {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 3rem 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(10, 51, 31, 0.2);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: var(--radius-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(201, 151, 38, 0.35);
}

.stat-number {
  font-family: var(--font-serif-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.92rem;
  color: #e2e8f0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   QUICK GATEWAY CARDS (Academic Pillars)
   ========================================================================== */
.gateway-section {
  padding: 5rem 0 3rem;
}

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

.gateway-grid.grid-2-cols {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 820px) {
  .gateway-grid.grid-2-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.gateway-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gateway-card.icon-card,
.gateway-card:not(:has(.gateway-img-wrap)),
.gateway-card:has(.gateway-icon-wrap) {
  padding: 2.25rem 2rem;
}

.gateway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  border-color: var(--gold);
}

.gateway-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.gateway-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

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

.gateway-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.gateway-card:hover .gateway-icon-wrap {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.gateway-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.gateway-title {
  font-family: var(--font-serif-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--primary-deep);
}

.gateway-text {
  font-size: 0.92rem;
  color: var(--slate-medium);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   INLINE POLICIES & GUIDELINES GRID (Direct on Page)
   ========================================================================== */
.policies-inline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.policy-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--primary);
  padding: 1.75rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.policy-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.policy-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-card-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.policy-card-title {
  font-family: var(--font-serif-title);
  font-size: 1.18rem;
  color: var(--primary-deep);
  font-weight: 700;
  margin: 0;
}

.policy-card-body {
  font-size: 0.91rem;
  color: var(--slate-dark);
  line-height: 1.7;
}

.policy-card-body p {
  margin-bottom: 0.6rem;
}

.policy-card-body p:last-child {
  margin-bottom: 0;
}

.policy-card-body ul {
  padding-left: 1.25rem;
  margin: 0;
  list-style: disc;
}

.policy-card-body li {
  margin-bottom: 0.45rem;
}

.gateway-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
}

.gateway-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.gateway-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   CLASSICAL HERITAGE & PHILOSOPHY (Original Content Section)
   ========================================================================== */
.philosophy-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
}

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

.philosophy-text-col {
  position: relative;
}

.classical-quote-box {
  background: var(--bg-cream);
  border-left: 4px solid var(--gold);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.classical-quote-box p {
  font-family: var(--font-serif-body);
  font-size: 1.1rem;
  font-style: italic;
  color: #2c3e50;
  line-height: 1.75;
  margin: 0;
}

.philosophy-lead {
  font-size: 1.05rem;
  color: var(--slate-dark);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.philosophy-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.phil-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.phil-feat-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 3px;
}

.phil-feat-text h5 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.phil-feat-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--slate-medium);
}

.philosophy-image-col {
  position: relative;
}

.frame-campus-wrap {
  position: relative;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.25rem;
}

.frame-campus-wrap::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.frame-campus-img {
  width: 100%;
  min-height: 380px;
  max-height: 480px;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}

.campus-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 51, 31, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(201, 151, 38, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 5;
}

.badge-crest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}

.badge-text-title {
  font-family: var(--font-serif-title);
  font-size: 1.02rem;
  color: var(--gold-light);
  line-height: 1.15;
  font-weight: 700;
}

.badge-text-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ==========================================================================
   LATEST NEWS & CIRCULARS CARD (Welcome Section - Ref Screenshot 23F791E6)
   ========================================================================== */
.latest-news-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin-top: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

.latest-news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.latest-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.35rem;
  background: #ffffff;
  border-bottom: 2px solid #f1f5f9;
}

.latest-news-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.latest-news-red-bar {
  display: inline-block;
  width: 4px;
  height: 1.3rem;
  background: #dc2626;
  border-radius: 2px;
}

.latest-news-title {
  font-family: var(--font-serif-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  letter-spacing: 0.3px;
}

.latest-news-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid #fecaca;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulseRedDot 1.8s infinite;
}

@keyframes pulseRedDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.latest-news-body {
  padding: 0.4rem 1.35rem;
}

.latest-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-news-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed #e2e8f0;
  transition: background 0.2s ease;
}

.latest-news-item:last-child {
  border-bottom: none;
}

.latest-news-chevron {
  color: #dc2626;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -1px;
  transition: transform 0.2s ease;
}

.latest-news-item:hover .latest-news-chevron {
  transform: translateX(3px);
}

.latest-news-info {
  flex-grow: 1;
}

.latest-news-link {
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.latest-news-link:hover {
  color: #dc2626;
}

.latest-news-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.3rem;
  font-size: 0.75rem;
}

.latest-news-pill {
  background: #ecfdf5;
  color: #047857;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  border: 1px solid #d1fae5;
}

.latest-news-date {
  color: #64748b;
  font-weight: 500;
}

.latest-news-footer {
  padding: 0.8rem 1.35rem 1rem;
  background: #fafaf9;
  border-top: 1px solid #f1f5f9;
  text-align: right;
}

.latest-news-all-btn {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.latest-news-all-btn:hover {
  color: var(--primary-deep);
  transform: translateX(3px);
}

/* ==========================================================================
   PRINCIPAL'S MESSAGE (Executive Classic Style)
   ========================================================================== */
.principal-section {
  padding: 5rem 0;
  background: var(--bg-cream);
  border-top: 1px solid rgba(201, 151, 38, 0.2);
  border-bottom: 1px solid rgba(201, 151, 38, 0.2);
}

.principal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.principal-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  font-family: var(--font-serif-body);
  font-size: 9rem;
  color: rgba(201, 151, 38, 0.12);
  line-height: 1;
  pointer-events: none;
}

.principal-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.principal-avatar-wrap {
  text-align: center;
  position: sticky;
  top: 5rem;
}

.principal-img-frame {
  width: 190px;
  height: 190px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  padding: 4px;
  background: #ffffff;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.principal-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.principal-name {
  font-family: var(--font-serif-title);
  font-size: 1.35rem;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}

.principal-role {
  font-size: 0.88rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.principal-quote-title {
  font-family: var(--font-serif-title);
  font-size: 1.65rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.principal-message-text {
  font-size: 1.02rem;
  color: var(--slate-dark);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* --- LEADERSHIP CARDS (Spacious 2-Column Grid with Increased Width) --- */
.leadership-scroll-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

@media (max-width: 900px) {
  .leadership-scroll-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 100%;
  }
}

.leadership-portrait-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(201, 151, 38, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-portrait-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.leadership-portrait-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
}

.leadership-portrait-header {
  padding: 2.25rem 2rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(65, 135, 80, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid rgba(201, 151, 38, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leadership-photo-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: #ffffff;
  border: 3px solid var(--gold);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.leadership-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #f8fafc;
}

.leadership-name {
  font-family: var(--font-serif-title);
  font-size: 1.35rem;
  color: var(--primary-deep);
  margin-bottom: 0.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.leadership-role-badge {
  display: inline-block;
  background: rgba(65, 135, 80, 0.1);
  color: var(--primary-deep);
  border: 1px solid rgba(65, 135, 80, 0.3);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.leadership-qualification {
  font-size: 0.82rem;
  color: var(--slate-medium);
  margin-top: 0.35rem;
  font-weight: 500;
}

.leadership-portrait-body {
  padding: 1.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.leadership-quote-header {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.leadership-quote-icon {
  position: absolute;
  left: -0.25rem;
  top: -0.65rem;
  font-family: var(--font-serif-title);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.6;
}

.leadership-quote-title {
  font-family: var(--font-serif-title);
  font-size: 1.05rem;
  color: var(--primary);
  font-style: italic;
  line-height: 1.45;
  margin: 0;
}

.leadership-message-scroll {
  line-height: 1.75;
  max-height: none;
  overflow: visible;
}

.leadership-message-scroll::-webkit-scrollbar {
  width: 4px;
}

.leadership-message-scroll::-webkit-scrollbar-thumb {
  background: rgba(201, 151, 38, 0.4);
  border-radius: 4px;
}

.leadership-message-text {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.72;
}

.leadership-portrait-footer {
  padding: 0.85rem 2rem;
  background: #fafaf9;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.leadership-seal-mark {
  font-size: 0.76rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   ACADEMIC PROGRAMS & STREAMS
   ========================================================================== */
.academics-section {
  padding: 5rem 0;
  background: #ffffff;
}

.curriculum-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.curriculum-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.curriculum-card > p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.curriculum-card > ul {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.curriculum-card .btn,
.curriculum-card > a.btn,
.curriculum-card > a:last-child {
  margin-top: auto;
  align-self: flex-start;
}

.curriculum-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.curriculum-level-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.curriculum-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.curriculum-card ul {
  margin: 1.2rem 0;
}

.curriculum-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--slate-dark);
}

.curriculum-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Senior Secondary Stream Pills */
.streams-box {
  background: linear-gradient(135deg, #f8fbf9 0%, #eef5f1 100%);
  border: 1px solid rgba(17, 76, 47, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  margin-top: 2rem;
}

.streams-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.stream-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
}

.stream-card.non-med { border-top-color: #0284c7; }
.stream-card.med { border-top-color: #16a34a; }
.stream-card.commerce { border-top-color: #d97706; }
.stream-card.arts { border-top-color: #9333ea; }

.stream-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.stream-card p {
  font-size: 0.88rem;
  color: var(--slate-medium);
  margin-bottom: 0;
}

/* ==========================================================================
   FACILITIES & INFRASTRUCTURE
   ========================================================================== */
.facilities-section {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.facility-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.facility-tab-btn {
  padding: 0.75rem 1.6rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.facility-tab-btn.active,
.facility-tab-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(17, 76, 47, 0.2);
}

.facility-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.facility-tab-pane.active {
  display: block;
}

.facility-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.facility-detail-content {
  padding: 3.5rem;
}

.facility-detail-content h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.facility-points {
  margin: 1.5rem 0;
}

.facility-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: #334155;
}

.facility-points svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-dark);
  flex-shrink: 0;
}

.facility-detail-img-wrap {
  height: 100%;
  min-height: 380px;
  position: relative;
}

.facility-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   CO-CURRICULAR & STUDENT LIFE
   ========================================================================== */
.student-life-section {
  padding: 5rem 0;
  background: #ffffff;
}

.houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.house-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition-smooth);
}

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

.house-emblem-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.house-card.house-tagore .house-emblem-dot { background: #dc2626; } /* Red */
.house-card.house-ashoka .house-emblem-dot { background: #2563eb; } /* Blue */
.house-card.house-shivaji .house-emblem-dot { background: #16a34a; } /* Green */
.house-card.house-raman .house-emblem-dot { background: #ca8a04; } /* Yellow */

.house-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.house-card .motto {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
}

.house-card p {
  font-size: 0.86rem;
  color: var(--slate-medium);
  margin-bottom: 0;
}

/* ==========================================================================
   PHOTO GALLERY
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--slate-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
  cursor: pointer;
  height: 220px;
}

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

.gallery-card:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 51, 31, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.gallery-cat {
  font-size: 0.76rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lightbox-img-wrap {
  position: relative;
  width: auto;
  max-width: 950px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  user-select: none;
}

.lightbox-img {
  display: block;
  width: 950px;
  height: 550px;
  max-width: 92vw;
  max-height: 80vh;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2.5px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  background: #050b14;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-caption {
  color: #ffffff;
  text-align: center;
  margin-top: 0.85rem;
  font-size: 1.25rem;
  font-family: var(--font-serif-title);
  max-width: 90vw;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.lightbox-counter {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.75);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1000001;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--gold);
  color: #000;
  transform: rotate(90deg) scale(1.08);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid var(--gold);
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 1000001;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  user-select: none;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--primary-deep);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

@media (max-width: 1024px) {
  .lightbox-img {
    width: min(950px, 92vw);
    height: auto;
    aspect-ratio: 950 / 550;
    max-height: 75vh;
  }
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .lightbox-prev {
    left: 0.6rem;
  }
  .lightbox-next {
    right: 0.6rem;
  }
  .lightbox-img {
    width: 94vw;
    height: auto;
    aspect-ratio: 950 / 550;
    max-height: 68vh;
  }
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   CBSE MANDATORY DISCLOSURE & DOCUMENTS TABLE
   ========================================================================== */
.disclosure-section {
  padding: 5rem 0;
  background: #ffffff;
}

.disclosure-card {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.disclosure-card-title {
  font-family: var(--font-serif-title);
  font-size: 1.4rem;
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.92rem;
}

.disclosure-table th,
.disclosure-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.disclosure-table th {
  background: var(--primary-deep);
  color: #ffffff;
  font-family: var(--font-serif-title);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.disclosure-table th:first-child {
  border-top-left-radius: var(--radius-sm);
}

.disclosure-table th:last-child {
  border-top-right-radius: var(--radius-sm);
}

.disclosure-table tr:hover td {
  background: #ffffff;
}

.table-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.table-doc-btn:hover {
  background: var(--gold-dark);
  color: #fff;
}

/* ==========================================================================
   ADMISSIONS & INQUIRY SECTION
   ========================================================================== */
.admissions-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-cream) 0%, #ffffff 100%);
  position: relative;
}

.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.admission-steps {
  position: relative;
  padding-left: 2rem;
}

.admission-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 20px;
  left: 14px;
  width: 2px;
  background: var(--gold-border);
}

.step-item {
  position: relative;
  margin-bottom: 2.25rem;
}

.step-num {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold-light);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--primary-deep);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--slate-medium);
  margin-bottom: 0;
}

/* Documents Required Banner on Admissions Page */
.admission-docs-banner {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.admission-docs-banner-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.docs-icon-badge {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.docs-icon-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.admission-docs-title {
  font-family: var(--font-serif-title);
  color: var(--primary-deep);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.admission-docs-sub {
  font-size: 0.88rem;
  color: var(--slate-medium);
  margin-bottom: 0;
}

.admission-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.doc-req-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
}

.doc-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Admission Form Box */
.inquiry-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-lg);
  padding: 2.75rem;
  position: relative;
}

.inquiry-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--slate-dark);
  background: #fdfdfd;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #fff;
}

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

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

.form-alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.form-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* Security Captcha Box */
.captcha-group {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.captcha-box-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.captcha-badge {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1.5px dashed #94a3b8;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
  font-family: 'Courier New', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-deep);
  user-select: none;
  white-space: nowrap;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
}

.captcha-refresh-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.captcha-refresh-btn:hover {
  color: var(--primary-deep);
  background: rgba(15, 76, 58, 0.08);
}

.captcha-input {
  max-width: 130px !important;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.captcha-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--slate-medium);
  margin-top: 0.35rem;
}

/* ==========================================================================
   CONTACT US & LOCATION SECTION
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background: #ffffff;
}

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

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-box {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-bubble {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-bubble svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-card-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.contact-card-text p {
  font-size: 0.92rem;
  color: var(--slate-medium);
  margin-bottom: 0;
}

.contact-card-text a {
  color: var(--primary);
  font-weight: 600;
}

.contact-card-text a:hover {
  color: var(--gold-dark);
}

.map-embed-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   CLASSICAL FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-deep);
  color: #f8fafc;
  border-top: 4px solid var(--gold);
  position: relative;
  font-size: 0.92rem;
}

.site-footer p,
.site-footer .footer-about-text {
  color: #f1f5f9 !important;
  line-height: 1.7;
}

.footer-top {
  padding: 4.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-col {
  color: #f8fafc;
}

.footer-col h4 {
  font-family: var(--font-serif-title);
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.footer-about-text {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-links a svg {
  width: 12px;
  height: 12px;
  fill: var(--gold);
}

.footer-bottom {
  background: #143521;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #e2e8f0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #e2e8f0;
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp & Back To Top)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-floating-whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.btn-floating-whatsapp:hover {
  transform: scale(1.1);
  background: #22bf5b;
}

.btn-floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.btn-back-to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-deep);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: var(--gold);
  color: #000;
}

.btn-back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   GENERIC MODAL (Fee Structure / Disclosures / Guidelines)
   ========================================================================== */
.info-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 18, 0.85);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.info-modal.active {
  opacity: 1;
  visibility: visible;
}

.info-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.info-modal.active .info-modal-dialog {
  transform: translateY(0);
}

.info-modal-header {
  background: var(--primary-deep);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.info-modal-header h3 {
  font-family: var(--font-serif-title);
  color: var(--gold-light);
  font-size: 1.35rem;
  margin: 0;
}

.info-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.info-modal-close:hover {
  color: var(--gold);
}

.info-modal-body {
  padding: 2rem;
  overflow-y: auto;
}

/* ==========================================================================
   PAGE HERO (For Subpages: about, academics, facilities, etc.)
   ========================================================================== */
.page-hero {
  background: var(--primary-deep);
  padding: 3.5rem 0 2.5rem;
  color: #ffffff;
  position: relative;
  border-bottom: 2px solid var(--gold);
}

.page-hero-title {
  font-family: var(--font-serif-title);
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.page-hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.page-hero-breadcrumbs a {
  color: var(--gold-light);
}

.page-hero-breadcrumbs span {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-slider-section {
    min-height: 480px;
    height: 500px;
  }
  .hero-brand-card {
    max-width: 540px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-emblem-img {
    width: 65px;
    height: 65px;
  }
  .hero-school-title {
    font-size: 1.5rem;
  }
  .hero-school-motto {
    font-size: 0.88rem;
  }
  .hero-school-desc {
    font-size: 0.78rem;
  }
  .slide-title {
    font-size: 2.2rem;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .principal-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .principal-avatar-wrap {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gateway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .policies-inline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    position: relative;
    padding: 0.35rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .nav-brand-mobile {
    display: inline-flex;
    align-items: center;
    order: 1;
    margin-right: auto;
    gap: 0.45rem;
    min-width: 0;
  }
  .nav-brand-mobile-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .nav-brand-mobile-title {
    font-size: 0.96rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-cta-group {
    order: 2;
    margin-left: 0.4rem;
    margin-right: 0.25rem;
    flex-shrink: 0;
  }
  .nav-cta-group .btn {
    padding: 0.32rem 0.65rem;
    font-size: 0.76rem;
    white-space: nowrap;
    border-radius: 4px;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    padding: 0.35rem;
    margin: 0;
    flex-shrink: 0;
  }
  .mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
  }
  .nav-menu {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-deep);
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: 80vh;
    overflow-y: auto;
    margin-left: 0;
    z-index: 99999 !important;
  }
  .nav-menu.open {
    display: flex !important;
  }
  .nav-link {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    background: #2d6239;
    display: none;
  }
  .has-dropdown.open-mobile .dropdown-menu {
    display: block;
  }
  .dropdown-item {
    color: #e2e8f0;
    padding-left: 2rem;
    border-color: rgba(255, 255, 255, 0.05);
  }

  /* Compact Hero Slider on Mobile */
  .hero-slider-section {
    min-height: 260px !important;
    height: 275px !important;
    max-height: 310px !important;
    padding: 0;
  }
  .slide-item.active .slide-bg {
    animation: none !important;
    transform: none !important;
  }
  .slide-bg {
    object-position: center 25% !important;
  }
  .hero-brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 1rem 0.65rem 1rem !important;
    background: linear-gradient(to top, rgba(3, 14, 7, 0.85) 0%, rgba(3, 14, 7, 0.35) 30%, transparent 60%) !important;
  }
  .hero-brand-card {
    max-width: 100%;
    width: 100%;
    padding: 0;
    border: none;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .slider-dots,
  .slider-dots-wrap,
  .slider-bottom-controls {
    display: none !important;
  }
  .hero-brand-header {
    gap: 0.65rem !important;
    margin-bottom: 0 !important;
    align-items: center !important;
  }
  .hero-emblem-img {
    width: 44px !important;
    height: 44px !important;
  }
  .hero-school-title {
    font-size: 1.15rem !important;
    letter-spacing: 0.3px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }
  .hero-school-motto {
    font-size: 0.74rem !important;
    margin-bottom: 0 !important;
  }
  .hero-school-desc {
    display: none !important;
  }
  .hero-school-buttons {
    display: none !important;
  }
  .hero-school-buttons .btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
  }
  .slider-arrow {
    display: none;
  }

  /* Ticker & Section Titles */
  .announcement-ticker {
    font-size: 0.8rem;
  }
  .ticker-badge {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 0.76rem;
  }
  .section-desc {
    font-size: 0.86rem;
  }
  .classical-divider {
    margin: 0.65rem auto 1rem;
  }

  /* Docs Quick Strip */
  .docs-strip {
    padding: 0.75rem;
    margin: 1.25rem 0 2rem;
    gap: 0.45rem;
    justify-content: center;
  }
  .doc-link-item {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
  }
  .doc-link-item svg {
    width: 15px;
    height: 15px;
  }

  /* Philosophy / About */
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .philosophy-section {
    padding: 2.5rem 0 !important;
  }
  .classical-quote-box {
    padding: 0.85rem 1rem !important;
    font-size: 0.88rem !important;
    margin: 1rem 0 !important;
  }
  .philosophy-text-col p {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.75rem !important;
  }
  .frame-campus-wrap {
    padding: 8px !important;
    border-radius: 12px !important;
    margin-bottom: 1.5rem !important;
    box-shadow: var(--shadow-md) !important;
  }
  .frame-campus-wrap::before {
    display: none !important;
  }
  .frame-campus-img {
    width: 100% !important;
    min-height: unset !important;
    height: 200px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center 25% !important;
    border-radius: 8px !important;
  }
  .campus-floating-badge {
    bottom: 0.85rem !important;
    left: 0.85rem !important;
    padding: 0.45rem 0.85rem !important;
    gap: 0.55rem !important;
    border-radius: 8px !important;
  }
  .badge-crest-thumb {
    width: 30px !important;
    height: 30px !important;
  }
  .badge-text-title {
    font-size: 0.82rem !important;
  }
  .badge-text-sub {
    font-size: 0.65rem !important;
  }
  .latest-news-card {
    border-radius: 12px !important;
  }
  .latest-news-header {
    padding: 0.75rem 1rem !important;
  }
  .latest-news-title {
    font-size: 1.05rem !important;
  }
  .latest-news-body {
    padding: 0.25rem 1rem !important;
  }
  .latest-news-item {
    padding: 0.65rem 0 !important;
    gap: 0.55rem !important;
  }
  .latest-news-chevron {
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }
  .latest-news-link {
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
  }
  .latest-news-meta {
    font-size: 0.68rem !important;
    gap: 0.45rem !important;
    margin-top: 0.25rem !important;
  }
  .latest-news-pill {
    font-size: 0.64rem !important;
    padding: 0.1rem 0.45rem !important;
  }
  .latest-news-footer {
    padding: 0.65rem 1rem !important;
  }
  .latest-news-all-btn {
    font-size: 0.78rem !important;
  }

  /* Leadership Portrait Cards on Mobile (2x2 Grid) */
  .leadership-scroll-track {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
    padding: 0.5rem 0 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .leadership-portrait-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
  }
  .leadership-portrait-header {
    padding: 1.1rem 0.65rem 0.65rem !important;
  }
  .leadership-photo-frame {
    width: 78px !important;
    height: 78px !important;
    margin-bottom: 0.5rem !important;
    padding: 2.5px !important;
  }
  .leadership-name {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.2rem !important;
  }
  .leadership-role-badge {
    font-size: 0.66rem !important;
    padding: 0.15rem 0.45rem !important;
    letter-spacing: 0.3px !important;
  }
  .leadership-qualification {
    font-size: 0.66rem !important;
    line-height: 1.3 !important;
    margin-top: 0.25rem !important;
  }
  .leadership-portrait-body {
    padding: 0.75rem 0.65rem !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .leadership-quote-header {
    margin-bottom: 0.5rem !important;
    padding-left: 0.85rem !important;
  }
  .leadership-quote-icon {
    font-size: 1.35rem !important;
    left: -0.2rem !important;
    top: -0.45rem !important;
  }
  .leadership-quote-title {
    font-size: 0.74rem !important;
    line-height: 1.28 !important;
  }
  .leadership-message-scroll {
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }
  .leadership-message-text {
    font-size: 0.64rem !important;
    line-height: 1.35 !important;
    color: #475569 !important;
  }
  .leadership-portrait-footer {
    padding: 0.45rem 0.65rem !important;
  }
  .leadership-seal-mark {
    font-size: 0.65rem !important;
    letter-spacing: 0.3px !important;
  }

  /* Principal & Head of Institution Section on Mobile */
  .principal-section {
    padding: 2.5rem 0 !important;
  }
  .principal-card {
    padding: 1.25rem 1rem !important;
    border-radius: 12px !important;
  }
  .principal-card::before {
    font-size: 4.5rem !important;
    top: 0.5rem !important;
    right: 0.75rem !important;
  }
  .principal-inner {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
    text-align: center !important;
  }
  .principal-avatar-wrap {
    position: static !important;
    margin-bottom: 0.25rem !important;
  }
  .principal-img-frame {
    width: 105px !important;
    height: 105px !important;
    margin: 0 auto 0.65rem !important;
    border-width: 2.5px !important;
    padding: 3px !important;
  }
  .principal-name {
    font-size: 1.05rem !important;
    margin-bottom: 0.15rem !important;
  }
  .principal-role {
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.15rem !important;
  }
  .principal-avatar-wrap > div:last-child {
    font-size: 0.66rem !important;
  }
  .principal-quote-title {
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
  }
  .principal-message-text {
    font-size: 0.75rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.65rem !important;
    text-align: left !important;
  }

  /* Campus Facilities (2x2 Grid) */
  .facilities-section {
    padding: 2.75rem 0 !important;
  }
  .gateway-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }
  .gateway-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }
  .gateway-img-wrap {
    height: 125px !important;
    min-height: 125px !important;
    width: 100% !important;
  }
  .gateway-body {
    padding: 0.75rem 0.65rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }
  .gateway-title {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.3rem !important;
  }
  .gateway-text {
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.5rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex-grow: 1 !important;
  }
  .gateway-link {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    margin-top: auto !important;
  }

  /* Gallery Grid & Filters */
  .gallery-section {
    padding: 3.5rem 0;
  }
  .gallery-filters {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .filter-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }
  .gallery-card {
    height: 150px !important;
    border-radius: 10px !important;
  }

  /* Policies & Guidelines (2x2 Grid on Mobile) */
  .policies-inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }
  .policy-card {
    padding: 0.65rem 0.6rem !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  .policy-card-header {
    gap: 0.45rem !important;
    margin-bottom: 0.45rem !important;
    padding-bottom: 0.4rem !important;
  }
  .policy-card-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  .policy-card-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
  .policy-card-title {
    font-size: 0.80rem !important;
    line-height: 1.2 !important;
  }
  .policy-card-body {
    font-size: 0.66rem !important;
    line-height: 1.35 !important;
    max-height: 150px !important;
    overflow-y: auto !important;
    padding-right: 0.2rem !important;
  }
  .policy-card-body p {
    font-size: 0.66rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.3rem !important;
  }
  .policy-card-body ul {
    padding-left: 0.85rem !important;
    margin: 0 !important;
  }
  .policy-card-body li {
    font-size: 0.64rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.2rem !important;
  }

  /* Facilities Detail Cards on Mobile (Smart Classes, Library, Transport, Sports) */
  .facility-detail-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 1.5rem !important;
  }
  .facility-detail-img-wrap {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 210px !important;
    order: 1 !important;
  }
  .facility-detail-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
  }
  .facility-detail-content {
    padding: 1.15rem 1rem !important;
    order: 2 !important;
  }
  .facility-detail-content .section-subtitle {
    font-size: 0.68rem !important;
    margin-bottom: 0.2rem !important;
  }
  .facility-detail-content h3 {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.4rem !important;
  }
  .facility-detail-content p {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.6rem !important;
  }
  .facility-points {
    gap: 0.4rem !important;
  }
  .facility-points li {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }
  .facility-points svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Academic Streams: 2x2 Grid on Mobile */
  .streams-box {
    padding: 1.15rem 0.85rem !important;
    border-radius: 10px !important;
    margin-top: 1.5rem !important;
  }
  .streams-header {
    margin-bottom: 1rem !important;
  }
  .streams-header h3 {
    font-size: 1.15rem !important;
    margin-top: 0.25rem !important;
  }
  .streams-header p {
    font-size: 0.76rem !important;
  }
  .streams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }
  .stream-card {
    padding: 0.65rem 0.55rem !important;
    border-radius: 8px !important;
  }
  .stream-card h4 {
    font-size: 0.82rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
  }
  .stream-card p {
    font-size: 0.66rem !important;
    line-height: 1.35 !important;
  }

  /* Curriculum & Salient Features: 2x2 Grid on Mobile */
  .curriculum-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    margin-bottom: 1.75rem !important;
  }
  .curriculum-card {
    padding: 0.65rem 0.55rem !important;
    border-radius: 8px !important;
  }
  .curriculum-level-badge {
    font-size: 0.58rem !important;
    padding: 0.12rem 0.35rem !important;
    margin-bottom: 0.35rem !important;
  }
  .curriculum-card h3 {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.3rem !important;
  }
  .curriculum-card > p {
    font-size: 0.66rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.45rem !important;
  }
  .curriculum-card > ul {
    font-size: 0.64rem !important;
    line-height: 1.35 !important;
    padding-left: 0.85rem !important;
    margin-bottom: 0.45rem !important;
  }
  .curriculum-card > ul li {
    margin-bottom: 0.2rem !important;
  }
  .curriculum-card .btn {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  /* Tables & Disclosure Cards on Mobile (Prevent Overflow, Adjust to Screen) */
  .disclosure-section {
    padding: 2.5rem 0 !important;
    overflow-x: hidden !important;
  }
  .disclosure-card,
  .table-card-container {
    padding: 0.85rem 0.75rem !important;
    border-radius: 10px !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .disclosure-card-title {
    font-size: 1.05rem !important;
    margin-bottom: 0.65rem !important;
    line-height: 1.25 !important;
  }
  .table-responsive-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-top: 0.5rem !important;
  }
  .disclosure-table {
    font-size: 0.68rem !important;
    margin-top: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    border-collapse: collapse !important;
  }
  .disclosure-table th,
  .disclosure-table td {
    padding: 0.4rem 0.45rem !important;
    font-size: 0.66rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }
  .disclosure-table th {
    font-size: 0.68rem !important;
    white-space: nowrap !important;
  }
  .disclosure-table th:first-child,
  .disclosure-table td:first-child {
    width: 25px !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    text-align: center !important;
  }
  .table-doc-btn {
    font-size: 0.60rem !important;
    padding: 0.22rem 0.42rem !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-block !important;
  }

  /* Icon Cards in Gateway Grid (Labs, Mission, Vision) */
  .gateway-card.icon-card,
  .gateway-card:not(:has(.gateway-img-wrap)),
  .gateway-card:has(.gateway-icon-wrap) {
    padding: 0.65rem 0.55rem !important;
    border-radius: 8px !important;
  }
  .gateway-icon-wrap {
    width: 26px !important;
    height: 26px !important;
    border-radius: 5px !important;
    margin-bottom: 0.35rem !important;
  }
  .gateway-icon-wrap svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Admissions & Contact Desk */
  .admissions-section {
    padding: 3.5rem 0;
  }
  /* Admissions & Contact Desk: Side-by-Side Flex on Mobile like PC */
  .admission-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .admission-grid > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .admission-grid h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.5rem !important;
  }
  .contact-card-box {
    padding: 0.55rem 0.65rem !important;
    gap: 0.55rem !important;
    margin-bottom: 0.45rem !important;
    border-radius: 8px !important;
  }
  .contact-icon-bubble {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  .contact-icon-bubble svg {
    width: 15px !important;
    height: 15px !important;
  }
  .contact-card-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .contact-card-text h4 {
    font-size: 0.78rem !important;
    margin-bottom: 0.12rem !important;
    line-height: 1.2 !important;
  }
  .contact-card-text p,
  .contact-card-text a {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }
  .map-embed-frame {
    height: 140px !important;
    min-height: 140px !important;
    margin-top: 0.45rem !important;
    border-radius: 8px !important;
    flex: 1 1 auto !important;
  }
  .map-embed-frame iframe {
    height: 100% !important;
  }
  .inquiry-form-card {
    padding: 0.75rem 0.8rem !important;
    border-radius: 8px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .inquiry-form-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.15rem !important;
  }
  .inquiry-form-card p {
    font-size: 0.68rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.25 !important;
  }
  .inquiry-form-card .form-group {
    margin-bottom: 0.4rem !important;
  }
  .inquiry-form-card .form-label {
    font-size: 0.68rem !important;
    margin-bottom: 0.15rem !important;
  }
  .inquiry-form-card .form-control {
    padding: 0.32rem 0.5rem !important;
    font-size: 0.72rem !important;
    height: auto !important;
    border-radius: 5px !important;
  }
  .inquiry-form-card textarea.form-control {
    height: 42px !important;
    min-height: 42px !important;
  }
  .inquiry-form-card .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .inquiry-form-card .captcha-box-wrap {
    gap: 0.35rem !important;
  }
  .inquiry-form-card .captcha-badge {
    padding: 0.22rem 0.5rem !important;
    font-size: 0.72rem !important;
  }
  .inquiry-form-card .captcha-input {
    width: 65px !important;
    font-size: 0.72rem !important;
    padding: 0.22rem 0.45rem !important;
  }
  .inquiry-form-card .captcha-hint {
    font-size: 0.60rem !important;
  }
  .inquiry-form-card button[type="submit"] {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.76rem !important;
    margin-top: 0.3rem !important;
  }

  /* Admission Steps on Mobile (Side-by-Side Flex, Level with Submit Button) */
  .admission-steps-col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  .admission-steps {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding-left: 1.35rem !important;
    margin: 0 !important;
    position: relative !important;
  }
  .admission-steps::before {
    left: 10px !important;
    top: 10px !important;
    bottom: 12px !important;
    width: 2px !important;
  }
  .step-item {
    margin-bottom: 0 !important;
    position: relative !important;
  }
  .step-num {
    left: -1.35rem !important;
    top: 0 !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 0.65rem !important;
    border-width: 1.5px !important;
  }
  .step-title {
    font-size: 0.82rem !important;
    margin-bottom: 0.15rem !important;
    line-height: 1.2 !important;
  }
  .step-desc {
    font-size: 0.66rem !important;
    line-height: 1.35 !important;
    color: var(--slate-dark) !important;
    margin-bottom: 0 !important;
  }

  /* Documents Required Banner on 768px */
  .admission-docs-banner {
    padding: 1.25rem 1rem !important;
    margin-top: 1.5rem !important;
    border-radius: 8px !important;
  }
  .admission-docs-banner-header {
    gap: 0.65rem !important;
    margin-bottom: 0.85rem !important;
    padding-bottom: 0.65rem !important;
  }
  .docs-icon-badge {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
  }
  .docs-icon-badge svg {
    width: 16px !important;
    height: 16px !important;
  }
  .admission-docs-title {
    font-size: 1.05rem !important;
  }
  .admission-docs-sub {
    font-size: 0.72rem !important;
  }
  .admission-docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }
  .doc-req-item {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    border-radius: 6px !important;
  }
  .doc-check-icon {
    width: 15px !important;
    height: 15px !important;
    font-size: 0.58rem !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .site-footer .footer-top {
    padding: 2.5rem 0 1.5rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.85rem !important;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Floating Actions */
  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.65rem;
  }
  .btn-floating-whatsapp,
  .btn-back-to-top {
    width: 44px;
    height: 44px;
  }
  .btn-floating-whatsapp svg,
  .btn-back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hero-slider-section {
    min-height: 220px !important;
    height: 235px !important;
    max-height: 250px !important;
  }
  .slide-item.active .slide-bg {
    animation: none !important;
    transform: none !important;
  }
  .slide-bg {
    object-position: center 25% !important;
  }
  .hero-brand-overlay {
    padding: 0 0.75rem 0.5rem 0.75rem !important;
    align-items: flex-end;
    justify-content: flex-start;
    background: linear-gradient(to top, rgba(3, 14, 7, 0.85) 0%, rgba(3, 14, 7, 0.35) 30%, transparent 60%) !important;
  }
  .hero-brand-card {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-container {
    padding: 0.3rem 0.5rem;
  }
  .nav-brand-mobile-title {
    font-size: 0.88rem;
  }
  .nav-cta-group {
    margin-left: 0.25rem;
    margin-right: 0.2rem;
  }
  .nav-cta-group .btn {
    padding: 0.28rem 0.52rem;
    font-size: 0.72rem;
  }
  .mobile-nav-toggle svg {
    width: 22px;
    height: 22px;
  }
  .hero-brand-header {
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
    align-items: center !important;
  }
  .hero-emblem-img {
    width: 36px !important;
    height: 36px !important;
  }
  .hero-school-title {
    font-size: 0.96rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }
  .hero-school-motto {
    font-size: 0.66rem !important;
    margin: 0 !important;
  }
  .hero-school-desc {
    display: none !important;
  }
  .hero-school-buttons {
    display: none !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }
  .gallery-card {
    height: 125px !important;
    border-radius: 8px !important;
  }
  .gallery-overlay {
    padding: 0.5rem !important;
  }
  .gallery-title {
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.1rem !important;
  }
  .gallery-cat {
    font-size: 0.62rem !important;
  }
  .container, .container-wide {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .section-title {
    font-size: 1.35rem !important;
  }
  .section-subtitle {
    font-size: 0.72rem !important;
  }

  /* Leadership 2x2 Grid on Extra Small Mobile */
  .leadership-scroll-track {
    gap: 0.55rem !important;
    padding: 0.35rem 0 1rem !important;
  }
  .leadership-portrait-header {
    padding: 0.75rem 0.45rem 0.45rem !important;
  }
  .leadership-photo-frame {
    width: 62px !important;
    height: 62px !important;
    margin-bottom: 0.35rem !important;
  }
  .leadership-name {
    font-size: 0.84rem !important;
    line-height: 1.2 !important;
  }
  .leadership-role-badge {
    font-size: 0.60rem !important;
    padding: 0.12rem 0.35rem !important;
  }
  .leadership-qualification {
    font-size: 0.60rem !important;
    line-height: 1.2 !important;
  }
  .leadership-portrait-body {
    padding: 0.55rem 0.45rem !important;
  }
  .leadership-quote-header {
    margin-bottom: 0.35rem !important;
    padding-left: 0.75rem !important;
  }
  .leadership-quote-icon {
    font-size: 1.15rem !important;
    top: -0.35rem !important;
  }
  .leadership-quote-title {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
  }
  .leadership-message-scroll {
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }
  .leadership-message-text {
    font-size: 0.58rem !important;
    line-height: 1.3 !important;
  }
  .leadership-portrait-footer {
    padding: 0.35rem 0.45rem !important;
  }
  .leadership-seal-mark {
    font-size: 0.60rem !important;
  }

  /* Principal & Head of Institution Section on Extra Small Mobile */
  .principal-section {
    padding: 1.75rem 0 !important;
  }
  .principal-card {
    padding: 0.85rem 0.65rem !important;
    border-radius: 8px !important;
  }
  .principal-card::before {
    font-size: 3rem !important;
    top: 0.25rem !important;
    right: 0.45rem !important;
  }
  .principal-inner {
    gap: 0.75rem !important;
  }
  .principal-img-frame {
    width: 78px !important;
    height: 78px !important;
    margin: 0 auto 0.4rem !important;
    border-width: 2px !important;
    padding: 2px !important;
  }
  .principal-name {
    font-size: 0.90rem !important;
    margin-bottom: 0.1rem !important;
  }
  .principal-role {
    font-size: 0.64rem !important;
    margin-bottom: 0.1rem !important;
  }
  .principal-avatar-wrap > div:last-child {
    font-size: 0.58rem !important;
  }
  .principal-quote-title {
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.45rem !important;
  }
  .principal-message-text {
    font-size: 0.66rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.45rem !important;
  }

  /* Facilities 2x2 Grid on Extra Small Mobile */
  .gateway-grid {
    gap: 0.55rem !important;
  }
  .gateway-img-wrap {
    height: 105px !important;
    min-height: 105px !important;
  }
  .gateway-body {
    padding: 0.55rem 0.45rem !important;
  }
  .gateway-title {
    font-size: 0.86rem !important;
  }
  .gateway-text {
    font-size: 0.70rem !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 0.35rem !important;
  }
  .gateway-link {
    font-size: 0.70rem !important;
  }

  /* Admissions & Contact Desk: Ultra-compact Side-by-Side Flex on Mobile like PC */
  .admission-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .admission-grid > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .admission-grid h3 {
    font-size: 0.88rem !important;
    margin-bottom: 0.35rem !important;
  }
  .contact-card-box {
    padding: 0.38rem 0.45rem !important;
    gap: 0.38rem !important;
    margin-bottom: 0.35rem !important;
    border-radius: 6px !important;
  }
  .contact-icon-bubble {
    width: 25px !important;
    height: 25px !important;
    border-radius: 5px !important;
  }
  .contact-icon-bubble svg {
    width: 12px !important;
    height: 12px !important;
  }
  .contact-card-text h4 {
    font-size: 0.68rem !important;
    margin-bottom: 0.08rem !important;
  }
  .contact-card-text p,
  .contact-card-text a {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
  }
  .map-embed-frame {
    height: 110px !important;
    min-height: 110px !important;
    margin-top: 0.3rem !important;
  }
  .inquiry-form-card {
    padding: 0.5rem 0.55rem !important;
    border-radius: 6px !important;
  }
  .inquiry-form-card h3 {
    font-size: 0.84rem !important;
    margin-bottom: 0.1rem !important;
  }
  .inquiry-form-card p {
    font-size: 0.58rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.2 !important;
  }
  .inquiry-form-card .form-group {
    margin-bottom: 0.28rem !important;
  }
  .inquiry-form-card .form-label {
    font-size: 0.60rem !important;
    margin-bottom: 0.1rem !important;
  }
  .inquiry-form-card .form-control {
    padding: 0.24rem 0.35rem !important;
    font-size: 0.64rem !important;
  }
  .inquiry-form-card textarea.form-control {
    height: 32px !important;
    min-height: 32px !important;
  }
  .inquiry-form-card .captcha-badge {
    padding: 0.18rem 0.38rem !important;
    font-size: 0.62rem !important;
  }
  .inquiry-form-card .captcha-input {
    width: 52px !important;
    font-size: 0.62rem !important;
    padding: 0.18rem 0.32rem !important;
  }
  .inquiry-form-card .captcha-hint {
    font-size: 0.54rem !important;
  }
  .inquiry-form-card button[type="submit"] {
    padding: 0.38rem 0.55rem !important;
    font-size: 0.68rem !important;
  }

  /* Admission Steps on Extra Small Mobile (Level with Submit Application Button) */
  .admission-steps {
    padding-left: 1.15rem !important;
  }
  .admission-steps::before {
    left: 8px !important;
    top: 8px !important;
    bottom: 10px !important;
    width: 2px !important;
  }
  .step-num {
    left: -1.15rem !important;
    top: 0 !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 0.56rem !important;
    border-width: 1px !important;
  }
  .step-title {
    font-size: 0.70rem !important;
    margin-bottom: 0.08rem !important;
    line-height: 1.15 !important;
  }
  .step-desc {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
  }

  /* Documents Required Banner on 480px */
  .admission-docs-banner {
    padding: 0.75rem 0.55rem !important;
    margin-top: 1.15rem !important;
    border-radius: 6px !important;
  }
  .admission-docs-banner-header {
    gap: 0.45rem !important;
    margin-bottom: 0.65rem !important;
    padding-bottom: 0.45rem !important;
  }
  .docs-icon-badge {
    width: 26px !important;
    height: 26px !important;
    border-radius: 5px !important;
  }
  .docs-icon-badge svg {
    width: 13px !important;
    height: 13px !important;
  }
  .admission-docs-title {
    font-size: 0.84rem !important;
  }
  .admission-docs-sub {
    font-size: 0.58rem !important;
  }
  .admission-docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
  }
  .doc-req-item {
    padding: 0.4rem 0.45rem !important;
    font-size: 0.58rem !important;
    line-height: 1.22 !important;
    border-radius: 5px !important;
    border-left-width: 2px !important;
  }
  .doc-check-icon {
    width: 13px !important;
    height: 13px !important;
    font-size: 0.50rem !important;
  }

  /* Policies & Guidelines (2x2 Grid on Extra Small Mobile) */
  .policies-inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }
  .policy-card {
    padding: 0.55rem 0.5rem !important;
    border-radius: 6px !important;
  }
  .policy-card-header {
    gap: 0.35rem !important;
    margin-bottom: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }
  .policy-card-icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 5px !important;
  }
  .policy-card-icon svg {
    width: 12px !important;
    height: 12px !important;
  }
  .policy-card-title {
    font-size: 0.74rem !important;
  }
  .policy-card-body {
    font-size: 0.60rem !important;
    line-height: 1.3 !important;
    max-height: 135px !important;
  }
  .policy-card-body p {
    font-size: 0.60rem !important;
    margin-bottom: 0.2rem !important;
  }
  .policy-card-body ul {
    padding-left: 0.75rem !important;
  }
  .policy-card-body li {
    font-size: 0.58rem !important;
    margin-bottom: 0.15rem !important;
  }

  /* Philosophy & Campus Photo on Extra Small Mobile */
  .frame-campus-img {
    height: 180px !important;
    max-height: 195px !important;
  }
  .campus-floating-badge {
    bottom: 0.6rem !important;
    left: 0.6rem !important;
    padding: 0.35rem 0.65rem !important;
    gap: 0.4rem !important;
  }
  .badge-crest-thumb {
    width: 25px !important;
    height: 25px !important;
  }
  .badge-text-title {
    font-size: 0.74rem !important;
  }
  .badge-text-sub {
    font-size: 0.58rem !important;
  }
  .latest-news-title {
    font-size: 0.94rem !important;
  }
  .latest-news-link {
    font-size: 0.76rem !important;
  }
  .latest-news-meta {
    font-size: 0.62rem !important;
  }

  /* Facilities Detail Card on Extra Small Mobile */
  .facility-detail-card {
    margin-bottom: 1.25rem !important;
    border-radius: 8px !important;
  }
  .facility-detail-img-wrap {
    height: 165px !important;
    min-height: 165px !important;
    max-height: 175px !important;
  }
  .facility-detail-content {
    padding: 0.85rem 0.75rem !important;
  }
  .facility-detail-content h3 {
    font-size: 0.96rem !important;
    margin-bottom: 0.25rem !important;
  }
  .facility-detail-content p {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.45rem !important;
  }
  .facility-points {
    gap: 0.3rem !important;
  }
  .facility-points li {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
  }

  /* Streams 2x2 Grid on Extra Small Mobile */
  .streams-box {
    padding: 0.85rem 0.65rem !important;
    border-radius: 8px !important;
  }
  .streams-header h3 {
    font-size: 0.98rem !important;
  }
  .streams-header p {
    font-size: 0.68rem !important;
  }
  .streams-grid {
    gap: 0.45rem !important;
  }
  .stream-card {
    padding: 0.45rem 0.4rem !important;
    border-radius: 6px !important;
  }
  .stream-card h4 {
    font-size: 0.74rem !important;
    margin-bottom: 0.15rem !important;
  }
  .stream-card p {
    font-size: 0.60rem !important;
    line-height: 1.25 !important;
  }

  /* Curriculum & Salient Features 2x2 Grid on Extra Small Mobile */
  .curriculum-cards {
    gap: 0.45rem !important;
    margin-bottom: 1.25rem !important;
  }
  .curriculum-card {
    padding: 0.48rem 0.42rem !important;
    border-radius: 6px !important;
  }
  .curriculum-level-badge {
    font-size: 0.52rem !important;
    padding: 0.1rem 0.3rem !important;
  }
  .curriculum-card h3 {
    font-size: 0.74rem !important;
    margin-bottom: 0.2rem !important;
  }
  .curriculum-card > p {
    font-size: 0.60rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
  }
  .curriculum-card > ul {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
    padding-left: 0.7rem !important;
  }
  .curriculum-card > ul li {
    margin-bottom: 0.15rem !important;
  }

  /* Tables & Disclosure Cards on Extra Small Mobile */
  .disclosure-section {
    padding: 1.75rem 0 !important;
  }
  .disclosure-card,
  .table-card-container {
    padding: 0.65rem 0.5rem !important;
    border-radius: 8px !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .disclosure-card-title {
    font-size: 0.88rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.2 !important;
  }
  .table-responsive-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-top: 0.35rem !important;
  }
  .disclosure-table {
    font-size: 0.60rem !important;
    width: 100% !important;
    min-width: 100% !important;
  }
  .disclosure-table th,
  .disclosure-table td {
    padding: 0.32rem 0.35rem !important;
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
  }
  .disclosure-table th {
    font-size: 0.60rem !important;
  }
  .disclosure-table th:first-child,
  .disclosure-table td:first-child {
    width: 20px !important;
    padding-left: 0.15rem !important;
    padding-right: 0.15rem !important;
  }
  .table-doc-btn {
    font-size: 0.54rem !important;
    padding: 0.18rem 0.32rem !important;
    border-radius: 3px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-block !important;
  }
  .disclosure-table a.btn {
    font-size: 0.54rem !important;
    padding: 0.15rem 0.32rem !important;
  }

  /* Icon Cards in Gateway Grid (480px) */
  .gateway-card.icon-card,
  .gateway-card:not(:has(.gateway-img-wrap)),
  .gateway-card:has(.gateway-icon-wrap) {
    padding: 0.5rem 0.42rem !important;
    border-radius: 6px !important;
  }
  .gateway-icon-wrap {
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px !important;
    margin-bottom: 0.25rem !important;
  }
  .gateway-icon-wrap svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Footer on Extra Small Mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-col h4 {
    font-size: 1.05rem !important;
    margin-bottom: 0.75rem !important;
  }
  .footer-links li a {
    font-size: 0.82rem !important;
  }
}

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

/* Document Quick Access Strip */
.docs-strip {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.doc-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-deep);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.doc-link-item:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateY(-2px);
}

.doc-link-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-dark);
  flex-shrink: 0;
}
