/* ==========================================================================
   Joyous Montessori - Master Design System & Unified Stylesheet
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #124B88;
  --primary-dark: #0A3260;
  --primary-light: #2575C8;
  --primary-soft: #EAF2FB;

  --secondary: #E86C28;
  --secondary-hover: #D05917;
  --secondary-soft: #FFF2EB;

  --accent-gold: #F59E0B;
  --accent-gold-soft: #FEF3C7;
  --accent-green: #10B981;
  --accent-green-soft: #ECFDF5;
  --accent-teal: #0D9488;
  --accent-purple: #8B5CF6;

  /* Neutrals */
  --bg-main: #FFFFFF;
  --bg-soft: #F9FAFC;
  --bg-warm: #FFFDF9;
  --bg-card: #FFFFFF;

  --text-dark: #0A3260;
  --text-body: #374151;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-card: rgba(226, 232, 240, 0.8);

  /* Section Spacing Standard Tokens */
  --section-spacing: 5.5rem;
  --section-spacing-tablet: 4.5rem;
  --section-spacing-mobile: 3.5rem;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(18, 75, 136, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 75, 136, 0.08);
  --shadow-lg: 0 16px 36px rgba(18, 75, 136, 0.12);
  --shadow-xl: 0 24px 48px rgba(18, 75, 136, 0.16);
  --shadow-warm: 0 12px 30px rgba(232, 108, 40, 0.18);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Container */
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  max-width: 100vw;
  font-size: 16px;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

p {
  color: var(--text-body);
}

.content-card p,
.page-main-content p,
.section-header p,
.section-intro p {
  color: var(--text-body);
}

.site-footer p,
.footer-brand p,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.85) !important;
}

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

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

/* Ensure all button variants preserve their exact colors */
.btn-primary,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus {
  color: #FFFFFF !important;
}

.btn-secondary,
a.btn-secondary,
a.btn-secondary:link,
a.btn-secondary:visited,
a.btn-secondary:hover,
a.btn-secondary:focus {
  color: #FFFFFF !important;
}

.btn-outline,
a.btn-outline,
a.btn-outline:link,
a.btn-outline:visited {
  color: var(--primary, #124B88) !important;
}
.btn-outline:hover,
a.btn-outline:hover,
a.btn-outline:focus {
  color: var(--primary-dark, #0A3260) !important;
  background: var(--primary-soft, #EAF2FB) !important;
}

ul {
  list-style: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Global Section Padding (Exact Uniform Vertical Spacing) */
.section-padding {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

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

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(18, 75, 136, 0.15);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-pill.pill-orange {
  color: #C2410C;
  background: #FFF7ED;
  border-color: #FFEDD5;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.section-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 680px;
}

/* Legacy Top Utility Bar - Hidden Globally to ensure compact 96px header */
.top-bar {
  display: none !important;
}

/* ==========================================================================
   Site Header - Unified Brand Header (Exact Match Across All Pages)
   ========================================================================== */
body.jm-homepage { margin-top: 0; padding-top: 0 !important; }

.site-header,
#header.jm-header {
  --jm-blue: #0063bf;
  --jm-navy: #103f76;
  --jm-orange: #e65e18;
  --jm-header-height: 176px;
  --jm-strip-height: 31px;
  --jm-wing-width: 420px;
  position: sticky !important;
  inset: 0 auto auto 0;
  top: 0;
  z-index: 1000;
  display: block !important;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  height: var(--jm-header-height) !important;
  min-height: var(--jm-header-height);
  margin: 0;
  padding: 0 !important;
  background: #fff !important;
  border: 0;
  box-shadow: 0 2px 12px rgb(15 63 118 / 6%);
  font-family: 'Outfit', 'Plus Jakarta Sans', Arial, sans-serif;
  transform: none !important;
  transition: box-shadow 0.25s ease;
}

.site-header *,
#header.jm-header * { box-sizing: border-box; }
.site-header a, #header.jm-header a { text-decoration: none; }
.site-header button, #header.jm-header button { font: inherit; cursor: pointer; }
.site-header svg, #header.jm-header svg { display: block; flex-shrink: 0; }
.site-header :is(a, button):focus-visible,
#header.jm-header :is(a, button):focus-visible { outline: 3px solid #ffad48; outline-offset: 4px; }

/* Utility Band (Top Blue Strip) */
.site-header .jm-utility-band,
#header .jm-utility-band {
  position: absolute; inset: 0 0 auto;
  height: var(--jm-strip-height);
  background: var(--jm-blue);
  border-bottom: 2.4px solid #ff942b;
}

/* Brand Curved Wing */
.site-header .jm-brand-wing,
#header .jm-brand-wing {
  position: absolute; inset: 0 auto 0 0;
  z-index: 10; width: var(--jm-wing-width); height: 100%;
  pointer-events: none;
}
.site-header .jm-brand-art,
#header .jm-brand-art { width: 100%; height: 100%; display: block; pointer-events: none; }

.site-header .jm-brand-link,
#header .jm-brand-link {
  position: absolute;
  top: 45%;
  left: 47%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  width: auto; gap: 7px; color: #fff;
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.site-header .jm-brand-link:hover,
#header .jm-brand-link:hover {
  transform: translate(-50%, -50%) scale(1.02);
  filter: brightness(1.06);
}
.site-header .jm-brand-link *,
#header .jm-brand-link * {
  pointer-events: none;
  cursor: pointer;
}
.site-header .jm-logo-mark,
#header .jm-logo-mark {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 30, 70, 0.22);
}
.site-header .jm-brand-tagline,
#header .jm-brand-tagline {
  white-space: nowrap;
  color: #ffffff;
  font-family: 'Outfit', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 8.8px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Header Content (Navbar & Actions) */
.site-header .jm-header-content,
#header .jm-header-content {
  position: relative; z-index: 3;
  width: min(1500px, 100%);
  max-width: 100%;
  height: 100%; margin-inline: auto;
  padding-left: calc(var(--jm-wing-width) - 34px);
  padding-right: 28px;
  pointer-events: none;
}
.site-header .jm-header-content > *,
#header .jm-header-content > * {
  pointer-events: auto;
}
.site-header .jm-utility-row,
#header .jm-utility-row {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--jm-strip-height); gap: 18px;
}
.site-header .jm-contact-info,
#header .jm-contact-info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.site-header .jm-contact-link,
#header .jm-contact-link {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; font-size: 13px; font-weight: 500; line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .jm-contact-link svg,
#header .jm-contact-link svg { width: 14px; height: 14px; fill: currentColor; }

.site-header .jm-contact-hours,
#header .jm-contact-hours {
  display: inline-flex; align-items: center; gap: 7px;
  color: #fff; font-size: 13px; font-weight: 500; line-height: 1;
  white-space: nowrap;
}
.site-header .jm-contact-hours svg,
#header .jm-contact-hours svg { width: 14px; height: 14px; fill: currentColor; }

.site-header .jm-social-links,
#header .jm-social-links { display: flex; align-items: center; gap: 8px; }
.site-header .jm-social-links a,
#header .jm-social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgb(255 255 255 / 14%); color: #fff;
  transition: background-color .18s ease;
}
.site-header .jm-social-links a:hover,
#header .jm-social-links a:hover { background: rgb(255 255 255 / 28%); }
.site-header .jm-social-links svg,
#header .jm-social-links svg { width: 12px; height: 12px; fill: currentColor; }

/* Main Row */
.site-header .jm-main-row,
#header .jm-main-row {
  display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--jm-header-height) - var(--jm-strip-height));
  padding-top: 0; padding-bottom: 0; gap: 20px;
}

/* Nav Menu */
.site-header .jm-nav,
#header .jm-nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.site-header .jm-nav-item,
#header .jm-nav-item { position: relative; flex-shrink: 0; }
.site-header .jm-nav-link,
#header .jm-nav-link {
  display: block; padding: 10px 9px; border-radius: 9px;
  color: var(--jm-navy); font-size: 15px; font-weight: 500;
  line-height: 1.2; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.site-header .jm-nav-link[aria-current='page'],
#header .jm-nav-link[aria-current='page'],
.site-header .jm-nav-item.active .jm-nav-link { background: #eaf2fc; color: #0d5197; font-weight: 600; }
.site-header .jm-nav-link:hover,
#header .jm-nav-link:hover { background: #f0f5fb; color: #0d5197; }

.site-header .jm-programs,
#header .jm-programs { display: flex; align-items: center; }
.site-header .jm-programs > .jm-nav-link,
#header .jm-programs > .jm-nav-link { padding-right: 9px; }
.site-header .jm-dropdown-toggle,
#header .jm-dropdown-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 36px; padding: 0; border: 0;
  background: transparent; border-radius: 5px; color: var(--jm-navy);
  margin-left: 1px;
}
.site-header .jm-programs:hover .jm-dropdown-toggle,
#header .jm-programs:hover .jm-dropdown-toggle,
.site-header .jm-programs.is-expanded .jm-dropdown-toggle,
#header .jm-programs.is-expanded .jm-dropdown-toggle {
  color: #0d5197;
}
.site-header .jm-dropdown-toggle svg,
#header .jm-dropdown-toggle svg { width: 14px; height: 14px; fill: currentColor; transition: transform .18s ease; }
.site-header .jm-programs.is-expanded .jm-dropdown-toggle svg,
#header .jm-programs.is-expanded .jm-dropdown-toggle svg { transform: rotate(180deg); }

