/* ==========================================================================
   VIJAYA HIGH SCHOOL - MAIN STYLESHEET
   Brand Palette:
   - Navy Blue: #142D5E
   - Royal Blue: #2864B0
   - White: #FFFFFF
   - Admission Accent Red: #E53946
   - Light Background: #F4F7FC
   - Main Text: #202B3C
   - Muted Text: #64748B
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #142D5E;
  --royal: #2864B0;
  --royal-hover: #1e4f8f;
  --white: #FFFFFF;
  --accent-red: #E53946;
  --accent-red-hover: #c92a37;
  --bg-light: #F4F7FC;
  --bg-card: #FFFFFF;
  --text-main: #202B3C;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  --success: #10B981;
  --success-bg: #ECFDF5;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  --info: #3B82F6;
  --info-bg: #EFF6FF;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(20, 45, 94, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(20, 45, 94, 0.08), 0 2px 4px -1px rgba(20, 45, 94, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(20, 45, 94, 0.1), 0 4px 6px -2px rgba(20, 45, 94, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(20, 45, 94, 0.12), 0 10px 10px -5px rgba(20, 45, 94, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img, video, iframe, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--royal-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-sm {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-light {
  background-color: var(--white);
}

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

.section-navy {
  background-color: var(--navy);
  color: var(--white);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

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

.section-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background-color: rgba(40, 100, 176, 0.1);
  color: var(--royal);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-navy .section-badge {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-navy .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* Top Notification / Utility Bar */
.topbar {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .container {
  max-width: 1360px;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.topbar-badge {
  background-color: var(--accent-red);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.topbar-badge-pill {
  background-color: #d92b3a;
  color: #ffffff;
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(217, 43, 58, 0.25);
  letter-spacing: 0.01em;
}

/* Main Site Header - Sticky & Fixed on scroll */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-bottom 0.3s ease;
  will-change: box-shadow, transform;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 22px rgba(12, 50, 111, 0.12) !important;
  border-bottom: 1px solid rgba(12, 50, 111, 0.08) !important;
}

.site-header .container {
  max-width: 1360px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(60px, 4.8vw, 76px);
  height: clamp(60px, 4.8vw, 76px);
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 10px rgba(12, 50, 111, 0.14));
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 1.55vw, 1.6rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.15;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-location {
  font-family: var(--font-heading);
  font-size: clamp(0.74rem, 0.9vw, 0.88rem);
  font-weight: 800;
  color: var(--royal);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: #2b3648;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1d68d8;
  background-color: rgba(29, 104, 216, 0.05);
}

.nav-link.active {
  color: #1d68d8;
  background-color: #eaf3fd;
  border-radius: 9999px;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2.5px;
  background-color: #1d68d8;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
  cursor: pointer;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.4;
}

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

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-royal {
  background-color: var(--royal);
  color: var(--white);
}

.btn-royal:hover {
  background-color: var(--royal-hover);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(40, 100, 176, 0.25);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent-red);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-red-hover);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(229, 57, 70, 0.25);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-royal {
  background-color: transparent;
  color: var(--royal);
  border-color: var(--royal);
}

.btn-outline-royal:hover {
  background-color: var(--royal);
  color: var(--white);
}

.btn-white:hover {
  background-color: #f8fafc;
  color: var(--royal);
  box-shadow: var(--shadow-md);
}

/* Pill Button Styles */
.btn-red-pill {
  background-color: #d92b3a;
  color: #ffffff;
  border: 1.5px solid #d92b3a;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(217, 43, 58, 0.22);
}

.btn-red-pill:hover {
  background-color: #c52230;
  border-color: #c52230;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 43, 58, 0.32);
}

.btn-outline-navy-pill {
  background-color: #ffffff;
  color: #0f2147;
  border: 1.5px solid #0f2147;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 33, 71, 0.04);
}

.btn-outline-navy-pill:hover {
  background-color: #0f2147;
  color: #ffffff;
  border-color: #0f2147;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 33, 71, 0.15);
}

.header-btn {
  padding: 0.65rem 1.45rem;
  font-size: 0.98rem;
  white-space: nowrap;
}

/* ==========================================================================
   Homepage Redesign: Hero Section, Floating Features Bar
   ========================================================================== */

.hero-redesign {
  position: relative;
  background: linear-gradient(135deg, #e3f1fe 0%, #f3f8fe 42%, #ffffff 85%);
  overflow: hidden;
  padding: 0;
}

.hero-mobile-photo2 {
  display: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-shape-circle-1 {
  position: absolute;
  top: -120px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 227, 255, 0.45) 0%, rgba(220, 240, 255, 0.08) 70%, transparent 100%);
}

.hero-shape-circle-2 {
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 224, 255, 0.5) 0%, rgba(215, 238, 255, 0.15) 65%, transparent 100%);
}

.hero-shape-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse at bottom left, rgba(200, 230, 255, 0.5) 0%, transparent 75%);
}

.hero-inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero-two-col {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 560px;
}

.hero-content-col {
  padding-left: 0;
  padding-right: 1.5rem;
  max-width: 620px;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  align-self: center;
}

/* Welcome Text (Bold uppercase red text, no button background) */
.hero-welcome-text {
  display: inline-block;
  color: #D92534;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.hero-welcome-text strong {
  font-weight: 900;
}

.hero-welcome-badge {
  display: inline-block;
  color: #D92534;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

/* Hero Heading */
.hero-heading-redesign {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 3.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hero-school-title {
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 3.3vw, 3.15rem);
}

.hero-heading-row {
  display: block;
  white-space: nowrap;
}

.text-navy {
  color: #0f2147;
}

.text-vibrant-blue {
  color: #166fe5;
}

/* Red Hand-Drawn Underline */
.hero-decorative-underline {
  margin-bottom: 1.35rem;
  line-height: 1;
}

.hero-decorative-underline svg {
  display: block;
  width: 96px;
  height: 11px;
}

/* Hero Description */
.hero-desc-redesign {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Hero Actions */
.hero-actions-redesign {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.btn-hero {
  padding: 0.92rem 1.85rem;
  font-size: 1.05rem;
  gap: 0.65rem;
  white-space: nowrap;
  font-weight: 600;
}

.btn-hero svg {
  flex-shrink: 0;
}

/* Right Column: Media Frame & Curved Building Photograph */
.hero-media-col {
  position: relative;
  height: 100%;
  min-height: 540px;
  max-height: 590px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.hero-curved-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  max-height: 590px;
  overflow: hidden;
  clip-path: url(#heroCurveClip);
  -webkit-clip-path: url(#heroCurveClip);
  background-color: #B9DCFB;
  border-radius: 0 24px 24px 0;
}

.hero-building-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-building-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(1.02) contrast(1.02);
}

.hero-curved-ring {
  position: absolute;
  top: 0;
  left: -2px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.hero-curved-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating Features Bar */
.floating-features-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -28px;
  padding-bottom: 2rem;
}

.floating-features-wrapper .container {
  max-width: 1360px;
}

.floating-features-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 33, 71, 0.08), 0 2px 6px rgba(15, 33, 71, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 1.15rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.floating-feature-col {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
}

.floating-feature-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.floating-feature-col:hover .floating-feature-circle {
  transform: scale(1.08);
}

.floating-feature-circle.circle-blue {
  background-color: #e0edff;
  color: #1d68d8;
}

.floating-feature-circle.circle-green {
  background-color: #dcfce7;
  color: #16a34a;
}

.floating-feature-circle.circle-purple {
  background-color: #ede9fe;
  color: #7c3aed;
}

.floating-feature-text {
  display: flex;
  flex-direction: column;
}

.floating-feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0f2147;
  margin: 0 0 0.15rem 0;
  line-height: 1.25;
}

.floating-feature-sub {
  font-size: 0.825rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

.floating-feature-sep {
  width: 1px;
  height: 38px;
  background-color: #e2e8f0;
  flex-shrink: 0;
}

/* ==========================================================================
   Section: Our Foundation (Welcome to Vijaya High School) - Image 3 Redesign
   ========================================================================== */

.section-foundation {
  position: relative;
  background: linear-gradient(180deg, #f3f8fd 0%, #ffffff 85%);
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}

/* Decorative background shapes matching Image 3 */
.foundation-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.foundation-shape-curve-left {
  position: absolute;
  top: -60px;
  left: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #ddecfe 0%, rgba(221, 238, 254, 0.2) 70%, transparent 100%);
}

.foundation-decor-dots {
  position: absolute;
  top: 40px;
  right: 70px;
  z-index: 1;
}

.foundation-decor-polygon {
  position: absolute;
  top: 60px;
  right: 25px;
  z-index: 1;
  transform: rotate(5deg);
}

.foundation-shape-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 120px;
  z-index: 1;
}

.foundation-shape-wave-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.foundation-shape-wave-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 110px;
  z-index: 1;
}

.foundation-shape-wave-bottom-right svg {
  width: 100%;
  height: 100%;
  display: block;
}

.foundation-container {
  position: relative;
  z-index: 2;
}

.foundation-header {
  text-align: left;
  margin-bottom: 2.25rem;
}

.foundation-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e60ad;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.4rem 1.35rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.foundation-title {
  font-family: var(--font-heading);
  font-size: 2.65rem;
  font-weight: 800;
  color: #0f2147;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
}

.foundation-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}

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

.foundation-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.25rem;
}

.foundation-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 2rem;
}

