/* ==========================================================================
   SANT VIVEKANAND JUNIOR HIGH SCHOOL, MAINPURI
   DESIGN SYSTEM: "SVS — Learning, Growing, Discovering"
   Editorial Grid, Accessible Components, Clean IA & Natural Journey
   ========================================================================== */

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

:root {
  /* Brand Palette (Strictly non-green primary foundation) */
  --color-primary-navy: #092B46;
  --color-navy-dark: #051A2B;
  --color-navy-deep: #03121E;
  --color-navy-light: #123C5E;

  --color-secondary-teal: #14B8A6;
  --color-teal-dark: #0D9488;
  --color-teal-light: #2DD4BF;
  --color-teal-soft: rgba(20, 184, 166, 0.12);
  --color-teal-border: rgba(20, 184, 166, 0.3);

  --color-cta-coral: #FF6B68;
  --color-coral-dark: #E65552;
  --color-coral-soft: rgba(255, 107, 104, 0.14);
  --color-coral-border: rgba(255, 107, 104, 0.35);

  --color-accent-gold: #D6A443;
  --color-gold-dark: #B58428;
  --color-gold-soft: rgba(214, 164, 67, 0.15);
  --color-gold-border: rgba(214, 164, 67, 0.35);

  --color-warm-white: #FAFAF8;
  --color-light-grey: #F3F5F7;
  --color-surface-white: #FFFFFF;
  --color-surface-subtle: #F8FAFC;

  --color-text-primary: #344454;
  --color-text-dark: #092B46;
  --color-text-muted: #5A6D80;
  --color-text-light: #8294A6;
  --color-text-on-navy: #FAFAF8;
  --color-text-on-coral: #092B46;
  /* High contrast >4.6:1 */
  --color-text-on-teal: #092B46;
  /* High contrast 5.4:1 */

  --color-border: #DCE2E8;
  --color-border-subtle: #E8EDF2;
  --color-border-dark: #0E3D63;

  /* Typography Scale */
  --font-family-base: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;

  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-md: 1.125rem;
  /* 18px */
  --text-lg: 1.25rem;
  /* 20px */
  --text-xl: 1.5rem;
  /* 24px */
  --text-2xl: 1.875rem;
  /* 30px */
  --text-3xl: 2.25rem;
  /* 36px */
  --text-4xl: 2.875rem;
  /* 46px */
  --text-5xl: 3.5rem;
  /* 56px */
  --text-hero: clamp(2.35rem, 5vw + 1rem, 4.25rem);

  /* Spacing Grid */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */

  /* Layout Widths */
  --container-max: 1240px;
  --container-narrow: 880px;
  --container-reading: 720px;
  --header-height: 80px;

  /* Border Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Restrained Shadows */
  --shadow-subtle: 0 2px 8px rgba(9, 43, 70, 0.05);
  --shadow-card: 0 4px 16px rgba(9, 43, 70, 0.08);
  --shadow-elevated: 0 12px 32px rgba(9, 43, 70, 0.12);
  --shadow-offset-teal: 8px 8px 0px var(--color-secondary-teal);
  --shadow-offset-gold: 8px 8px 0px var(--color-accent-gold);
  --shadow-offset-navy: 8px 8px 0px var(--color-primary-navy);

  /* Motion & Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-warm-white);
  color: var(--color-text-primary);
}

body {
  font-family: var(--font-family-base);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-primary);
  background-color: var(--color-warm-white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--color-primary-navy);
  color: var(--color-warm-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--color-accent-gold);
}

/* Accessible focus ring */
:focus-visible {
  outline: 3px solid var(--color-secondary-teal);
  outline-offset: 3px;
}

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

a {
  color: var(--color-primary-navy);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary-teal);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

p.lead {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Editorial Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary-navy);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 900;
  line-height: 1.15;
}

h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 700;
}

h5 {
  font-size: var(--text-lg);
  font-weight: 700;
}

h6 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
}

/* ==========================================================================
   Breadcrumb Navigation Component (Semantic, Accessible)
   ========================================================================== */

.breadcrumb-nav {
  padding: var(--space-3) 0;
  background-color: var(--color-light-grey);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-xs);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
}

.breadcrumb-item a {
  color: var(--color-text-muted);
  font-weight: 600;
}

.breadcrumb-item a:hover {
  color: var(--color-primary-navy);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--color-primary-navy);
  font-weight: 700;
}

.breadcrumb-separator {
  color: var(--color-border);
}

/* ==========================================================================
   Editorial Markers, Badges & Dividers
   ========================================================================== */

.editorial-marker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-3);
}

.editorial-marker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.editorial-marker.teal {
  color: var(--color-teal-dark);
}

.editorial-marker.teal::before {
  background-color: var(--color-secondary-teal);
}

.editorial-divider {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-12) 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-navy {
  background: var(--color-primary-navy);
  color: var(--color-warm-white);
}

.badge-teal {
  background: var(--color-teal-soft);
  color: var(--color-teal-dark);
  border: 1px solid var(--color-teal-border);
}

.badge-coral {
  background: var(--color-coral-soft);
  color: var(--color-coral-dark);
  border: 1px solid var(--color-coral-border);
}

.badge-gold {
  background: var(--color-gold-soft);
  color: var(--color-gold-dark);
  border: 1px solid var(--color-gold-border);
}

/* ==========================================================================
   Breadcrumb Navigation (Accessible & SEO-Friendly)
   ========================================================================== */
.breadcrumb-nav {
  padding: 10px 0;
  background-color: var(--color-surface-subtle);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-xs);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-muted);
}

.breadcrumb-item a {
  color: var(--color-primary-navy);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--color-secondary-teal);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--color-text-muted);
  font-weight: 600;
}

.breadcrumb-separator {
  color: var(--color-border);
  user-select: none;
}