.site-header .jm-dropdown,
#header .jm-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 100;
  display: none; width: 290px; max-height: min(65vh, 530px); overflow-y: auto;
  overflow-x: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0; padding: 9px; border: 1px solid #e3ebf5;
  border-radius: 14px; background: #fff;
  box-shadow: 0 16px 38px rgb(16 63 118 / 15%);
}
.site-header .jm-dropdown::-webkit-scrollbar,
#header .jm-dropdown::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
@media (min-width: 1024px) {
  .site-header .jm-programs:hover > .jm-dropdown,
  #header .jm-programs:hover > .jm-dropdown,
  .site-header .jm-programs:focus-within > .jm-dropdown,
  #header .jm-programs:focus-within > .jm-dropdown {
    display: block !important;
  }
}
.site-header .jm-programs.is-expanded > .jm-dropdown,
#header .jm-programs.is-expanded > .jm-dropdown { display: block; }
.site-header .jm-dropdown::before,
#header .jm-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -10px;
  right: -10px;
  height: 24px;
}
.site-header .jm-dropdown-link,
#header .jm-dropdown-link {
  display: block; padding: 10px 12px; border-radius: 7px;
  color: var(--jm-navy); font-size: 14px; line-height: 1.5;
}
.site-header .jm-dropdown-link:hover,
#header .jm-dropdown-link:hover { background: #edf4fc; }

/* Actions */
.site-header .jm-actions,
#header .jm-actions { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
.site-header .jm-action,
#header .jm-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 18px; border: 2px solid #145699;
  border-radius: 28px; color: #145699; background: #fff;
  font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.site-header .jm-action:hover,
#header .jm-action:hover { background: #edf4fc; }
.site-header .jm-tour,
#header .jm-tour { border-color: var(--jm-orange); background: var(--jm-orange); color: #fff; box-shadow: 0 8px 22px rgb(230 94 24 / 13%); }
.site-header .jm-tour:hover,
#header .jm-tour:hover { background: #ca4d10; border-color: #ca4d10; color: #fff; }

.site-header .jm-menu-button,
#header .jm-menu-button,
.site-header .jm-menu-close,
#header .jm-menu-close,
.site-header .jm-mobile-link,
#header .jm-mobile-link,
.site-header .jm-nav-actions,
#header .jm-nav-actions,
.site-header .jm-backdrop,
#header .jm-backdrop { display: none; }

/* Standard Laptops (1366x768, 1440x900, 1536x864) */
@media (min-width: 1280px) and (max-width: 1599px) {
  .site-header,
  #header.jm-header {
    --jm-header-height: 164px;
    --jm-strip-height: 29px;
    --jm-wing-width: 396px;
  }
  .site-header .jm-header-content,
  #header .jm-header-content {
    padding-left: calc(var(--jm-wing-width) - 28px);
    padding-right: 18px;
  }
  .site-header .jm-logo-mark,
  #header .jm-logo-mark {
    width: 94px;
    height: 94px;
  }
  .site-header .jm-brand-link,
  #header .jm-brand-link {
    gap: 6px;
    top: 44%;
    left: 47%;
  }
  .site-header .jm-brand-tagline,
  #header .jm-brand-tagline {
    font-size: 8.2px;
    font-weight: 800;
    letter-spacing: 0.5px;
  }
  .site-header .jm-nav-link,
  #header .jm-nav-link {
    font-size: 14px;
    padding: 8px 7px;
  }
  .site-header .jm-main-row,
  #header .jm-main-row {
    gap: 14px;
    padding-top: 0;
  }
  .site-header .jm-actions,
  #header .jm-actions {
    gap: 10px;
  }
  .site-header .jm-action,
  #header .jm-action {
    font-size: 14px;
    padding: 9px 15px;
    min-height: 42px;
  }
}

/* Compact Laptops (1024px - 1279px, e.g. 1280x800, 1280x720) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header,
  #header.jm-header {
    --jm-header-height: 154px;
    --jm-strip-height: 27px;
    --jm-wing-width: 320px;
  }
  .site-header .jm-header-content,
  #header .jm-header-content {
    padding-left: calc(var(--jm-wing-width) - 24px);
    padding-right: 12px;
  }
  .site-header .jm-logo-mark,
  #header .jm-logo-mark {
    width: 80px;
    height: 80px;
  }
  .site-header .jm-brand-link,
  #header .jm-brand-link {
    gap: 4px;
    top: 44%;
    left: 47%;
  }
  .site-header .jm-brand-tagline,
  #header .jm-brand-tagline {
    font-size: 7.2px;
    font-weight: 800;
    letter-spacing: 0.35px;
  }
  .site-header .jm-contact-address,
  #header .jm-contact-address,
  .site-header .jm-contact-hours,
  #header .jm-contact-hours {
    display: inline-flex !important;
    font-size: 11.5px;
    gap: 6px;
  }
  .site-header .jm-contact-info,
  #header .jm-contact-info {
    gap: 12px;
  }
  .site-header .jm-main-row,
  #header .jm-main-row {
    gap: 6px;
    padding-top: 0;
  }
  .site-header .jm-nav,
  #header .jm-nav {
    display: flex !important;
    gap: 1px;
  }
  .site-header .jm-nav-link,
  #header .jm-nav-link {
    font-size: 13px;
    padding: 7px 4px;
  }
  .site-header .jm-programs > .jm-nav-link,
  #header .jm-programs > .jm-nav-link {
    padding-right: 4px;
  }
  .site-header .jm-dropdown-toggle,
  #header .jm-dropdown-toggle {
    width: 16px;
  }
  .site-header .jm-actions,
  #header .jm-actions {
    gap: 6px;
  }
  .site-header .jm-action,
  #header .jm-action {
    font-size: 12.5px;
    padding: 7px 11px;
    min-height: 38px;
  }
  .site-header .jm-menu-button,
  #header .jm-menu-button {
    display: none !important;
  }
}

/* Responsive Contact Items (< 1280px) */
@media (max-width: 1279px) {
  .site-header .jm-contact-address,
  #header .jm-contact-address,
  .site-header .jm-contact-hours,
  #header .jm-contact-hours {
    display: inline-flex !important;
  }
}

