/* ================================================================
   SPROUT OASIS LEGACY — Global Design System
   Precious Sprouts Schools | Islamic · African · 21st-Century
   ================================================================ */

/* ── Google Fonts are loaded per-page, but we also define system fallbacks ── */

:root {
  /* ── Brand Palette ── */
  --clr-sky:        #87CEEB;   /* Primary sky blue */
  --clr-sky-dark:   #5AABCF;
  --clr-navy:       #003366;   /* Deep Islamic Blue – headers / nav */
  --clr-navy-light: #004488;
  --clr-navy-dark:  #001f40;
  --clr-gold:       #D4AF37;   /* Warm African Gold */
  --clr-gold-light: #E8C84D;
  --clr-gold-dark:  #A88B22;
  --clr-green:      #228B22;   /* Earth Green – sprout / eco */
  --clr-green-light:#2EAA2E;
  --clr-ivory:      #FFFFF0;   /* Section backgrounds */
  --clr-gray:       #F0F0F0;   /* Light grey backgrounds */
  --clr-text:       #1A1A2E;   /* Dark text */
  --clr-muted:      #5A6478;
  --clr-white:      #FFFFFF;
  --clr-border:     rgba(135,206,235,0.25);

  /* ── Glassmorphism ── */
  --glass-bg:       rgba(255,255,255,0.12);
  --glass-bg-light: rgba(255,255,255,0.75);
  --glass-border:   rgba(255,255,255,0.25);
  --glass-shadow:   0 8px 32px rgba(0,51,102,0.18);
  --glass-blur:     blur(16px);

  /* ── Neumorphism shadows ── */
  --neu-light:   8px 8px 20px rgba(0,0,0,0.08), -4px -4px 12px rgba(255,255,255,0.9);
  --neu-inset:   inset 4px 4px 10px rgba(0,0,0,0.06), inset -4px -4px 10px rgba(255,255,255,0.8);

  /* ── Typography ── */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* ── Layout ── */
  --container-max: 1240px;
  --header-h:      76px;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     28px;
  --radius-full:   9999px;

  /* ── Transitions ── */
  --t-fast:   0.18s ease;
  --t-normal: 0.32s cubic-bezier(.4,0,.2,1);
  --t-slow:   0.6s cubic-bezier(.4,0,.2,1);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family:    var(--font-body);
  font-size:      16px;
  color:          var(--clr-text);
  background:     var(--clr-gray);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body { line-height: 1.65; overflow-x: hidden; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin-bottom: .75rem;
  color: var(--clr-navy);
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem,5vw,4rem); }
h2 { font-size: clamp(1.8rem,3.5vw,2.75rem); }
h3 { font-size: clamp(1.25rem,2vw,1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--clr-muted); margin-bottom: 1rem; line-height: 1.75; }
a { text-decoration: none; color: var(--clr-navy); transition: color var(--t-fast); }
a:hover { color: var(--clr-gold); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 90px 0; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: .75rem;
}

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

/* ================================================================
   BACKGROUND UTILITIES
   ================================================================ */
.bg-ivory  { background-color: var(--clr-ivory); }
.bg-gray   { background-color: var(--clr-gray); }
.bg-navy   { background-color: var(--clr-navy); color: var(--clr-white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--clr-white); }
.bg-navy .section-label { color: var(--clr-gold); }
.bg-pattern {
  background-color: var(--clr-ivory);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(135,206,235,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212,175,55,0.08) 0%, transparent 50%);
}

/* Islamic geometric pattern overlay (subtle) */
.islamic-pattern {
  position: relative;
  overflow: hidden;
}
.islamic-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30Z' fill='none' stroke='rgba(212,175,55,0.06)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='rgba(135,206,235,0.08)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.islamic-pattern > * { position: relative; z-index: 1; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--t-normal);
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-navy), var(--clr-navy-light));
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(0,51,102,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,51,102,0.4);
  color: var(--clr-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-navy-dark);
  box-shadow: 0 4px 20px rgba(212,175,55,0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,175,55,0.5);
  color: var(--clr-navy-dark);
}