/* ==========================================================================
   Layout Containers & Asymmetric Grids
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-reading {
  max-width: var(--container-reading);
}

.section-padding {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.section-padding-sm {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

/* Background Variations */
.bg-warm-white {
  background-color: var(--color-warm-white);
}

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

.bg-surface-white {
  background-color: var(--color-surface-white);
}

.bg-navy {
  background-color: var(--color-primary-navy);
  color: var(--color-warm-white);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-navy p {
  color: var(--color-warm-white);
}

.bg-navy p.lead {
  color: #B4C4D4;
}

/* Editorial 12-Column Grid */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.col-12 {
  grid-column: span 12;
}

.col-8 {
  grid-column: span 8;
}

.col-7 {
  grid-column: span 7;
}

.col-6 {
  grid-column: span 6;
}

.col-5 {
  grid-column: span 5;
}

.col-4 {
  grid-column: span 4;
}

.col-3 {
  grid-column: span 3;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Asymmetric Photo Frame */
.photo-frame {
  position: relative;
  background: var(--color-surface-white);
  padding: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

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

.photo-frame.offset-teal {
  box-shadow: var(--shadow-offset-teal);
}

.photo-frame.offset-gold {
  box-shadow: var(--shadow-offset-gold);
}

.photo-frame.offset-navy {
  box-shadow: var(--shadow-offset-navy);
}

.photo-caption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Buttons & Interactive States
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-family: var(--font-family-base);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

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

/* Primary CTA Coral Button (WCAG AA Compliant Dark Navy Text: 4.65:1) */
.btn-coral {
  background-color: var(--color-cta-coral);
  color: var(--color-text-on-coral);
  border-color: var(--color-cta-coral);
  box-shadow: 0 4px 12px rgba(255, 107, 104, 0.3);
}

.btn-coral:hover {
  background-color: var(--color-coral-dark);
  border-color: var(--color-coral-dark);
  color: #051A2B;
}

.btn-navy {
  background-color: var(--color-primary-navy);
  color: var(--color-warm-white);
  border-color: var(--color-primary-navy);
}

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

.btn-teal {
  background-color: var(--color-secondary-teal);
  color: var(--color-text-on-teal);
  border-color: var(--color-secondary-teal);
}

.btn-teal:hover {
  background-color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: var(--color-warm-white);
}

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

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

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

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

.btn-sm {
  padding: 8px 16px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 14px 28px;
  font-size: var(--text-base);
}

.btn-block {
  width: 100%;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #051A2B;
  font-weight: 800;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  border-color: #1EBE5D;
  color: #03121E;
}

/* ==========================================================================
   Header & Streamlined Primary Navigation (Phase 3 & 7)
   Five Primary Links: Home | About | Academics | Admissions | Contact
   Primary CTA: Enquire Now
   ========================================================================== */

/* Top Gold Ornamental Accent Line */
.header-top-accent {
  height: 3px;
  background: linear-gradient(90deg, #D6A443 0%, #14B8A6 50%, #D6A443 100%);
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 4px rgba(9, 43, 70, 0.04);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(9, 43, 70, 0.08);
  border-bottom-color: var(--color-border);
}

.site-header .container {
  max-width: 1360px;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: var(--space-3);
}

/* Left Section — Official School Branding (Redesigned with Prestigious Crest & Cinzel Typography) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  padding: 2.5px;
  border: 2px solid var(--color-accent-gold);
  box-shadow: 0 0 0 1px rgba(214, 164, 67, 0.28), 0 3px 10px rgba(9, 43, 70, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.brand:hover .brand-emblem {
  transform: scale(1.06) rotate(-2deg);
  border-color: var(--color-gold-dark);
  box-shadow: 0 0 0 2px rgba(214, 164, 67, 0.4), 0 6px 18px rgba(214, 164, 67, 0.35), 0 3px 8px rgba(9, 43, 70, 0.16);
}

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

.brand-name {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary-navy);
  letter-spacing: 0.03em;
  line-height: 1.15;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.brand:hover .brand-name {
  color: var(--color-secondary-teal);
}

/* Hide legacy sub-line to ensure school title is always rendered completely straight on one single line */
.brand-sub {
  display: none !important;
}

.brand-sanskrit {
  font-family: 'Noto Sans Devanagari', 'Devanagari Sangam MN', 'Mangal', 'Cinzel', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-gold);
  letter-spacing: 0.06em;
  margin-top: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1140px) {
  .brand-sanskrit {
    display: none;
  }
}

@media (max-width: 768px) {
  .brand-name {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .brand-emblem {
    width: 42px;
    height: 42px;
    padding: 2px;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 12.5px;
    letter-spacing: 0.015em;
  }

  .brand-emblem {
    width: 38px;
    height: 38px;
    padding: 1.5px;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 11.5px;
    letter-spacing: 0;
  }

  .brand-emblem {
    width: 34px;
    height: 34px;
  }
}

/* Center Section — 7 Primary Navigation Items */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 1280px) {
  .nav-desktop {
    gap: 8px;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary-navy);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .nav-link {
    gap: 4px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

.nav-link:hover {
  color: var(--color-secondary-teal);
  background-color: var(--color-light-grey);
}

.nav-link.active {
  color: var(--color-secondary-teal);
  font-weight: 800;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background-color: var(--color-secondary-teal);
  border-radius: 2px 2px 0 0;
}

/* Mega-Dropdown Menu Systems */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Hover bridge preventing cursor gap flicker */
.nav-item-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
  color: var(--color-text-muted);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--color-secondary-teal);
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  min-width: 520px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent-gold);
  border-radius: var(--radius-xs);
  box-shadow: 0 16px 36px -4px rgba(9, 43, 70, 0.12), 0 6px 16px -2px rgba(9, 43, 70, 0.06);
  padding: 20px 22px 0 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1050;
  overflow: hidden;
}

/* Specific alignments for dropdowns so they don't clip offscreen */
.mega-dropdown-about {
  left: 0;
}

.mega-dropdown-academics,
.mega-dropdown-admissions {
  left: 50%;
  transform: translateX(-50%) translateY(6px);
}

.mega-dropdown-notices {
  right: 0;
  left: auto;
}

.nav-item-dropdown:hover .mega-dropdown-about,
.nav-item-dropdown:focus-within .mega-dropdown-about,
.nav-item-dropdown.is-open .mega-dropdown-about,
.nav-item-dropdown:hover .mega-dropdown-notices,
.nav-item-dropdown:focus-within .mega-dropdown-notices,
.nav-item-dropdown.is-open .mega-dropdown-notices {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item-dropdown:hover .mega-dropdown-academics,
.nav-item-dropdown:focus-within .mega-dropdown-academics,
.nav-item-dropdown.is-open .mega-dropdown-academics,
.nav-item-dropdown:hover .mega-dropdown-admissions,
.nav-item-dropdown:focus-within .mega-dropdown-admissions,
.nav-item-dropdown.is-open .mega-dropdown-admissions {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-heading {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid #F0F4F8;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.mega-item:hover,
.mega-item:focus {
  background-color: var(--color-light-grey);
  outline: none;
}

.mega-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mega-item-icon svg {
  width: 15px;
  height: 15px;
}

.mega-item-text {
  display: flex;
  flex-direction: column;
}

.mega-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.3;
}

.mega-item-desc {
  font-size: 11.5px;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.mega-bottom-strip {
  margin: 0 -22px;
  padding: 10px 22px;
  background: var(--color-light-grey);
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.mega-bottom-link {
  color: var(--color-secondary-teal);
  font-weight: 700;
  text-decoration: none;
}

.mega-bottom-link:hover {
  text-decoration: underline;
}

.mega-cta-strip {
  background: rgba(255, 107, 104, 0.08);
  border-top-color: rgba(255, 107, 104, 0.25);
  color: var(--color-primary-navy);
}

/* Right Section — Divider, Coral CTA Button & Mobile Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-divider {
  width: 1px;
  height: 26px;
  background-color: var(--color-border);
  display: inline-block;
}

@media (max-width: 1023px) {
  .header-divider {
    display: none;
  }
}

/* ==========================================================================
   Header — Premium Navy & Gold Enquire Now Button
   ========================================================================== */
.btn-enquire {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px 10px 18px;
  font-family: var(--font-family-base, 'Nunito', sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF !important;
  background-color: #0B3568;
  border: 1px solid #C08A3E;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.015em;
  box-shadow: 0 4px 12px rgba(11, 53, 104, 0.18), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  z-index: 1;
}

.btn-enquire:hover {
  background-color: #082850;
  border-color: #D6A443;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 53, 104, 0.26), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-enquire:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(11, 53, 104, 0.2);
}

.btn-enquire:focus-visible {
  outline: 2px solid #C08A3E;
  outline-offset: 3px;
}

/* Circular Gold Accent on the Right with White Right-Arrow Icon */
.btn-enquire .cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #C08A3E;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-left: 2px;
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 200ms ease;
}

.btn-enquire .cta-arrow svg {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  display: block;
}

.btn-enquire:hover .cta-arrow {
  transform: translateX(2px);
  background-color: #D6A443;
}

@media (min-width: 1280px) {
  .btn-enquire {
    padding: 12px 16px 12px 22px;
    font-size: 15px;
    gap: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .btn-enquire,
  .btn-enquire .cta-arrow {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 1023px) {
  .header-actions .btn-enquire {
    display: none;
  }
}


/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  color: var(--color-primary-navy);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-primary-navy);
  margin: 2px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Panel / Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-surface-white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--space-6);
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-primary-navy);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.mobile-drawer-close:hover,
.mobile-drawer-close:focus {
  background-color: var(--color-light-grey);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-6);
  padding: 0;
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-primary-navy);
  border-radius: var(--radius-xs);
  text-decoration: none;
  flex-grow: 1;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--color-light-grey);
  color: var(--color-secondary-teal);
}

/* Mobile Accordion Submenus */
.mobile-nav-item-expandable {
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav-expand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-sub-toggle {
  background: transparent;
  border: none;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--color-primary-navy);
  transition: transform var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-sub-toggle svg {
  transition: transform var(--transition-fast);
}

.mobile-nav-item-expandable.is-open .mobile-sub-toggle svg {
  transform: rotate(180deg);
  color: var(--color-secondary-teal);
}

.mobile-submenu {
  display: none;
  padding: 4px 16px 12px 24px;
  background-color: var(--color-light-grey);
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}

.mobile-nav-item-expandable.is-open .mobile-submenu {
  display: flex;
}

.mobile-sub-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(220, 226, 232, 0.6);
}

.mobile-sub-link:last-child {
  border-bottom: none;
}

.mobile-sub-link:hover,
.mobile-sub-link.active {
  color: var(--color-secondary-teal);
}

.mobile-contact-bar {
  margin-top: auto;
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ==========================================================================
   SVS Premium Hero Section (Master Redesign)
   ========================================================================== */

.svs-premium-hero {
  position: relative;
  background-color: #FFFDF9;
  background-image:
    radial-gradient(circle at 10% 88%, rgba(214, 163, 77, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 86% 26%, rgba(247, 230, 196, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  padding: 40px 0 28px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-bg-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  height: 260px;
  background: radial-gradient(ellipse at bottom left, rgba(214, 163, 77, 0.12) 0%, rgba(255, 253, 249, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hero-main-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  gap: var(--space-6);
  min-height: 480px;
}

/* --- Left Column: Content & CTAs --- */
.hero-content-col {
  padding-right: var(--space-3);
  z-index: 3;
}

@media (min-width: 1024px) and (max-width: 1350px) {
  .hero-content-col {
    padding-left: 20px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #C08A3E;
  border-radius: 2px;
  flex-shrink: 0;
}

.eyebrow-text {
  font-family: var(--font-family-base, 'Nunito', sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #C08A3E;
  text-transform: uppercase;
  line-height: 1.4;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.95rem, 2.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0B3568;
  letter-spacing: -0.015em;
  margin: 8px 0 10px 0;
  max-width: 610px;
}

.hero-title-sub {
  color: #0B3568;
  display: inline;
}

.hero-br {
  display: block;
}

.hero-location {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
  color: #C08A3E;
  margin-top: 8px;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.hero-lead-text {
  font-family: var(--font-family-base, 'Nunito', sans-serif);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.65;
  color: #5B6470;
  max-width: 500px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-hero-primary {
  background-color: #FF6565;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  padding: 13px 24px;
  box-shadow: 0 8px 22px rgba(255, 101, 101, 0.32);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-hero-primary:hover {
  background-color: #EE4E4E;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 101, 101, 0.42);
}

.btn-hero-primary .btn-icon {
  width: 19px;
  height: 19px;
}

.btn-hero-primary .btn-arrow {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-hero-secondary {
  background-color: #FFFFFF;
  color: #0B3568 !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 22px;
  border: 1.5px solid #0B3568;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background-color: #EDF3F8;
  transform: translateY(-2px);
  border-color: #00138E;
  box-shadow: 0 6px 16px rgba(11, 53, 104, 0.08);
}

.btn-hero-secondary .btn-icon {
  width: 18px;
  height: 18px;
}

/* Three Horizontal School Highlights */
.hero-highlights-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
}

.highlight-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.chip-icon-box svg {
  width: 19px;
  height: 19px;
}

.chip-teal {
  background-color: #E6F7F5;
  color: #12B8A6;
}

.chip-gold {
  background-color: #FFF6E5;
  color: #D6A34D;
}

.chip-blue {
  background-color: #EBF3FC;
  color: #1E62AF;
}

.chip-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0B3568;
  line-height: 1.2;
}

.chip-label {
  font-size: 11px;
  font-weight: 600;
  color: #718096;
  line-height: 1.2;
  margin-top: 2px;
}

.highlight-divider {
  width: 1px;
  height: 32px;
  background-color: #E2E8F0;
}

/* --- Right Column: Visual Composition --- */
.hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Decorative Sanskrit Shloka Verse */
.hero-sanskrit-touch {
  text-align: center;
  margin-bottom: -18px;
  z-index: 4;
  position: relative;
  max-width: 380px;
}

.sanskrit-touch-text {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: #55687D;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.sanskrit-line {
  display: block;
}

.sanskrit-lotus-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
}

.lotus-line {
  width: 26px;
  height: 1px;
  background-color: #D6A34D;
  opacity: 0.7;
}

.lotus-icon {
  width: 22px;
  height: 11px;
}

/* Main Visual Frame — Soft Background-Emergent Fade (No Solid Border) */
.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft Ambient Glow emerging from behind the photograph */
.hero-visual-frame::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(ellipse at 50% 48%, rgba(214, 163, 77, 0.22) 0%, rgba(11, 53, 104, 0.08) 55%, transparent 75%);
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
}

.hero-students-img {
  position: relative;
  z-index: 1;
  border-radius: 7%;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  /* Ultra-smooth feathered fade so photo emerges seamlessly from the background */
  -webkit-mask-image: radial-gradient(ellipse 78% 74% at 50% 48%, #000000 30%, rgba(0, 0, 0, 0.85) 52%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.18) 84%, transparent 98%);
  mask-image: radial-gradient(ellipse 78% 74% at 50% 48%, #000000 30%, rgba(0, 0, 0, 0.85) 52%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.18) 84%, transparent 98%);
}

/* Integrated Sanskrit Shloka Strip inside Hero Section */
.hero-shloka-strip {
  margin-top: 36px;
  margin-bottom: 24px;
  padding: 16px 0;
  position: relative;
  z-index: 4;
}

/* --- Floating Bottom Statistics Panel --- */
.hero-stats-panel {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(11, 53, 104, 0.08);
  padding: 16px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 5;
}

.stat-pill-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 12px;
}

.stat-pill-icon {
  width: 38px;
  height: 38px;
  color: #0B3568;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-pill-icon svg {
  width: 32px;
  height: 32px;
}

.stat-pill-number {
  font-size: 24px;
  font-weight: 900;
  color: #0B3568;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-pill-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-top: 2px;
  white-space: nowrap;
}

.stat-pill-divider {
  width: 1px;
  height: 38px;
  background-color: #E2E8F0;
}

/* --- Responsive Layout & Social Dock Clearance --- */
@media (max-width: 1200px) {
  .hero-container {
    padding-left: 64px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding-left: 56px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding-left: 60px;
    padding-right: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-main-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-content-col {
    padding-right: 0;
  }

  .hero-title {
    font-size: clamp(1.95rem, 3.8vw, 2.45rem);
    line-height: 1.2;
    max-width: 100%;
  }

  .hero-br {
    display: none;
  }

  .hero-location {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  }

  .hero-lead-text {
    max-width: 620px;
    font-size: 15px;
  }

  .hero-students-img {
    border-radius: 20px;
  }

  .hero-stats-panel {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 20px;
  }

  .stat-pill-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .svs-premium-hero {
    padding: 24px 0 24px 0;
  }

  .hero-eyebrow {
    margin-bottom: 6px;
    gap: 8px;
  }

  .eyebrow-line {
    width: 20px;
  }

  .eyebrow-text {
    font-size: clamp(10.5px, 2.8vw, 12px);
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.1rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    margin: 8px 0 10px 0;
  }

  .hero-br {
    display: none;
  }

  .hero-location {
    font-size: clamp(0.95rem, 3.8vw, 1.1rem);
    line-height: 1.35;
    margin-top: 6px;
    margin-bottom: 12px;
  }

  .hero-lead-text {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

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

  .hero-highlights-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .highlight-divider {
    display: none;
  }

  .hero-sanskrit-touch {
    margin-bottom: 12px;
  }

  .hero-stats-panel {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 10px;
  }

  .stat-pill-item {
    gap: 10px;
    padding: 4px;
  }

  .stat-pill-icon svg {
    width: 24px;
    height: 24px;
  }

  .stat-pill-number {
    font-size: 20px;
  }

  .stat-pill-label {
    font-size: 11px;
    white-space: normal;
  }
}

/* ==========================================================================
   Sanskrit Shloka Section (Homepage)
   Typography: AMS Kashi (Local Font)
   Colors: Dark Blue #00138E, Subtle Gold #D6A443
   Minimal, inline, horizontally balanced; no background card or colored box.
   ========================================================================== */

@font-face {
  font-family: 'AMS Kashi';
  src: url('/public/fonts/AMS-Kashi.ttf') format('truetype'),
    url('../fonts/AMS-Kashi.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.shloka-section {
  background-color: #fffef2;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
  position: relative;
}

.shloka-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1140px;
  margin: 0 auto;
  gap: var(--space-8);
}

.shloka-item {
  flex: 1 1 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

.shloka-text {
  font-family: 'AMS Kashi', serif;
  font-size: clamp(32px, 1.6vw, 28px);
  font-weight: 600;
  line-height: 1.85;
  padding-top: 20%;
  color: #e4ae42f5;
  margin: 0;
  letter-spacing: 0.020em;
  text-align: center;
}

/* Desktop: side-by-side, exactly two lines per shloka */
@media (min-width: 900px) {
  .shloka-line {
    display: block;
    white-space: nowrap;
  }

  .shloka-divider {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 64px;
    position: relative;
  }

  .shloka-divider::before,
  .shloka-divider::after {
    content: '';
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, transparent, #d6a44373);
  }

  .shloka-divider::after {
    background: linear-gradient(to bottom, rgba(214, 164, 67, 0.45), transparent);
  }

  .shloka-ornament {
    color: #D6A443;
    font-size: 18px;
    line-height: 1;
    padding: 3px 0;
    opacity: 0.85;
  }
}

/* Mobile & Tablet: Stack vertically, wrap text naturally */
@media (max-width: 899px) {
  .shloka-layout {
    flex-direction: column;
    gap: var(--space-4);
    padding: 0 var(--space-2);
  }

  .shloka-text {
    font-size: clamp(16px, 4.2vw, 19px);
    line-height: 1.75;
  }

  .shloka-line {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .shloka-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    margin: 4px auto;
  }

  .shloka-divider::before,
  .shloka-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(214, 164, 67, 0.45));
  }

  .shloka-divider::after {
    background: linear-gradient(to right, rgba(214, 164, 67, 0.45), transparent);
  }

  .shloka-ornament {
    color: #D6A443;
    font-size: 10px;
    line-height: 1;
    padding: 0 6px;
    opacity: 0.85;
  }
}

/* Dedicated Font Color for School Detailed Address */
.school-detailed-address {
  color: #00138E !important;
  font-weight: 700;
  line-height: 1.6;
}

/* ==========================================================================
   Natural Visitor Journey: Next Steps Section (Phase 4)
   ========================================================================== */

.next-steps-section {
  background-color: var(--color-light-grey);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0;
}

.next-steps-header {
  margin-bottom: var(--space-8);
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.next-step-card {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.next-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-secondary-teal);
  box-shadow: var(--shadow-card);
}

.next-step-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-2);
}

.next-step-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-2);
}

.next-step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.next-step-action {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.next-step-action:hover {
  color: var(--color-secondary-teal);
}

/* ==========================================================================
   Accordion Component (Accessible FAQ)
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--color-secondary-teal);
}

.faq-summary {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--color-primary-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary-teal);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-summary::after {
  content: "−";
  color: var(--color-cta-coral);
}

.faq-content {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  line-height: 1.7;
  border-top: 1px dashed var(--color-border-subtle);
  padding-top: var(--space-4);
}

/* ==========================================================================
   Journal Chapters, Quote Callouts & Timeline
   ========================================================================== */

.journal-chapter {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-subtle);
}

.chapter-number {
  font-family: var(--font-family-mono);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-2);
  display: block;
}

.quote-editorial {
  position: relative;
  padding: var(--space-8) var(--space-10);
  background-color: var(--color-light-grey);
  border-left: 4px solid var(--color-primary-navy);
  margin: var(--space-8) 0;
}

.quote-editorial p {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: var(--space-3);
}

.quote-editorial cite {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.learning-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.learning-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-subtle);
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-navy);
  color: var(--color-warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: var(--text-md);
  margin-bottom: var(--space-2);
}

.step-circle.teal {
  background: var(--color-secondary-teal);
  color: var(--color-text-on-teal);
}

.step-circle.gold {
  background: var(--color-accent-gold);
  color: var(--color-primary-navy);
}

.step-content h3 {
  margin-bottom: var(--space-2);
}

.feature-card {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-secondary-teal);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-teal-soft);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

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

.feature-icon-box.coral {
  background: var(--color-coral-soft);
  color: var(--color-coral-dark);
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-2);
}

.form-label span.required {
  color: var(--color-cta-coral);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family-base);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-surface-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary-teal);
  box-shadow: 0 0 0 3px var(--color-teal-soft);
}

.form-control.is-invalid {
  border-color: var(--color-cta-coral);
  background-color: #FFF5F5;
}

.form-error-msg {
  display: none;
  font-size: var(--text-xs);
  color: #DC2626;
  font-weight: 700;
  margin-top: var(--space-1);
}

.form-control.is-invalid+.form-error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.form-card {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.calc-result-box {
  background-color: var(--color-light-grey);
  border: 2px dashed var(--color-secondary-teal);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
  margin-top: var(--space-6);
  display: none;
}

.calc-result-box.visible {
  display: block;
}

.calc-age-display {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-primary-navy);
  line-height: 1.2;
}

/* ==========================================================================
   Notices & Bulletin
   ========================================================================== */

.notice-card {
  display: flex;
  gap: var(--space-5);
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.notice-card:hover {
  border-color: var(--color-secondary-teal);
  transform: translateY(-2px);
}

.notice-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--color-primary-navy);
  color: var(--color-warm-white);
  border-radius: var(--radius-xs);
  text-align: center;
}

.notice-date-day {
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1;
}

.notice-date-month {
  font-size: var(--text-xs);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.notice-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notice-title {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-1);
}

.notice-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Gallery & Lightbox Modal
   ========================================================================== */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface-white);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(to top, rgba(9, 43, 70, 0.9), transparent);
  color: var(--color-warm-white);
  font-size: var(--text-xs);
  font-weight: 700;
}

