/* ============================================================
   Little Bergen Academy – Main Stylesheet
   Navy Blue & Beige Color Scheme
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --navy:        #0D2B55;
  --navy-dark:   #081C38;
  --navy-mid:    #163D70;
  --navy-light:  #1E5199;
  --beige:       #F5F0E8;
  --beige-dark:  #EDE6D6;
  --beige-mid:   #D9CFBB;
  --gold:        #E8A020;
  --gold-light:  #F5C85A;
  --coral:       #E85D3A;
  --green:       #2E8B57;
  --green-light: #4CAF7D;
  --sky:         #4A9FD4;
  --white:       #FFFFFF;
  --text-dark:   #1A1A2E;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --border:      #D9CFBB;
  --shadow:      0 4px 24px rgba(13,43,85,0.10);
  --shadow-lg:   0 8px 40px rgba(13,43,85,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --font-head:   'Nunito', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --transition:  all 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 16px; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232,160,32,0.12);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

.section-pad { padding: 80px 0; }
.bg-beige { background: var(--beige); }
.mt-24 { margin-top: 24px; }
.divider { border: none; border-top: 2px solid var(--beige-dark); margin: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.35);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-family: var(--font-head);
  padding: 8px 0;
  border-bottom: 2px solid var(--gold);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--gold); }

/* ---- Site Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.school-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.school-name span { color: var(--gold); }
.tagline {
  font-family: var(--font-head);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  padding: 7px 10px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  margin-left: 8px;
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Mobile Nav ---- */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,0.9);
}
.mobile-nav .btn { margin-top: 8px; justify-content: center; }
.nav-sub-link {
  padding-left: 28px !important;
  font-size: 0.88rem !important;
  color: rgba(255,255,255,0.7) !important;
  position: relative;
}
.nav-sub-link::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

/* ---- Nav Dropdown ---- */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(13,43,85,0.18);
  min-width: 180px;
  z-index: 2000;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 6px 0;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-item {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}
.nav-dropdown-item:hover {
  background: var(--beige);
  color: var(--navy-dark);
  padding-left: 22px;
}
.nav-dropdown-item.active {
  color: var(--navy);
  background: var(--beige-dark);
  font-weight: 700;
}

/* ---- Hero (Home) ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,28,56,0.88) 0%, rgba(13,43,85,0.72) 50%, rgba(8,28,56,0.60) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 24px 80px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,0.18);
  border: 1px solid rgba(232,160,32,0.45);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,28,56,0.92) 0%, rgba(13,43,85,0.65) 60%, rgba(13,43,85,0.35) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 48px;
}
.page-hero-content h1 { color: var(--white); margin-bottom: 12px; }
.page-hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin-bottom: 0; }

/* Stats strip removed */

/* ---- About Split ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
}
.badge-icon { font-size: 1.6rem; }
.badge-text { display: flex; flex-direction: column; }
.badge-text strong { font-family: var(--font-head); font-size: 0.9rem; color: var(--gold); }
.badge-text span { font-size: 0.75rem; color: rgba(255,255,255,0.75); }
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; }
.about-checklist { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
  font-family: var(--font-head);
  font-weight: 600;
}
.about-checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 1px;
}

/* ---- Cards Grid ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- Program Cards ---- */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.program-card-body {
  padding: 24px;
}
.program-card-body h3 { margin: 10px 0 10px; font-size: 1.15rem; }
.program-card-body p { font-size: 0.9rem; margin-bottom: 16px; }
.program-age-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.badge-blue { background: #DBEAFE; color: #1E40AF; }
.badge-green-light { background: #DCFCE7; color: #166534; }
.badge-yellow { background: #FEF9C3; color: #854D0E; }
.badge-orange { background: #FFEDD5; color: #9A3412; }

/* ---- Icon Cards ---- */
.icon-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}
.icon-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.icon-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.icon-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ---- Values Grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ---- Steps Grid ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
}
.step-card h3 { font-size: 1rem; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ---- Program Detail Blocks ---- */
.program-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.program-detail-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.program-detail-block.reverse { direction: rtl; }
.program-detail-block.reverse > * { direction: ltr; }
.program-detail-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.program-detail-text h3 { font-size: 1.6rem; margin: 12px 0 14px; }
.program-detail-text p { margin-bottom: 16px; }

/* ---- Highlight Box ---- */
.highlight-box {
  background: var(--beige);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}
.highlight-box p { margin-bottom: 0; color: var(--text-dark); }
.highlight-box a { color: var(--navy); font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--navy); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--navy-light);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-question::after { content: '−'; color: var(--navy); }
.faq-question:hover { background: var(--beige); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
}
.faq-answer p { margin-bottom: 0; font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* ---- Schedule Table ---- */
.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}
.schedule-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.schedule-table td:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  width: 200px;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--beige); }
.schedule-table tr:hover td { background: rgba(13,43,85,0.04); }