.btn-sky {
  background: linear-gradient(135deg, var(--clr-sky), var(--clr-sky-dark));
  color: var(--clr-navy-dark);
  box-shadow: 0 4px 16px rgba(87,171,207,0.3);
}
.btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(87,171,207,0.45);
  color: var(--clr-navy-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-gold);
  color: var(--clr-gold);
}
.btn-outline:hover {
  background: var(--clr-gold);
  color: var(--clr-navy-dark);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--clr-white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--clr-white);
}

/* ================================================================
   GLASS CARDS
   ================================================================ */
.glass-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,51,102,0.2);
}

.glass-card-dark {
  background: rgba(0,33,80,0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(135,206,235,0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.glass-card-dark:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

/* Gold-accent card border */
.card-gold-accent {
  border-top: 4px solid var(--clr-gold);
}
.card-sky-accent {
  border-top: 4px solid var(--clr-sky);
}
.card-green-accent {
  border-top: 4px solid var(--clr-green);
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(0, 33, 80, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(135,206,235,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transition: background var(--t-normal), box-shadow var(--t-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}
.logo-text-wrap { line-height: 1.1; }
.logo-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: .5px;
}
.logo-sub {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  color: var(--clr-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: .88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-white);
  background: rgba(135,206,235,0.12);
}
.nav-links a.active {
  color: var(--clr-gold);
}
.nav-links .btn-apply {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-navy-dark) !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  font-size: .85rem;
  box-shadow: 0 2px 12px rgba(212,175,55,0.3);
}
.nav-links .btn-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(212,175,55,0.5);
  background: rgba(135,206,235,0) !important;
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold)) !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: .65rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(0,25,60,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(135,206,235,0.15);
  border-radius: var(--radius-sm);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-normal);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 8px 14px;
  font-size: .85rem;
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
}
.dropdown-menu a:hover {
  background: rgba(135,206,235,0.12);
  color: var(--clr-gold);
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background var(--t-fast);
}
.menu-toggle:hover { background: rgba(255,255,255,0.08); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   PAGE HERO BANNERS (inner pages)
   ================================================================ */
.page-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-navy-dark) 0%, var(--clr-navy) 60%, #003d5c 100%);
  overflow: hidden;
  padding: 60px 0 50px;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40Z' fill='none' stroke='rgba(135,206,235,0.08)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--clr-ivory);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-banner h1 {
  color: var(--clr-white);
  margin-bottom: .5rem;
  font-size: clamp(2rem,4vw,3.2rem);
}
.breadcrumb {
  color: rgba(255,255,255,0.6);
  font-size: .85rem;
}
.breadcrumb a { color: var(--clr-gold); }
.breadcrumb a:hover { color: var(--clr-gold-light); }

/* Decorative arches */
.arch-left, .arch-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.1);
  pointer-events: none;
}
.arch-left { left: -80px; }
.arch-right { right: -80px; border-color: rgba(135,206,235,0.1); }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: linear-gradient(160deg, var(--clr-navy-dark) 0%, #001a40 100%);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-sky), var(--clr-gold));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo-name { font-size: 1.4rem; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: .9rem; margin-top: 12px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: .88rem;
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: var(--clr-sky); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg { flex-shrink: 0; color: var(--clr-gold); margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--clr-sky); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: .8rem;
  font-weight: 700;
  transition: all var(--t-normal);
}
.social-links a:hover {
  background: var(--clr-gold);
  color: var(--clr-navy-dark);
  border-color: var(--clr-gold);
  transform: translateY(-3px);
}

.footer-newsletter form {
  display: flex;
  margin-top: 12px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(135,206,235,0.2);
}
.footer-newsletter input {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--clr-white);
  font-size: .88rem;
  font-family: var(--font-body);
  outline: none;
  min-width: 0;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter button {
  padding: 10px 18px;
  background: var(--clr-gold);
  color: var(--clr-navy-dark);
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: .85rem;
  transition: background var(--t-fast);
  font-family: var(--font-body);
}
.footer-newsletter button:hover { background: var(--clr-gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; font-size: .82rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.4); font-size: .82rem; }
.footer-bottom a:hover { color: var(--clr-gold); }

/* ================================================================
   WHATSAPP STICKY FAB
   ================================================================ */