.lightbox-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
}

.lightbox-dialog::backdrop {
  background: rgba(9, 43, 70, 0.85);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  background: var(--color-primary-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-img {
  max-height: 75vh;
  width: auto;
  object-fit: contain;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-warm-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--color-cta-coral);
  color: var(--color-primary-navy);
}

.lightbox-caption-text {
  padding: 12px 20px;
  color: var(--color-warm-white);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--color-navy-dark);
}

/* ==========================================================================
   Footer Component with Grouped Navigation Columns (Phase 7)
   ========================================================================== */

.site-footer {
  background-color: var(--color-primary-navy);
  color: var(--color-warm-white);
  border-top: 4px solid var(--color-accent-gold);
}

.footer-top {
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
}

.footer-grid-grouped {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-8);
}

.footer-brand-col {
  grid-column: span 12;
}

.footer-col-1 {
  grid-column: span 6;
}

.footer-col-2 {
  grid-column: span 6;
}

.footer-contact-col {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .footer-brand-col {
    grid-column: span 4;
  }

  .footer-col-1 {
    grid-column: span 2;
  }

  .footer-col-2 {
    grid-column: span 2;
  }

  .footer-contact-col {
    grid-column: span 4;
  }
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer-brand-logo img {
  width: 44px;
  height: 44px;
}

.footer-brand-title {
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--color-warm-white);
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: var(--text-xs);
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.footer-desc {
  font-size: var(--text-sm);
  color: #B4C4D4;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav-link {
  font-size: var(--text-sm);
  color: #D1DCE5;
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-secondary-teal);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: #D1DCE5;
  line-height: 1.5;
}

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

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

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