/* Tablets & Mobile (< 1024px) */
@media (max-width: 1023px) {
  .site-header,
  #header.jm-header {
    --jm-header-height: 108px;
    --jm-strip-height: 34px;
    --jm-wing-width: auto;
  }

  /* Hide header action buttons on mobile and tablet since they are already inside the toggle drawer */
  .site-header .jm-action,
  #header .jm-action {
    display: none !important;
  }

  /* Hide curved SVG wing art on mobile completely */
  .site-header .jm-brand-art,
  #header .jm-brand-art {
    display: none !important;
  }

  /* Brand wing container on mobile */
  .site-header .jm-brand-wing,
  #header .jm-brand-wing {
    position: absolute !important;
    left: 14px !important;
    top: var(--jm-strip-height) !important;
    bottom: 0 !important;
    width: auto !important;
    height: calc(var(--jm-header-height) - var(--jm-strip-height)) !important;
    display: flex !important;
    align-items: center !important;
    pointer-events: auto !important;
    z-index: 20 !important;
    background: none !important;
  }

  .site-header .jm-brand-link,
  #header .jm-brand-link {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 21 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none !important;
  }
  .site-header .jm-brand-link *,
  #header .jm-brand-link * {
    pointer-events: none !important;
  }

  .site-header .jm-logo-picture,
  #header .jm-logo-picture,
  .site-header .jm-logo-mark,
  #header .jm-logo-mark {
    width: 66px !important;
    height: 66px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    display: block !important;
  }

  .site-header .jm-brand-tagline,
  #header .jm-brand-tagline {
    display: none !important;
  }

  /* Full-width header content */
  .site-header .jm-header-content,
  #header .jm-header-content {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Utility row across the top blue strip */
  .site-header .jm-utility-row,
  #header .jm-utility-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: var(--jm-strip-height) !important;
    padding: 0 14px !important;
    overflow: visible !important;
  }

  .site-header .jm-contact-info,
  #header .jm-contact-info {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
  }

  .site-header .jm-contact-link,
  #header .jm-contact-link {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }

  .site-header .jm-contact-link svg,
  #header .jm-contact-link svg {
    width: 12px !important;
    height: 12px !important;
    fill: #ffad48 !important;
    flex-shrink: 0 !important;
  }

  .site-header .jm-contact-address,
  #header .jm-contact-address,
  .site-header .jm-contact-hours,
  #header .jm-contact-hours {
    display: inline-flex !important;
  }

  .site-header .jm-contact-address span,
  #header .jm-contact-address span {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Show Social links in top header on mobile */
  .site-header .jm-social-links,
  #header .jm-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .site-header .jm-social-links a,
  #header .jm-social-links a {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: rgb(255 255 255 / 18%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    transition: background-color .15s ease;
  }

  .site-header .jm-social-links a:hover,
  #header .jm-social-links a:hover {
    background: rgb(255 255 255 / 35%) !important;
  }

  .site-header .jm-social-links svg,
  #header .jm-social-links svg {
    width: 10px !important;
    height: 10px !important;
    fill: currentColor !important;
  }

  /* Main row below top strip */
  .site-header .jm-main-row,
  #header .jm-main-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: calc(var(--jm-header-height) - var(--jm-strip-height)) !important;
    padding-left: 80px !important;
    padding-right: 14px !important;
    padding-top: 0 !important;
    pointer-events: none !important;
  }
  .site-header .jm-main-row > *,
  #header .jm-main-row > * {
    pointer-events: auto !important;
  }

  .site-header .jm-menu-button,
  #header .jm-menu-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d9e5f2;
    border-radius: 10px;
    color: var(--jm-navy);
    background: #fff;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 100;
  }
  .site-header .jm-menu-button svg,
  #header .jm-menu-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    pointer-events: none;
  }
  .site-header[data-menu-open='true'],
  #header[data-menu-open='true'],
  .site-header.is-menu-open,
  #header.is-menu-open {
    z-index: 100005 !important;
    overflow: visible !important;
  }
  .site-header[data-menu-open='true'] .jm-header-content,
  #header[data-menu-open='true'] .jm-header-content,
  .site-header.is-menu-open .jm-header-content,
  #header.is-menu-open .jm-header-content {
    z-index: 100005 !important;
  }
  /* When mobile drawer is open, keep brand wing/logo in the back behind backdrop and drawer */
  .site-header[data-menu-open='true'] .jm-brand-wing,
  #header[data-menu-open='true'] .jm-brand-wing,
  .site-header.is-menu-open .jm-brand-wing,
  #header.is-menu-open .jm-brand-wing {
    z-index: 1 !important;
  }
  .site-header[data-menu-open='true'] .jm-brand-link,
  #header[data-menu-open='true'] .jm-brand-link,
  .site-header.is-menu-open .jm-brand-link,
  #header.is-menu-open .jm-brand-link {
    z-index: 1 !important;
    pointer-events: none !important;
  }
  .site-header .jm-nav,
  #header .jm-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100010 !important;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(340px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 22px 18px;
    gap: 5px;
    overflow-y: auto;
    overflow-x: hidden !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: #fff;
    box-shadow: -12px 0 40px rgb(16 63 118 / 18%);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .24s ease, visibility .24s;
    pointer-events: none;
  }
  .site-header .jm-nav::-webkit-scrollbar,
  #header .jm-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .site-header[data-menu-open='true'] .jm-nav,
  #header[data-menu-open='true'] .jm-nav,
  .site-header.is-menu-open .jm-nav,
  #header.is-menu-open .jm-nav,
  .site-header .jm-nav.is-active,
  #header .jm-nav.is-active {
    display: flex !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }
  .site-header .jm-menu-close,
  #header .jm-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    padding: 0;
    border: 1px solid #d9e5f2;
    border-radius: 10px;
    background: #fff;
    color: var(--jm-navy);
    font-size: 22px;
    cursor: pointer;
    touch-action: manipulation;
  }
  .site-header .jm-nav-item,
  #header .jm-nav-item {
    position: relative;
    z-index: 100012 !important;
  }
  .site-header .jm-nav-link,
  #header .jm-nav-link {
    position: relative;
    z-index: 100012 !important;
    padding: 14px 12px;
    font-size: 17px;
    white-space: normal !important;
    word-break: break-word;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
  }
  .site-header .jm-mobile-link,
  #header .jm-mobile-link {
    display: block;
  }
  .site-header .jm-programs,
  #header .jm-programs {
    display: grid;
    grid-template-columns: 1fr 44px;
    position: relative;
    z-index: 100012 !important;
  }
  .site-header .jm-programs > .jm-nav-link,
  #header .jm-programs > .jm-nav-link {
    padding: 14px 12px !important;
  }
  .site-header .jm-dropdown-toggle,
  #header .jm-dropdown-toggle {
    width: 44px;
    height: 44px;
    cursor: pointer;
    touch-action: manipulation;
    position: relative;
    z-index: 100013 !important;
    pointer-events: auto !important;
  }
  .site-header .jm-dropdown-toggle svg,
  #header .jm-dropdown-toggle svg {
    pointer-events: none !important;
  }
  .site-header .jm-dropdown,
  #header .jm-dropdown {
    display: none;
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-height: none;
    overflow: visible;
    overflow-x: hidden !important;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 4px 0 10px;
    box-shadow: none;
    background: #f5f8fc;
    border-radius: 12px;
  }
  .site-header .jm-dropdown::-webkit-scrollbar,
  #header .jm-dropdown::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .site-header .jm-programs.is-expanded > .jm-dropdown,
  #header .jm-programs.is-expanded > .jm-dropdown {
    display: block !important;
    visibility: visible !important;
  }
  .site-header .jm-dropdown-link,
  #header .jm-dropdown-link {
    font-size: 15px;
    white-space: normal !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 100013 !important;
    pointer-events: auto !important;
  }
  .site-header .jm-backdrop,
  #header .jm-backdrop {
    display: none !important;
    pointer-events: none !important;
    position: fixed;
    inset: 0;
    z-index: 100001 !important;
    border: 0;
    background: rgb(8 31 61 / 45%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s;
    touch-action: manipulation;
  }
  .site-header[data-menu-open='true'] .jm-backdrop,
  #header[data-menu-open='true'] .jm-backdrop,
  .site-header.is-menu-open .jm-backdrop,
  #header.is-menu-open .jm-backdrop,
  .site-header .jm-backdrop.is-active,
  #header .jm-backdrop.is-active {
    display: block !important;
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
    z-index: 100001 !important;
  }

  /* Drawer Action Buttons (Visible only on Tablet & Mobile inside Hamburger Drawer) */
  .site-header .jm-nav-actions,
  #header .jm-nav-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 14px !important;
    padding-top: 18px !important;
    border-top: 1px solid #e5edf5 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  .site-header .jm-btn-drawer,
  #header .jm-btn-drawer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    letter-spacing: 0.02em !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  }

  .site-header .jm-btn-drawer:active,
  #header .jm-btn-drawer:active {
    transform: scale(0.98) !important;
  }

  .site-header .jm-btn-enroll,
  #header .jm-btn-enroll {
    color: var(--jm-navy, #103f76) !important;
    background: #f0f6fc !important;
    border: 1.5px solid #bdd5f0 !important;
  }

  .site-header .jm-btn-tour,
  #header .jm-btn-tour {
    color: #ffffff !important;
    background: var(--jm-orange, #e65e18) !important;
    border: 1.5px solid #e65e18 !important;
    box-shadow: 0 4px 14px rgba(230, 94, 24, 0.3) !important;
  }
}

/* Small Phones (< 768px) */
@media (max-width: 767px) {
  .site-header,
  #header.jm-header {
    --jm-header-height: 114px;
    --jm-strip-height: 44px;
  }

  .site-header .jm-brand-wing,
  #header .jm-brand-wing {
    left: 10px !important;
  }

  .site-header .jm-logo-picture,
  #header .jm-logo-picture,
  .site-header .jm-logo-mark,
  #header .jm-logo-mark {
    width: 56px !important;
    height: 56px !important;
  }

  .site-header .jm-utility-row,
  #header .jm-utility-row {
    height: var(--jm-strip-height) !important;
    padding: 3px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .site-header .jm-contact-info,
  #header .jm-contact-info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    row-gap: 2px !important;
    column-gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .site-header .jm-contact-link,
  #header .jm-contact-link {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .site-header .jm-contact-link svg,
  #header .jm-contact-link svg {
    width: 11px !important;
    height: 11px !important;
    flex-shrink: 0 !important;
  }

  /* Double line on mobile: Phone & Hours on Line 1, Address on Line 2 */
  .site-header .jm-contact-hours,
  #header .jm-contact-hours {
    display: inline-flex !important;
    white-space: nowrap !important;
  }

  .site-header .jm-contact-address,
  #header .jm-contact-address {
    display: inline-flex !important;
    flex-basis: 100% !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .site-header .jm-contact-address span,
  #header .jm-contact-address span {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .site-header .jm-social-links,
  #header .jm-social-links {
    display: flex !important;
    align-self: flex-start !important;
    margin-top: 1px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .site-header .jm-social-links a,
  #header .jm-social-links a {
    width: 18px !important;
    height: 18px !important;
  }

  .site-header .jm-social-links svg,
  #header .jm-social-links svg {
    width: 9px !important;
    height: 9px !important;
  }

  .site-header .jm-main-row,
  #header .jm-main-row {
    padding-left: 72px !important;
    padding-right: 10px !important;
    gap: 8px !important;
  }

  .site-header .jm-enroll,
  #header .jm-enroll {
    display: none !important;
  }

  .site-header .jm-action,
  #header .jm-action {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 12.5px;
    border-radius: 20px;
  }

  .site-header .jm-menu-button,
  #header .jm-menu-button {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
}

