/* ===================================================
   THE SUCCESS HAVEN SCHOOL — Main Stylesheet
   Brand: Green + Brown | Poppins + Merriweather
   =================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --green-dark:    #1a5c2a;
  --green-primary: #2e7d32;
  --green-mid:     #388e3c;
  --green-light:   #c8e6c9;
  --green-pale:    #f1f8f1;
  --brown-dark:    #4e2c10;
  --brown-primary: #7b3f00;
  --brown-accent:  #a0522d;
  --brown-light:   #f5ede4;
  --yellow-accent: #fbc02d;
  --white:         #ffffff;
  --off-white:     #fafaf8;
  --beige:         #f7f3ee;
  --grey-light:    #f0f0ee;
  --grey-mid:      #9e9e9e;
  --grey-dark:     #424242;
  --text-primary:  #1c1c1c;
  --text-secondary:#4a4a4a;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.16);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    0.3s ease;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
.display-serif {
  font-family: 'Merriweather', serif;
  font-style: italic;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; }
.lead { font-size: 1.15rem; }

/* ---------- SECTION STRUCTURE ---------- */
section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown-accent);
  background: var(--brown-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-title span { color: var(--green-primary); }
.section-subtitle { max-width: 560px; color: var(--text-secondary); }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
}
.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(46,125,50,.35);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(46,125,50,.45); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}
.btn-outline:hover { background: var(--green-primary); color: var(--white); }
.btn-brown {
  background: var(--brown-primary);
  color: var(--white);
}
.btn-brown:hover { background: var(--brown-dark); transform: translateY(-2px); }
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { background: #20ba59; }

/* ---------- ANNOUNCEMENT BAR ---------- */
.announcement-bar {
  background: var(--brown-dark);
  color: var(--white);
  text-align: center;
  padding: 9px 24px;
  font-size: .82rem;
  font-weight: 500;
}
.announcement-bar a { color: var(--yellow-accent); text-decoration: underline; }

/* ---------- NAVIGATION ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo { height: 52px; width: auto; }
.nav-brand-text { line-height: 1.2; }
.nav-brand-text strong {
  display: block;
  font-size: .92rem;
  color: var(--green-dark);
  font-weight: 700;
}
.nav-brand-text span {
  font-size: .72rem;
  color: var(--brown-accent);
  font-style: italic;
}
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--green-primary);
  background: var(--green-pale);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--green-primary);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--grey-light);
  transition: var(--transition);
}
.mobile-link:hover { color: var(--green-primary); background: var(--green-pale); }
.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.8rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,92,42,.82) 0%, rgba(26,92,42,.55) 50%, rgba(78,44,16,.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
}
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-motto {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--yellow-accent);
  margin-bottom: 16px;
}
.hero p { color: rgba(255,255,255,.88); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 500;
}
.hero-badge i { font-size: 1.3rem; color: var(--yellow-accent); }

/* ---------- QUICK FACTS ---------- */
.quick-facts { background: var(--green-primary); padding: 32px 0; }
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.quick-fact {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.quick-fact:last-child { border-right: none; }
.quick-fact-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.quick-fact-label {
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- WELCOME ---------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.welcome-images {
  position: relative;
}
.welcome-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.welcome-img-main img { width: 100%; height: 380px; object-fit: cover; }
.welcome-img-badge {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.welcome-img-badge strong { display: block; font-size: 1.8rem; color: var(--green-primary); }
.welcome-img-badge span { font-size: .75rem; color: var(--text-secondary); }
.welcome-text { padding-bottom: 40px; }
.welcome-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
}
.value-chip i { font-size: .9rem; color: var(--green-primary); }

/* ---------- WHY CHOOSE ---------- */
.why-section { background: var(--beige); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--green-primary);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.feature-icon.brown { background: var(--brown-light); }
.feature-card h4 { margin-bottom: 8px; font-size: 1rem; }
.feature-card p { font-size: .88rem; }

/* ---------- ACADEMICS PROGRAMMES ---------- */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.programme-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.programme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.programme-header {
  background: var(--green-primary);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.programme-header.brown { background: var(--brown-primary); }
.programme-icon { font-size: 1.8rem; }
.programme-header h4 { color: var(--white); margin: 0; font-size: .95rem; }
.programme-header span { color: rgba(255,255,255,.8); font-size: .8rem; }
.programme-body { padding: 20px 24px; }
.programme-body ul { display: flex; flex-direction: column; gap: 6px; }
.programme-body li {
  font-size: .85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.programme-body li::before {
  content: '✓';
  color: var(--green-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- DIRECTOR'S MESSAGE ---------- */
.director-section { background: var(--green-dark); color: var(--white); }
.director-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.director-photo-wrap {
  position: sticky;
  top: 100px;
}
.director-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.2);
  box-shadow: var(--shadow-lg);
}
.director-photo img { width: 100%; height: 340px; object-fit: cover; }
.director-info {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.director-info strong { display: block; color: var(--white); font-size: 1.05rem; }
.director-info span { color: rgba(255,255,255,.7); font-size: .82rem; }
.director-message { color: rgba(255,255,255,.9); }
.director-message .section-label { background: rgba(255,255,255,.15); color: var(--yellow-accent); }
.director-message h2 { color: var(--white); }
.director-quote {
  border-left: 3px solid var(--yellow-accent);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(255,255,255,.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 1.05rem;
}
.director-message p { margin-bottom: 16px; line-height: 1.8; }
.director-sig {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--yellow-accent);
  margin-top: 24px;
}

/* ---------- FACILITIES ---------- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.facility-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 260px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.facility-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.facility-card:hover img { transform: scale(1.06); }
.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,92,42,.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.facility-overlay h4 { color: var(--white); margin: 0; }
.facility-overlay span { color: rgba(255,255,255,.8); font-size: .8rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: var(--brown-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 4rem;
  color: var(--green-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars { color: var(--yellow-accent); font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p { font-size: .9rem; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
}
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span { font-size: .78rem; color: var(--text-secondary); }

/* ---------- NEWS GRID ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 20px; }
.news-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.news-body h4 { font-size: .95rem; margin-bottom: 8px; }
.news-body p { font-size: .85rem; }
.news-date { font-size: .78rem; color: var(--grey-mid); margin-top: 12px; }

/* ---------- ADMISSIONS CTA ---------- */
.admissions-cta {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.admissions-cta h2 { color: var(--white); margin-bottom: 16px; }
.admissions-cta p { color: rgba(255,255,255,.85); max-width: 500px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- CONTACT STRIP ---------- */
.contact-strip { background: var(--beige); padding: 60px 0; }
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--green-primary);
}
.contact-item strong { display: block; margin-bottom: 4px; font-size: .9rem; }
.contact-item span { font-size: .85rem; color: var(--text-secondary); }
.contact-item a { color: var(--green-primary); font-weight: 600; }

/* ---------- INQUIRY FORM ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .9rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 64px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
  color: var(--white);
}
.social-btn:hover { background: var(--green-primary); }
.footer-col h5 { color: var(--white); font-size: .9rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--yellow-accent); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .85rem; }
.footer-contact-item i { color: var(--yellow-accent); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ---------- FLOATING WHATSAPP ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  animation: pulse 2.5s infinite;
  text-decoration: none;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.12); }
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  padding: 80px 0 60px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--yellow-accent); }

/* ---------- GALLERY ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--grey-light);
  color: var(--text-secondary);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-primary);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,92,42,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

/* ---------- DOWNLOAD CARDS ---------- */
.downloads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.download-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  border: 2px solid transparent;
}
.download-card:hover { border-color: var(--green-primary); box-shadow: var(--shadow-md); }
.download-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.download-card h4 { font-size: 1rem; margin-bottom: 4px; }
.download-card p { font-size: .85rem; }
.download-meta { font-size: .78rem; color: var(--grey-mid); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-light);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-weight: 600;
  font-size: .95rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 12px;
}
.faq-question:hover { background: var(--green-pale); color: var(--green-primary); }
.faq-question.open { background: var(--green-primary); color: var(--white); }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform .3s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .9rem;
  color: var(--text-secondary);
}
.faq-answer.open { max-height: 400px; padding: 16px 24px 20px; }

/* ---------- PORTAL ---------- */
.portal-coming {
  text-align: center;
  padding: 100px 24px;
}
.portal-icon { font-size: 5rem; margin-bottom: 24px; }
.portal-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.portal-module {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  opacity: .7;
}
.portal-module i { font-size: 2.2rem; color: var(--green-primary); margin-bottom: 12px; display: block; }

/* ---------- STAFF CARDS ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.staff-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.staff-photo {
  height: 200px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--green-primary);
}
.staff-info { padding: 16px; }
.staff-info strong { display: block; font-size: .95rem; }
.staff-info span { font-size: .8rem; color: var(--text-secondary); }
.staff-role { display: inline-block; background: var(--green-pale); color: var(--green-dark); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-top: 6px; }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: var(--green-light);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute;
  left: -34px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green-primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green-primary);
}
.timeline-year { font-size: .78rem; font-weight: 700; color: var(--green-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: .9rem; }

/* ---------- MAP ---------- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ---------- STATS COUNTER ---------- */
.stats-bar { background: var(--brown-primary); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--white); }
.stat-item span { font-size: .85rem; color: rgba(255,255,255,.75); }

/* ---------- UTILITIES ---------- */
.text-green { color: var(--green-primary); }
.text-brown { color: var(--brown-accent); }
.bg-green-pale { background: var(--green-pale); }
.bg-beige { background: var(--beige); }
.bg-white { background: var(--white); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.badge-brown { background: var(--brown-light); color: var(--brown-dark); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .features-grid, .programmes-grid, .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .quick-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .welcome-grid, .director-grid { grid-template-columns: 1fr; gap: 36px; }
  .director-photo-wrap { position: static; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid, .programmes-grid, .facilities-grid,
  .testimonials-grid, .news-grid, .gallery-grid,
  .downloads-grid, .portal-modules, .stats-grid,
  .contact-strip-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .quick-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 75vh; }
  .hero-badges { gap: 12px; }
}
@media (max-width: 480px) {
  .hero-badges { display: none; }
  .quick-facts-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
}