.footer-bottom {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border-dark);
  font-size: var(--text-xs);
  color: #8294A6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

/* ==========================================================================
   Homepage Expansion & Editorial UI Enhancements
   ========================================================================== */

/* The SVS Approach (Themes with Typography & Gold Accents) */
.approach-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.approach-theme-item {
  position: relative;
  padding: var(--space-6);
  background: var(--color-surface-white);
  border-left: 3px solid var(--color-accent-gold);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.approach-theme-item:hover {
  transform: translateY(-2px);
  border-left-color: var(--color-secondary-teal);
}

.approach-num {
  font-family: var(--font-family-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  display: block;
}

.approach-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.approach-desc {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Learning Beyond Classroom (Asymmetric Photo Composition) */
.photo-asymmetric-composition {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-6);
  align-items: stretch;
}

.photo-lead-card {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-white);
  padding: 8px;
  box-shadow: var(--shadow-offset-teal);
}

.photo-lead-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

.photo-stacked-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.photo-stack-item {
  border: 1px solid var(--color-border);
  background: var(--color-surface-white);
  padding: 8px;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-subtle);
}

.photo-stack-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

/* Campus Life Photo Story */
.photo-story-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.story-tile {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  padding: 6px;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.story-tile:hover {
  transform: translateY(-3px);
}

.story-tile img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

.story-tile-lead {
  grid-column: span 6;
}

.story-tile-lead img {
  height: 340px;
}

.story-tile-side {
  grid-column: span 3;
}

.story-tile-side img {
  height: 340px;
}

.story-caption-bar {
  padding: 8px 6px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}

.story-caption-title {
  font-weight: 800;
  color: var(--color-primary-navy);
}

.story-caption-tag {
  color: var(--color-accent-gold);
  font-weight: 700;
}

/* Why Parents Explore SVS (Evaluation Framework) */
.eval-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.eval-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-subtle);
}