/* Extra Small Phones (< 480px, e.g. iPhone SE, Galaxy) */
@media (max-width: 480px) {
  .site-header,
  #header.jm-header {
    --jm-header-height: 114px;
    --jm-strip-height: 44px;
  }

  .site-header .jm-brand-wing,
  #header .jm-brand-wing {
    left: 8px !important;
  }

  .site-header .jm-logo-picture,
  #header .jm-logo-picture,
  .site-header .jm-logo-mark,
  #header .jm-logo-mark {
    width: 52px !important;
    height: 52px !important;
  }

  .site-header .jm-utility-row,
  #header .jm-utility-row {
    padding: 3px 6px !important;
  }

  .site-header .jm-contact-info,
  #header .jm-contact-info {
    row-gap: 2px !important;
    column-gap: 6px !important;
  }

  .site-header .jm-contact-link,
  #header .jm-contact-link {
    font-size: 9.8px !important;
    gap: 3px !important;
    letter-spacing: -0.15px !important;
  }

  .site-header .jm-contact-link svg,
  #header .jm-contact-link svg {
    width: 10px !important;
    height: 10px !important;
  }

  /* Hide social icons from tiny top strip on < 480px so Line 1 contact fits cleanly without overflow */
  .site-header .jm-social-links,
  #header .jm-social-links {
    display: none !important;
  }

  .site-header .jm-main-row,
  #header .jm-main-row {
    padding-left: 64px !important;
    padding-right: 8px !important;
    gap: 6px !important;
  }

  .site-header .jm-action,
  #header .jm-action {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 18px;
  }

  .site-header .jm-menu-button,
  #header .jm-menu-button {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }

  .site-header .jm-menu-button svg,
  #header .jm-menu-button svg {
    width: 18px;
    height: 18px;
  }
}


.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.75rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0F3D70 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(18, 75, 136, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #165CA7 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(18, 75, 136, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #D45B18 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-warm);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #F07B37 0%, var(--secondary) 100%);
  box-shadow: 0 8px 24px rgba(232, 108, 40, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

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

.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

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

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  min-height: 44px;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-dark);
  z-index: 1010;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Mobile nav close button & mobile-only items — hidden on desktop, shown only inside mobile drawer */
.mobile-nav-close,
.mobile-only-link {
  display: none !important;
}

/* ==========================================================================
   Section 1: Full-Width Clean Hero Banner with Alphabetz-Style Transparent Glass Card
   ========================================================================== */
.hero-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-banner-image-container {
  width: 100%;
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-banner-full-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-banner-glass-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glass-box {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(8, 28, 58, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.75rem 3.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero-banner-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 0.85rem;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-tagline-wrapper {
  margin: 0.6rem auto 1.35rem auto;
  display: flex;
  justify-content: center;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(232, 108, 40, 0.55) 0%, rgba(245, 158, 11, 0.45) 100%);
  border: 1.5px solid rgba(253, 230, 138, 0.7);
  padding: 0.55rem 1.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.highlight-gold {
  color: #FDE68A;
  background: linear-gradient(135deg, #FFFBEB 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Internal Pages Hero Banner (Full-Bleed Pure Image with Clean Centered Title)
   ========================================================================== */
.page-hero-banner {
  position: relative !important;
  width: 100% !important;
  min-height: 480px !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.page-hero-banner .hero-banner-image-container {
  width: 100% !important;
  min-height: 480px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-hero-banner .hero-banner-full-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-hero-banner .hero-banner-glass-wrapper {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  padding: 3rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
}

.page-hero-banner .hero-glass-box {
  padding: 1.25rem 2rem !important;
  max-width: 440px !important;
  width: auto !important;
  margin: 0 auto !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: rgba(8, 28, 58, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
}

.page-hero-banner .hero-banner-title {
  font-size: clamp(1.9rem, 3.2vw, 2.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .page-hero-banner,
  .page-hero-banner .hero-banner-image-container {
    min-height: 320px !important;
    height: auto !important;
    aspect-ratio: 1440 / 686 !important;
  }
  .page-hero-banner .hero-glass-box {
    padding: 0.85rem 1.75rem !important;
    border-radius: 14px !important;
  }
  .page-hero-banner .hero-banner-title {
    font-size: 1.85rem !important;
  }
}

@media (max-width: 640px) {
  .page-hero-banner {
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
  }
  .page-hero-banner .hero-banner-image-container {
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
  }
  .page-hero-banner .hero-banner-glass-wrapper {
    padding: 0 0.75rem !important;
  }
  .page-hero-banner .hero-glass-box {
    padding: 0.65rem 1.25rem !important;
    max-width: 88% !important;
    border-radius: 12px !important;
  }
  .page-hero-banner .hero-banner-title {
    font-size: 1.55rem !important;
  }
}

@media (max-width: 480px) {
  .page-hero-banner {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }
  .page-hero-banner .hero-banner-image-container {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }
  .page-hero-banner .hero-glass-box {
    padding: 0.5rem 0.95rem !important;
    border-radius: 10px !important;
  }
  .page-hero-banner .hero-banner-title {
    font-size: 1.35rem !important;
  }
}

/* ==========================================================================
   Section 2: Joyous Montessori Intro Section (Original Hero Moved Below)
   ========================================================================== */
.intro-section {
  background: #FFFFFF;
  position: relative;
  padding-top: 6rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.intro-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.intro-title .highlight {
  color: var(--primary-dark);
  display: inline-block;
}

.intro-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}

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

.intro-media-wrapper {
  position: relative;
}

.intro-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(18, 75, 136, 0.15);
  border: 6px solid #FFFFFF;
  background: #FFFFFF;
  transition: transform var(--transition-smooth);
}

.intro-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-xl) - 6px);
}

.floating-badge {
  position: absolute;
  background: #FFFFFF;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  animation: floatSlow 4s ease-in-out infinite;
}

.badge-top-left {
  top: 8%;
  left: -20px;
  animation-delay: 0s;
}

.badge-bottom-right {
  bottom: 8%;
  right: -20px;
  animation-delay: 2s;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-icon.gold {
  background: var(--accent-gold-soft);
  color: #D97706;
}

.floating-icon.blue {
  background: var(--primary-soft);
  color: var(--primary);
}

.floating-content h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.floating-content p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   Section 2: Why Families Love Joyous Montessori
   ========================================================================== */
.why-love-section {
  background: #F1F5FA;
  border-top: 1px solid #DFE7F2;
  border-bottom: 1px solid #DFE7F2;
  position: relative;
}

.why-love-section .section-pill {
  background: #E0EDFB;
  color: #0C4A8A;
  border: 1px solid #BFDBFE;
}

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

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: none;
  border: 1px solid var(--border-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 75, 136, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

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

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(4deg);
}

.feature-icon-box.icon-blue {
  background: var(--primary-soft);
  color: var(--primary);
}

.feature-icon-box.icon-orange {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.feature-icon-box.icon-green {
  background: var(--accent-green-soft);
  color: var(--accent-green);
}

.feature-icon-box.icon-gold {
  background: var(--accent-gold-soft);
  color: #D97706;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.feature-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   Section 3: Our Montessori Programs
   ========================================================================== */
.programs-section {
  background: #FFFFFF;
}

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

.program-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: none;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(18, 75, 136, 0.2);
}

.program-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  min-height: 210px;
  overflow: hidden;
  background: var(--bg-soft);
}

.program-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-smooth);
}

.program-card:hover .program-image-wrap img {
  transform: scale(1.08);
}

.program-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.program-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.program-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition-fast);
}

.program-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.program-card:hover .program-link {
  color: var(--secondary);
}

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

.programs-footer-cta {
  text-align: center;
}

/* ==========================================================================
   Section 4: The Montessori Difference
   ========================================================================== */
.difference-section {
  background: linear-gradient(135deg, #0A3260 0%, #124B88 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.difference-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.difference-content .section-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #93C5FD;
}

.difference-content .section-title {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.difference-lead {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.8;
  color: #FFFFFF;
  margin-bottom: 2rem;
}

.difference-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.difference-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--secondary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.point-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.difference-images-stack {
  position: relative;
}

.diff-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.25);
  background: #FFFFFF;
}

.diff-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ==========================================================================
   Section 5: Award-Winning Excellence in Montessori Education
   ========================================================================== */
.awards-section {
  background: linear-gradient(180deg, #FBFDFF 0%, #F1F5F9 100%);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.awards-section .section-header {
  margin-bottom: 2.25rem;
}

.awards-section .section-pill {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.awards-rows-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.award-showcase-row {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2.5rem;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 1.6rem 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: visible;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.award-showcase-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.award-showcase-row.reverse-row {
  grid-template-columns: 1.1fr 1fr;
}

.award-showcase-row.reverse-row .award-image-col {
  order: 2;
}

.award-showcase-row.reverse-row .award-content-col {
  order: 1;
}

.award-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.award-pure-img {
  max-width: 260px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.07));
  transition: transform var(--transition-smooth);
}

.cognia-pure-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg, 16px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition-smooth);
}

.award-pure-img:hover,
.cognia-pure-img:hover {
  transform: scale(1.04);
}

.award-content-col {
  display: flex;
  flex-direction: column;
}

.award-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #B45309;
  background: var(--accent-gold-soft);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.award-category-pill.cognia-pill {
  color: var(--primary);
  background: var(--primary-soft);
}

.award-row-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.award-row-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.award-row-desc a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none !important;
}

.award-row-desc a:hover {
  color: var(--secondary);
}

.award-highlight-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFDF9 100%);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 75, 136, 0.15);
  margin: 0.75rem 0 1.1rem;
}

.award-highlight-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.award-highlight-stat .stat-big {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.award-highlight-stat .stat-label-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  text-align: center;
}

.award-highlight-divider {
  width: 1px;
  height: 42px;
  background: rgba(18, 75, 136, 0.2);
}

