/* ==========================================================================
   SRC GLOBAL CBSE SCHOOL - BRAND STYLESHEET
   Primary Color Grade: #690a2d (Rich Burgundy) | Accent: #d4af37 (Gold)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #690a2d;
  --primary-dark: #48061e;
  --primary-light: #8b0d3b;
  --primary-subtle: #f9f0f3;
  --accent-gold: #d4af37;
  --accent-gold-light: #fff5da;
  --accent-gold-hover: #b89428;
  --bg-cream: #fff9f6;
  --bg-light: #f8fafc;
  --text-dark: #1e1e24;
  --text-muted: #5c6270;
  --text-white: #ffffff;
  --border-light: #e8ecef;
  --border-primary: rgba(105, 10, 45, 0.15);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(105, 10, 45, 0.12), 0 10px 10px -5px rgba(105, 10, 45, 0.04);
  --shadow-gold: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.bg-cream {
  background-color: var(--bg-cream);
}

.bg-burgundy {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
}

/* Typography & Section Titles */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-primary {
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--border-primary);
}

.badge-gold {
  background-color: var(--accent-gold-light);
  color: #947209;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -5px rgba(105, 10, 45, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #e5be42 0%, var(--accent-gold) 100%);
  color: #2c2104;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -5px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: var(--text-white);
}