.wa-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all var(--t-normal);
  color: white;
}
.wa-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
  color: white;
}
.wa-fab svg { width: 28px; height: 28px; }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ================================================================
   COUNTERS (Stats Strip)
   ================================================================ */
.stat-num { font-family: var(--font-heading); font-variant-numeric: tabular-nums; }

/* ================================================================
   FEATURE LIST (with custom checkmark)
   ================================================================ */
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .75rem;
  color: var(--clr-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--clr-gold);
  font-weight: 800;
  font-size: 1rem;
}

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.steps-track {
  display: flex;
  gap: 0;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(4% + 28px);
  right: calc(4% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-sky));
}
.step-box {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}
.step-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgba(212,175,55,0.45);
  border: 4px solid var(--clr-ivory);
  position: relative;
  z-index: 2;
}
.step-box h4 { font-size: 1rem; color: var(--clr-navy); margin-bottom: .35rem; }
.step-box p  { font-size: .84rem; }

/* ================================================================
   FORM STYLES
   ================================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--clr-white);
  color: var(--clr-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-sky);
  box-shadow: 0 0 0 3px rgba(135,206,235,0.2);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ================================================================
   TAB SYSTEM
   ================================================================ */
.tab-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  background: var(--clr-gray);
  padding: 6px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.tab-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--clr-muted);
  transition: all var(--t-normal);
}
.tab-btn.active {
  background: var(--clr-navy);
  color: var(--clr-white);
  box-shadow: 0 4px 12px rgba(0,51,102,0.25);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ================================================================
   LEVEL BADGE
   ================================================================ */
.level-badge {
  display: inline-block;
  background: var(--clr-gold);
  color: var(--clr-navy-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  vertical-align: middle;
  margin-left: 8px;
}

/* ================================================================
   IMAGE UTILITIES
   ================================================================ */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-round { border-radius: var(--radius-md); }
.img-shadow { box-shadow: 0 20px 48px rgba(0,0,0,0.15); }

/* ================================================================
   ICON CIRCLES
   ================================================================ */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.icon-circle-gold   { background: rgba(212,175,55,0.12); color: var(--clr-gold); }
.icon-circle-sky    { background: rgba(135,206,235,0.15); color: var(--clr-sky-dark); }
.icon-circle-green  { background: rgba(34,139,34,0.1);   color: var(--clr-green); }
.icon-circle-navy   { background: rgba(0,51,102,0.08);   color: var(--clr-navy); }

/* ================================================================
   GOLD DIVIDER
   ================================================================ */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-sky));
  border-radius: 2px;
  margin: 0 auto .5rem;
}
.gold-divider-left { margin-left: 0; }

/* ================================================================
   TESTIMONIALS / QUOTES
   ================================================================ */
.quote-highlight {
  background: linear-gradient(135deg, var(--clr-navy), var(--clr-navy-light));
  color: white;
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  position: relative;
}
.quote-highlight::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  font-family: var(--font-heading);
  color: var(--clr-gold);
  opacity: .3;
  line-height: 1;
}
.quote-highlight p { color: rgba(255,255,255,0.88); font-style: italic; font-size: 1.05rem; }
.quote-highlight cite { color: var(--clr-gold); font-size: .88rem; font-weight: 600; }