.award-highlight-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.award-highlight-info strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.award-highlight-info span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.4;
}

.award-row-action {
  margin-top: 0.35rem;
}

.award-row-action .btn {
  white-space: nowrap;
  max-width: 100%;
}

/* Cognia Checklist */
.cognia-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cognia-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--primary-soft);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 75, 136, 0.1);
}

.cognia-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.cognia-feature-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.975rem;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

.cognia-feature-item p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

/* Trust Badges Strip */
.trust-badges-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.trust-badge-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trust-badge-item img {
  height: 64px;
  max-height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
  transition: transform var(--transition-normal);
}

.trust-badge-item img:hover {
  transform: scale(1.04);
}


/* ==========================================================================
   Section 6: Campus Life / Photo Gallery
   ========================================================================== */

.gallery-section {
  background: #FFFFFF;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  background: #F8FAFC;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.06) contrast(1.03) saturate(1.05);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.09) contrast(1.04) saturate(1.08);
}

.gallery-cta {
  text-align: center;
  margin-top: 2.75rem;
}

/* ==========================================================================
   Section 7: Visit Joyous Montessori (CTA)
   ========================================================================== */
.visit-section {
  position: relative;
  background: radial-gradient(circle at center, #165CA7 0%, #0A3260 100%);
  color: #FFFFFF;
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  overflow: hidden;
}

.visit-card-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.visit-section .section-pill {
  background: rgba(232, 108, 40, 0.25);
  color: #FDBA74;
  border: 1px solid rgba(232, 108, 40, 0.4);
}

.visit-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.visit-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.visit-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.visit-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.visit-info-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.visit-info-item svg {
  width: 18px;
  height: 18px;
  fill: #FDBA74;
}

.visit-info-item a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

/* ==========================================================================
   Section 8: Site Footer
   ========================================================================== */
.site-footer {
  background: #082447;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.975rem;
  padding-top: var(--section-spacing);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1.1fr;
  gap: 2.25rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
  .footer-top-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo-img {
  height: 236px;
  width: 216px;
  object-fit: contain;
  padding: 0 8px;
  border-radius: 5px;
  border: 3.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  background: #0260B4;
  margin-bottom: 1.5rem;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform var(--transition-fast);
}

.footer-brand a:hover .footer-logo-img {
  transform: translateY(-2px) scale(1.03);
}

.footer-brand a:hover .footer-logo-circle {
  transform: scale(1.08);
}

.footer-brand p {
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

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

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

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

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 1.025rem;
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.025rem;
  line-height: 1.55;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  :root {
    --section-spacing: var(--section-spacing-tablet);
  }

  .hero-banner-title {
    font-size: 2.7rem;
  }

  .intro-title {
    font-size: 2.8rem;
  }

  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .features-grid,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .award-showcase-row,
  .award-showcase-row.reverse-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .award-showcase-row.reverse-row .award-image-col {
    order: 1;
  }

  .award-showcase-row.reverse-row .award-content-col {
    order: 2;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Intermediate Laptop/Desktop Breakpoint: prevent navigation wrapping or overflow */
@media (max-width: 1240px) and (min-width: 1025px) {
  .site-header .container {
    gap: 0.85rem;
    min-height: 94px;
  }
  .brand-logo {
    height: 90px;
  }
  .brand-logo-img {
    height: 120px;
    width: 120px;
  }
  .nav-menu {
    gap: 0.15rem;
    margin-left: 1rem;
  }
  .nav-link {
    font-size: 0.84rem;
    padding: 0.4rem 0.5rem;
  }
  .header-actions {
    gap: 0.45rem;
  }
  .header-actions .btn-outline {
    display: none; /* Keeps primary 'Book a Tour' visible and preserves single-line nav layout */
  }
  .header-actions .btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-spacing: var(--section-spacing-mobile);
  }

  .top-bar {
    display: block;
    padding: 0.45rem 0;
    font-size: 0.85rem;
  }

  .top-bar .container {
    justify-content: center;
    gap: 0.6rem;
  }

  .top-bar-info {
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .top-bar-actions {
    display: none;
  }

  .site-header .container {
    min-height: 72px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    gap: 0.75rem;
  }

  .brand-logo {
    height: 60px;
    margin: 0;
  }

  .brand-logo-img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(2, 96, 180, 0.35));
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn-outline {
    display: none; /* Kept inside mobile drawer for zero crowding */
  }

  .header-actions .btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 50, 96, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1004;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-backdrop.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 30px);
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.22);
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 1.5rem 2rem;
    gap: 0.35rem;
    margin-left: 0;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    overflow-y: auto;
    z-index: 1005;
    visibility: hidden;
    pointer-events: none;
  }

  .site-header .nav-menu.is-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-close {
    display: flex;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #F1F5FA;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--primary-dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
  }

  .mobile-nav-close:hover {
    background: #E2E8F0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.25rem;
  }

  .nav-dropdown.show-mobile {
    display: block;
  }

  .mobile-only-link {
    display: block !important;
    width: 100%;
  }

  .mobile-only-link .nav-link {
    font-weight: 700;
  }

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

  .hero-glass-box {
    padding: 2.25rem 1.75rem;
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-banner-title {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-cta-group .btn {
    width: auto;
    min-width: 170px;
    max-width: 230px;
    min-height: 48px;
    padding: 0.8rem 1.5rem;
    justify-content: center;
  }

  .intro-title {
    font-size: 2.2rem;
  }

  .intro-desc {
    font-size: 1.1rem;
    max-width: 100%;
    line-height: 1.75;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-grid,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .difference-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .diff-image-main {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .diff-image-main img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: center top;
  }

  .difference-points {
    grid-template-columns: 1fr;
  }

  .award-showcase-row,
  .award-showcase-row.reverse-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem 1.5rem;
  }

  .award-showcase-row.reverse-row .award-image-col {
    order: 1;
  }

  .award-showcase-row.reverse-row .award-content-col {
    order: 2;
  }

  .award-highlight-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
  }

  .award-highlight-divider {
    width: 100%;
    height: 1px;
  }

  .trust-badges-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .trust-badge-item {
    padding: 1rem 1.25rem;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .visit-card-box {
    padding: 2.5rem 1.5rem;
  }

  .visit-title {
    font-size: 2.2rem;
  }

  .intro-section {
    padding-top: var(--section-spacing);
  }
}

@media (max-width: 640px) {

  .features-grid,
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-banner-image-container {
    min-height: 540px;
  }

  .hero-banner-title {
    font-size: 1.85rem;
  }

  .hero-tagline-badge {
    font-size: 1.05rem;
    padding: 0.45rem 1.25rem;
    letter-spacing: 0.05em;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 280px;
    min-height: 46px;
    padding: 0.75rem 1.25rem;
    justify-content: center;
  }

  .award-showcase-row {
    padding: 1.4rem 1.25rem;
    gap: 1.25rem;
  }

  .award-pure-img {
    max-width: 220px;
    width: 100%;
    height: auto;
  }

  .cognia-pure-img {
    max-width: 320px;
    width: 100%;
    height: auto;
  }

  .award-row-title {
    font-size: 1.4rem;
  }

  .award-row-desc {
    font-size: 1rem;
  }

  .award-highlight-box {
    padding: 0.85rem 1rem;
  }

  .award-row-action .btn {
    width: 100%;
    min-height: 48px;
    text-align: center;
    justify-content: center;
  }

  .trust-badges-strip {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .trust-badge-item {
    padding: 1rem 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .intro-desc {
    font-size: 1.05rem;
  }

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

  .trust-badge-item img {
    height: 52px;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 0.45rem 0;
  }

  .top-bar-info {
    font-size: 0.8rem;
    gap: 0.5rem;
    justify-content: center;
  }

  .top-bar-item {
    gap: 0.35rem;
  }

  .top-bar-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
  }

  .site-header .container {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    min-height: 66px;
    gap: 0.5rem;
  }

  .brand-logo {
    height: 52px;
    margin: 0;
  }

  .brand-logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: contain;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn-secondary {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .header-actions .btn-secondary {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  .brand-logo-img {
    height: 46px;
    width: 46px;
  }
  .lets-talk-widget {
    bottom: 16px;
    right: 16px;
    z-index: 99999;
  }
  .lets-talk-btn {
    width: 60px;
    height: 60px;
  }
  .lets-talk-bubble-text {
    font-size: 0.65rem;
  }
  .header-actions {
    gap: 0.4rem;
  }
  .header-actions .btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
    min-height: 40px;
  }
  .hero-glass-box {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }
  .hero-banner-title {
    font-size: 1.65rem;
  }
  .hero-subtitle {
    font-size: 0.975rem;
  }
  .intro-title {
    font-size: 1.75rem;
  }
  .intro-desc {
    font-size: 1.05rem;
  }
  .intro-image-card img {
    height: 280px;
  }
  .diff-image-main {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
  .diff-image-main img {
    height: auto;
    aspect-ratio: 5 / 6;
    object-position: center top;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
  .visit-card-box {
    padding: 2rem 1.15rem;
  }
  .visit-title {
    font-size: 1.85rem;
  }
  .visit-info-bar {
    gap: 1.25rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Let's Talk Floating Chat Widget Styles
   ========================================================================== */
.lets-talk-widget {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  top: auto !important;
  z-index: 99999 !important;
}

.lets-talk-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF782E 0%, var(--secondary) 100%);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  box-shadow: 0 8px 24px rgba(232, 108, 40, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-normal);
  outline: none;
  animation: pulseGlow 3s infinite;
}

.lets-talk-btn:hover {
  background: linear-gradient(135deg, #FF8A47 0%, #D05917 100%);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 108, 40, 0.6);
}

.lets-talk-bubble-text {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lets-talk-close-icon {
  display: none;
  font-size: 1.4rem;
  font-weight: 700;
}

.lets-talk-widget.is-open .lets-talk-btn {
  background: #0A3260;
  animation: none;
}

.lets-talk-widget.is-open .lets-talk-bubble-text {
  display: none;
}

.lets-talk-widget.is-open .lets-talk-close-icon {
  display: block;
}

/* Chat Drawer Modal */
.lets-talk-drawer,
.chat-drawer {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #F4F6F9;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.lets-talk-widget.is-open .lets-talk-drawer,
.lets-talk-widget.is-open .chat-drawer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-drawer-header {
  background: #0066CC;
  color: #FFFFFF;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chat-back-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.chat-header-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.chat-header-brand h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.chat-close-btn,
.chat-drawer-close {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.chat-close-btn:hover,
.chat-drawer-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.chat-drawer-body {
  flex-grow: 1;
  padding: 1.15rem;
  overflow-y: auto;
  background: #F4F6F9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chat-sender-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: capitalize;
}

.chat-msg.bot-msg .chat-bubble {
  background: #FFFFFF;
  color: #1E293B;
  border-radius: 14px 14px 14px 2px;
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
  font-size: 0.88rem;
  line-height: 1.48;
}

.chat-msg.bot-msg .prompt-bubble {
  background: #E8F1FB;
  color: #0A3260;
  font-weight: 600;
  border-color: #BFDBFE;
}

.chat-msg.user-msg {
  align-items: flex-end;
}

.chat-msg.user-msg .chat-bubble,
.chat-msg.user-msg {
  background: #0066CC;
  color: #FFFFFF;
  border-radius: 14px 14px 2px 14px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  max-width: 80%;
  word-break: break-word;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  background: #FFFFFF;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.chat-field {
  flex-grow: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #1E293B;
  background: transparent;
  padding: 0.25rem 0.5rem;
}

.chat-submit-btn {
  background: #0066CC;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.chat-submit-btn:hover {
  background: #0052A3;
}

.phone-input-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-grow: 1;
}

.chat-country-select {
  border: none;
  border-right: 1px solid #E2E8F0;
  padding-right: 0.35rem;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  outline: none;
  cursor: pointer;
}

.chat-live-input-bar {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  margin-top: 0.75rem;
}

.chat-send-icon-btn {
  background: transparent;
  border: none;
  color: #0066CC;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.4rem;
  transition: transform var(--transition-fast);
}

.chat-send-icon-btn:hover {
  transform: translateX(2px);
}

.chat-drawer-footer {
  background: #FFFFFF;
  padding: 0.55rem 1rem;
  border-top: 1px solid #E2E8F0;
  font-size: 0.72rem;
  color: #94A3B8;
  text-align: center;
}

.chat-drawer-footer strong {
  color: #64748B;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 108, 40, 0.65);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(232, 108, 40, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 108, 40, 0);
  }
}

/* ==========================================================================
   Internal Pages Unified Design System & Components
   ========================================================================== */

/* Inner Page Hero Banner */
.inner-hero {
  position: relative;
  background: linear-gradient(135deg, #072344 0%, #0A3260 50%, #124B88 100%);
  color: #FFFFFF;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.inner-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(232, 108, 40, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-nav a {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--accent-gold);
}

.breadcrumb-sep {
  opacity: 0.5;
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Inner Hero Typography */
.inner-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.inner-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  max-width: 720px;
}

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

/* Content Layout System */
.page-container {
  padding: 4.5rem 0;
}

.content-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 991px) {
  .content-sidebar-grid {
    grid-template-columns: 1fr;
  }
}

/* Rich Card & Content Blocks */
.content-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.content-card:hover {
  box-shadow: var(--shadow-md);
}

.content-card h2,
.content-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.content-card p {
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

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

.content-card a:not(.btn) {
  color: var(--jm-blue, #0063bf);
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.18s ease;
}
.content-card a:not(.btn):hover {
  color: var(--jm-orange, #e65e18);
  text-decoration: none !important;
}

/* Sticky Sidebar Widget */
.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.sidebar-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-weight: 500;
  background: var(--bg-soft);
  transition: all var(--transition-fast);
}

.sidebar-link-item a:hover,
.sidebar-link-item.active a {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateX(4px);
}

.sidebar-cta-box {
  background: linear-gradient(135deg, #0A3260 0%, #124B88 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.sidebar-cta-box h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Feature Callout Grid */
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-box h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Detailed Program Cards (For Our Programs) */
.program-detail-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 420px 1fr;
  transition: all var(--transition-smooth);
}

@media (max-width: 991px) {
  .program-detail-card {
    grid-template-columns: 1fr;
  }
}

.program-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 75, 136, 0.2);
}

.program-detail-card:nth-child(even) {
  grid-template-columns: 1fr 420px;
}

@media (max-width: 991px) {
  .program-detail-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
}

.program-detail-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--bg-soft);
}

.program-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-detail-card:hover .program-detail-media img {
  transform: scale(1.04);
}

.program-detail-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 576px) {
  .program-detail-body {
    padding: 2rem 1.5rem;
  }
}

.program-age-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  background: var(--secondary-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.program-detail-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.program-detail-desc {
  font-size: 1.025rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.program-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.program-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

.program-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Testimonial Review Grid */
.reviews-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .reviews-masonry-grid {
    grid-template-columns: 1fr;
  }
}

.review-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.review-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.4);
}

.review-stars-bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #F59E0B;
  margin-bottom: 1rem;
}

.review-quote-text {
  font-size: 0.985rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.review-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.review-author-info h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

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

/* Photo Gallery Grid & Tabs */
.gallery-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.gallery-tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-tab-btn:hover,
.gallery-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(18, 75, 136, 0.25);
}

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

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

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 50, 96, 0.95) 0%, rgba(10, 50, 96, 0) 100%);
  color: #FFFFFF;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ Accordion */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.faq-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-card.open {
  border-color: var(--primary-light);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--secondary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
  background: var(--secondary-soft);
  color: var(--secondary);
}

.faq-content {
  display: none;
  padding: 0 2rem 1.75rem 2rem;
  color: var(--text-body);
  line-height: 1.75;
  font-size: 1rem;
}

.faq-card.open .faq-content {
  display: block;
}

/* Blog Grid & Article Cards */
.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.25rem;
}

.blog-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.blog-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 75, 136, 0.25);
}