.foundation-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-blue-rounded {
  background-color: #1d68d8;
  color: #ffffff;
  border: 1.5px solid #1d68d8;
  border-radius: 10px;
  padding: 0.75rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(29, 104, 216, 0.22);
  transition: all var(--transition-fast);
}

.btn-blue-rounded:hover {
  background-color: #1656b6;
  border-color: #1656b6;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 104, 216, 0.32);
}

.btn-outline-blue-rounded {
  background-color: #ffffff;
  color: #1d68d8;
  border: 1.5px solid #1d68d8;
  border-radius: 10px;
  padding: 0.75rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(29, 104, 216, 0.05);
}

.btn-outline-blue-rounded:hover {
  background-color: rgba(29, 104, 216, 0.06);
  color: #1656b6;
  border-color: #1656b6;
  transform: translateY(-1px);
}

.foundation-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 33, 71, 0.12);
  border: 4px solid #ffffff;
  background-color: #ffffff;
}

.foundation-corridor-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ==========================================================================
   Leadership Section: Modern Card Redesign (Reference: Image 3)
   ========================================================================== */
.section-leadership-modern {
  position: relative;
  background: linear-gradient(180deg, #f0f7ff 0%, #f9fcff 60%, #ffffff 100%);
  padding: 5rem 0 5.5rem;
  overflow: hidden;
}

.lead-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.lead-shape-glow-left {
  position: absolute;
  top: -80px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 227, 255, 0.4) 0%, rgba(220, 240, 255, 0.05) 70%, transparent 100%);
}

.lead-shape-glow-right {
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 224, 255, 0.35) 0%, rgba(215, 238, 255, 0.05) 70%, transparent 100%);
}

.lead-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lead-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.25rem;
}

.lead-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1.35rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.08);
}

.lead-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #0f2147;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* Dual-colored accent bar: gold on left, red on right */
.lead-accent-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 4.5px;
  border-radius: 9999px;
  overflow: hidden;
  margin: 0 auto 1.1rem;
}

.lead-accent-bar .accent-gold {
  width: 50%;
  height: 100%;
  background-color: #eab308;
}

.lead-accent-bar .accent-red {
  width: 50%;
  height: 100%;
  background-color: #dc2626;
}

.lead-section-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Cards Grid */
.lead-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.lead-card {
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 33, 71, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.lead-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 33, 71, 0.09);
  border-color: #93c5fd;
}

.lead-card-text {
  padding: 2.25rem 1.75rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lead-card-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f2147;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.lead-card-role {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.text-role-red {
  color: #dc2626;
}

.text-role-green {
  color: #16a34a;
}

.lead-card-quote {
  border-left: 3.5px solid #eab308;
  padding-left: 1.1rem;
  margin: 0 0 1.6rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  font-style: italic;
}

.btn-lead-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #ffffff;
  color: #1d4ed8;
  border: 1.5px solid #2563eb;
  padding: 0.55rem 1.35rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.btn-lead-outline:hover {
  background-color: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.btn-lead-outline svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-lead-outline:hover svg {
  transform: translateX(3px);
}

.lead-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  background-color: #ffffff;
}

.lead-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

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

.lead-role-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: #0f2147;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

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

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-highlight {
  color: #7DD3FC;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}

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

.hero-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-badge-item svg {
  width: 18px;
  height: 18px;
  color: #38BDF8;
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.15);
  background-color: #0f2042;
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-smooth);
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(20, 45, 94, 0.95), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Feature Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(40, 100, 176, 0.25);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(40, 100, 176, 0.1);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

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

/* ==========================================================================
   Enriched Curriculum & Learning Section Styles
   ========================================================================== */
.curriculum-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.curriculum-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.85rem 1.65rem 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 33, 71, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 33, 71, 0.1);
}

.curriculum-stage-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.85rem;
  border-radius: 9999px;
  width: fit-content;
}

.badge-stage-blue {
  background-color: #e0edff;
  color: #1d68d8;
}

.badge-stage-green {
  background-color: #dcfce7;
  color: #15803d;
}

.badge-stage-purple {
  background-color: #f3e8ff;
  color: #7e22ce;
}

.curriculum-highlights-box {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-top: auto;
  border: 1px solid #f1f5f9;
}

.curriculum-highlights-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

.curriculum-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.curriculum-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.4;
}

.curriculum-highlights-list li svg {
  width: 15px;
  height: 15px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.curriculum-card-tag {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2864b0;
  text-align: center;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.75rem;
}

/* Educational Pillars Card */
.curriculum-pillars-card {
  margin-top: 3.5rem;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(20, 45, 94, 0.05);
}

.curriculum-pillars-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.curriculum-pillars-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.curriculum-pillars-sub {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.curriculum-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.curriculum-pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #eaf3fe;
  color: #1d68d8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.pillar-item-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2147;
  margin-bottom: 0.35rem;
}

.pillar-item-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
}

/* Photo Cards Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.photo-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.photo-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-light);
  cursor: pointer;
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.photo-wrapper img[src*="high_school_front_view"],
.photo-wrapper img[src*="high_side_school_view"] {
  object-position: center top;
}

.photo-card:hover .photo-wrapper img {
  transform: scale(1.04);
}

.photo-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(20, 45, 94, 0.85);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.photo-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.photo-title {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  color: var(--navy);
}

.photo-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Facility Card without Photo (Clean text & icon) */
.facility-card-text {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.facility-card-text:hover {
  border-color: var(--royal);
  box-shadow: var(--shadow-md);
}

.facility-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(40, 100, 176, 0.1);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.facility-icon svg {
  width: 22px;
  height: 22px;
}

.facility-info {
  flex: 1;
}

.facility-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

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

/* ==========================================================================
   Infrastructure Page - Two-Tier Modern Layout (Photos Top, Amenities Bottom)
   ========================================================================== */
.infra-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.infra-filter-btn {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.amenities-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  position: relative;
}

.amenity-pillar-block {
  margin-bottom: 3rem;
}

.amenity-pillar-block:last-child {
  margin-bottom: 0;
}

.amenity-pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
  flex-wrap: wrap;
}

.amenity-pillar-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amenity-pillar-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-pillar-badge-icon svg {
  width: 20px;
  height: 20px;
}

.pillar-icon-blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.pillar-icon-emerald {
  background: #ecfdf5;
  color: #047857;
}

.pillar-icon-amber {
  background: #fffbeb;
  color: #b45309;
}

.pillar-icon-purple {
  background: #f5f3ff;
  color: #6d28d9;
}

.amenity-pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.amenity-pillar-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
}

.amenity-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.amenity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.amenity-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.amenity-card-icon svg {
  width: 22px;
  height: 22px;
}

.amenity-card-body {
  flex: 1;
  min-width: 0;
}

.amenity-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.amenity-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.amenity-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}

.amenity-card-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.amenity-pillar-badge-icon svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.amenity-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Home Page - Continuous Right-to-Left Scrolling Campus Gallery Marquee
   ========================================================================== */
.gallery-scroller-section {
  overflow: hidden;
  position: relative;
  padding: 4rem 0;
}

.gallery-scroller-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.gallery-scroller-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollGalleryRightToLeft 95s linear infinite;
  will-change: transform;
}