/* ================================================================
   RESPONSIVE GRID HELPERS
   ================================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 28px; }
.grid-auto-md { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 32px; }

/* ================================================================
   MEDIA QUERIES
   ================================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  section { padding: 64px 0; }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,20,55,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2rem;
    overflow-y: auto;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.1rem; padding: 12px 24px; width: 100%; text-align: center; }
  .nav-links .btn-apply { font-size: 1rem; margin-left: 0; margin-top: 8px; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.05);
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }
  .menu-toggle { display: flex; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-track { flex-direction: column; gap: 24px; }
  .steps-track::before { display: none; }

  /* Page banner */
  .page-banner::after { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn { padding: 11px 22px; font-size: .88rem; }
  .tab-nav { border-radius: var(--radius-md); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================================
   UTILITY — a few extra helpers
   ================================================================ */
.text-center { text-align: center; }
.text-white  { color: var(--clr-white) !important; }
.text-gold   { color: var(--clr-gold) !important; }
.text-sky    { color: var(--clr-sky-dark) !important; }
.text-green  { color: var(--clr-green) !important; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.p-card { padding: 2rem; }
.p-card-lg { padding: 2.5rem; }

/* ================================================================
   PAGE BANNER (shared across inner pages)
   ================================================================ */
.page-banner {
  background: linear-gradient(150deg, var(--clr-navy-dark) 0%, var(--clr-navy) 60%, #004488 100%);
  padding: 120px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,175,55,.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(135,206,235,.06) 0%, transparent 50%);
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2rem,5vw,3.5rem); margin: .5rem 0 .75rem; }
.breadcrumb { color: rgba(255,255,255,0.5); font-size: .85rem; }
.breadcrumb a { color: var(--clr-gold); text-decoration: none; }

/* Arch decorations for banner */
.arch-left, .arch-right {
  position: absolute;
  width: 200px;
  height: 280px;
  border: 1.5px solid rgba(212,175,55,0.12);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  top: -20px;
}
.arch-left  { left: -60px; transform: rotate(-18deg); }
.arch-right { right: -60px; transform: rotate(18deg); }

/* ================================================================
   LEVEL BADGE
   ================================================================ */
.level-badge {
  display: inline-block;
  background: var(--clr-gold);
  color: var(--clr-navy-dark);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: .5px;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ================================================================
   CHECK LIST
   ================================================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: .65rem;
  font-size: .88rem;
}
.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--clr-gold);
  color: var(--clr-navy-dark);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================================================
   QUOTE HIGHLIGHT
   ================================================================ */
.quote-highlight {
  background: rgba(135,206,235,0.1);
  border-left: 4px solid var(--clr-gold);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
}
.quote-highlight p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--clr-navy);
  margin-bottom: .4rem;
}
.quote-highlight cite {
  font-size: .8rem;
  color: var(--clr-muted);
  font-style: normal;
  font-weight: 600;
}

/* ================================================================
   STEPS TRACK (Admissions)
   ================================================================ */
.steps-track {
  display: flex;
  gap: 0;
  position: relative;
  counter-reset: step;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 32px);
  right: calc(10% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-sky));
  z-index: 0;
}
.step-box {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  background: var(--clr-navy);
  color: #fff;
  border: 3px solid var(--clr-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  box-shadow: 0 4px 16px rgba(0,51,102,0.25);
}
.step-box h4 { font-size: .95rem; color: var(--clr-navy); margin-bottom: .3rem; }
.step-box p  { font-size: .78rem; color: var(--clr-muted); }

/* ================================================================
   FORM GROUPS (Admissions & Contact)
   ================================================================ */
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: .4rem;
  letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--clr-border);
  border-radius: 10px;
  background: var(--clr-gray);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--clr-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-navy);
  box-shadow: 0 0 0 3px rgba(0,51,102,0.1);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-group select { cursor: pointer; }

/* ================================================================
   SECTION HEADER (centered block)
   ================================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 0;
}
.section-header .section-label { margin-bottom: .5rem; }
.section-header h2 { margin-bottom: .6rem; }
.section-header p { color: var(--clr-muted); max-width: 500px; margin: 0 auto; }

/* ================================================================
   GOLD DIVIDER
   ================================================================ */
.gold-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  border-radius: 99px;
  margin: .5rem auto;
}
.gold-divider-left { margin-left: 0; }

/* ================================================================
   BACKGROUND HELPERS
   ================================================================ */
.bg-ivory { background: var(--clr-ivory); }
.bg-gray  { background: var(--clr-gray); }
.bg-navy  { background: var(--clr-navy); }
.bg-navy.islamic-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,175,55,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(135,206,235,.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--clr-navy) 0%, var(--clr-navy-dark) 100%);
}

/* ================================================================
   TAB SYSTEM
   ================================================================ */
.tab-nav {
  display: inline-flex;
  background: rgba(0,51,102,0.07);
  border-radius: 99px;
  padding: 4px;
  gap: 4px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 99px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all var(--t-normal);
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--clr-navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,51,102,0.25);
}
.tab-btn:hover:not(.active) { color: var(--clr-navy); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0,0);
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }
.reveal-delay-5 { transition-delay: .60s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