.eval-icon-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: var(--color-light-grey);
  border: 1px solid var(--color-border);
  color: var(--color-secondary-teal);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.eval-body h4 {
  margin-bottom: var(--space-2);
  color: var(--color-primary-navy);
  font-size: var(--text-lg);
}

.eval-body p {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.eval-body a {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-teal-dark);
}

/* Parent Information Hub */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.hub-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-secondary-teal);
  box-shadow: var(--shadow-card);
}

.hub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.hub-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: var(--color-light-grey);
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.hub-card-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
}

.hub-card-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: var(--space-2);
}

.hub-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.hub-card-action {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Contact Modern Strip */
.contact-preview-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-8);
  align-items: stretch;
}

.contact-info-panel {
  padding: var(--space-8);
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.contact-map-panel {
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  min-height: 360px;
}

.contact-map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: none;
  display: block;
}

/* Responsive tweaks for new sections */
@media (max-width: 991px) {

  .photo-asymmetric-composition,
  .contact-preview-layout {
    grid-template-columns: 1fr;
  }

  .story-tile-lead {
    grid-column: span 12;
  }

  .story-tile-side {
    grid-column: span 6;
  }

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

  .approach-theme-grid,
  .eval-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .story-tile-side {
    grid-column: span 12;
  }

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1023px) {
  .hero-photo-inset {
    position: static;
    width: 100%;
    margin-top: var(--space-4);
    aspect-ratio: 16/9;
  }
}