/* ---- Contact Cards ---- */
.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-card p { font-size: 0.9rem; margin-bottom: 4px; }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-card a:hover { color: var(--navy-light); }

/* ---- Form Card ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.form-note { font-size: 0.9rem; color: var(--text-light); margin-bottom: 24px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,43,85,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; }
.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ---- Enrollment Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,28,56,0.75);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  overflow: hidden;
}
.modal-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}
.modal-header h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.modal-header p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 0; }
.modal-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.3); }
.modal-body {
  overflow-y: auto;
  padding: 32px 36px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  background: var(--beige);
  flex-shrink: 0;
}
.modal-footer p {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  margin-bottom: 0;
}
.modal-footer a { color: var(--navy); font-weight: 600; }
.modal-section-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--beige);
  padding: 8px 14px;
  border-radius: 6px;
  margin: 20px 0 16px;
  border-left: 3px solid var(--gold);
}
.modal-section-title:first-child { margin-top: 0; }
.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.modal-form-grid .form-group.full { grid-column: 1 / -1; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(232,160,32,0.08);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: rgba(232,160,32,0.06);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--gold); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); }
.social-link svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.85);
}
.social-link:hover svg { fill: var(--navy-dark); }
.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 18px 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .main-nav .nav-link { font-size: 0.78rem; padding: 7px 8px; }
  .nav-cta { padding: 8px 14px; font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-split.reverse { direction: ltr; }
  .about-img-badge { bottom: -16px; right: -8px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .program-detail-block { grid-template-columns: 1fr; gap: 32px; }
  .program-detail-block.reverse { direction: ltr; }

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

@media (max-width: 640px) {
  .section-pad { padding: 56px 0; }
  .hero-content { padding: 60px 24px; }
  .hero-buttons { flex-direction: column; }
  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .modal-body { padding: 20px; }
  .modal-header { padding: 16px 20px; }
  .modal-footer { padding: 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom > .container { flex-direction: column; text-align: center; }
  .cta-banner { padding: 56px 24px; }
  .top-bar-left { flex-direction: column; gap: 4px; }

  .about-img-wrap img { height: 280px; }
  .program-detail-img img { height: 260px; }
  .header-inner { padding: 10px 16px; }
  .school-name { font-size: 0.9rem; }
  .tagline { display: none; }
}

@media (max-width: 420px) {
  .site-logo img { width: 40px; height: 40px; }
  .school-name { font-size: 0.85rem; }
}

/* ---- Program Cards List (Curriculum Page) ---- */
.program-cards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.program-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-detail-img {
  position: relative;
}
.program-detail-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.program-detail-img .program-age-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.program-detail-body {
  padding: 24px;
}
.program-detail-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.program-detail-body p { font-size: 0.9rem; margin-bottom: 0; }

/* ---- Info Highlight Card ---- */
.info-highlight-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 24px;
}
.info-highlight-icon { font-size: 1.8rem; flex-shrink: 0; }
.info-highlight-card strong {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--navy);
  display: block;
  font-weight: 700;
}
.info-highlight-card span {
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 600;
}

/* ---- Step Number (Admissions) ---- */
.step-number {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
}

/* ---- Responsive additions ---- */
@media (max-width: 960px) {
  .program-cards-list { grid-template-columns: 1fr; }
  .contact-cards-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .program-cards-list { grid-template-columns: 1fr; }
  .contact-cards-row { grid-template-columns: 1fr; }
  .modal-form-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 20px 16px; }
}
