/* =========================================================
   Early Scholars Nursery — Ajman
   Warm & Playful Design System
   ========================================================= */

:root {
  /* Brand palette — cream, soft blue, peach, mint */
  --cream:       #FFF8F0;
  --cream-deep:  #FFEFDC;
  --blue:        #5BA4D4;
  --blue-deep:   #3E7FAB;
  --blue-soft:   #DFF0FA;
  --peach:       #FFB37A;
  --peach-deep:  #F08F4A;
  --peach-soft:  #FFE5CF;
  --mint:        #A8E6CF;
  --mint-deep:   #7BC9A8;
  --mint-soft:   #DAF5E8;
  --sunshine:    #FFD66B;
  --lavender:    #C8B6E2;

  /* Text */
  --text:        #3A2E2A;   /* warm dark brown */
  --text-600:    #6B5A52;
  --text-400:    #9C8B82;
  --white:       #FFFFFF;

  /* Surfaces */
  --bg:          var(--cream);
  --surface:     #FFFFFF;
  --surface-alt: #FBF3E8;
  --border:      #F0E0CC;

  /* Type */
  --font-display: 'Fredoka', 'Tajawal', system-ui, sans-serif;
  --font-body:    'Nunito', 'Tajawal', system-ui, sans-serif;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows — warm, soft */
  --shadow-sm: 0 2px 6px rgba(58, 46, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(58, 46, 42, 0.08);
  --shadow-lg: 0 14px 40px rgba(58, 46, 42, 0.10);
  --shadow-pop: 0 8px 24px rgba(91, 164, 212, 0.20);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue); }
ul, ol { padding-left: 1.25rem; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0 0 var(--s-4);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 var(--s-4); color: var(--text-600); font-size: 1.05rem; }

.grad-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--peach-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--peach-deep);
  background: var(--peach-soft);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  margin-bottom: var(--s-4);
}
.eyebrow-blue { color: var(--blue-deep); background: var(--blue-soft); }
.eyebrow-mint { color: var(--mint-deep); background: var(--mint-soft); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(240, 224, 204, 0.6);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text);
}
.brand:hover { color: var(--blue-deep); }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach) 0%, var(--blue) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .top { font-size: 1.15rem; }
.brand-text .sub { font-size: 0.7rem; font-family: var(--font-body); color: var(--text-400); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--s-5);
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-deep); }
.nav-links a.active { color: var(--blue-deep); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 3px;
  background: var(--peach);
  border-radius: 3px;
}