@media (max-width: 767px) {
  .editorial-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .learning-step {
    grid-template-columns: 50px 1fr;
    gap: var(--space-4);
  }

  .step-circle {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
  }

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

  .mobile-contact-bar .btn-coral {
    display: flex;
  }
}

@media (max-width: 389px) {
  .brand-name {
    font-size: var(--text-sm);
  }

  .brand-sub {
    font-size: 10px;
  }

  .btn {
    padding: 10px 16px;
    font-size: var(--text-xs);
  }

  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* ==========================================================================
   Contact Page & Working Enquiry Form System
   ========================================================================== */

.contact-hero-wrap {
  position: relative;
  background: var(--color-primary-navy);
  color: var(--color-warm-white);
  padding: 56px 0 64px;
  overflow: hidden;
  border-bottom: 3px solid var(--color-secondary-teal);
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
}

.contact-hero-photo {
  width: 240px;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(250, 250, 248, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-8);
  align-items: start;
}

/* Touchpoint Cards in Left Column */
.touchpoint-card {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.touchpoint-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--color-secondary-teal);
}

.touchpoint-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.touchpoint-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.touchpoint-icon svg {
  width: 18px;
  height: 18px;
}

.touchpoint-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-navy);
  margin: 0;
}

.touchpoint-links {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.5;
}