.blog-thumb-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-soft);
}

.blog-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-item-card:hover .blog-thumb-wrapper img {
  transform: scale(1.05);
}

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

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 0.85rem;
  transition: color var(--transition-fast);
}

.blog-item-card:hover .blog-card-title {
  color: var(--secondary);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.blog-item-card:hover .blog-read-more {
  gap: 0.8rem;
  color: var(--secondary);
}

/* Contact Grid & Form */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
  .contact-card-box {
    padding: 2rem 1.5rem;
  }
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
  .form-group-grid {
    grid-template-columns: 1fr;
  }
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #FFFFFF;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

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

/* Contact Info Items */
.contact-item-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-item-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-item-info p,
.contact-item-info a {
  color: var(--text-body);
  font-size: 0.975rem;
  line-height: 1.6;
}

.contact-item-info a:hover {
  color: var(--secondary);
}

/* Calendar Table */
.calendar-card-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
  margin: 2rem 0;
}

.calendar-card-table th {
  background: var(--primary-dark);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1.15rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
}

.calendar-card-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.95rem;
}

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

.calendar-card-table tr:nth-child(even) td {
  background: var(--bg-soft);
}

.calendar-date-badge {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* Promotion Banner Box */
.promo-highlight-box {
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
  border: 2px dashed #F59E0B;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
}

.promo-highlight-badge {
  display: inline-block;
  background: var(--secondary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.promo-highlight-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #9A3412;
  margin-bottom: 0.75rem;
}

.promo-highlight-desc {
  font-size: 1.05rem;
  color: #7C2D12;
  max-width: 650px;
  margin: 0 auto 1.75rem;
}

/* Resource Directory Card */
.directory-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.directory-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.directory-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.directory-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
}

.directory-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Job Opening Card */
.job-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.job-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.job-tag {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.job-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}
/* ==========================================================================
   Internal Pages: Enhanced Components
   ========================================================================== */

/* 1. Calendar Components */
.calendar-banner-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.calendar-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.calendar-legend-bar {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  background: var(--bg-soft);
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.dot-closed {
  background: #16A34A;
}

.dot-event {
  background: var(--coral);
}

.dot-theme {
  background: var(--navy);
}

.calendar-grid-12 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.calendar-month-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.calendar-month-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.month-card-header {
  background: linear-gradient(135deg, var(--navy), #144982);
  color: #FFFFFF;
  padding: 1rem 1.25rem;
}

.month-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #FFFFFF;
}

.month-card-body {
  padding: 1.25rem;
  flex: 1;
}

.month-event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.month-event-list li {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.5;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #E2E8F0;
}

.month-event-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cal-event-closed {
  color: #15803D !important;
  background: #F0FDF4;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border-left: 3px solid #16A34A;
}

.cal-badge-closed {
  display: inline-block;
  background: #16A34A;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.35rem;
}

.cal-event-highlight {
  color: var(--primary-dark);
  background: #FFF7ED;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border-left: 3px solid var(--coral);
}

.cal-badge-event {
  display: inline-block;
  background: var(--coral);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.35rem;
}

.cal-event-theme {
  font-size: 0.86rem !important;
  color: var(--text-muted) !important;
  background: #F8FAFC;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
}

/* 2. Newsletter Components */
.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

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

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

.newsletter-img-wrap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 768 / 593;
  background: #F1F5F9;
  overflow: hidden;
}

.newsletter-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-smooth);
}