/* ==========================================================================
   HEADER NAVIGATION (Styling & Alignment matching Image 1)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(237, 247, 253, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #d4ebf8;
  box-shadow: 0 2px 10px rgba(0, 50, 100, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(105, 10, 45, 0.12);
  border-bottom-color: rgba(105, 10, 45, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.5rem;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-shield-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-text-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-logo:hover .brand-shield-img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: #1e293b;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2563eb;
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-link.active {
  color: #2563eb;
  font-weight: 600;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Right Actions & Social Icons */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social-icon {
  font-size: 1.3rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.nav-social-icon.whatsapp { color: #25D366; }
.nav-social-icon.instagram { color: #E4405F; }
.nav-social-icon.facebook { color: #1877F2; }
.nav-social-icon.linkedin { color: #0A66C2; }

.nav-social-icon:hover {
  transform: translateY(-2px) scale(1.12);
  filter: brightness(1.1);
}

.btn-admission-enquiry {
  background: linear-gradient(180deg, #ffea85 0%, #fcd34d 100%);
  color: #1e293b;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(252, 211, 77, 0.35);
  border: 1px solid #facc15;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-admission-enquiry:hover {
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(251, 191, 36, 0.45);
  color: #0f172a;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   CAMPUS BUILDING HERO BANNER (Immediately after navbar)
   ========================================================================== */

.campus-hero-banner {
  width: 100%;
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.campus-image-container {
  position: relative;
  width: 100%;
  max-height: 540px;
  overflow: hidden;
}

.campus-building-img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.campus-building-img:hover {
  transform: scale(1.02);
}

.campus-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0) 100%);
  padding: 3rem 0 1.5rem 0;
  display: flex;
  align-items: flex-end;
}

.campus-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(105, 10, 45, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Running Announcement Ticker Banner */
.ticker-banner {
  width: 100%;
  background-color: #ffffff;
  color: #690a2d;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.85rem 0;
  border-top: 2px solid rgba(105, 10, 45, 0.1);
  border-bottom: 2px solid rgba(105, 10, 45, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 24s linear infinite;
}

.ticker-banner:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.ticker-item {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #690a2d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.ticker-item i {
  color: #690a2d;
  font-size: 1.05rem;
}

.ticker-separator {
  color: #d4af37;
  font-size: 1.3rem;
  font-weight: 700;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #40051b 100%);
  color: var(--text-white);
  padding: 6rem 0 7rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.motto-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.motto-banner span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold-light);
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-media-wrapper {
  position: relative;
  z-index: 2;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.2);
  background-color: var(--primary-dark);
}

.hero-card img, .hero-card video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-badge-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  color: var(--text-dark);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.hero-badge-floating i {
  font-size: 2rem;
  color: var(--primary);
}

.hero-badge-text h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.1rem;
}

.hero-badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT US SECTION (Matching Reference Image 1:1)
   ========================================================================== */

.about-reference-section {
  position: relative;
  background-color: #690a2d;
  color: #ffffff;
  padding: 4rem 0 2.5rem 0;
  overflow: hidden;
}

.doodle-top-left {
  position: absolute;
  top: 25px;
  left: 25px;
  pointer-events: none;
  z-index: 1;
}

.doodle-top-right {
  position: absolute;
  top: 25px;
  right: 25px;
  pointer-events: none;
  z-index: 1;
}

.rocket-doodle-img {
  width: 140px;
  height: auto;
  opacity: 0.75;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  display: block;
}

.about-ref-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge-welcome-src {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff5f7;
  color: #690a2d;
  border: 1.5px solid rgba(105, 10, 45, 0.25);
  padding: 0.45rem 1.35rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-welcome-src i {
  color: #690a2d;
  font-size: 0.95rem;
}

.about-ref-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.about-ref-paragraph {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
}

.about-ref-paragraph strong {
  color: #ffffff;
  font-weight: 700;
}

.btn-talk-now {
  background: #3a488e;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.btn-talk-now:hover {
  background: #2b3670;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

/* Right Visual Blob Column (Organic Unshaped Design) */
.about-ref-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.blob-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  background: linear-gradient(145deg, #e8f0fe 0%, #c9ddff 50%, #dbeafe 100%);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28), inset 0 -10px 20px rgba(255, 255, 255, 0.6);
  margin-top: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.blob-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: -15px;
  left: -15px;
  background: rgba(219, 234, 254, 0.25);
  border-radius: 62% 38% 41% 59% / 55% 58% 42% 45%;
  z-index: -1;
  filter: blur(10px);
}

.blob-wrapper:hover {
  border-radius: 52% 48% 38% 62% / 59% 36% 64% 41%;
}

.blob-student-img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
  position: absolute;
  bottom: 0;
  transform: translateY(0);
  pointer-events: none;
  z-index: 2;
}

.books-3d-floating-asset {
  position: absolute;
  bottom: -25px;
  left: -45px;
  width: 210px;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
  animation: floating-bounce 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floating-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================================================
   MISSION & VISION SECTION (Rich Maroon Theme & Scroll Slide Animation)
   ========================================================================== */

.mission-vision-maroon {
  padding: 5.5rem 0;
  background: #690a2d;
  position: relative;
  overflow: hidden;
}

.mission-vision-maroon .section-title span {
  color: #ffd447;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.mv-card-maroon {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.mv-card-maroon:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 212, 71, 0.4);
}

.mv-card-maroon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #ffd447;
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.mv-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: rgba(255, 212, 71, 0.15);
  color: #ffd447;
  border: 1px solid rgba(255, 212, 71, 0.3);
}

.mv-subtitle-gold {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffd447;
  display: block;
}

.mv-title-white {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.mv-description-white {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
}

.mv-mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mv-mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.mv-mission-list li:last-child {
  margin-bottom: 0;
}

.mv-mission-list li i {
  color: #ffd447;
  font-size: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Scroll Sliding Keyframe Animations (Show on scroll in, hide on scroll out) */
.slide-from-left {
  opacity: 0;
  transform: translateX(-150px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.slide-from-right {
  opacity: 0;
  transform: translateX(150px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.slide-in-active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}


.text-white {
  color: #ffffff !important;
}

.section-about-maroon .section-title span {
  color: #ffd447;
}

.text-lead-white {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.text-sub-white {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.badge-gold-outline {
  background: rgba(255, 245, 218, 0.15);
  color: #ffe885;
  border: 1px solid rgba(255, 232, 133, 0.4);
  backdrop-filter: blur(8px);
}

/* Pillar Cards Maroon Theme */
.pillar-maroon-theme .pillar-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transition: var(--transition);
}

.pillar-maroon-theme .pillar-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.pillar-maroon-theme .pillar-card h4 {
  color: #ffffff;
}

.pillar-maroon-theme .pillar-card p {
  color: rgba(255, 255, 255, 0.82);
}

.pillar-maroon-theme .pillar-icon {
  background: rgba(255, 245, 218, 0.15);
  color: #ffd447;
}

/* Student Showcase Blob Backdrop (Inspired by Reference Image) */
.about-student-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.student-blob-backdrop {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: radial-gradient(circle at 50% 50%, #e2ebff 0%, #c4d7f8 100%);
  border-radius: 45% 55% 62% 38% / 42% 48% 52% 58%;
  padding: 1.75rem 1.5rem 0 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border: 4px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.5s ease;
}

.student-blob-backdrop:hover {
  transform: scale(1.02);
}

.student-portrait-img {
  width: 100%;
  max-width: 420px;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
  border-radius: 20px;
}

/* Floating Maroon 100% Holistic Development Badge */
.holistic-dev-badge {
  position: absolute;
  top: 15px;
  left: -20px;
  background: #5c0827;
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 5;
}

.holistic-dev-badge .badge-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd447;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.holistic-dev-badge .badge-text {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
}

.about-img-sub {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  border-radius: var(--radius-md);
  border: 6px solid #ffffff;
  box-shadow: var(--shadow-lg);
}

.about-badge-experience {
  position: absolute;
  top: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-experience .num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-gold);
  line-height: 1;
}

.about-badge-experience .txt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar-card {
  background-color: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-primary);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 0.75rem auto;
}

.pillar-card h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* ==========================================================================
   ACADEMIC EXCELLENCE & CURRICULUM
   ========================================================================== */

.academic-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.academic-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;

}

.academic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  opacity: 0;
  transition: var(--transition);
}

.academic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.academic-card:hover::before {
  opacity: 1;
}

.academic-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.academic-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.academic-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.academic-list {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.academic-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.academic-list li i {
  color: var(--accent-gold);
  font-size: 0.8rem;
}

/* ==========================================================================
   FACILITIES & INFRASTRUCTURE
   ========================================================================== */

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.facility-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.facility-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover .facility-img img {
  transform: scale(1.08);
}

.facility-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(105, 10, 45, 0.85);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.facility-content {
  padding: 1.5rem;
}

.facility-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.facility-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PHOTO & VIDEO GALLERY WITH FILTER & DESCRIPTIONS
   ========================================================================== */

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-primary);
}

.gallery-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.gallery-thumb img, .gallery-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(105, 10, 45, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-view-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}

.gallery-tag-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.gallery-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-info h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.gallery-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.gallery-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold-hover);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

/* Load More Button Container */
.gallery-actions {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================================================
   LIGHTBOX MODAL & IMAGE DESCRIPTION VIEWER
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 2, 8, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.modal-media-view {
  background-color: #0d0206;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-media-view img, .modal-media-view video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.modal-nav-btn:hover {
  background: #ffffff;
  color: var(--primary);
}

.modal-nav-prev {
  left: 1rem;
}

.modal-nav-next {
  right: 1rem;
}

.modal-details {
  padding: 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-header-tag {
  display: none !important;
}

.modal-title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.modal-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-highlights-box {
  background-color: var(--bg-cream);
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.modal-highlights-box h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.modal-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-highlights-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-highlights-list li i {
  color: var(--accent-gold);
}

/* ==========================================================================
   ADMISSIONS 2026 - 2027 & ENQUIRY FORM
   ========================================================================== */

.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.step-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.enquiry-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-primary);
}

.enquiry-card h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.enquiry-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   ADMISSIONS SECTION (Maroon Theme)
   ========================================================================== */

.section-admissions-maroon {
  background: #690a2d;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-admissions-maroon .section-title span {
  color: #ffd447;
}

.section-admissions-maroon .step-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.section-admissions-maroon .step-item:hover {
  transform: translateX(6px);
  border-color: rgba(255, 212, 71, 0.4);
}

.section-admissions-maroon .step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffd447;
  color: #690a2d;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-admissions-maroon .step-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.section-admissions-maroon .step-text p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  margin: 0;
}

.section-admissions-maroon .enquiry-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-admissions-maroon .enquiry-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #690a2d;
  margin-bottom: 0.4rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(105, 10, 45, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   CONTACT US & LOCATION MAP
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h5 {
  font-size: 0.85rem;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-text a, .contact-text p {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 500;

}

.map-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  height: 100%;
  min-height: 400px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: #120207;
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Floating Scroll Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.scroll-top-btn.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN — COMPREHENSIVE MEDIA QUERIES
   ========================================================================== */

/* ── Large Desktop (1280px+): already handled by base styles ── */

/* ── Tablet Landscape / Small Desktop (max 1200px) ── */

/* Navigation Overlay Backdrop */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── Mobile Landscape / Tablet / Medium Screen Navigation (max 1080px) ── */

/* ==========================================================================
   FOOTER (Matching Reference Image 1:1 with Animated Running School Bus)
   ========================================================================== */

/* Curved Connection Structure between Contact Us and Footer */

.footer-contact-curve-wrapper {
  position: relative;
  width: 100%;
  height: 60px;
  margin-top: -2.8rem;
  margin-bottom: 1rem;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}

.footer-curve-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-ref {
  background: linear-gradient(180deg, #fdeeed 0%, #ffffff 60%, #ffffff 100%);
  color: #334155;
  padding-top: 1rem;
  position: relative;
  overflow: hidden;
  border-top: none;
}

.footer-ref-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.25fr 0.8fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.footer-brand-logo {
  height: 52px;
  width: auto;
}

.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #690a2d;
  line-height: 1.2;
}

.footer-brand-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #690a2d;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #690a2d;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-links li {
  margin-bottom: 0.7rem;
}

.footer-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #690a2d;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-nav-links a:hover {
  color: #900f40;
  text-decoration: underline;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #690a2d;
  margin-bottom: 0.9rem;
}

.footer-contact-list .contact-icon {
  color: #690a2d;
  font-size: 1.05rem;
  width: 22px;
  height: 1.6em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0;
}

.footer-contact-link,
.footer-website-link {
  color: #690a2d;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease, opacity 0.2s ease;
  word-break: break-word;
}

.footer-contact-link:hover,
.footer-website-link:hover {
  color: #900f40;
  text-decoration: underline;
}

.footer-phone-group {
  display: flex;
  flex-direction: column;
}

/* Social Media Buttons (Clean Transparent Brand Logos matching Image 2 1:1) */
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.1rem;
}

.footer-social-icons .social-btn {
  width: auto;
  height: auto;
  background: transparent !important;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  transition: transform 0.25s ease;
  text-decoration: none;
  box-shadow: none !important;
}

.footer-social-icons .social-btn.whatsapp i {
  color: #25D366;
}

.footer-social-icons .social-btn.instagram i {
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-social-icons .social-btn.linkedin i {
  color: #0077b5;
  font-size: 2.3rem;
}

.footer-social-icons .social-btn.facebook i {
  color: #1877F2;
}

.footer-social-icons .social-btn:hover {
  transform: scale(1.15);
}

/* Skyline Vector Container & Animated School Bus Overlay */
.footer-skyline-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
}

.skyline-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.running-bus-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.running-school-bus {
  height: 100px;
  width: auto;
  position: absolute;
  bottom: -10px;
  left: -240px;
  animation: drive-bus-slow 22s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

@keyframes drive-bus-slow {
  0% {
    left: -200px;
  }
  100% {
    left: 100%;
  }
}

/* Copyright Bottom Bar */
.footer-copyright-bar {
  background: #ffffff;
  padding: 1.25rem 0;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.footer-copyright-bar p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #690a2d;
  font-weight: 400;
  margin: 0;
}




/* ==========================================================================
   BENTO GALLERY SECTION WITH CREATIVE TORN PAPER REVEAL ANIMATION
   ========================================================================== */

.bento-gallery-section.torn-paper-section {
  background-color: #f1f6fa;
  background-image: 
    radial-gradient(rgba(105, 10, 45, 0.04) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 28px 28px, 56px 56px;
  position: relative;
  padding: 5rem 1.5rem 6rem 1.5rem;
  overflow: hidden;
}

/* Jagged Torn Paper Edge SVG Dividers */
.torn-paper-edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: 44px;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}

.torn-paper-edge.top-torn-edge {
  top: 0;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.torn-paper-edge.bottom-torn-edge {
  bottom: 0;
  filter: drop-shadow(0 -4px 6px rgba(0, 0, 0, 0.08));
}

.torn-paper-edge svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Creative Polaroid / Craft Paper Card Design */
.torn-paper-section .bento-item {
  border-radius: 8px;
  border: 6px solid #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Simulated Washi Paper Tape Pins on Card Corners */
.torn-paper-section .bento-item::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 58px;
  height: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  border: 1px dashed rgba(105, 10, 45, 0.3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 12;
  pointer-events: none;
}

/* Organic Tilt Angles for Polaroid Desk Layout */
.torn-paper-section .col-1 .bento-item { transform: rotate(-1.4deg); }
.torn-paper-section .col-2 .card-science { transform: rotate(1.5deg); }
.torn-paper-section .col-2 .card-cafeteria { transform: rotate(-0.9deg); }
.torn-paper-section .col-3 .card-computer { transform: rotate(1.2deg); }
.torn-paper-section .col-3 .card-kids-desk { transform: rotate(-1.6deg); }
.torn-paper-section .col-3 .card-paper-planes { transform: rotate(1deg); }
.torn-paper-section .col-4 .bento-item { transform: rotate(-1.2deg); }

.torn-paper-section .bento-item:hover {
  transform: translateY(-10px) scale(1.03) rotate(0deg) !important;
  box-shadow: 0 22px 45px rgba(105, 10, 45, 0.22), 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 15;
}

/* Animated Teared Paper Reveal Effect */
@keyframes tearPaperReveal {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    opacity: 0;
    transform: translateY(35px) scale(0.96);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.torn-paper-section .bento-outer-container {
  animation: tearPaperReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bento-header-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bento-main-title {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #690a2d; /* Rich Maroon Color */
  letter-spacing: -0.02em;
  margin: 0;
}

/* Split Navigation Tabs for Gallery & Certificates */
.gallery-cert-tabs {
  display: inline-flex;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.45rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(105, 10, 45, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.gallery-cert-tabs .tab-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.65rem 1.8rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #690a2d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-cert-tabs .tab-btn.active {
  background: #690a2d;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(105, 10, 45, 0.35);
}

.gallery-cert-tabs .tab-btn:hover:not(.active) {
  background: rgba(105, 10, 45, 0.08);
}

/* Tab Content Visibility & Smooth Switch Transition */
.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Certificates Grid Layout (3 Columns) */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cert-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border: 6px solid #ffffff !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.cert-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(105, 10, 45, 0.22) !important;
}

.cert-img-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #090e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.cert-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transition: transform 0.5s ease;
  box-sizing: border-box;
}

.cert-card:hover .cert-img-wrapper img {
  transform: scale(1.03);
}

.cert-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(105, 10, 45, 0.92);
  color: #ffd447;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 7;
}

.cert-details {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.cert-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #690a2d;
  margin-bottom: 0.35rem;
}

.cert-desc-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.1rem;
  line-height: 1.45;
  flex-grow: 1;
}

.cert-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #690a2d;
  background: rgba(105, 10, 45, 0.08);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
  width: max-content;
}

.cert-card:hover .cert-action {
  background: #690a2d;
  color: #ffffff;
}

/* ==========================================================================
   PATTA CERTIFICATE IMAGE SLIDER
   ========================================================================== */
.cert-slider-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #090e1a;
  box-sizing: border-box;
}

.cert-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.cert-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  padding: 10px;
  background: #090e1a;
  opacity: 0;
  visibility: hidden;
  box-sizing: border-box;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-slide.active {
  opacity: 1;
  visibility: visible;
}

.cert-card:hover .cert-slide.active {
  transform: scale(1.03);
}

.cert-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(105, 10, 45, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 6;
  opacity: 0.9;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cert-slider-card:hover .cert-slider-btn {
  opacity: 1;
}

.cert-slider-btn:hover {
  background: #690a2d;
  transform: translateY(-50%) scale(1.1);
}

.cert-slider-prev {
  left: 10px;
}

.cert-slider-next {
  right: 10px;
}

.cert-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 6;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.cert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-dot.active {
  background: #ffd447;
  width: 20px;
  border-radius: 4px;
}

.cert-page-indicator {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(9, 14, 26, 0.9);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 6;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 992px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-img-wrapper,
  .cert-slider-wrapper {
    height: 360px;
  }
}

@media (max-width: 576px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  .cert-img-wrapper,
  .cert-slider-wrapper {
    height: 320px;
  }
  .gallery-cert-tabs {
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
  }
  .gallery-cert-tabs .tab-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   LIGHTBOX & CERTIFICATE MEDIA MODAL (100% UNCROPPED DEFAULT DISPLAY)
   ========================================================================== */

.media-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.94);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.media-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.media-modal-container {
  background: #ffffff;
  border-radius: 20px;
  max-width: 1240px;
  width: 96vw;
  height: 94vh;
  max-height: 94vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-modal-backdrop.active .media-modal-container {
  transform: scale(1);
}

.media-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #690a2d;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 99999 !important;
  pointer-events: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.media-modal-close:hover {
  background: #8b103e;
  color: #ffd447;
  transform: rotate(90deg) scale(1.15);
}

.media-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(105, 10, 45, 0.92);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.media-modal-nav.prev { left: 16px; }
.media-modal-nav.next { right: 16px; }

.media-modal-nav:hover {
  background: #690a2d;
  color: #ffd447;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(105, 10, 45, 0.6);
}

.media-modal-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  height: 100%;
  max-height: 94vh;
  overflow: hidden;
  box-sizing: border-box;
}

.media-modal-display {
  background: #090e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.media-modal-display img,
.media-modal-display .media-modal-img,
.media-modal-display video {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 6px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  display: block !important;
  margin: auto !important;
  box-sizing: border-box !important;
  flex-shrink: 1 !important;
}

.media-modal-info {
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #ffffff;
  overflow-y: auto;
  border-left: 1px solid #e2e8f0;
}

.media-modal-header {
  display: none !important;
}

.modal-badge-pill {
  background: #690a2d;
  color: #ffd447;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-tag-pill {
  background: rgba(105, 10, 45, 0.08);
  color: #690a2d;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.media-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #690a2d;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.media-modal-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.modal-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.modal-highlights-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-highlights-list li i {
  color: #690a2d;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .media-modal-container {
    width: 96vw;
    height: 94vh;
    max-height: 94vh;
  }
  .media-modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 94vh;
    overflow: hidden;
  }
  .media-modal-display {
    flex: 1;
    min-height: 0;
    padding: 0.75rem;
    height: 100%;
  }
  .media-modal-display img {
    max-width: 100% !important;
    max-height: 100% !important;
  }
  .media-modal-info {
    padding: 1.1rem 1.35rem;
    max-height: 180px;
    flex-shrink: 0;
    overflow-y: auto;
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }
}

/* Contact Us Section (Image 2 Liquid Wave Style) */
.contact-section {
  background-color: #ffffff;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.contact-top-wave-wrapper {
  position: relative;
  width: 100%;
  height: 85px;
  margin-top: -1px;
  background-color: #690a2d;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}

.contact-top-wave-svg {
  width: 100%;
  height: calc(100% + 2px);
  display: block;
}

.contact-header-wrapper {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 2.8rem;
  position: relative;
  z-index: 6;
}

.contact-main-title {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #690a2d; /* Rich Maroon Color */
  letter-spacing: -0.02em;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-phone-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #690a2d 0%, #900f40 100%);
  color: #ffffff;
  font-size: 1.4rem;
  transform: rotate(-15deg);
  box-shadow: 0 6px 16px rgba(105, 10, 45, 0.35);
}

.contact-subheading-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #8b1c43; /* Light Maroon Color */
  max-width: 840px;
  margin: 1.15rem auto 0 auto;
  line-height: 1.65;
  text-align: center;
}

.bento-outer-container {
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
}

.bento-grid-wrapper {
  display: flex;
  gap: 14px;
  height: 560px;
  width: 100%;
}

.bento-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-width: 0;
}

/* Individual Bento Cards */
.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-color: #cbd5e1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover img {
  transform: scale(1.05);
}

/* Hover Overlay */
.bento-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-item:hover .bento-card-hover-overlay {
  opacity: 1;
}

.bento-card-title {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Column Ratios & Card Heights */

/* Column 1 (Leftmost): Elevator (Tall vertical) */
.col-1 .card-elevator {
  flex: 1;
  height: 100%;
}

/* Column 2: Science Lab (top) & Cafeteria (bottom) */
.col-2 .card-science {
  flex: 0.38;
}

.col-2 .card-cafeteria {
  flex: 0.62;
}

/* Column 3: Computer Lab (top), Kids Desk (middle), Paper Planes (bottom) */
.col-3 .card-computer {
  flex: 0.38;
}

.col-3 .card-kids-desk {
  flex: 0.22;
}

.col-3 .card-paper-planes {
  flex: 0.40;
}

/* Column 4 (Rightmost): Library (Tall vertical) */
.col-4 .card-library {
  flex: 1;
  height: 100%;
}

/* Floating "Talk Now" Button (Bottom right) */
.bento-talk-now-btn {
  position: absolute;
  bottom: -22px;
  right: -5px;
  background-color: #3b5998;
  color: #ffffff !important;
  padding: 0.6rem 1.6rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(59, 89, 152, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bento-talk-now-btn:hover {
  background-color: #2d4373;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(59, 89, 152, 0.45);
}

/* Responsive adjustments */

/* ==========================================================================
   ADMISSIONS BLUR OVERLAY & MODAL ("ON PROCESS COMING SOON")
   ========================================================================== */

/* Admissions Section Blur Overlay */
.section-admissions-maroon {
  position: relative;
}

.admissions-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 2rem 1rem;
}

.coming-soon-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(212, 175, 55, 0.65);
  border-radius: 24px;
  padding: 3.25rem 2.5rem;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 25;
  animation: comingSoonPulse 0.5s ease-out forwards;
}

@keyframes comingSoonPulse {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.coming-soon-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #690a2d 0%, #8c0e3c 100%);
  color: #ffd447;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 25px rgba(105, 10, 45, 0.35);
  border: 3px solid #ffffff;
}

.coming-soon-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #690a2d;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.coming-soon-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.coming-soon-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #690a2d;
  color: #ffffff;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px rgba(105, 10, 45, 0.3);
}

.coming-soon-badge-pill i {
  color: #ffd447;
}

/* Full-Screen Blur Modal when user clicks "For Admission Enquiry" */
.admission-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.admission-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.admission-modal-card {
  background: #ffffff;
  border: 2px solid rgba(212, 175, 55, 0.65);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.admission-modal-backdrop.active .admission-modal-card {
  transform: scale(1);
}

.admission-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.admission-modal-close:hover {
  background: #690a2d;
  color: #ffffff;
  transform: rotate(90deg);
}

/* ==========================================================================
   DEVICE-SPECIFIC MEDIA QUERIES & RESPONSIVE BUG FIXES
   (Phone, Tablet, Laptop, Desktop)
   ========================================================================== */

/* Fix viewport overflow across devices */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.mobile-only-enquiry-btn {
  display: none;
}

/* ── Laptop / Large Desktop (1200px+) ── */

/* ==========================================================================
   ACADEMIC PROGRAMS SECTION DESIGN SYSTEM (BRAND LOGO THEME)
   ========================================================================== */
:root {
  --academic-maroon: #690A2D;
  --academic-maroon-dark: #48061e;
  --academic-gold: #D4AF37;
  --academic-gold-rich: #C59B27;
  --academic-text-gray: #4B5563;
  --academic-text-dark: #111827;
  --academic-font-heading: 'Baloo 2', 'Fredoka', 'Poppins', 'Segoe UI', cursive, sans-serif;
  --academic-font-body: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
}

.academic-section {
  background-color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  /* Light educational graph/notebook background pattern */
  background-image: 
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to right, rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
}

/* Background Sketches Overlay Container */
.academic-bg-sketches {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.academic-section .container {
  position: relative;
  z-index: 2;
}

/* Dark Black Sketch Item Styling */
.sketch-perfect-item {
  position: absolute;
  opacity: 0.45; /* Dark black line-art visibility */
  filter: contrast(1.2) brightness(0.1); /* Deep dark black sketch ink */
  pointer-events: none;
  animation: floatAcademicSketch 8s ease-in-out infinite alternate;
  transition: opacity 0.3s ease;
}

@keyframes floatAcademicSketch {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-10px) rotate(3deg);
  }
}

/* CENTER AREA BACKGROUND SKETCHES */
.sketch-center-building {
  top: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 175px;
  opacity: 0.35;
  animation-delay: 0s;
}

.sketch-center-openbook {
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 165px;
  opacity: 0.38;
  animation-delay: 2s;
}

.sketch-center-easel {
  top: 92%;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  opacity: 0.38;
  animation-delay: 1.2s;
}

/* SURROUNDING RANDOM AREA SKETCHES */
.sketch-pos-top-left { top: 3%; left: 2%; width: 140px; animation-delay: 1s; }
.sketch-pos-top-right { top: 3.5%; right: 2.5%; width: 135px; animation-delay: 2.5s; }
.sketch-pos-upper-left { top: 20%; left: 1.5%; width: 95px; animation-delay: 0.5s; }
.sketch-pos-upper-right { top: 22%; right: 2%; width: 85px; animation-delay: 3s; }
.sketch-pos-mid-left { top: 38%; left: 2%; width: 135px; animation-delay: 1.8s; }
.sketch-pos-mid-right { top: 40%; right: 2.5%; width: 85px; animation-delay: 4s; }
.sketch-pos-lower-left { top: 60%; left: 1.5%; width: 105px; animation-delay: 0.8s; }
.sketch-pos-lower-right { top: 62%; right: 2%; width: 95px; animation-delay: 3.2s; }
.sketch-pos-bottom-left { top: 78%; left: 2%; width: 85px; animation-delay: 1.5s; }
.sketch-pos-bottom-right { top: 80%; right: 2.5%; width: 85px; animation-delay: 3.5s; }
.sketch-pos-bottom-mid-left { top: 93%; left: 2.5%; width: 95px; animation-delay: 0.2s; }
.sketch-pos-bottom-mid-right { top: 94%; right: 2.5%; width: 95px; animation-delay: 2.2s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .sketch-perfect-item {
    opacity: 0.25;
  }
  .sketch-center-building, .sketch-center-openbook {
    width: 130px;
  }
}

@media (max-width: 576px) {
  .sketch-perfect-item {
    opacity: 0.16;
  }
  .sketch-pos-upper-left, .sketch-pos-upper-right, .sketch-pos-mid-right {
    display: none;
  }
}

.academic-header {
  text-align: center;
  margin-bottom: 80px;
}

.academic-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', 'Inter', -apple-system, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--academic-maroon);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.academic-subheading {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  color: var(--academic-text-gray);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.academic-bold-emphasis {
  font-weight: 700;
  color: var(--academic-text-dark);
}

.academic-rows-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

/* Interconnecting Curved Journey Line SVG */
.academic-interconnect-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.academic-interconnect-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.interconnect-path-line {
  stroke-dashoffset: 200;
  animation: interconnectFlow 18s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(105, 10, 45, 0.25));
}

@keyframes interconnectFlow {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

/* Image Frame & Stage Node Badge Overlay */
.academic-img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.interconnect-node {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #690a2d;
  color: #ffd447;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 18px rgba(105, 10, 45, 0.35);
  z-index: 5;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  animation: nodePulse 3s infinite ease-in-out;
}

.academic-row.row-even .interconnect-node {
  right: auto;
  left: -14px;
}

.academic-row:hover .interconnect-node {
  transform: scale(1.25) rotate(12deg);
  background: #ffd447;
  color: #690a2d;
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(105, 10, 45, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(105, 10, 45, 0); }
}

/* Two-Column Alternating Row Grid (~45% Image / ~55% Content Card, 80px gap) */
.academic-row {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.academic-row.row-even {
  flex-direction: row-reverse;
}

.academic-img-col {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  overflow: visible;
  border-radius: 16px;
}

.academic-img-col img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.academic-row:hover .academic-img-col img {
  transform: scale(1.04);
}

.academic-card-col {
  flex: 0 0 calc(55% - 80px);
  max-width: calc(55% - 80px);
  display: flex;
}

/* Content Card Column with Downward Ribbon-Tail Notch */
.academic-card {
  width: 100%;
  border-radius: 16px 16px 0 0;
  padding: 55px 50px 75px 50px;
  color: #ffffff;
  position: relative;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Fallback polygon clip-path for downward chevron notch */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 50% 100%, 0 calc(100% - 32px));
  /* Modern SVG clipPath with bezier curves for exact matching */
  clip-path: url(#academicCardNotch);
}

.academic-card:hover {
  transform: translateY(-8px);
}

/* Solid Brand Colors (Logo Theme: Rich Maroon & Warm Gold) */
.academic-card.card-maroon {
  background-color: var(--academic-maroon);
}

.card-maroon .academic-card-heading {
  color: var(--academic-gold);
}

.academic-card.card-gold {
  background-color: var(--academic-gold-rich);
}

.academic-card-heading {
  font-family: var(--academic-font-heading);
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.25;
}

.academic-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.academic-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--academic-font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: #ffffff;
}

/* Bullet Icon Container in Contrasting Brand Accent Color */
.academic-bullet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.academic-bullet-item:hover .academic-bullet-icon {
  transform: scale(1.2) rotate(6deg);
}

/* Gold Icon on Maroon Card */
.card-maroon .academic-bullet-icon {
  background-color: var(--academic-gold);
  color: var(--academic-maroon);
}

/* Maroon Icon on Gold Card */
.card-gold .academic-bullet-icon {
  background-color: var(--academic-maroon);
  color: #ffffff;
}

/* Floating Circular Scroll to Top Button (Logo Gold Theme) */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--academic-maroon);
  color: var(--academic-gold);
  border: 2px solid var(--academic-gold);
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(105, 10, 45, 0.25);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.scroll-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--academic-gold);
  color: var(--academic-maroon);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.scroll-top-btn:hover {
  background-color: #7ab332;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Behavior */


/* ==========================================================================
   CONSOLIDATED & STANDARDIZED RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* ── 1. Small Desktop & Mid-Laptop (1025px to 1320px) ── */
@media (min-width: 1025px) and (max-width: 1320px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
  .brand-shield-img {
    height: 48px;
  }
  .nav-links {
    gap: 0.85rem;
    padding: 0 0.25rem;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 0.3rem 0.1rem;
    white-space: nowrap;
  }
  .nav-social-icons {
    display: none;
  }
  .btn-admission-enquiry {
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 1080px;
  }
  .about-ref-grid {
    gap: 2.5rem;
  }
  .about-ref-title {
    font-size: 2.8rem;
  }
  .blob-wrapper {
    max-width: 380px;
    height: 380px;
  }
  .academic-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-ref-grid {
    grid-template-columns: 1.2fr 0.8fr 1.1fr 0.8fr;
    gap: 2rem;
  }
  .bento-grid-wrapper {
    height: 520px;
    gap: 12px;
  }
  .bento-card-title {
    font-size: 0.82rem;
  }
}

/* ── 2. Tablet Landscape / Navigation Drawer Threshold (max 1024px) ── */
@media (max-width: 1024px) {
  html {
    font-size: 14.5px;
  }
  .section-padding {
    padding: 3.5rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }

  /* Navigation Drawer Activation */
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: #ffffff !important;
    background: #ffffff !important;
    flex-direction: column;
    padding: 5.5rem 1.75rem 2.5rem 1.75rem;
    align-items: flex-start;
    gap: 0.2rem;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    overflow-y: auto;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }
  .nav-link:hover, .nav-link.active {
    color: #690a2d;
    padding-left: 0.4rem;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #690a2d;
    border: 1.5px solid rgba(105, 10, 45, 0.2);
    cursor: pointer;
    font-size: 1.4rem;
    position: relative;
    z-index: 1002;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }
  .mobile-toggle:hover, .mobile-toggle:active {
    background: #690a2d;
    color: #ffffff;
  }
  .mobile-only-enquiry-btn {
    display: inline-flex;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
  .nav-social-icons {
    display: none;
  }
  .btn-admission-enquiry {
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
  }

  /* Hero Section */
  .hero {
    padding: 4rem 0 4.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    max-width: 600px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .stat-item h3 {
    font-size: 1.6rem;
  }
  .hero-badge-floating {
    right: 0;
    bottom: -10px;
  }

  /* Campus Banner */
  .campus-image-container,
  .campus-building-img {
    max-height: 380px;
  }

  /* About Section */
  .about-reference-section {
    padding: 3rem 0 2rem;
  }
  .about-ref-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-ref-content {
    order: 1;
  }
  .about-ref-title {
    font-size: 2.3rem;
  }
  .about-ref-paragraph {
    font-size: 0.96rem;
  }
  .about-ref-visual {
    order: 2;
    justify-content: center;
  }
  .blob-wrapper {
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  .blob-student-img {
    height: 340px;
  }
  .books-3d-floating-asset {
    width: 145px;
    left: -15px;
    bottom: -18px;
    display: block !important;
  }
  .doodle-top-left {
    display: block !important;
    top: 12px;
    left: 10px;
    transform: scale(0.7);
    transform-origin: top left;
    opacity: 0.85;
  }
  .doodle-top-right {
    display: block !important;
    top: 12px;
    right: 10px;
    opacity: 0.85;
  }
  .rocket-doodle-img {
    width: 85px;
    height: auto;
  }

  /* Mission & Vision */
  .mission-vision-maroon {
    padding: 3.5rem 0;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .mv-card-maroon {
    padding: 1.75rem;
  }
  .mv-title-white {
    font-size: 1.5rem;
  }

  /* Academic Programs Section */
  .academic-interconnect-wrapper {
    display: none; /* Replaced by fluid side connector thread on mobile */
  }
  .academic-rows-list::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 20px;
    width: 3px;
    background: repeating-linear-gradient(to bottom, #690a2d 0, #690a2d 8px, transparent 8px, transparent 16px);
    z-index: 0;
  }
  .interconnect-node,
  .academic-row.row-even .interconnect-node {
    top: -10px;
    left: -10px;
    right: auto;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .academic-row,
  .academic-row.row-even {
    flex-direction: column;
    gap: 30px;
  }
  .academic-img-col,
  .academic-card-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .academic-row .slide-from-left,
  .academic-row .slide-from-right {
    transform: translateY(40px);
  }
  .academic-title {
    font-size: 2.2rem;
  }
  .academic-card-heading {
    font-size: 28px;
  }
  .academic-card {
    padding: 45px 35px 65px 35px;
  }
  .academic-rows-list {
    gap: 70px;
  }
  .academic-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Facilities */
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Bento Gallery Grid - Preserves Proportional 4-Column Layout */
  .bento-grid-wrapper {
    display: flex !important;
    flex-direction: row !important;
    height: 380px !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .bento-column {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  .bento-column.col-1 { flex: 1 !important; }
  .bento-column.col-2 { flex: 1.15 !important; }
  .bento-column.col-3 { flex: 1.15 !important; }
  .bento-column.col-4 { flex: 1 !important; }
  .bento-item {
    min-height: 0 !important;
    height: auto !important;
  }
  .col-1 .card-elevator,
  .col-4 .card-library {
    height: 100% !important;
  }
  .col-2 .card-science,
  .col-2 .card-cafeteria {
    height: calc(50% - 5px) !important;
  }
  .col-3 .card-computer,
  .col-3 .card-kids-desk,
  .col-3 .card-paper-planes {
    height: calc(33.333% - 7px) !important;
  }
  .bento-talk-now-btn {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem auto 0 auto;
    display: table;
  }

  /* Admissions & Contact */
  .admissions-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section-admissions-maroon {
    padding: 3rem 0;
  }
  .section-admissions-maroon .enquiry-card {
    padding: 1.75rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-info-card {
    padding: 2rem 1.5rem;
  }
  .map-card,
  .map-card iframe {
    min-height: 320px;
  }

  /* Modal */
  .modal-container {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
  }
  .modal-media-view {
    min-height: 300px;
    max-height: 45vh;
  }
  .modal-media-view img,
  .modal-media-view video {
    max-height: 45vh;
  }
  .modal-backdrop {
    padding: 1rem;
  }
  .modal-details {
    padding: 1.5rem;
  }
  .modal-title {
    font-size: 1.35rem;
  }

  /* Footer */
  .footer-ref {
    padding-top: 3rem;
  }
  .footer-ref-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col-title {
    font-size: 1.1rem;
  }
  .footer-social-icons {
    gap: 1rem;
  }
  .footer-social-icons .social-btn {
    font-size: 1.8rem;
  }
  .running-school-bus {
    height: 44px;
    bottom: -14px;
  }

  /* Section Titles */
  .section-title,
  .bento-main-title,
  .contact-main-title {
    font-size: 2.2rem;
  }
  .section-subtitle,
  .contact-subheading-text {
    font-size: 0.98rem;
    max-width: 92%;
    margin-top: 0.85rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
}

/* ── 3. Tablet Portrait / Large Mobile (max 768px) ── */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .gallery-filters {
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
  .gallery-thumb {
    height: 180px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .campus-image-container,
  .campus-building-img {
    max-height: 280px;
  }

  .about-ref-title {
    font-size: 2rem;
  }

  /* Bento Gallery Layout - Preserves 4-Column Ratio on Tablet */
  .bento-gallery-section {
    padding: 2.5rem 0.85rem 3rem 0.85rem;
  }
  .bento-main-title {
    font-size: 2.2rem;
  }
  .bento-grid-wrapper {
    display: flex !important;
    flex-direction: row !important;
    height: 300px !important;
    gap: 6px !important;
  }
  .bento-column {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  .bento-column.col-1 { flex: 1 !important; }
  .bento-column.col-2 { flex: 1.15 !important; }
  .bento-column.col-3 { flex: 1.15 !important; }
  .bento-column.col-4 { flex: 1 !important; }
  .col-1 .card-elevator,
  .col-4 .card-library {
    height: 100% !important;
  }
  .col-2 .card-science,
  .col-2 .card-cafeteria {
    height: calc(50% - 3px) !important;
  }
  .col-3 .card-computer,
  .col-3 .card-kids-desk,
  .col-3 .card-paper-planes {
    height: calc(33.333% - 4px) !important;
  }

  /* Admissions Overlay & Modals */
  .admissions-blur-overlay {
    padding: 1.5rem 0.75rem;
  }
  .coming-soon-card {
    padding: 2.2rem 1.25rem;
    border-radius: 20px;
    width: 95%;
  }
  .coming-soon-icon {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  .coming-soon-title {
    font-size: 1.6rem;
  }
  .coming-soon-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  .admission-modal-card {
    padding: 2.5rem 1.25rem;
    border-radius: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
  .admission-modal-close {
    top: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

/* ── 4. Mobile Standard (max 576px) ── */
@media (max-width: 576px) {
  html {
    font-size: 13.5px;
  }

  .container {
    padding: 0 0.85rem;
  }
  .section-padding {
    padding: 2.5rem 0;
  }

  .brand-shield-img {
    height: 44px;
  }
  .header .btn-admission-enquiry {
    display: none;
  }

  .campus-image-container,
  .campus-building-img {
    max-height: 220px;
  }
  .campus-tag-badge {
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
  }

  .ticker-item {
    font-size: 0.88rem;
  }
  .ticker-separator {
    font-size: 1.1rem;
  }

  .about-ref-title {
    font-size: 1.75rem;
  }
  .blob-wrapper {
    max-width: 220px;
    height: 220px;
  }
  .blob-student-img {
    height: 250px;
  }
  .books-3d-floating-asset {
    width: 105px;
    left: -8px;
    bottom: -12px;
    display: block !important;
  }
  .doodle-top-left {
    display: block !important;
    top: 8px;
    left: 6px;
    transform: scale(0.55);
    transform-origin: top left;
    opacity: 0.85;
  }
  .doodle-top-right {
    display: block !important;
    top: 8px;
    right: 6px;
    opacity: 0.85;
  }
  .rocket-doodle-img {
    width: 65px;
    height: auto;
  }

  .mv-card-maroon {
    padding: 1.5rem;
  }
  .mv-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .mv-title-white {
    font-size: 1.3rem;
  }
  .mv-description-white {
    font-size: 0.96rem;
  }
  .mv-mission-list li {
    font-size: 0.9rem;
  }

  .academic-section {
    padding: 60px 0;
  }
  .academic-title {
    font-size: 30px;
  }
  .academic-subheading {
    font-size: 15px;
  }
  .academic-card-heading {
    font-size: 24px;
  }
  .academic-card {
    padding: 35px 25px 55px 25px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px));
    clip-path: url(#academicCardNotch);
  }
  .academic-bullet-item {
    font-size: 15px;
  }
  .academic-rows-list {
    gap: 50px;
  }
  .academic-cards-grid {
    grid-template-columns: 1fr;
  }
  .academic-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  .academic-card h3 {
    font-size: 1.15rem;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .facility-img {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-thumb {
    height: 200px;
  }
  .gallery-filters {
    flex-wrap: wrap;
  }

  .bento-main-title {
    font-size: 1.95rem;
  }
  .bento-grid-wrapper {
    display: flex !important;
    flex-direction: row !important;
    height: 240px !important;
    gap: 4px !important;
  }
  .bento-column {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    gap: 4px !important;
  }
  .bento-column.col-1 { flex: 1 !important; }
  .bento-column.col-2 { flex: 1.15 !important; }
  .bento-column.col-3 { flex: 1.15 !important; }
  .bento-column.col-4 { flex: 1 !important; }
  .col-1 .card-elevator,
  .col-4 .card-library {
    height: 100% !important;
    min-height: 0 !important;
  }
  .col-2 .card-science,
  .col-2 .card-cafeteria {
    height: calc(50% - 2px) !important;
    min-height: 0 !important;
  }
  .col-3 .card-computer,
  .col-3 .card-kids-desk,
  .col-3 .card-paper-planes {
    height: calc(33.333% - 3px) !important;
    min-height: 0 !important;
  }

  .enquiry-card {
    padding: 1.25rem;
  }
  .enquiry-card h3 {
    font-size: 1.4rem;
  }
  .steps-list {
    gap: 1rem;
  }
  .step-item {
    flex-direction: row;
    gap: 0.85rem;
  }
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .contact-info-card {
    padding: 1.5rem;
  }
  .contact-info-card h3 {
    font-size: 1.6rem;
  }
  .contact-details-list {
    gap: 1.25rem;
  }
  .map-card,
  .map-card iframe {
    min-height: 250px;
  }

  .footer-ref-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-brand-logo {
    height: 44px;
  }
  .footer-brand-desc {
    font-size: 0.88rem;
  }
  .footer-nav-links a {
    font-size: 0.9rem;
  }
  .footer-contact-list li {
    font-size: 0.88rem;
  }
  .running-school-bus {
    height: 38px;
    bottom: -7px;
  }

  .modal-container {
    border-radius: 16px;
  }
  .modal-details {
    padding: 1.25rem;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-desc {
    font-size: 0.9rem;
  }
  .modal-highlights-box {
    padding: 1rem;
  }

  .scroll-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }

  .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }
  .badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }
}

/* ── 5. Extra Small Mobile (max 400px) ── */
@media (max-width: 400px) {
  html {
    font-size: 13px;
  }

  .about-ref-title {
    font-size: 1.55rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.45rem;
  }

  .campus-image-container,
  .campus-building-img {
    max-height: 180px;
  }

  .blob-wrapper {
    max-width: 190px;
    height: 190px;
  }

  .coming-soon-title {
    font-size: 1.45rem;
  }
  .coming-soon-badge-pill {
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
  }
}

/* ── Remove Maroon Border Lines on Mobile ── */
@media (max-width: 992px) {
  .header,
  .header.scrolled {
    border-bottom: none !important;
  }
  .ticker-banner {
    border-top: none !important;
    border-bottom: none !important;
  }
}