.nav-actions { display: flex; align-items: center; gap: var(--s-3); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  position: relative;
  transition: all 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all 0.2s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover {
  background: var(--blue-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(91, 164, 212, 0.30);
}

.btn-peach {
  background: var(--peach);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 179, 122, 0.30);
}
.btn-peach:hover {
  background: var(--peach-deep);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover { background: #1faa54; color: white; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--s-9) 0 var(--s-9);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--peach-soft) 0%, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: var(--s-5); }
.hero .lead {
  font-size: 1.2rem;
  color: var(--text-600);
  margin-bottom: var(--s-6);
}
.hero-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-6); }
.hero-trust {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
  padding-top: var(--s-5);
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--text-600);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.hero-trust span::before {
  content: "✓";
  width: 22px; height: 22px;
  background: var(--mint);
  color: var(--mint-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

/* Hero visual — collage of cards */
.hero-visual {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-card-main {
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  padding: var(--s-6);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card-main .label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
.hero-card-main h3 {
  color: white;
  font-size: 1.8rem;
  margin: 0;
}
.hero-card-main .kids {
  display: flex;
  gap: 8px;
  margin-top: var(--s-4);
}
.hero-card-main .kid {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  background: var(--peach);
}
.hero-card-main .kid:nth-child(2) { background: var(--mint); margin-left: -16px; }
.hero-card-main .kid:nth-child(3) { background: var(--sunshine); margin-left: -16px; }
.hero-card-main .kid:nth-child(4) { background: var(--lavender); margin-left: -16px; }

.hero-card-mini {
  width: 200px;
}
.hero-card-mini .mini-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.hero-card-mini h4 { margin: 0; font-size: 0.95rem; }
.hero-card-mini p { margin: 0; font-size: 0.82rem; color: var(--text-400); }

.hc-1 { top: -10px; right: -10px; transform: rotate(3deg); }
.hc-1 .mini-icon { background: var(--mint-soft); }
.hc-2 { bottom: -10px; left: -20px; transform: rotate(-4deg); }
.hc-2 .mini-icon { background: var(--peach-soft); }
.hc-3 { top: 40%; right: -30px; transform: rotate(5deg); }
.hc-3 .mini-icon { background: var(--blue-soft); }

/* Floating decorations */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}
.deco-1 { top: 10%; left: 5%; width: 24px; height: 24px; background: var(--peach); animation: float 6s ease-in-out infinite; }
.deco-2 { top: 60%; left: 15%; width: 14px; height: 14px; background: var(--mint); animation: float 5s ease-in-out infinite 1s; }
.deco-3 { top: 30%; right: 10%; width: 18px; height: 18px; background: var(--sunshine); animation: float 7s ease-in-out infinite 0.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: var(--s-5);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white;
  border-radius: var(--r-lg);
  padding: var(--s-6);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card .icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--s-4);
}
.icon-blue   { background: var(--blue-soft);  color: var(--blue-deep); }
.icon-peach  { background: var(--peach-soft); color: var(--peach-deep); }
.icon-mint   { background: var(--mint-soft);  color: var(--mint-deep); }
.icon-sun    { background: #FFF4D4;           color: #C99412; }
.icon-lav    { background: #EAE0F5;           color: #7E5BB8; }

.card h3 { margin-bottom: var(--s-2); font-size: 1.25rem; }
.card p  { margin: 0; font-size: 0.98rem; }

/* Program / age cards */
.age-card {
  background: white;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.age-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.age-card-head {
  padding: var(--s-6);
  color: white;
  position: relative;
}
.age-card-head h3 { color: white; margin-bottom: 4px; }
.age-card-head .age { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.95; }
.age-card-head .emoji { position: absolute; top: 20px; right: 24px; font-size: 2.4rem; }
.age-card-body { padding: var(--s-5) var(--s-6) var(--s-6); }
.age-card-body ul { margin: 0; padding-left: 18px; }
.age-card-body li { color: var(--text-600); margin-bottom: 6px; font-size: 0.95rem; }
.bg-babies { background: linear-gradient(135deg, var(--peach) 0%, var(--peach-deep) 100%); }
.bg-toddlers { background: linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%); }
.bg-preschool { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); }
.bg-kg { background: linear-gradient(135deg, var(--lavender) 0%, #9F87C8 100%); }

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  background: white;
  padding: var(--s-6);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  margin-top: -50px;
  position: relative;
  z-index: 2;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--blue-deep);
  font-weight: 600;
  line-height: 1;
}
.stat .label { font-size: 0.9rem; color: var(--text-600); margin-top: 6px; }

/* ---------- Section headers ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p { font-size: 1.1rem; }

/* ---------- Feature row (alt-aligned) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  margin-bottom: var(--s-9);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > div:first-child { order: 2; }
.feature-row h3 { font-size: 1.8rem; margin-bottom: var(--s-3); }
.feature-row ul { list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.feature-row ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-600);
}
.feature-row ul li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M13.5 4.5l-7 7-3-3 1-1 2 2 6-6 1 1z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.feature-visual {
  background: linear-gradient(135deg, var(--peach-soft) 0%, var(--blue-soft) 100%);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual.alt { background: linear-gradient(135deg, var(--mint-soft) 0%, var(--peach-soft) 100%); }
.feature-visual.alt2 { background: linear-gradient(135deg, #EAE0F5 0%, var(--blue-soft) 100%); }

/* ---------- Special Needs callout ---------- */
.sen-callout {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--blue) 100%);
  color: white;
  border-radius: var(--r-xl);
  padding: var(--s-8);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.sen-callout h2, .sen-callout h3 { color: white; }
.sen-callout p { color: rgba(255,255,255,0.92); }
.sen-callout .btn-ghost {
  background: white;
  color: var(--blue-deep);
  border: none;
}
.sen-illustration {
  font-size: 6rem;
  text-align: center;
}

/* ---------- Books showcase ---------- */
.books-band {
  background: linear-gradient(135deg, var(--sunshine) 0%, var(--peach) 100%);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-6);
  align-items: center;
  color: var(--text);
}
.books-band h2 { color: var(--text); margin-bottom: var(--s-3); }
.books-stack {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  perspective: 600px;
}
.book {
  width: 90px;
  height: 130px;
  border-radius: 6px 12px 12px 6px;
  box-shadow: var(--shadow-md), inset 6px 0 0 rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  transform: rotateY(-12deg);
  text-align: center;
}
.book:nth-child(1) { background: var(--blue);  transform: rotateY(-15deg) translateY(-8px); }
.book:nth-child(2) { background: var(--peach-deep); height: 145px; }
.book:nth-child(3) { background: var(--mint-deep); transform: rotateY(-10deg) translateY(-12px); }
.book:nth-child(4) { background: #9F87C8; height: 138px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,179,122,0.4) 0%, transparent 70%);
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -80px; right: -40px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(168,230,207,0.3) 0%, transparent 70%);
}
.cta-band h2 { color: white; margin-bottom: var(--s-3); }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: var(--s-5); }
.cta-band .btn-primary {
  background: white;
  color: var(--blue-deep);
}
.cta-band .btn-primary:hover { background: var(--cream); color: var(--blue-deep); }
.cta-band .btn-peach { background: var(--peach); color: white; }
.cta-band .btn-peach:hover { background: var(--peach-deep); }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.why-card {
  background: white;
  padding: var(--s-6);
  border-radius: var(--r-lg);
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.why-card:hover {
  border-color: var(--peach);
  transform: translateY(-4px);
}
.why-card .big-emoji {
  font-size: 3rem;
  margin-bottom: var(--s-3);
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: white;
  padding: var(--s-7);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  border-top: 6px solid var(--peach);
}
.testimonial .quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--peach);
  margin-bottom: -20px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: var(--s-4);
  font-style: normal;
  font-weight: 700;
  color: var(--blue-deep);
}

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: var(--s-8) 0 var(--s-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 20px; left: 10%;
  width: 100px; height: 100px;
  background: radial-gradient(circle, var(--peach-soft) 0%, transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 20px; right: 10%;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%);
}
.page-hero h1 { margin-bottom: var(--s-3); }
.page-hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: #2A2118;
  color: rgba(255, 248, 240, 0.85);
  padding: var(--s-8) 0 var(--s-5);
  margin-top: var(--s-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
.footer-brand .brand { color: white; }
.footer-brand .brand:hover { color: var(--peach); }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: var(--s-4); font-size: 0.95rem; }
.site-footer h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: white;
  margin-bottom: var(--s-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,248,240,0.75); font-size: 0.95rem; }
