/* ═══════════════════════════════════════════════════════════════════════════
   Liverpool International School — Main Stylesheet
   Design: Navy #002147 · Gold #C8A951 · White · Light Gray #F5F7FA
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────────────────── */
:root {
  --primary:      #0d6efd;
  --primary-dark: #0a58ca;
  --primary-mid:  #3d8bfd;
  --gold:         #ffc107;
  --gold-light:   #ffda6a;
  --white:        #ffffff;
  --light:        #F5F7FA;
  --light2:       #eef1f6;
  --text:         #1a2340;
  --text-muted:   #5a6481;
  --border:       #dde3f0;
  --shadow:       0 8px 32px rgba(0,33,71,.10);
  --shadow-lg:    0 16px 48px rgba(0,33,71,.16);
  --radius:       14px;
  --radius-lg:    22px;
  --transition:   all .35s cubic-bezier(.4,0,.2,1);
  --font-ar:      'Cairo', Arial, sans-serif;
  --font-en:      'Poppins', 'Segoe UI', sans-serif;
}

/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: var(--font-en);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  direction: inherit;
  overflow-x: clip;
}
html[lang="ar"] body {
  font-family: var(--font-ar);
}
html[lang="en"] body {
  font-family: var(--font-en);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.3; font-weight: 700; color: var(--primary); }
.section-tag {
  display: inline-block;
  background: rgba(200,169,81,.15);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.5rem,3vw,2.4rem); margin-bottom: 14px; }
.section-desc { color: var(--text-muted); max-width: 580px; font-size: 1.05rem; }
.center-text { text-align: center; }
.center-text .section-desc { margin-inline: auto; }

/* ── Utility ────────────────────────────────────────────────────────────── */
.container { width: min(1200px, 94%); margin-inline: auto; }
.gap { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
section { padding: 96px 0; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px;
  font-weight: 700; font-size: .95rem;
  transition: var(--transition); letter-spacing: .02em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(200,169,81,.4);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,169,81,.5); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.85);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-navy { background: var(--primary); color: var(--white); }