.newsletter-card:hover .newsletter-img-wrap img {
  transform: scale(1.05);
}

.newsletter-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 50, 96, 0.9);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.newsletter-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.newsletter-action {
  margin-top: auto;
}

/* 3. Job Opening & Career Components */
.job-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.job-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.job-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.job-reqs {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* 4. FAQ Accordions */
.faq-list-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-accordion-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #FFFFFF;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item[open] .faq-summary {
  background: #FFFDF9;
  border-bottom: 1px solid #F1F5F9;
}

.faq-question-text {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  transition: transform var(--transition-fast);
}

.faq-accordion-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--coral);
}

.faq-answer-body {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

/* 5. Current Offers Grid */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.offer-featured-card {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.offer-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.offer-badge-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.offer-header {
  margin-bottom: 1.25rem;
}

.offer-num {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.offer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.offer-highlight-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--coral);
  font-family: var(--font-heading);
}

.offer-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-body p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.offer-meta-box {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* 6. Directory Grid (Local Resources) */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.directory-thumb-wrap {
  position: relative;
  height: 200px;
  background: #F1F5F9;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.directory-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 50, 96, 0.92);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.directory-card {
  padding: 0;
  overflow: hidden;
}

.directory-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.directory-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.directory-desc {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.directory-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.directory-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.directory-meta-item a {
  color: var(--navy);
  font-weight: 600;
}

.directory-footer-action {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

/* 7. News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.news-source-badge {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-title a {
  color: var(--navy);
  text-decoration: none;
}

.news-title a:hover {
  color: var(--coral);
}

.news-snippet {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.news-read-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.news-read-link:hover {
  color: var(--coral);
}

/* ==========================================================================
   Footer Accreditation Ribbon (Standardized Across All Pages)
   ========================================================================== */
.footer-accreditations {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem 0;
  margin-bottom: 3.5rem;
}

.accreditations-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.accreditation-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 70px;
}

.accreditation-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #FFFFFF;
}

.accreditation-img {
  max-height: 52px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .footer-accreditations {
    padding: 1.25rem 0;
    margin-bottom: 2.5rem;
  }
  .accreditations-grid {
    gap: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .accreditation-item {
    min-height: 60px;
    padding: 0.4rem 0.75rem;
  }
  .accreditation-img {
    max-height: 42px;
    max-width: 130px;
  }
}

/* ==========================================================================
   Legacy Page Hero Banner (Disabled to prevent conflicts)
   ========================================================================== */
.legacy-page-hero-banner {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #072344;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) saturate(1.15);
  transform: scale(1.01);
  transition: transform 6s ease;
}

.page-hero-banner:hover .page-hero-bg {
  transform: scale(1.04);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 35, 68, 0.88) 0%,
    rgba(10, 50, 96, 0.72) 50%,
    rgba(8, 28, 58, 0.85) 100%
  );
  z-index: 1;
}

.page-hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4.5rem 0;
}