.gallery-scroller-track:hover,
.gallery-scroller-track:active {
  animation-play-state: paused;
}

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

.gallery-scroll-item {
  flex: 0 0 440px;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.gallery-scroll-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.18);
}

.gallery-scroll-img-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.gallery-scroll-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

.gallery-scroller-btn-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 2.75rem auto 0 !important;
  width: 100% !important;
}

.text-center {
  text-align: center !important;
}

@media (max-width: 768px) {
  .gallery-scroll-item {
    flex: 0 0 320px;
    border-radius: 16px;
  }
  .gallery-scroll-img-wrap {
    height: 220px;
  }
}

/* ==========================================================================
   About Page Hero Banner (Cohesive Modern Soft Light-Blue Theme)
/* ==========================================================================
   Unified Cohesive Page Hero Banner (Matching About Us & Academics Theme)
   ========================================================================== */
.about-hero-banner,
.page-hero-banner {
  position: relative;
  background: linear-gradient(135deg, #EBF5FF 0%, #DCEEFF 65%, #EAF4FE 100%);
  padding: 3.5rem 0 3.25rem;
  text-align: center;
  overflow: hidden;
}

.about-hero-badge,
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #E0F2FE;
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.35rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.about-hero-title,
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: #17366B;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin: 0 auto 0.75rem;
  max-width: 860px;
}

.about-dual-accent,
.page-dual-accent {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0.85rem auto 1.25rem;
}

.about-accent-blue,
.page-accent-blue {
  width: 32px;
  height: 3px;
  background-color: #2468C9;
  border-radius: 2px;
}

.about-accent-red,
.page-accent-red {
  width: 18px;
  height: 3px;
  background-color: #EF4444;
  border-radius: 2px;
}

.about-hero-desc,
.page-hero-desc {
  font-size: 1.1rem;
  line-height: 1.68;
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
}

.about-hero-wave-bottom,
.page-hero-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 1;
}

.about-hero-wave-bottom svg,
.page-hero-wave-bottom svg {
  display: block;
  width: 100%;
  height: 32px;
}

/* Infrastructure Page Hero Banner (Unified Light-Blue Theme + Side View Photo) */
.infra-hero-section {
  position: relative;
  background: linear-gradient(135deg, #EBF5FF 0%, #DCEEFF 65%, #EAF4FE 100%);
  padding: 3.5rem 0 3.25rem;
  overflow: hidden;
}

.infra-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 3.25rem;
  position: relative;
  z-index: 2;
}

.infra-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.infra-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 800;
  color: #17366B;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0.25rem 0 0.75rem;
}

.infra-dual-accent {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0.4rem 0 1.25rem;
}

.infra-hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #475569;
  max-width: 580px;
  margin-bottom: 2rem;
}

.infra-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.infra-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.infra-image-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 33, 71, 0.12), 0 2px 6px rgba(15, 33, 71, 0.04);
  border: 4px solid #FFFFFF;
  width: 100%;
  max-width: 540px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infra-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 33, 71, 0.16);
}

.infra-card-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.infra-image-caption {
  background: #FFFFFF;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #17366B;
  text-align: center;
  border-top: 1px solid #EDF2F7;
}

@media (max-width: 991px) {
  .infra-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .infra-hero-content {
    align-items: center;
  }
  .infra-hero-actions {
    justify-content: center;
  }
  .infra-card-img {
    height: 300px;
  }
}

/* ==========================================================================
   Leadership Messages Detail Cards (Reference: User Images 1 & 2)
   ========================================================================== */
.section-leadership-messages {
  background-color: #EAF4FF;
  padding: 5.25rem 0 5.75rem;
  position: relative;
  border-top: 1px solid #D9E8F8;
  border-bottom: 1px solid #D9E8F8;
}

.lead-detail-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(23, 54, 107, 0.08);
  padding: 0;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 490px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lead-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(23, 54, 107, 0.13);
}

.lead-detail-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 490px;
  overflow: hidden;
  background-color: #F1F5F9;
  border-radius: 0;
  box-shadow: none;
}

.lead-detail-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.lead-detail-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.75rem 1.25rem 1.75rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.55) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  z-index: 2;
}

.lead-photo-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.95rem;
  border-radius: 9999px;
  color: #FFFFFF;
  display: inline-block;
}

.lead-photo-pill.role-pill-red {
  background-color: #DC2626;
}

.lead-photo-pill.role-pill-navy {
  background-color: #17366B;
}

.lead-photo-name {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.lead-detail-content {
  padding: 3.75rem 3.5rem 3.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.lead-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.4vw, 2.25rem);
  font-weight: 800;
  color: #17366B;
  margin: 0 0 1.35rem 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead-detail-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4A5568;
  margin-bottom: 1.15rem;
}

.lead-detail-body p:last-child {
  margin-bottom: 0;
}

.lead-detail-divider {
  width: 100%;
  height: 1px;
  background-color: #E2E8F0;
  margin: 1.75rem 0 1.35rem;
}

.lead-detail-signoff {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lead-signoff-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: #17366B;
  letter-spacing: -0.01em;
}

.lead-signoff-role {
  font-size: 0.95rem;
  font-weight: 700;
}

.lead-signoff-role.role-red {
  color: #DC2626;
}

.lead-signoff-role.role-green {
  color: #16A34A;
}

@media (max-width: 992px) {
  .lead-detail-card {
    grid-template-columns: 1fr;
  }
  .lead-detail-media {
    height: 420px;
    min-height: 420px;
  }
  .lead-detail-content {
    padding: 2.25rem 2rem;
  }
  .about-hero-banner {
    padding: 3.5rem 0 3rem;
  }
}

@media (max-width: 576px) {
  .lead-detail-card {
    border-radius: 18px;
  }
  .lead-detail-media {
    height: 340px;
    min-height: 340px;
  }
  .lead-detail-photo-overlay {
    padding: 1.75rem 1rem 1rem;
  }
  .lead-photo-name {
    font-size: 1.1rem;
  }
  .lead-detail-title {
    font-size: 1.65rem;
    margin-bottom: 1rem;
  }
  .lead-detail-body p {
    font-size: 0.975rem;
    line-height: 1.65;
  }
}

/* Leadership Profiles */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.leadership-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base);
}

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

.leadership-header {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.leadership-photo-frame {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--royal);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  background-color: var(--white);
}

.leadership-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-meta {
  display: flex;
  flex-direction: column;
}

.leadership-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.leadership-designation {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--royal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leadership-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leadership-quote {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--royal);
  margin-bottom: 1.25rem;
}

.leadership-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: var(--bg-light);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

/* Forms & Inputs */
.form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-label .req {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(40, 100, 176, 0.15);
  outline: none;
}

.form-control.is-invalid {
  border-color: var(--danger);
  background-color: var(--danger-bg);
}

.form-feedback {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.35rem;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
}

.form-check-input {
  margin-top: 0.25rem;
  accent-color: var(--royal);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background-color: var(--success-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
}

.alert-danger {
  background-color: var(--danger-bg);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

.alert-info {
  background-color: var(--info-bg);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1e40af;
}

/* Success Confirmation Card */
.confirmation-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--royal);
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  background-color: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.confirmation-icon svg {
  width: 36px;
  height: 36px;
}

.confirmation-ref-box {
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border: 1px dashed var(--royal);
}

.confirmation-ref-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.confirmation-ref-code {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 23, 49, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  max-width: 900px;
  width: 100%;
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background-color: #0b1528;
}

.lightbox-caption {
  padding: 1.25rem;
  background-color: var(--white);
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(20, 45, 94, 0.8);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: var(--accent-red);
}

/* ==========================================================================
   ACADEMICS PAGE REDESIGN (Matching Reference Photo 1)
   ========================================================================== */
.academics-hero-section {
  position: relative;
  background: linear-gradient(135deg, #EAF5FE 0%, #DBECFE 55%, #E3F2FD 100%);
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.academics-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.acad-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #E0F2FE;
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.academics-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  color: #17366B;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.academics-hero-desc {
  font-size: 1.1rem;
  line-height: 1.68;
  color: #475569;
  max-width: 620px;
  margin-bottom: 1rem;
}

.acad-plane-wrap {
  position: relative;
  display: inline-block;
  margin-top: 0.5rem;
}

.academics-hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.academics-hero-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(23, 54, 107, 0.12));
  transition: transform 0.3s ease;
}

