/* ============================================================
   SPLENDOUR MONTESSORI INTERNATIONAL LEARNING CENTER
   Main Stylesheet — Production Ready
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Variables ─── */
:root {
  --teal:       #19A7AD;
  --teal-dark:  #128a90;
  --teal-light: #d4f1f3;
  --orange:     #F37221;
  --orange-dark:#d45e0e;
  --orange-light:#fde9d9;
  --green:      #0A8A61;
  --green-dark: #077050;
  --green-light:#d0f0e6;
  --gold:       #ECAB20;
  --gold-dark:  #c98f10;
  --gold-light: #fdf3d5;
  --dark:       #0f2027;
  --dark-2:     #1e3a45;
  --text:       #2c3e50;
  --text-light: #5a7184;
  --bg:         #f7fbfc;
  --white:      #ffffff;
  --border:     #e2eef0;
  --shadow-sm:  0 2px 8px rgba(25,167,173,0.08);
  --shadow-md:  0 8px 32px rgba(25,167,173,0.12);
  --shadow-lg:  0 20px 60px rgba(15,32,39,0.15);
  --radius:     12px;
  --radius-lg:  20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'Plus Jakarta Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── 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);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utilities ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 60px 0; }

.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-gold   { color: var(--gold-dark); }

.bg-teal     { background: var(--teal); color: #fff; }
.bg-dark     { background: var(--dark); color: #fff; }
.bg-soft     { background: var(--bg); }
.bg-green    { background: var(--green); color: #fff; }

.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ─── Section Header ─── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label.orange { color: var(--orange); background: var(--orange-light); }
.section-label.green  { color: var(--green);  background: var(--green-light); }
.section-label.gold   { color: var(--gold-dark); background: var(--gold-light); }
.section-label.white  { color: #fff; background: rgba(255,255,255,0.2); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title.light { color: #fff; }
.section-title.light em { color: var(--gold); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.8); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(243,114,33,0.35); }

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--teal);
  border-color: #fff;
}
.btn-white:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-2px); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(25,167,173,0.35); }

.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }

/* ─── Top Bar ─── */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--teal);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--gold); transition: color 0.2s; }
.top-bar a:hover { color: #fff; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }

/* ─── Navigation ─── */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(15,32,39,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(15,32,39,0.14);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}
.nav-logo-sub {
  font-size: 0.68rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--teal); background: var(--teal-light); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.nav-item:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.dropdown a:hover { background: var(--teal-light); color: var(--teal); }

.nav-cta { margin-left: 12px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero Section ─── */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0d3040 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(25,167,173,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(10,138,97,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 300px 200px at 50% 10%, rgba(236,171,32,0.08) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25,167,173,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,167,173,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236,171,32,0.15);
  border: 1px solid rgba(236,171,32,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
}
.hero-title .line2 { display: block; color: var(--teal); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.35s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s ease 0.65s both;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 4px;
}
.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
}
.hero-shape {
  width: 100%;
  height: 100%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(135deg, rgba(25,167,173,0.25), rgba(10,138,97,0.2));
  border: 1px solid rgba(25,167,173,0.2);
  animation: morph 8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.hero-shape-inner {
  position: absolute;
  inset: 20%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(135deg, rgba(236,171,32,0.2), rgba(243,114,33,0.15));
  animation: morph 6s ease-in-out infinite reverse;
}
@keyframes morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ─── Marquee Bar ─── */
.marquee-bar {
  background: var(--teal);
  padding: 12px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── About Section ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--teal-light), var(--green-light));
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-main .placeholder-img {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f8f9, #d0f0e6);
  color: var(--teal);
  font-size: 4rem;
}
.about-img-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.about-float-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.about-float-label { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }
.about-badge-top {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--gold);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
}
.values-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.value-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── Programs Section ─── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.program-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  border-radius: 2px 2px 0 0;
  transition: var(--transition);
}
.program-card:nth-child(2)::before { background: var(--orange); }
.program-card:nth-child(3)::before { background: var(--green); }
.program-card:nth-child(4)::before { background: var(--gold); }
.program-card:nth-child(5)::before { background: var(--teal); }
.program-card:nth-child(6)::before { background: var(--orange); }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: var(--teal-light);
}
.program-card:nth-child(2) .program-icon { background: var(--orange-light); }
.program-card:nth-child(3) .program-icon { background: var(--green-light); }
.program-card:nth-child(4) .program-icon { background: var(--gold-light); }
.program-card:nth-child(5) .program-icon { background: var(--teal-light); }
.program-card:nth-child(6) .program-icon { background: var(--orange-light); }
.program-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.program-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.program-ages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ─── Events Section ─── */
.events-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.events-list { display: flex; flex-direction: column; gap: 20px; }
.event-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
  align-items: flex-start;
}
.event-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateX(4px); }
.event-date-box {
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
}
.event-date-day {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.event-date-mon {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}
.event-card:nth-child(2n) .event-date-box { background: var(--orange); }
.event-card:nth-child(3n) .event-date-box { background: var(--green); }
.event-card:nth-child(4n) .event-date-box { background: var(--gold-dark); }
.event-info { flex: 1; }
.event-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.event-title-card {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.event-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.event-meta span { display: flex; align-items: center; gap: 4px; }

/* Calendar Widget */
.mini-calendar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cal-month {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.cal-nav {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}
.cal-nav:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  padding: 4px 0 8px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.cal-day:hover { background: var(--teal-light); color: var(--teal); }
.cal-day.has-event { background: var(--orange-light); color: var(--orange); font-weight: 700; }
.cal-day.today { background: var(--teal); color: #fff; font-weight: 700; }
.cal-day.empty { opacity: 0; pointer-events: none; }

/* ─── News/Blog ─── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-light), var(--green-light));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-category-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.news-body { padding: 24px; }
.news-date { font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.news-title-card {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: var(--transition);
}
.news-card:hover .news-title-card { color: var(--teal); }
.news-excerpt { font-size: 0.86rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.news-read-more { font-size: 0.85rem; font-weight: 700; color: var(--teal); display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.news-read-more:hover { gap: 10px; }

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.gallery-grid .gallery-item:first-child,
.gallery-grid .gallery-item:nth-child(5) {
  grid-column: span 2;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--teal-light), var(--green-light));
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,32,39,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 2rem;
  color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(25,167,173,0.12), transparent);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ─── Stats Strip ─── */
.stats-strip {
  background: var(--teal);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-top: 8px; font-weight: 500; }

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--teal-light);
  line-height: 0.5;
  margin-bottom: 16px;
  font-style: normal;
}
.testimonial-text { font-size: 0.92rem; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.author-role { font-size: 0.78rem; color: var(--text-light); }
.star-row { display: flex; gap: 3px; color: var(--gold); font-size: 0.85rem; margin-bottom: 16px; }

/* ─── Newsletter Section ─── */
.newsletter-section {
  background: linear-gradient(135deg, var(--green) 0%, #0a6b4a 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.newsletter-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  border: 1px solid rgba(255,255,255,0.25);
}
.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-form .btn { flex-shrink: 0; }

/* ─── Forms ─── */
.form-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.form-label .req { color: var(--orange); }
.form-control {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-control:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(25,167,173,0.1); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7184' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-light); }
.form-divider {
  grid-column: span 2;
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}
.form-step-header {
  grid-column: span 2;
  background: var(--teal-light);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Alert / Success */
.alert {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid rgba(10,138,97,0.2); }
.alert-error   { background: #fce8e8; color: #c0392b; border: 1px solid rgba(192,57,43,0.2); }

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(25,167,173,0.2);
  border: 1px solid rgba(25,167,173,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-item-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-item-value { font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.social-row { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: var(--transition);
  font-size: 1rem;
}
.social-btn:hover { background: var(--teal); transform: translateY(-2px); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-embed iframe { display: block; width: 100%; border: none; }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 100%, rgba(25,167,173,0.15), transparent);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-label {
  display: inline-block;
  background: rgba(236,171,32,0.15);
  border: 1px solid rgba(236,171,32,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto; line-height: 1.7; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 24px;
}
.breadcrumb a { color: var(--teal); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand-tag { font-size: 0.75rem; color: var(--teal); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-about-text { font-size: 0.86rem; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,0.55); }
.footer-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  align-items: flex-start;
}
.footer-contact-item .icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--teal); }

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }

/* ─── Animations ─── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .events-layout { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: var(--shadow-lg); gap: 4px; }
  .nav-inner { position: relative; }

  .hero { min-height: 100svh; padding: 40px 0; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gallery-item:first-child,
  .gallery-grid .gallery-item:nth-child(5) { grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .form-divider { display: none; }
  .form-step-header { grid-column: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-pad { padding: 60px 0; }
  .top-bar .container { justify-content: center; }
  .top-bar-left { display: none; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); padding: 16px; }
  .newsletter-form input { text-align: center; color: var(--dark); background: #fff; border-radius: 8px; padding: 12px 16px; border: 1px solid var(--border); }
}