.page-hero-glass-card {
  max-width: 880px;
  background: rgba(10, 50, 96, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FEF3C7;
  background: rgba(242, 169, 0, 0.22);
  border: 1px solid rgba(242, 169, 0, 0.45);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.page-hero-title .highlight-gold {
  color: var(--gold);
  background: linear-gradient(135deg, #FDE68A 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.page-hero-actions .btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

@media (max-width: 868px) {
  .page-hero-content-wrap {
    padding: 2rem 0;
  }
  .page-hero-glass-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .page-hero-desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Clean Visual Banner for Internal Pages (100% Clear Images, Zero Text Overlay)
   ========================================================================== */
.page-banner-clean {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #F1F5F9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 0 !important;
}

.page-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: none !important;
  -webkit-filter: none !important;
}

.page-main-content {
  padding-top: var(--section-spacing) !important;
  padding-bottom: var(--section-spacing) !important;
  background: #F8FAFC;
}

.page-header-clean {
  margin-bottom: 2.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.page-title-divider {
  width: 55px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .page-banner-clean {
    height: 170px;
  }
  .page-main-content {
    padding-top: var(--section-spacing) !important;
    padding-bottom: var(--section-spacing) !important;
  }
  .page-title {
    font-size: 1.85rem;
  }
}


/* Program Cards Modern Responsive Grid */
.program-card-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.25rem;
  align-items: center;
  padding: 2.25rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card-grid:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.program-card-img-wrap {
  width: 100%;
  max-width: 360px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  border: 1px solid #F1F5F9;
}

.program-card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Page Banner Custom Focal Points */
.banner-pos-programs {
  object-position: center 38%;
}

.banner-pos-parents {
  object-position: center 48%;
}

.banner-pos-gallery {
  object-position: center 42%;
}

@media (max-width: 900px) {
  .program-card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .program-card-img-wrap {
    max-width: 100%;
  }
}


/* Hero Banner Responsive for Index */
@media (max-width: 768px) {
  .hero-banner-image-container {
    min-height: 480px;
    justify-content: center;
  }
  .hero-banner-glass-wrapper {
    padding: 2rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-banner-glass-wrapper .container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-glass-box {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-location-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.6rem;
  }
  .hero-banner-title {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }
  .hero-tagline-wrapper {
    margin: 0.4rem auto 0.9rem auto;
  }
  .hero-tagline-badge {
    font-size: 0.92rem;
    padding: 0.35rem 1rem;
    letter-spacing: 0.04em;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    min-height: 44px;
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .hero-banner-title {
    font-size: 1.6rem;
  }
  .hero-tagline-badge {
    font-size: 0.82rem;
    padding: 0.3rem 0.85rem;
  }
  .hero-glass-box {
    padding: 1.25rem 0.85rem;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* Additional Mobile Responsive Polish for Internal Pages */
@media (max-width: 768px) {
  .page-banner-clean {
    height: 170px;
  }
  .page-main-content {
    padding-top: var(--section-spacing) !important;
    padding-bottom: var(--section-spacing) !important;
  }
  .page-title {
    font-size: 1.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  /* Global responsive safety: prevent any text cutting off and prevent awkward word breaks/hyphens */
  h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
  }
  p, a, span, li, button, input, label {
    overflow-wrap: break-word;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
  }
  /* Buttons should wrap nicely on mobile screens and not overflow */
  .btn, .btn-primary, .btn-secondary, .btn-outline {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }
  .content-card {
    padding: 1.5rem 1.25rem !important;
    max-width: 100% !important;
  }
  /* Tables & iframes within content cards */
  iframe, table {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-banner-clean {
    height: 140px;
  }
  .page-main-content {
    padding-top: var(--section-spacing) !important;
    padding-bottom: var(--section-spacing) !important;
  }
  .page-title {
    font-size: 1.45rem;
  }
  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .content-card {
    padding: 1.25rem 0.9rem !important;
  }
  .btn {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    font-size: 0.95rem !important;
  }
}






/* Authentic 3-Column Responsive Gallery Grid (3 Rows / 9 Photos per Section) */
.gallery-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #F1F5F9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}
.gallery-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item-card:hover img {
  transform: scale(1.05);
}
.gallery-item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 42, 92, 0.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") no-repeat center center / 38px 38px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.gallery-item-card:hover::after {
  opacity: 1;
}
@media (max-width: 820px) {
  .gallery-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 500px) {
  .gallery-grid-3col {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

/* Lightbox Modal & Full Size Image Slider */
.jm-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 17, 34, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

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

/* Modal Top Bar */
.jm-gallery-topbar {
  width: 100%;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
}

.jm-gallery-counter {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.jm-gallery-close-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-gallery-close-btn:hover {
  background: #ff8f27;
  border-color: #ff8f27;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 4px 18px rgba(255, 143, 39, 0.45);
}

/* Modal Viewport & Image Display */
.jm-gallery-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 90px;
  box-sizing: border-box;
  overflow: hidden;
}

.jm-gallery-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.jm-gallery-main-img {
  max-width: 90vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  transition: opacity 0.2s ease, transform 0.25s ease;
  display: block;
}

.jm-gallery-main-img.is-loading {
  opacity: 0.3;
  transform: scale(0.97);
}

/* Slider Nav Buttons */
.jm-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 12;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.jm-gallery-nav-btn:hover {
  background: #0063bf;
  border-color: #0063bf;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 99, 191, 0.5);
}

.jm-gallery-prev-btn {
  left: 24px;
}

.jm-gallery-next-btn {
  right: 24px;
}

/* Modal Bottom Bar / Caption */
.jm-gallery-caption-bar {
  width: 100%;
  min-height: 64px;
  padding: 12px 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
}

.jm-gallery-caption-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  max-width: 820px;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .jm-gallery-topbar {
    padding: 0 16px;
    height: 56px;
  }
  .jm-gallery-viewport {
    padding: 10px 14px;
  }
  .jm-gallery-main-img {
    max-height: 72vh;
  }
  .jm-gallery-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
  .jm-gallery-prev-btn { left: 10px; }
  .jm-gallery-next-btn { right: 10px; }
  .jm-gallery-caption-bar {
    padding: 8px 16px 16px;
  }
  .jm-gallery-caption-text {
    font-size: 0.92rem;
  }
}

/* About Us Page Layout & Media */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}
.about-feature-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16, 63, 118, 0.12);
  border: 1px solid #E2E8F0;
  background: #F1F5F9;
  height: 100%;
  min-height: 480px;
  display: flex;
}
.about-feature-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.about-join-family-full {
  width: 100%;
  margin-top: 2.25rem;
  background: #F0F6FD;
  border-left: 5px solid var(--primary-accent, #0063bf);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 99, 191, 0.06);
}
.about-tour-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.about-tour-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  background: #FFFFFF;
}
.about-tour-card iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-feature-img-wrap {
    min-height: auto;
    height: auto;
    max-height: 480px;
  }
  .about-feature-img-wrap img {
    min-height: auto;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 480px;
    object-fit: cover;
    object-position: center 25%;
  }
  .about-tour-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Parents Say Video Slider & Badges */
.parents-badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.parents-badge-card {
  background: #FFFFFF;
  padding: 1.15rem 2.25rem;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.parents-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.parents-video-slider-wrapper {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.parents-video-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #E2E8F0;
}
.parents-video-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}
.parents-video-slide {
  min-width: 100%;
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  background: #000;
}
.parents-video-slide iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: all 0.2s ease;
}
.slider-nav-btn:hover {
  background: #0063bf;
  color: #FFFFFF;
  border-color: #0063bf;
  transform: translateY(-50%) scale(1.08);
}
.slider-nav-prev {
  left: -23px;
}
.slider-nav-next {
  right: -23px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.slider-dot.active {
  background: var(--primary-accent, #0063bf);
  width: 28px;
  border-radius: 999px;
}
@media (max-width: 900px) {
  .slider-nav-prev {
    left: 8px;
  }
  .slider-nav-next {
    right: 8px;
  }
  .parents-badge-card {
    min-width: 200px;
    padding: 0.9rem 1.5rem;
  }
  .enroll-top-grid {
    grid-template-columns: 1fr !important;
  }
  .enroll-program-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .enroll-row-reverse {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
  }
  .enroll-program-row > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .enroll-program-row .enroll-img-container {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }
  .enroll-program-row img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 360 / 291 !important;
    max-height: 420px !important;
    object-fit: cover !important;
    display: block !important;
  }
  .enroll-promo-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* ==========================================================================
   Branded Vibrant Social Media Icons (Header & Footer)
   ========================================================================== */
/* Common base styling */
.site-header .jm-social-links a,
#header .jm-social-links a,
.footer-social-btn,
.footer-social-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
  text-decoration: none !important;
}

.site-header .jm-social-links svg,
#header .jm-social-links svg,
.footer-social-btn svg,
.footer-social-links svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* Header specific padding & sizing (prevents sticking to top/bottom edges) */
.site-header .jm-social-links,
#header .jm-social-links {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-1px) !important;
}

.site-header .jm-social-links a,
#header .jm-social-links a {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

.site-header .jm-social-links svg,
#header .jm-social-links svg {
  width: 9.5px !important;
  height: 9.5px !important;
}

/* Footer specific sizing */
.footer-social-btn,
.footer-social-links a {
  width: 40px !important;
  height: 40px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22) !important;
}

.footer-social-btn svg,
.footer-social-links svg {
  width: 16px !important;
  height: 16px !important;
}

.site-header .jm-social-links a:hover,
#header .jm-social-links a:hover,
.footer-social-btn:hover,
.footer-social-links a:hover {
  transform: translateY(-2px) scale(1.1) !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35) !important;
  filter: brightness(1.1) !important;
}

/* Facebook: #1877F2 */
.site-header .jm-social-links a[href*="facebook.com"],
#header .jm-social-links a[href*="facebook.com"],
.site-header .jm-social-links a[aria-label*="Facebook"],
#header .jm-social-links a[aria-label*="Facebook"],
.footer-social-btn[href*="facebook.com"],
.footer-social-btn[aria-label*="Facebook"],
.footer-social-links a[href*="facebook.com"],
.footer-social-links a[aria-label*="Facebook"] {
  background: #1877F2 !important;
}

/* Instagram: Vibrant Radial Gradient */
.site-header .jm-social-links a[href*="instagram.com"],
#header .jm-social-links a[href*="instagram.com"],
.site-header .jm-social-links a[aria-label*="Instagram"],
#header .jm-social-links a[aria-label*="Instagram"],
.footer-social-btn[href*="instagram.com"],
.footer-social-btn[aria-label*="Instagram"],
.footer-social-links a[href*="instagram.com"],
.footer-social-links a[aria-label*="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

/* YouTube: #FF0000 */
.site-header .jm-social-links a[href*="youtube.com"],
#header .jm-social-links a[href*="youtube.com"],
.site-header .jm-social-links a[aria-label*="YouTube"],
#header .jm-social-links a[aria-label*="YouTube"],
.footer-social-btn[href*="youtube.com"],
.footer-social-btn[aria-label*="YouTube"],
.footer-social-links a[href*="youtube.com"],
.footer-social-links a[aria-label*="YouTube"] {
  background: #FF0000 !important;
}

/* Twitter / X: #000000 */
.site-header .jm-social-links a[href*="x.com"],
.site-header .jm-social-links a[href*="twitter.com"],
#header .jm-social-links a[href*="x.com"],
#header .jm-social-links a[href*="twitter.com"],
.site-header .jm-social-links a[aria-label*="Twitter"],
#header .jm-social-links a[aria-label*="Twitter"],
.footer-social-btn[href*="x.com"],
.footer-social-btn[href*="twitter.com"],
.footer-social-btn[aria-label*="Twitter"],
.footer-social-links a[href*="x.com"],
.footer-social-links a[href*="twitter.com"],
.footer-social-links a[aria-label*="Twitter"] {
  background: #000000 !important;
}

/* LinkedIn: #0A66C2 */
.site-header .jm-social-links a[href*="linkedin.com"],
#header .jm-social-links a[href*="linkedin.com"],
.site-header .jm-social-links a[aria-label*="LinkedIn"],
#header .jm-social-links a[aria-label*="LinkedIn"],
.footer-social-btn[href*="linkedin.com"],
.footer-social-btn[aria-label*="LinkedIn"],
.footer-social-links a[href*="linkedin.com"],
.footer-social-links a[aria-label*="LinkedIn"] {
  background: #0A66C2 !important;
}

/* Google: #4285F4 */
.site-header .jm-social-links a[href*="google.com"],
#header .jm-social-links a[href*="google.com"],
.site-header .jm-social-links a[aria-label*="Google"],
#header .jm-social-links a[aria-label*="Google"],
.footer-social-btn[href*="google.com"],
.footer-social-btn[aria-label*="Google"],
.footer-social-links a[href*="google.com"],
.footer-social-links a[aria-label*="Google"] {
  background: #4285F4 !important;
}

/* Pinterest: #BD081C */
.site-header .jm-social-links a[href*="pinterest.com"],
#header .jm-social-links a[href*="pinterest.com"],
.site-header .jm-social-links a[aria-label*="Pinterest"],
#header .jm-social-links a[aria-label*="Pinterest"],
.footer-social-btn[href*="pinterest.com"],
.footer-social-btn[aria-label*="Pinterest"],
.footer-social-links a[href*="pinterest.com"],
.footer-social-links a[aria-label*="Pinterest"] {
  background: #BD081C !important;
}

/* ==========================================================================
   Footer Get Directions Box (Matching Reference Design)
   ========================================================================== */
.footer-directions-box {
  margin-top: 1.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  max-width: 220px;
  width: 100%;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: all 0.22s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.footer-directions-box:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.footer-directions-pin-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-directions-pin {
  width: 24px;
  height: 24px;
  fill: #ff8f27 !important;
  filter: drop-shadow(0 2px 6px rgba(255, 143, 39, 0.45));
  transition: transform 0.2s ease;
}

.footer-directions-box:hover .footer-directions-pin {
  transform: scale(1.15);
}

.footer-directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #103F76 !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.footer-directions-box:hover .footer-directions-btn {
  background: #f8fafc;
  transform: scale(1.03);
  color: #0063bf !important;
}

@media (max-width: 768px) {
  .footer-directions-box {
    max-width: 100%;
    margin-top: 1rem;
  }
}

/* Temporarily hide Blog links (Navigation Menu & Footer) */
.jm-nav-item:has(a[href*="/blog"]),
.jm-nav-link[href*="/blog"],
.footer-links a[href*="/blog"] {
  display: none !important;
}

/* Hide Floating LET'S TALK Widget */
.lets-talk-widget {
  display: none !important;
}