.btn-navy:hover { background: var(--primary-mid); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  padding: 0 20px;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(0,21,48,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: 0 20px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin-inline: auto; height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 50px; width: 50px; object-fit: contain; border-radius: 8px; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong { display: block; font-size: .95rem; color: var(--white); font-family: var(--font-en); }
.nav-logo-text span { font-size: .72rem; color: var(--gold); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 600;
  padding: 7px 14px; border-radius: 8px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Language-aware navbar alignment */
html[lang="en"] .nav-inner { direction: ltr; }
html[lang="ar"] .nav-inner { direction: rtl; }
html[lang="en"] .nav-logo { order: 1; }
html[lang="en"] .nav-links { order: 2; }
html[lang="en"] .nav-actions { order: 3; }
html[lang="ar"] .nav-logo { order: 3; }
html[lang="ar"] .nav-links { order: 2; }
html[lang="ar"] .nav-actions { order: 1; }
html[lang="en"] .nav-logo-text { text-align: left; }
html[lang="ar"] .nav-logo-text { text-align: right; }
.nav-apply { background: var(--gold); color: var(--primary) !important; padding: 9px 22px !important; border-radius: 50px !important; font-weight: 800 !important; }
.nav-apply:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #052c65 0%, var(--primary) 50%, #6ea8fe 100%);
  position: relative; display: flex; align-items: center; overflow: hidden;
}
#hero .hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .18; filter: saturate(.8);
}
.hero-shapes {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-shapes .shape {
  position: absolute; border-radius: 50%; opacity: .07;
  background: var(--gold); animation: floatShape 8s ease-in-out infinite;
}
.hero-shapes .shape:nth-child(1) { width: 500px; height: 500px; top: -100px; left: -150px; }
.hero-shapes .shape:nth-child(2) { width: 350px; height: 350px; bottom: -80px; right: -100px; animation-delay: -3s; }
.hero-shapes .shape:nth-child(3) { width: 200px; height: 200px; top: 30%; left: 20%; opacity: .04; animation-delay: -5s; }
@keyframes floatShape {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.04); }
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,81,.18); border: 1px solid rgba(200,169,81,.3);
  color: var(--gold); padding: 6px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 700; margin-bottom: 22px; letter-spacing: .05em;
}
.hero-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.5s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--white);
  line-height: 1.15; margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-title span { color: var(--gold); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-card-wrap {
  position: relative;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 30px; overflow: hidden;
}
.hero-card-wrap img { border-radius: var(--radius); width: 100%; height: 340px; object-fit: cover; }
.hero-stats-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: rgba(255,255,255,.06); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  margin-top: 60px; padding: 24px 10px; text-align: center;
}
.hero-stat-item { padding: 0 10px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-stat-item:last-child { border-left: none; }
.hero-stat-num { font-size: 1.9rem; font-weight: 800; color: var(--gold); }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════════════ */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); width: 100%; height: 480px; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--gold); color: var(--primary);
  border-radius: var(--radius); padding: 20px 26px;
  text-align: center; box-shadow: 0 8px 28px rgba(200,169,81,.4);
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 900; }
.about-badge span { font-size: .8rem; font-weight: 700; }
.about-points { display: grid; gap: 16px; margin: 28px 0 32px; }
.about-point {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--light); border-radius: var(--radius); padding: 16px 20px;
  transition: var(--transition);
}
.about-point:hover { transform: translateX(-6px); box-shadow: var(--shadow); }
.about-point-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.about-point h4 { font-size: .95rem; margin-bottom: 2px; }
.about-point p { font-size: .84rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   PROGRAMS
   ═══════════════════════════════════════════════════════════════════════════ */
#programs { background: var(--light); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; margin-top: 48px; }
.program-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); position: relative;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card-top { padding: 32px 28px 20px; }
.program-icon {
  width: 66px; height: 66px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 18px;
}
.program-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.program-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.program-card-footer {
  border-top: 1px solid var(--border); padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--light);
}
.program-ages { font-size: .8rem; color: var(--text-muted); font-weight: 600; }
.program-arrow { color: var(--primary); font-size: 1rem; }
.prog-navy  .program-icon { background: #e8edf5; color: var(--primary); }
.prog-gold  .program-icon { background: #fdf6e3; color: #b8940b; }
.prog-blue  .program-icon { background: #e5f0fd; color: #1a6abf; }
.prog-green .program-icon { background: #e6f4ec; color: #1d7a40; }

/* ═══════════════════════════════════════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════════════════════════════════════ */
#features {
  background: var(--primary);
  position: relative; overflow: hidden;
}
#features::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
#features .section-title { color: var(--white); }
#features .section-desc { color: rgba(255,255,255,.72); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; margin-top: 52px; }
.feature-card {
  background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transition: var(--transition);
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.feature-icon { font-size: 2.4rem; margin-bottom: 18px; display: block; }
.feature-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,.68); font-size: .86rem; line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════════════════ */
#gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 48px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; background: var(--light2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,21,47,.55); opacity: 0; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; 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: 9999; display: none; align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
#lightbox-close {
  position: absolute; top: 20px; left: 20px;
  background: rgba(255,255,255,.15); color: var(--white);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  cursor: pointer; transition: var(--transition);
}
#lightbox-close:hover { background: rgba(255,255,255,.3); }

/* Empty gallery placeholder */
.gallery-empty { text-align: center; padding: 60px; color: var(--text-muted); font-size: 1.1rem; grid-column: 1/-1; }

/* ═══════════════════════════════════════════════════════════════════════════
   ADMISSIONS CTA
   ═══════════════════════════════════════════════════════════════════════════ */
#admissions {
  background: linear-gradient(135deg, #002147 0%, #003a80 100%);
  position: relative; overflow: hidden; text-align: center; padding: 100px 0;
}
#admissions::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(200,169,81,.08);
}
#admissions::after {
  content: ''; position: absolute; bottom: -100px; left: -60px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(200,169,81,.06);
}
.admissions-inner { position: relative; z-index: 2; }
.admissions-inner h2 { color: var(--white); font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 16px; }
.admissions-inner p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 40px; max-width: 600px; margin-inline: auto; }
.admissions-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.admissions-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,81,.15); border: 1px solid rgba(200,169,81,.3);
  color: var(--gold); padding: 7px 18px; border-radius: 50px;
  font-size: .82rem; font-weight: 700; margin-bottom: 24px; letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════════════ */
#contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info-card {
  background: var(--primary); border-radius: var(--radius-lg);
  padding: 40px 36px; color: var(--white);
}
.contact-info-card h3 { color: var(--gold); margin-bottom: 28px; font-size: 1.25rem; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(200,169,81,.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-text label { display: block; font-size: .74rem; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.contact-item-text span { font-size: .95rem; color: var(--white); }
.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--primary); transform: translateY(-3px); }

/* Contact Form */
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .87rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: .95rem; font-family: var(--font-ar);
  color: var(--text); transition: var(--transition); background: var(--light);
  direction: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(0,33,71,.08); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
footer {
  background: #001030; color: rgba(255,255,255,.75); padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .88rem; line-height: 1.75; margin: 16px 0 20px; color: rgba(255,255,255,.62); }
.footer-heading { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.68); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-right: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--gold); }

/* ── Scroll Reveal Animations ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(50px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(-50px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Mobile Menu ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #navbar { padding: 0 10px; background: rgba(5,44,101,.96); backdrop-filter: blur(12px); }
  #navbar.scrolled { background: rgba(5,44,101,.98); }
  .nav-inner { height: 64px; overflow: hidden; }
  .nav-logo { min-width: 0; flex: 1; }
  .nav-logo img { width: 40px; height: 40px; }
  .nav-logo-text { min-width: 0; }
  .nav-toggle {
    display: flex;
    width: 34px;
    height: 34px;
    padding: 4px;
    align-items: center;
    justify-content: center;
  }
  .nav-toggle span { width: 20px; }
  .nav-logo-text span { display: none; }
  .nav-logo-text strong {
    font-size: .84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .nav-apply { display: none; }
  .nav-actions { gap: 6px; flex: 0 0 auto; }
  .nav-actions .btn.btn-outline { padding: 6px 10px !important; font-size: .74rem; }
  .nav-links {
    position: fixed;
    top: 64px;
    bottom: 0;
    width: min(82vw, 320px);
    background: rgba(0,21,48,.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
  }
  html[lang="ar"] .nav-links { right: 0; left: auto; transform: translateX(105%); }
  html[lang="en"] .nav-links { left: 0; right: auto; transform: translateX(-105%); }
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 20px; border-radius: 10px; }
  .hero-content { padding: 92px 0 56px; }
  .hero-title { font-size: clamp(1.95rem, 8vw, 2.7rem); line-height: 1.2; }
  .hero-sub { font-size: 1.02rem; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-img-wrap { display: none; }
  .hero-visual { display: none; }
  .hero-stats-bar { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats-bar { grid-template-columns: repeat(2,1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-stat-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-stats-bar { grid-template-columns: repeat(2,1fr); }
  .admissions-btns { flex-direction: column; align-items: center; }
}

/* ── WhatsApp Float Button ─────────────────────────────────────────────── */
#wa-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--transition);
}
#wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,.6); }

/* ── Counter animation ─────────────────────────────────────────────────── */
.counter { display: inline-block; }

/* ── Notification ──────────────────────────────────────────────────────── */
#notif {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white); padding: 14px 28px;
  border-radius: 50px; font-size: .9rem; font-weight: 700;
  box-shadow: var(--shadow-lg); z-index: 9999;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
#notif.show { opacity: 1; }