.touchpoint-links a {
  color: var(--color-primary-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

.touchpoint-links a:hover,
.touchpoint-links a:focus {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

/* Enquiry Form Styling */
.enquiry-form-card {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(9, 43, 70, 0.07);
}

.enquiry-form-header {
  margin-bottom: 24px;
}

.enquiry-form-header h2 {
  font-size: var(--text-2xl);
  color: var(--color-primary-navy);
  margin: 0 0 8px 0;
}

.enquiry-form-header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-field-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-field-label .req {
  color: var(--color-cta-coral);
  font-weight: 800;
  margin-left: 3px;
}

.form-field-label .opt {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-light);
}

.form-input-text,
.form-select,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: var(--font-family-base);
  font-size: 15px;
  color: var(--color-text-primary);
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input-text:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-secondary-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.form-input-text.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #E53E3E !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15) !important;
}

.form-field-error {
  color: #C53030;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.form-field-group.has-error .form-field-error,
.is-invalid~.form-field-error {
  display: block;
}

.form-field-help {
  color: var(--color-text-muted);
  font-size: 12px;
  margin-top: 4px;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 24px 0;
  font-size: 13.5px;
  color: var(--color-text-primary);
  line-height: 1.45;
}

.form-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary-teal);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-row a {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

/* Honeypot hidden input */
.svs-hp-trap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Submit Button & In-Flight State */
.btn-enquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 28px;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary-navy);
  background-color: var(--color-cta-coral);
  border: 1px solid rgba(9, 43, 70, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 107, 104, 0.3);
  transition: all 0.2s ease;
}

.btn-enquiry-submit:hover:not(:disabled) {
  background-color: var(--color-coral-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 104, 0.4);
}

.btn-enquiry-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Alert Notification Banners */
.enquiry-alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.enquiry-alert.is-visible {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.enquiry-alert-success {
  background-color: #E6FFFA;
  border: 1.5px solid #38B2AC;
  color: #234E52;
}

.enquiry-alert-error {
  background-color: #FFF5F5;
  border: 1.5px solid #E53E3E;
  color: #9B2C2C;
}

/* Map Section */
.campus-map-card {
  margin-top: 56px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface-white);
  box-shadow: var(--shadow-card);
}

.campus-map-header {
  padding: 16px 24px;
  background: var(--color-primary-navy);
  color: var(--color-warm-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.campus-map-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: #EAEEF2;
}

.campus-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Interactive Map Click-To-Load Placeholder */
.map-click-to-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(9, 43, 70, 0.75) 0%, rgba(9, 43, 70, 0.9) 100%), url('../images/photo_2026-05-19_22-54-23.jpg') center/cover no-repeat;
  color: var(--color-warm-white);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.map-click-to-load.loaded {
  display: none;
}

/* FAQ Accordion on Contact Page */
.contact-faq-section {
  margin-top: 56px;
  padding: 40px;
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.contact-faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.contact-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-navy);
  text-align: left;
  cursor: pointer;
}

.contact-faq-question:hover {
  color: var(--color-teal-dark);
}

.contact-faq-answer {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-primary);
  display: none;
}

.contact-faq-item.is-open .contact-faq-answer {
  display: block;
}

.contact-faq-item.is-open .contact-faq-chevron {
  transform: rotate(180deg);
}

.contact-faq-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .contact-hero-inner {
    grid-template-columns: 1fr;
  }

  .contact-hero-photo {
    display: none;
  }
}

@media (max-width: 640px) {
  .enquiry-form-card {
    padding: 24px 18px;
  }

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

/* ==========================================================================
   Social Media Stat Cards (Contact Page)
   ========================================================================== */
.social-stat-section {
  margin: var(--space-10) 0 var(--space-8) 0;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.social-stat-header {
  margin-bottom: var(--space-6);
  max-width: 720px;
}

.social-stat-title {
  font-size: var(--text-2xl);
  color: var(--color-primary-navy);
  margin-bottom: 8px;
}

.social-stat-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.social-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.social-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.social-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.social-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 19, 142, 0.08);
}

.social-stat-card.instagram:hover {
  border-color: #E1306C;
}

.social-stat-card.instagram:hover::before {
  background: #E1306C;
}

.social-stat-card.facebook:hover {
  border-color: #1877F2;
}

.social-stat-card.facebook:hover::before {
  background: #1877F2;
}

.social-stat-card.youtube:hover {
  border-color: #FF0000;
}

.social-stat-card.youtube:hover::before {
  background: #FF0000;
}

.social-stat-card.whatsapp:hover {
  border-color: #25D366;
}

.social-stat-card.whatsapp:hover::before {
  background: #25D366;
}