.site-footer a:hover { color: var(--peach); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
  color: rgba(255,248,240,0.6);
  flex-wrap: wrap;
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); color: white; }

/* ---------- Forms ---------- */
.form-card {
  background: white;
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-bottom: var(--s-4); }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.form-group label { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mb-0 { margin-bottom: 0; }

/* ---------- RTL ---------- */
[dir="rtl"] body { font-family: 'Tajawal', 'Cairo', system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: 'Tajawal', 'Cairo', system-ui, sans-serif;
}
[dir="rtl"] .nav-links a.active::after { left: 50%; transform: translateX(-50%); }
[dir="rtl"] .feature-row.reverse > div:first-child { order: 0; }
[dir="rtl"] .feature-row:not(.reverse) > div:first-child { order: 2; }
[dir="rtl"] .hero-card-main .kid:nth-child(n+2) { margin-left: 0; margin-right: -16px; }
[dir="rtl"] .feature-row ul,
[dir="rtl"] .age-card-body ul { padding-right: 18px; padding-left: 0; }
[dir="rtl"] .age-card-head .emoji { right: auto; left: 24px; }
[dir="rtl"] .hero::before { right: auto; left: -50px; }
[dir="rtl"] .hero::after { left: auto; right: -80px; }
[dir="rtl"] .whatsapp-fab { right: auto; left: 24px; }
[dir="rtl"] .hc-1 { right: auto; left: -10px; }
[dir="rtl"] .hc-2 { left: auto; right: -20px; }
[dir="rtl"] .hc-3 { right: auto; left: -30px; }
[dir="rtl"] .feature-row ul li::before { margin-left: 0; }
[dir="rtl"] ul, [dir="rtl"] ol { padding-right: 1.25rem; padding-left: 0; }
[dir="rtl"] .book { transform: rotateY(12deg); }
[dir="rtl"] .book:nth-child(1) { transform: rotateY(15deg) translateY(-8px); }
[dir="rtl"] .book:nth-child(3) { transform: rotateY(10deg) translateY(-12px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 480px; margin: 0 auto; }
  .grid-3, .grid-4, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: var(--s-5); }
  .feature-row.reverse > div:first-child { order: 0; }
  .sen-callout, .books-band { grid-template-columns: 1fr; text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* ES Journey: 2 cols on tablet */
  .section > .container > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: var(--s-3) 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px var(--s-5); border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { position: relative; }
  .grid-2, .grid-3, .grid-4, .why-grid, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .section { padding: var(--s-7) 0; }
  .hero { padding: var(--s-7) 0; }
}