.academics-hero-img:hover {
  transform: translateY(-4px) scale(1.01);
}

.acad-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.acad-hero-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* Framework section */
.acad-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #E0F2FE;
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.22);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.acad-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #17366B;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.acad-section-subtitle {
  font-size: 1.05rem;
  color: #64748B;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Admission classes card */
.acad-classes-card {
  background: #F8FBFF;
  border: 1px solid #DBEAFE;
  border-radius: 18px;
  padding: 2rem 2.25rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 4px 20px rgba(36, 104, 201, 0.05);
}

.acad-classes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.acad-classes-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #17366B;
  margin-bottom: 0.2rem;
}

.acad-classes-sub {
  font-size: 0.92rem;
  color: #64748B;
  margin: 0;
}

.acad-admissions-open-pill {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid rgba(22, 163, 74, 0.25);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
}

.acad-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.acad-class-pill {
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.acad-class-pill.active {
  background: #DBEAFE;
  color: #1E40AF;
  border: 1.5px solid #93C5FD;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

.acad-class-pill.standard {
  background: #FFFFFF;
  color: #1E40AF;
  border: 1.5px solid #BFDBFE;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.acad-class-pill:hover {
  border-color: #2563EB;
  background: #EFF6FF;
  transform: translateY(-2px);
}

.acad-info-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  padding-top: 1.15rem;
  border-top: 1px dashed #BFDBFE;
}

.acad-info-notice svg {
  width: 18px;
  height: 18px;
  color: #2563EB;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* 3 Stages Grid - Horizontal Cards Stacked Top to Bottom */
.acad-stages-grid {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-bottom: 4.5rem;
}

.acad-stage-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 4px 20px rgba(23, 54, 107, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.acad-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(23, 54, 107, 0.09);
  border-color: #CBD5E1;
}

/* Left colored accent stripe */
.acad-stage-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 20px 0 0 20px;
}
.acad-stage-card.stage-blue::before { background: linear-gradient(180deg, #0284C7, #38BDF8); }
.acad-stage-card.stage-green::before { background: linear-gradient(180deg, #16A34A, #4ADE80); }
.acad-stage-card.stage-purple::before { background: linear-gradient(180deg, #9333EA, #C084FC); }

/* Horizontal 2-Column Split on Desktop */
.acad-stage-main {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2.75rem;
  align-items: start;
}

.acad-stage-header-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #F1F5F9;
  padding-right: 2.25rem;
}

.acad-stage-badge-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.acad-stage-badge-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0;
}

.acad-stage-meta-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.32rem 0.75rem;
  border-radius: 9999px;
}

.acad-stage-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.badge-blue {
  background: #E0F2FE;
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-green {
  background: #DCFCE7;
  color: #16A34A;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.badge-purple {
  background: #F3E8FF;
  color: #9333EA;
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.acad-stage-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}

.acad-stage-icon-circle.icon-blue {
  background: #E0F2FE;
  color: #0284C7;
}

.acad-stage-icon-circle.icon-green {
  background: #DCFCE7;
  color: #16A34A;
}

.acad-stage-icon-circle.icon-purple {
  background: #F3E8FF;
  color: #9333EA;
}

.acad-stage-icon-circle svg {
  width: 28px;
  height: 28px;
}

.acad-stage-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #17366B;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.acad-stage-subtitle {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 0.2rem;
}

.acad-stage-desc {
  font-size: 0.93rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.35rem;
}

.acad-stage-key-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.acad-key-badge {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.badge-blue-subtle { background: #F0F9FF; color: #0369A1; border: 1px solid #BAE6FD; }
.badge-green-subtle { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.badge-purple-subtle { background: #FAF5FF; color: #7E22CE; border: 1px solid #E9D5FF; }

/* Right Column */
.acad-stage-body-col {
  display: flex;
  flex-direction: column;
}

.acad-stage-section-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.acad-stage-section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E2E8F0;
  margin-left: 0.5rem;
}

.acad-stage-bullets-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem 1.75rem;
}

.acad-stage-bullets-grid li {
  position: relative;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.acad-stage-bullets-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.bullets-blue li::before { background: #0284C7; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15); }
.bullets-green li::before { background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15); }
.bullets-purple li::before { background: #9333EA; box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15); }

.acad-stage-bullets-grid li strong {
  font-size: 0.92rem;
  color: #1E293B;
  font-weight: 700;
  line-height: 1.35;
}

.acad-stage-bullets-grid li span {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.5;
}

.acad-stage-footer-bar {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.acad-footer-tag-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #475569;
}

.acad-footer-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: #F8FAFC;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.acad-footer-tag-dot {
  color: #CBD5E1;
  font-size: 0.85rem;
}

/* Backward compatibility for any standard bullets */
.acad-stage-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.acad-stage-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.91rem;
  color: #334155;
  line-height: 1.55;
}

.acad-stage-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.3rem;
  line-height: 1.1;
}

.bullets-blue li::before { color: #0284C7; }
.bullets-green li::before { color: #16A34A; }
.bullets-purple li::before { color: #9333EA; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .acad-stage-card {
    padding: 1.75rem 1.5rem;
  }
  .acad-stage-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .acad-stage-header-col {
    border-right: none;
    border-bottom: 1px solid #F1F5F9;
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
  .acad-stage-bullets-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Pedagogy Section */
.acad-pedagogy-section {
  background: #F8FBFF;
  padding: 5rem 0 4.5rem;
  position: relative;
}

.acad-pedagogy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.acad-pedagogy-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.65rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: 0 4px 14px rgba(23, 54, 107, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.acad-pedagogy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(23, 54, 107, 0.08);
}

.acad-pedagogy-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.acad-pedagogy-icon svg {
  width: 24px;
  height: 24px;
}

.acad-pedagogy-content {
  flex: 1;
}

.acad-pedagogy-card-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: #17366B;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.acad-pedagogy-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

/* Three Dash Indicator */
.acad-three-dashes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.acad-dash {
  height: 3.5px;
  border-radius: 2px;
}

.acad-dash-blue {
  width: 28px;
  background-color: #38BDF8;
}

.acad-dash-red {
  width: 28px;
  background-color: #EF4444;
}

.acad-dash-cyan {
  width: 28px;
  background-color: #38BDF8;
}

/* ==========================================================================
   PREMIUM REDESIGNED FOOTER (Matching Reference Photo 2)
   ========================================================================== */
.site-footer {
  background-color: #E7F5FD;
  position: relative;
  overflow: hidden;
  margin-top: auto;
  color: #334155;
  border-top: 1px solid #D5E8F8;
}

.footer-upper {
  padding: 4rem 0 3.25rem;
  position: relative;
  z-index: 2;
  background: #E7F5FD;
}

.footer-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid-modern {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1.25fr;
  align-items: stretch;
}

/* Column 1: School Branding */
.footer-col-brand {
  padding-right: 2.75rem;
  border-right: 1px solid rgba(2, 132, 199, 0.15);
  display: flex;
  flex-direction: column;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.footer-logo-circle-wrap {
  width: 78px;
  height: 78px;
  min-width: 78px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(23, 54, 107, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.footer-brand-header:hover .footer-logo-circle-wrap {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(23, 54, 107, 0.18);
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

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

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #17366B;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
}

.footer-brand-tagline {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #2468C9;
  margin-top: 0.35rem;
  line-height: 1.35;
}

.footer-dual-accent {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.65rem;
}

.footer-accent-blue {
  width: 32px;
  height: 3px;
  background-color: #2468C9;
  border-radius: 2px;
}

.footer-accent-red {
  width: 16px;
  height: 3px;
  background-color: #EF4444;
  border-radius: 2px;
}

.footer-about-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.68;
  color: #475569;
  margin-top: 1.15rem;
  margin-bottom: 1.25rem;
  max-width: 360px;
}

.footer-school-illustration-wrap {
  margin-top: auto;
  padding-top: 0.75rem;
}

.footer-school-vector-img {
  max-width: 220px;
  height: auto;
  display: block;
}

/* Columns 2 & 3: Links */
.footer-col-links {
  padding: 0 2.25rem;
  border-right: 1px solid #E2E8F0;
}

.footer-col-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.badge-icon-blue {
  background-color: #E0F2FE;
  color: #0284C7;
}

.badge-icon-green {
  background-color: #DCFCE7;
  color: #16A34A;
}

.badge-icon-purple {
  background-color: #F3E8FF;
  color: #9333EA;
}

.footer-col-badge-icon svg {
  width: 20px;
  height: 20px;
}

.footer-heading-modern {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: #17366B;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.01em;
}

.footer-heading-bar-blue {
  width: 34px;
  height: 3px;
  background-color: #2468C9;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.footer-heading-bar-green {
  width: 34px;
  height: 3px;
  background-color: #16A34A;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.footer-heading-bar-purple {
  width: 34px;
  height: 3px;
  background-color: #9333EA;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-link-item a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0;
  color: #17366B;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-item a:hover {
  color: #2468C9;
  transform: translateX(4px);
}

.footer-chevron {
  font-weight: 800;
  font-size: 0.9rem;
  color: #2468C9;
}

/* Column 4: School Office */
.footer-col-office {
  padding-left: 2.75rem;
}

.footer-office-items {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-office-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-office-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #E0F2FE;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-office-icon-circle svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-office-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.footer-office-text strong {
  font-size: 0.92rem;
  color: #17366B;
  font-weight: 700;
  display: block;
  margin-bottom: 0.15rem;
}

.footer-office-link {
  color: #17366B;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-office-link:hover {
  color: #2468C9;
}

.footer-office-pending {
  color: #64748B;
  font-style: italic;
  font-size: 0.85rem;
}

/* Slogan: Learn • Grow • Succeed with red curved stroke */
.footer-motto-wrap {
  margin-top: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-motto-script {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #1E40AF;
  letter-spacing: 0.02em;
}

.footer-motto-red-curve {
  margin-top: -6px;
}

/* Bottom Navy Wave Bar */
.footer-bottom-navy {
  background-color: #0A3370;
  color: #E2E8F0;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.75rem;
}

.footer-bottom-navy-wave {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.footer-bottom-navy-wave svg {
  display: block;
  width: 100%;
  height: 18px;
}

.footer-bottom-navy-content {
  padding-top: 0.35rem;
}

.footer-bottom-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-navy .footer-copyright {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-bottom-navy .footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-navy .footer-bottom-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-navy .footer-bottom-nav a:hover {
  color: #FBBF24;
  text-decoration: underline;
}

.footer-bottom-navy .footer-bottom-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
}

.footer-social-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.5rem;
}

.footer-social-btn-white {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-btn-white:hover {
  background-color: #FFFFFF;
  color: #0A3370;
  transform: translateY(-2px);
}

.footer-social-btn-white svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  /* Completely hide topbar on mobile and tablet so page starts directly from header */
  .topbar {
    display: none !important;
  }

  .hero-inner-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  .hero-content-col {
    max-width: 100%;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-heading-redesign {
    font-size: 2.15rem;
  }
  .hero-school-title {
    font-size: 2.05rem;
  }
  .hero-decorative-underline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions-redesign {
    justify-content: center;
  }
  .hero-media-col {
    justify-content: center;
    width: 100%;
    min-height: auto;
    height: auto;
  }
  .hero-curved-frame {
    clip-path: none;
    -webkit-clip-path: none;
    border-radius: 20px;
    height: auto;
    min-height: auto;
    max-width: 580px;
    margin: 0 auto;
  }
  .hero-curved-ring {
    display: none;
  }
  .hero-media-col .hero-building-img {
    min-height: auto;
    height: auto;
    border-radius: 20px;
  }
  .floating-features-wrapper {
    margin-top: -30px;
  }
  .floating-features-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .floating-feature-sep {
    width: 100%;
    height: 1px;
  }
  .foundation-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .foundation-decor-dots,
  .foundation-decor-polygon {
    display: none;
  }
  .foundation-title {
    font-size: 2.25rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image-card img {
    height: 360px;
  }
  .footer-grid-modern {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
    column-gap: 2.5rem;
  }
  .curriculum-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .curriculum-pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .footer-col-brand,
  .footer-col-links,
  .footer-col-office {
    padding: 0;
    border-right: none;
  }
  .footer-foliage-left,
  .footer-foliage-right {
    opacity: 0.35;
    width: 120px;
    height: 180px;
  }
  .academics-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .academics-hero-desc {
    margin: 0 auto 1.25rem;
  }
  .acad-stages-grid {
    gap: 1.5rem;
  }
  .acad-pedagogy-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--royal);
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link.active::after {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  /* Completely remove topbar on mobile and tablet so page starts directly from header */
  .topbar {
    display: none !important;
  }

  .lead-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-redesign {
    padding: 1.5rem 0 3.5rem 0;
  }

  .hero-heading-redesign {
    font-size: 2.25rem;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .curriculum-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .curriculum-pillars-card {
    padding: 1.75rem 1.25rem;
  }

  .footer-grid-modern {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-upper {
    padding: 3.5rem 0 2.5rem;
  }
  .footer-brand-header {
    gap: 0.85rem;
  }
  .footer-logo-circle-wrap {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }
  .footer-logo-img {
    width: 100%;
    height: 100%;
  }
  .footer-brand-name {
    font-size: 1.45rem;
  }
  .footer-building-art-wrap {
    display: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom-nav {
    justify-content: center;
  }
  .footer-foliage {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-heading-redesign {
    font-size: 1.95rem;
  }

  .hero-heading-row {
    white-space: normal;
  }

  .lead-card {
    grid-template-columns: 1fr;
  }

  .lead-card-media {
    min-height: 280px;
    height: 280px;
    order: -1;
  }

  .lead-card-text {
    padding: 1.75rem 1.25rem;
  }

  .hero-actions-redesign {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .foundation-title {
    font-size: 1.85rem;
  }

  .foundation-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-blue-rounded,
  .btn-outline-blue-rounded {
    width: 100%;
    justify-content: center;
  }

  .footer-brand-name {
    font-size: 1.35rem;
  }
  .footer-brand-tagline {
    font-size: 0.82rem;
  }
  .footer-brand-divider {
    height: 52px;
  }
  .footer-bottom-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-bottom-sep {
    display: none;
  }
}

/* ==========================================================================
   Google Maps Interactive Direct Directions Card
   ========================================================================== */
.map-interactive-banner {
  display: block;
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background-color: #e5edf0;
  border: 1px solid #d1dbe2;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.map-interactive-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(23, 54, 107, 0.16);
}

.map-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-pin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.map-card-popup {
  background: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid #E2E8F0;
  text-align: center;
  white-space: nowrap;
  margin-bottom: 8px;
  position: relative;
  transition: transform 0.25s ease;
}

.map-interactive-banner:hover .map-card-popup {
  transform: translateY(-4px) scale(1.03);
}

.map-card-popup::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
}

.map-popup-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #17366B;
  line-height: 1.2;
}

.map-popup-sub {
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 2px;
}

.map-pin-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin-pulse-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.35);
  animation: mapPulse 2s infinite ease-out;
}

@keyframes mapPulse {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.map-pin-svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
}

.map-action-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: #17366B;
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(23, 54, 107, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.map-interactive-banner:hover .map-action-badge {
  background: #C8102E;
  transform: scale(1.05);
}

.map-road-label {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  color: #718096;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ==========================================================================
   Photo 2 Styled School Location Map Card Component
   ========================================================================== */
.map-photo2-card {
  display: block;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background-color: #102c66;
  border: 1px solid #cbd5e1;
  box-shadow: 0 16px 40px -10px rgba(16, 44, 102, 0.22), 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-photo2-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -10px rgba(16, 44, 102, 0.28), 0 4px 14px rgba(0, 0, 0, 0.08);
}

.map-photo2-viewport {
  display: block;
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.map-photo2-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-photo2-open-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 4;
  background: #ffffff;
  color: #1e40af;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.map-photo2-open-badge:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.map-photo2-pin-pulse {
  position: absolute;
  top: 61%;
  left: 84%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(228, 28, 35, 0.4);
  pointer-events: none;
  animation: mapPhotoPulse 2s infinite ease-out;
  z-index: 3;
}

@keyframes mapPhotoPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

.map-photo2-controls {
  position: absolute;
  bottom: 12px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.map-photo2-ctrl-btn {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.map-photo2-bar {
  background: #102c66;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.map-photo2-info {
  flex: 1;
  min-width: 280px;
}

.map-photo2-title {
  color: #f2c934;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem 0;
  line-height: 1.25;
}

.map-photo2-addr {
  color: #cbd5e1;
  font-size: 0.94rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
}

.map-photo2-btn {
  background: #e41c23;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  padding: 0.78rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(228, 28, 35, 0.4);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.map-photo2-btn:hover {
  background: #c8181e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(228, 28, 35, 0.55);
}

/* ==========================================================================
   Comprehensive Mobile View & Responsiveness Optimization Suite
   Guarantees:
   1. Absolutely ZERO horizontal scrolling on any phone screen (320px - 768px)
   2. All elements and sections fit within screen boundaries cleanly
   3. Photos are beautifully scaled, proportioned, and responsive
   4. Hero building photograph displays front-view uploaded photo on mobile
   5. Two-column sections collapse gracefully to 1-column on mobile
   ========================================================================== */

/* Universal Responsive Two-Column Collapse */
@media (max-width: 992px) {
  .responsive-two-col {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
}

/* Tablet & Mobile Media Queries (<= 768px) */
@media (max-width: 768px) {
  /* Prevent horizontal scroll leaking without breaking sticky positioning */
  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Container & Section Padding - Tightened to remove unwanted gaps on mobile */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .section-sm {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .section-foundation {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .section-leadership-modern {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .section-header {
    margin: 0 auto 1rem auto !important;
  }

  .lead-section-header {
    margin-bottom: 1rem !important;
  }

  .foundation-header {
    margin-bottom: 0.85rem !important;
  }

  .foundation-title {
    font-size: clamp(1.4rem, 4.6vw, 1.8rem) !important;
    margin-bottom: 0.45rem !important;
    font-weight: 800 !important;
  }

  .foundation-body {
    font-size: 0.94rem !important;
    margin-bottom: 0.85rem !important;
  }

  .foundation-actions {
    margin-top: 0.85rem !important;
  }

  .section-title {
    font-size: clamp(1.45rem, 4.8vw, 1.85rem) !important;
    margin-bottom: 0.35rem !important;
  }

  .section-subtitle {
    font-size: 0.92rem !important;
    margin-bottom: 0.85rem !important;
  }

  .header-inner {
    padding: 0.65rem 0 !important;
  }

  /* ==========================================================================
     1. Mobile Header (Matching Reference Photo 1)
     - Increased header height with comfortable padding
     - Enlarged circular logo
     - Navy school name + vibrant green location text
     - Rounded rectangle hamburger menu toggle
     ========================================================================== */
  .site-header {
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 14px rgba(12, 50, 111, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .site-header .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .header-inner {
    padding: 0.85rem 0 !important; /* Increased header height */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }

  .brand-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    text-decoration: none !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .brand-logo {
    width: 58px !important; /* Increased logo size */
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 3px 8px rgba(12, 50, 111, 0.16)) !important;
    flex-shrink: 0 !important;
  }

  .brand-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    justify-content: center !important;
  }

  .brand-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.15rem, 3.8vw, 1.35rem) !important;
    font-weight: 900 !important;
    color: #0C326F !important; /* Deep navy matching Photo 1 */
    line-height: 1.15 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .brand-location {
    font-family: var(--font-heading) !important;
    font-size: clamp(0.74rem, 2.4vw, 0.82rem) !important;
    font-weight: 800 !important;
    color: #16A34A !important; /* Vibrant green matching Photo 1 */
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
  }

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

  .header-actions .btn {
    display: none !important; /* Hide desktop admission pill in header on mobile */
  }

  /* Hamburger toggle matching Photo 1 */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important; /* Clean rounded card border */
    border-radius: 12px !important; /* Rounded corners matching Photo 1 */
    box-shadow: 0 2px 6px rgba(15, 33, 71, 0.06) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle[aria-expanded="true"] {
    background: #F1F5F9 !important;
    border-color: #94A3B8 !important;
  }

  .mobile-nav-toggle svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #0C326F !important;
    stroke-width: 2.4 !important;
  }

  /* Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 78px; /* Taller header height */
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.25rem 1rem;
    box-shadow: 0 14px 30px rgba(15, 33, 71, 0.15);
    border-bottom: 3px solid var(--royal);
    z-index: 9999;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
  }

  .nav-menu.is-open {
    display: flex !important;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 1.05rem;
  }

  /* ==========================================================================
     2. Restored Mobile Hero Section (Previous Curved Building Design)
     - Clean responsive typography, red badge, CTA buttons, and curved school image
     - Restored floating features bar on mobile
     ========================================================================== */
  .hero-redesign {
    padding: 0 0 1.5rem 0 !important;
    background: #FFFFFF !important;
  }

  .hero-inner-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-two-col {
    min-height: auto !important;
    gap: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-content-col {
    min-height: calc(100svh - 85px) !important;
    min-height: calc(100vh - 85px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: 1.25rem !important;
    padding-bottom: 2rem !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
  }

  .hero-welcome-text {
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: #D92534 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
  }

  .hero-welcome-text strong {
    font-weight: 900 !important;
  }

  .hero-heading-redesign {
    font-size: clamp(1.85rem, 5.8vw, 2.35rem) !important;
    line-height: 1.22 !important;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-school-title {
    font-size: clamp(2rem, 6.2vw, 2.45rem) !important;
    font-weight: 900 !important;
    display: block !important;
    margin-bottom: 0.4rem !important;
    letter-spacing: -0.01em !important;
  }

  .hero-heading-redesign .hero-heading-row:not(.hero-school-title) {
    font-size: clamp(1.68rem, 5.2vw, 2.1rem) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    display: block !important;
  }

  .hero-decorative-underline {
    margin-top: 0.4rem !important;
    margin-bottom: 1.25rem !important;
    display: flex !important;
  }

  .hero-decorative-underline svg {
    width: 100px !important;
    height: 12px !important;
  }

  .hero-desc-redesign {
    font-size: 1.06rem !important;
    line-height: 1.68 !important;
    color: #334155 !important;
    margin-bottom: 1.85rem !important;
  }

  .hero-actions-redesign {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
  }

  .hero-actions-redesign .btn-hero {
    width: 100% !important;
    font-size: 1.05rem !important;
    padding: 0.95rem 1.4rem !important;
    font-weight: 700 !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 14px rgba(217, 37, 52, 0.22) !important;
  }

  .hero-actions-redesign .btn-outline-navy-pill {
    box-shadow: 0 4px 14px rgba(12, 50, 111, 0.08) !important;
  }

  .hero-media-col {
    width: 100% !important;
    margin-top: 2.75rem !important;
    padding-bottom: 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
    min-height: auto !important;
    height: auto !important;
  }

  .hero-curved-frame {
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(12, 50, 111, 0.12) !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    margin: 0 auto !important;
  }

  .hero-curved-ring {
    display: none !important;
  }

  .hero-media-col .hero-building-img {
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 20px !important;
  }

  .floating-features-wrapper {
    display: block !important;
    margin-top: -10px !important;
    margin-bottom: 0.25rem !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .floating-features-card {
    flex-direction: column !important;
    gap: 0.65rem !important;
    padding: 0.85rem 0.85rem !important;
    border-radius: 16px !important;
  }

  .floating-feature-sep {
    display: none !important;
  }

  /* ==========================================================================
     3. Messages from Leadership: Fixed Principal & Correspondent Photos
     - Seamless edge-to-edge photo framing with zero gap below Principal desk
     - Full-width coverage without grey sidebars or blank space
     - Correspondent: Full photo view on mobile (811x1024 portrait)
     - Principal: Retains perfect 285px desk framing with center 22%
     ========================================================================== */
  .lead-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  .lead-card {
    grid-template-columns: 1fr !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(12, 50, 111, 0.08) !important;
    margin-bottom: 0 !important;
  }

  /* Principal Photo & Default: Exactly as requested ("principal be like that only") */
  .lead-card-media,
  .lead-card-media-principal {
    width: 100% !important;
    height: 285px !important;
    min-height: 285px !important;
    max-height: 285px !important;
    aspect-ratio: unset !important;
    order: -1 !important;
    display: block !important;
    position: relative !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .lead-card-media .lead-card-img,
  .lead-card-media img,
  .lead-card-media-principal .lead-card-img,
  .lead-card-media-principal img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .lead-card-media img[src*="Principal" i],
  .lead-card-media-principal img {
    object-position: center 22% !important;
  }

  /* Correspondent Photo: Full portrait display on mobile (head, saree, hands & desk visible) */
  .lead-card-media.lead-card-media-correspondent {
    width: 100% !important;
    height: auto !important;
    min-height: 440px !important;
    max-height: 490px !important;
    aspect-ratio: 811 / 1024 !important;
    order: -1 !important;
    display: block !important;
    position: relative !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .lead-card-media.lead-card-media-correspondent .lead-card-img,
  .lead-card-media.lead-card-media-correspondent img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .lead-card-text {
    padding: 1.35rem 1.15rem !important;
  }

  .lead-card-name {
    font-size: 1.25rem !important;
    margin-bottom: 0.25rem !important;
  }

  .lead-card-role {
    font-size: 0.78rem !important;
    margin-bottom: 0.75rem !important;
  }

  .lead-card-quote {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.15rem !important;
  }

  .lead-role-badge {
    bottom: 12px !important;
    right: 12px !important;
    z-index: 2 !important;
    box-shadow: 0 4px 12px rgba(15, 33, 71, 0.28) !important;
  }

  .gallery-scroller-btn-wrap {
    margin-top: 1.5rem !important;
  }

  /* About Page Leadership Detailed Cards */
  .lead-detail-card {
    grid-template-columns: 1fr !important;
    border-radius: 18px !important;
  }

  .lead-detail-media {
    height: 340px !important;
    min-height: 340px !important;
  }

  .lead-detail-media img {
    object-fit: contain !important;
    object-position: center top !important;
    background: #F8FAFC !important;
  }

  .lead-detail-content {
    padding: 1.65rem 1.25rem !important;
  }

  /* ==========================================================================
     4. Gallery Scroller: Substantially Increased Photo Sizes
     ========================================================================== */
  .gallery-scroller-wrap {
    padding: 0.5rem 0 1.25rem !important;
  }

  .gallery-scroll-item {
    flex: 0 0 325px !important; /* Increased from 290px/250px */
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(12, 50, 111, 0.12) !important;
    margin-right: 1.15rem !important;
  }

  .gallery-scroll-img-wrap {
    height: 225px !important; /* Increased from 195px/170px */
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .gallery-scroll-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 18px !important;
  }

  /* Photo Cards & Grids on Mobile */
  .photo-grid {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
  }

  .photo-card {
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .photo-wrapper {
    aspect-ratio: 16 / 10 !important;
  }

  .photo-wrapper img {
    border-radius: 16px 16px 0 0 !important;
  }

  /* Foundation Section Corridor Photo */
  .foundation-image-card {
    border-radius: 16px !important;
    border-width: 3px !important;
  }

  .foundation-corridor-img {
    height: 240px !important;
    object-position: center !important;
  }

  /* Infrastructure Hero & Amenity Grid */
  .infra-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }

  .infra-card-img {
    height: 240px !important;
    object-position: center top !important;
  }

  .amenity-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Forms & Input Cards */
  .form-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: 16px !important;
  }

  /* Map Card on Mobile */
  .map-photo2-viewport {
    height: 300px !important;
  }

  .map-photo2-bar {
    padding: 1.15rem 1.15rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }

  .map-photo2-title {
    font-size: 1.15rem !important;
  }

  .map-photo2-addr {
    font-size: 0.88rem !important;
  }

  .map-photo2-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1.25rem !important;
  }

  .gallery-filter-btn {
    font-size: 0.82rem !important;
    padding: 0.45rem 0.9rem !important;
  }

  /* ==========================================================================
     5. Text Sizes & Typography Across All Pages on Mobile
     ========================================================================== */
  h1, .h1 {
    font-size: clamp(1.8rem, 5.4vw, 2.2rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }

  h2, .h2, .section-title, .foundation-title, .lead-section-title {
    font-size: clamp(1.48rem, 4.4vw, 1.85rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
  }

  h3, .h3, .feature-title, .photo-title, .lead-card-name, .acad-stage-title {
    font-size: clamp(1.15rem, 3.4vw, 1.35rem) !important;
    line-height: 1.3 !important;
  }

  .section-subtitle, .lead-section-subtitle, .foundation-subtitle {
    font-size: clamp(0.92rem, 2.6vw, 0.98rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.75rem !important;
  }

  .page-hero-title {
    font-size: clamp(1.9rem, 5.8vw, 2.4rem) !important;
    line-height: 1.18 !important;
  }

  .page-hero-desc {
    font-size: clamp(0.94rem, 2.8vw, 1.02rem) !important;
    line-height: 1.6 !important;
  }

  p, .foundation-body, .feature-desc, .lead-card-quote {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }

  .section-badge, .lead-badge, .foundation-badge {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    padding: 0.35rem 0.85rem !important;
  }

  /* ==========================================================================
     6. Mobile Footer Polish
     ========================================================================== */
  .footer-upper {
    padding: 2.75rem 0 2rem !important;
  }

  .footer-grid-modern {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.25rem !important;
  }

  .footer-col-brand {
    text-align: left !important;
    padding: 0 !important;
    border-right: none !important;
  }

  .footer-brand-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
  }

  .footer-logo-circle-wrap {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(12, 50, 111, 0.12) !important;
  }

  .footer-brand-name {
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    color: #0C326F !important;
    line-height: 1.2 !important;
  }

  .footer-brand-tagline {
    font-size: 0.85rem !important;
    color: #1D68D8 !important;
    font-weight: 600 !important;
    margin-top: 3px !important;
  }

  .footer-about-text {
    font-size: 0.92rem !important;
    line-height: 1.62 !important;
    color: #475569 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    max-width: 100% !important;
  }

  .footer-school-illustration-wrap {
    display: flex !important;
    justify-content: flex-start !important;
    max-width: 170px !important;
    margin: 0.5rem 0 0 0 !important;
  }

  .footer-school-vector-img {
    max-width: 170px !important;
    height: auto !important;
  }

  .footer-col-links {
    padding: 1.75rem 0 0 0 !important;
    border-right: none !important;
    border-top: 1px solid #E2E8F0 !important;
  }

  .footer-link-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    gap: 0.65rem 1rem !important;
  }

  .footer-link-item a {
    padding: 0.35rem 0 !important;
    font-size: 0.94rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
  }

  .footer-col-office {
    padding: 1.75rem 0 0 0 !important;
    border-top: 1px solid #E2E8F0 !important;
  }

  .footer-office-items {
    gap: 1rem !important;
  }

  .footer-office-row {
    gap: 0.85rem !important;
  }

  .footer-office-text {
    font-size: 0.92rem !important;
  }

  .footer-motto-wrap {
    margin-top: 1.25rem !important;
    align-items: flex-start !important;
  }

  .footer-motto-script {
    font-size: 1.75rem !important;
  }

  /* Bottom Navy Footer Bar */
  .footer-bottom-navy {
    padding: 1.75rem 0 !important;
  }

  .footer-bottom-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.15rem !important;
    align-items: center !important;
  }

  .footer-copyright {
    font-size: 0.86rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.5 !important;
  }

  .footer-bottom-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.65rem 0.85rem !important;
    font-size: 0.85rem !important;
  }

  .footer-bottom-sep {
    display: inline-block !important;
    color: rgba(255, 255, 255, 0.35) !important;
  }

  .footer-social-group {
    display: flex !important;
    justify-content: center !important;
    gap: 0.85rem !important;
    margin-top: 0.25rem !important;
  }

  .footer-social-btn-white {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Extra Small Phones (<= 576px) */
@media (max-width: 576px) {
  /* Keep header spacious and logo prominently sized */
  .site-header .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .header-inner {
    padding: 0.8rem 0 !important;
  }

  .brand-wrapper {
    gap: 0.75rem !important;
    min-width: 0 !important;
  }

  .brand-logo {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
  }

  .brand-title {
    font-size: 1.2rem !important;
    letter-spacing: 0.02em !important;
  }

  .brand-location {
    font-size: 0.76rem !important;
  }

  /* Full-width tap-friendly buttons */
  .infra-hero-actions,
  .foundation-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .btn-blue-rounded,
  .btn-outline-blue-rounded,
  .btn-outline-navy-pill,
  .btn-red-pill {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .map-photo2-viewport {
    height: 250px !important;
  }

  .gallery-scroll-item {
    flex: 0 0 84vw !important;
    max-width: 335px !important;
    min-width: 290px !important;
  }

  .gallery-scroll-img-wrap {
    height: 220px !important;
  }

  /* Footer compact on small screens */
  .footer-brand-name {
    font-size: 1.35rem !important;
  }

  .footer-brand-tagline {
    font-size: 0.82rem !important;
  }
}

/* Very narrow phones (<= 380px) */
@media (max-width: 380px) {
  .header-inner {
    padding: 0.75rem 0 !important;
  }

  .brand-logo {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }

  .brand-title {
    font-size: 1.08rem !important;
  }

  .brand-location {
    font-size: 0.7rem !important;
  }

  .mobile-nav-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
  }

  .hero-mobile-title {
    font-size: 1.7rem !important;
  }

  .hero-mobile-feat-circle {
    width: 50px !important;
    height: 50px !important;
  }

  .hero-mobile-feat-label {
    font-size: 0.74rem !important;
  }
}

/* ==========================================================================
   Dynamic Entrance Animations, Scroll Reveals & Interactive Micro-Effects
   - Hardware-accelerated CSS animations for a lively, engaging experience
   - Smooth staggered entrance when opening the website
   - Scroll-triggered reveals using IntersectionObserver
   - Subtle ambient floating effects on background elements
   - Responsive micro-interactions and button elevations
   ========================================================================== */

/* Keyframe Definitions */
@keyframes vhsFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vhsScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes vhsFloatingSlow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.2deg);
  }
}

@keyframes vhsUnderlineDraw {
  0% {
    stroke-dashoffset: 95;
    opacity: 0.3;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Hero Section Entrance on Page Load */
.hero-welcome-text {
  animation: vhsFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-heading-redesign {
  animation: vhsFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-decorative-underline svg path {
  stroke-dasharray: 95;
  stroke-dashoffset: 0;
  animation: vhsUnderlineDraw 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-desc-redesign {
  animation: vhsFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-actions-redesign {
  animation: vhsFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-media-col {
  animation: vhsScaleIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.floating-features-wrapper {
  animation: vhsFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Ambient Floating Micro-Animations on Background Shapes */
.hero-shape-circle-1,
.foundation-shape-curve-left {
  animation: vhsFloatingSlow 7.5s ease-in-out infinite !important;
}

.hero-shape-circle-2,
.lead-shape-glow-left {
  animation: vhsFloatingSlow 9.5s ease-in-out infinite reverse !important;
}

/* Scroll-Triggered Reveal Animations: Vertical Lift */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Scroll-Triggered Reveal Animations: Right-to-Left Slide for Headings & Text */
.reveal-rtl-init {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-rtl-init.reveal-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Cascade delays for section headers across all pages */
.section-badge.reveal-rtl-init,
.lead-badge.reveal-rtl-init,
.foundation-badge.reveal-rtl-init,
.page-hero-badge.reveal-rtl-init,
.about-hero-badge.reveal-rtl-init,
.acad-badge-pill.reveal-rtl-init,
.stage-badge.reveal-rtl-init {
  transform: translateX(20px);
  transition-delay: 0.04s;
}

.section-title.reveal-rtl-init,
.lead-section-title.reveal-rtl-init,
.foundation-title.reveal-rtl-init,
.acad-section-title.reveal-rtl-init,
.page-hero-title.reveal-rtl-init,
.about-hero-title.reveal-rtl-init,
.academics-hero-title.reveal-rtl-init,
.acad-stage-header.reveal-rtl-init,
.lead-detail-title.reveal-rtl-init,
.contact-title.reveal-rtl-init {
  transform: translateX(35px);
  transition-delay: 0.12s;
}

.section-subtitle.reveal-rtl-init,
.lead-section-subtitle.reveal-rtl-init,
.foundation-desc.reveal-rtl-init,
.page-hero-desc.reveal-rtl-init,
.about-hero-desc.reveal-rtl-init,
.academics-hero-desc.reveal-rtl-init,
.hero-desc-redesign.reveal-rtl-init {
  transform: translateX(25px);
  transition-delay: 0.2s;
}

/* Staggered transition delays for lists & grids across all pages */
.reveal-delay-1 { transition-delay: 0.09s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.27s; }
.reveal-delay-4 { transition-delay: 0.36s; }
.reveal-delay-5 { transition-delay: 0.45s; }

/* Enhanced Button Interactive Transitions & Micro-Interactions */
.btn {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(1);
}

.btn-hero svg:last-child,
.btn-royal svg:last-child,
.btn-lead-outline svg {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero:hover svg:last-child,
.btn-royal:hover svg:last-child,
.btn-lead-outline:hover svg {
  transform: translateX(5px) !important;
}

/* ==========================================================================
   Universal Photo Animations, Transitions & Visual Effects Across All Pages
   ========================================================================== */

/* 1. Photo Containers: ensure overflow clipping for smooth zoom */
.photo-card,
.lead-card-media,
.lead-detail-media,
.infra-card,
.foundation-corridor-card,
.gallery-photo-card,
.stat-card,
.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
  will-change: transform, box-shadow;
}

/* 2. Photo Hover Zoom with smooth easing */
.photo-card img,
.lead-card-img,
.lead-detail-photo,
.foundation-corridor-img,
.infra-card img,
.gallery-photo-img,
.photo-gallery-item img {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
  will-change: transform;
}

.photo-card:hover img,
.lead-card:hover .lead-card-img,
.lead-detail-card:hover .lead-detail-photo,
.foundation-corridor-card:hover .foundation-corridor-img,
.infra-card:hover img,
.gallery-photo-card:hover .gallery-photo-img,
.photo-gallery-item:hover img {
  transform: scale(1.055);
  filter: brightness(1.02);
}

/* 3. Card Elevation & Ambient Soft Shadow on Hover */
.lead-card,
.lead-detail-card,
.photo-card,
.infra-card,
.foundation-corridor-card,
.curriculum-card,
.acad-stage-card,
.pedagogy-card,
.admission-step-card,
.contact-card,
.stat-card,
.faq-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.lead-card:hover,
.lead-detail-card:hover,
.photo-card:hover,
.infra-card:hover,
.foundation-corridor-card:hover,
.contact-card:hover,
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(12, 50, 111, 0.14) !important;
}

.acad-stage-card:hover,
.curriculum-card:hover,
.pedagogy-card:hover,
.admission-step-card:hover {
  transform: translateY(-4px);
  border-color: #2563EB !important;
  box-shadow: 0 12px 28px rgba(12, 50, 111, 0.10) !important;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(12, 50, 111, 0.09) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
}

/* 4. Photo Light Sheen / Glass Sweep Effect on Card Hover */
.photo-card::after,
.infra-card::after,
.foundation-corridor-card::after,
.gallery-photo-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
  z-index: 3;
}

.photo-card:hover::after,
.infra-card:hover::after,
.foundation-corridor-card:hover::after,
.gallery-photo-card:hover::after {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 5. Hero Building Photo Hover & Elevation */
.hero-curved-frame {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease !important;
  will-change: transform;
}

.hero-curved-frame:hover {
  transform: scale(1.018);
  box-shadow: 0 20px 48px rgba(12, 50, 111, 0.16);
}

.hero-building-img {
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
}

.hero-curved-frame:hover .hero-building-img {
  transform: scale(1.035);
}

/* 6. Text Badges Micro-Interactions */
.section-badge,
.foundation-badge,
.lead-badge,
.about-hero-badge,
.acad-badge-pill,
.lead-photo-pill,
.lead-role-badge,
.topbar-badge-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease !important;
  will-change: transform;
}

.section-badge:hover,
.foundation-badge:hover,
.lead-badge:hover,
.about-hero-badge:hover,
.acad-badge-pill:hover,
.topbar-badge-pill:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 14px rgba(12, 50, 111, 0.16);
}

/* 7. Floating Feature Icons & Interactive circles */
.floating-feature-circle {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}

.floating-feature-col:hover .floating-feature-circle {
  transform: scale(1.10) rotate(4deg);
  box-shadow: 0 8px 20px rgba(12, 50, 111, 0.18) !important;
}

/* 8. Lightbox modal opening scale-in animation */
.lightbox-modal.is-active .lightbox-content {
  animation: lightboxScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lightboxScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-init,
  .reveal-rtl-init {
    opacity: 1 !important;
    transform: none !important;
  }
}