.social-stat-card.gmail:hover {
  border-color: #EA4335;
}

.social-stat-card.gmail:hover::before {
  background: #EA4335;
}

.social-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.social-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.social-stat-icon.instagram {
  background: #FDF0F5;
  color: #E1306C;
}

.social-stat-icon.facebook {
  background: #EFF6FF;
  color: #1877F2;
}

.social-stat-icon.youtube {
  background: #FEF0F0;
  color: #FF0000;
}

.social-stat-icon.whatsapp {
  background: #EFFCF4;
  color: #25D366;
}

.social-stat-icon.gmail {
  background: #FEF0F0;
  color: #EA4335;
}

.social-stat-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 12px;
  background: #F1F5F9;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.social-stat-content {
  margin-bottom: var(--space-4);
}

.social-stat-platform {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 2px;
}

.social-stat-handle {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-secondary-teal);
  margin-bottom: 6px;
  word-break: break-all;
}

.social-stat-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.social-stat-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border);
  transition: color 0.15s ease, gap 0.15s ease;
}

.social-stat-card:hover .social-stat-action {
  color: var(--color-secondary-teal);
  gap: 9px;
}

.social-stat-arrow {
  font-size: 14px;
  line-height: 1;
}

/* Tablet & Mobile responsive */
@media (max-width: 1120px) {
  .social-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .social-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .social-stat-card {
    padding: var(--space-4);
  }

  .social-stat-icon {
    width: 38px;
    height: 38px;
  }

  .social-stat-icon svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 520px) {
  .social-stat-grid {
    grid-template-columns: 1fr;
  }
}

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

/* ==========================================================================
   Floating Social Media Dock (Redesigned)
   Position: Fixed vertical dock on the left edge, vertically centered
   Container: Refined translucent frosted glass with subtle border and soft shadow
   Buttons: Five neutral-surface buttons with restrained brand-color highlights
   Tooltips: Smooth hover/focus tooltips in deep navy (#00138E)
   Order: 1. Instagram, 2. Facebook, 3. YouTube, 4. WhatsApp, 5. Gmail
   ========================================================================== */
.floating-social-bar {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 995;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 6px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 10px 30px -5px rgba(0, 19, 142, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.floating-social-bar:hover {
  border-color: rgba(0, 19, 142, 0.15);
  box-shadow: 0 14px 36px -6px rgba(0, 19, 142, 0.12), 0 6px 16px -3px rgba(15, 23, 42, 0.06);
}

.floating-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  background: transparent;
  color: #475569;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.floating-social-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
  transition: transform 0.22s ease;
}

/* Tooltip on Hover/Focus */
.social-dock-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #00138E;
  color: #FFFFFF;
  font-family: var(--font-primary, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 14px rgba(0, 19, 142, 0.2);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s;
  z-index: 1000;
}

.social-dock-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: transparent #00138E transparent transparent;
}

.floating-social-btn:hover .social-dock-tooltip,
.floating-social-btn:focus-visible .social-dock-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Restrained Brand Highlights on Hover/Focus */
.floating-social-btn.instagram:hover,
.floating-social-btn.instagram:focus-visible {
  color: #E1306C;
  background-color: rgba(225, 48, 108, 0.08);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(225, 48, 108, 0.15);
}

.floating-social-btn.facebook:hover,
.floating-social-btn.facebook:focus-visible {
  color: #1877F2;
  background-color: rgba(24, 119, 242, 0.08);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.15);
}

.floating-social-btn.youtube:hover,
.floating-social-btn.youtube:focus-visible {
  color: #FF0000;
  background-color: rgba(255, 0, 0, 0.08);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.15);
}

.floating-social-btn.whatsapp:hover,
.floating-social-btn.whatsapp:focus-visible {
  color: #128C7E;
  background-color: rgba(18, 140, 126, 0.08);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(18, 140, 126, 0.15);
}

.floating-social-btn.gmail:hover,
.floating-social-btn.gmail:focus-visible {
  color: #EA4335;
  background-color: rgba(234, 67, 53, 0.08);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(234, 67, 53, 0.15);
}

/* Keyboard Accessibility Focus */
.floating-social-btn:focus-visible {
  outline: 2px solid #00138E;
  outline-offset: 2px;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
  .floating-social-bar {
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-14px);
    gap: 4px;
    padding: 6px 4px 6px 6px;
    border-radius: 0 14px 14px 0;
    opacity: 0.88;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, box-shadow 0.2s ease;
    z-index: 990;
  }

  .floating-social-bar:hover,
  .floating-social-bar:focus-within,
  .floating-social-bar:active {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    box-shadow: 0 4px 20px rgba(0, 19, 142, 0.18);
  }

  .floating-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .floating-social-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Disable tooltips on mobile touch devices */
  .social-dock-tooltip {
    display: none;
  }
}

@media (max-width: 360px) {
  .floating-social-btn {
    width: 29px;
    height: 29px;
  }

  .floating-social-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* Respect Safe Area Insets */
@supports (padding-left: env(safe-area-inset-left)) {
  .floating-social-bar {
    left: calc(14px + env(safe-area-inset-left));
  }
}

@media (max-width: 768px) {
  @supports (padding-left: env(safe-area-inset-left)) {
    .floating-social-bar {
      left: calc(8px + env(safe-area-inset-left));
    }
  }
}

@media print {
  .floating-social-bar {
    display: none !important;
  }
}

/* Responsive Table Utility */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-white);
}

.table-responsive table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

@media (max-width: 480px) {
  .table-responsive table {
    min-width: 420px;
    font-size: 13px;
  }
}

/* Global Mobile Form Touch & Button Safety */
@media (max-width: 480px) {

  .form-control,
  .form-input-text,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
    /* Prevents unwanted iOS auto-zoom */
    padding: 12px 14px;
  }

  .btn {
    min-height: 44px;
    /* Accessible 44px touch targets */
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}