/* ============================================================
   FATIMA TUL ZAHRA MADRISSA — PREMIUM REDESIGN
   Design: Deep Emerald + Warm Gold + Glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Noto+Nastaliq+Urdu:wght@400;700&family=Noto+Naskh+Arabic:wght@400;600;700&family=Cinzel:wght@400;600;700&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --green-900: #0a2e1a;
  --green-800: #103f26;
  --green-700: #1A5C3A;
  --green-600: #24754B;
  --green-500: #2e8f5e;
  --gold-400:  #e8c96a;
  --gold-500:  #C8A84B;
  --gold-600:  #a8882e;
  --cream:     #FAF7F0;
  --sage:      #E8F0EB;
  --slate:     #1E2A22;
  --muted:     #4a6254;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(16,63,38,.12);
  --shadow-lg: 0 20px 60px rgba(16,63,38,.18);
  --shadow-gold: 0 8px 32px rgba(200,168,75,.25);

  --glass-bg: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.15);

  --transition: all .35s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s cubic-bezier(.4,0,.2,1);

  --font: 'Poppins', sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', serif;
  --font-arabic: 'Noto Naskh Arabic', serif;
  --font-display: 'Cinzel', serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--slate);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--green-700); border-radius: 99px; }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.text-gold  { color: var(--gold-500); }
.text-green { color: var(--green-700); }
.urdu { font-family: var(--font-urdu); direction: rtl; }

/* ── RTL SUPPORT (Urdu / Arabic page variants) ──────────────
   Setting dir="rtl" on <html> auto-mirrors flex/grid flow;
   these patch the few hardcoded physical (non-logical) values. */
html[lang="ur"] body { font-family: var(--font-urdu); }
html[lang="ar"] body { font-family: var(--font-arabic); }
[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .contact-item { border-left: none; border-right: 4px solid var(--gold-500); }
[dir="rtl"] .contact-item:hover { transform: translateX(-5px); }
[dir="rtl"] .wa-float { right: auto; left: 28px; }
[dir="rtl"] .wa-float::after { right: auto; left: 72px; }
[dir="rtl"] .wa-float:hover::after { left: 76px; right: auto; }
/* Negative/tight letter-spacing breaks Urdu/Arabic glyph joining — reset on RTL pages */
[dir="rtl"] .hero-hl-top,
[dir="rtl"] .hero-hl-main,
[dir="rtl"] .page-h1,
[dir="rtl"] .page-tag { letter-spacing: normal; }
/* Nastaliq's diagonal strokes need more vertical room than Latin line-height allows */
[dir="rtl"] .page-h1 { line-height: 1.9; padding-top: .15em; }
[dir="rtl"] .section-title { line-height: 1.6; }
@media (max-width: 768px) {
  [dir="rtl"] .wa-float { left: 28px; }
  [dir="rtl"] .nav-menu { left: auto; right: -100%; border-right: none; border-left: 1px solid rgba(200,168,75,.15); box-shadow: -8px 0 40px rgba(0,0,0,.4); }
  [dir="rtl"] .nav-menu.open { left: auto; right: 0; }
}

/* ── LANGUAGE SWITCHER ───────────────────────────────────── */
.lang-switch { position: relative; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 600;
  padding: 7px 12px; border-radius: 8px; cursor: pointer; font-family: var(--font);
}
.lang-switch-btn:hover { background: rgba(255,255,255,.14); color: var(--gold-400); }
.lang-switch-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--green-900); border: 1px solid rgba(200,168,75,.2);
  border-radius: 10px; padding: 6px; min-width: 130px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: var(--transition);
  z-index: 9002;
}
[dir="rtl"] .lang-switch-menu { right: auto; left: 0; }
.lang-switch:hover .lang-switch-menu,
.lang-switch:focus-within .lang-switch-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: .88rem; color: rgba(255,255,255,.8); white-space: nowrap;
}
.lang-switch-menu a:hover { background: rgba(200,168,75,.12); color: var(--gold-400); }
.lang-switch-menu a.active { color: var(--gold-400); font-weight: 700; }

@media (max-width: 768px) {
  .lang-switch { width: 100%; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(200,168,75,.15); }
  .lang-switch-btn { display: none; }
  .lang-switch-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 0;
    display: flex; gap: 8px; width: 100%; min-width: 0;
  }
  .lang-switch-menu a { flex: 1; text-align: center; border: 1px solid rgba(200,168,75,.2); }
}

/* ── LANGUAGE DISCOVERY HINT (first visit only) ─────────────
   Draws the eye to the language switcher once per visitor,
   then never appears again (see script.js). */
@keyframes langPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,168,75,.55); }
  50%      { box-shadow: 0 0 0 9px rgba(200,168,75,0); }
}
.lang-switch-btn.attention,
.mobile-lang-btn.attention { animation: langPulse 1.4s ease-out 4; border-color: var(--gold-400); }

.lang-hint-bubble {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; color: var(--slate);
  border-radius: 12px; padding: 12px 34px 12px 16px;
  font-size: .85rem; font-weight: 500; line-height: 1.45;
  box-shadow: var(--shadow-lg);
  width: max-content; max-width: 230px;
  z-index: 9003;
  animation: hintFadeIn .4s ease both;
}
[dir="rtl"] .lang-hint-bubble { right: auto; left: 0; padding: 12px 16px 12px 34px; }
.lang-hint-bubble::before {
  content: ''; position: absolute; bottom: 100%; right: 18px;
  border: 7px solid transparent; border-bottom-color: #fff;
}
[dir="rtl"] .lang-hint-bubble::before { right: auto; left: 18px; }
.lang-hint-close {
  position: absolute; top: 2px; right: 4px;
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--muted); line-height: 1; padding: 6px;
}
[dir="rtl"] .lang-hint-close { right: auto; left: 4px; }
@keyframes hintFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .lang-hint-bubble { display: none; }
}

/* ── MOBILE TOP-BAR LANGUAGE BUTTON ──────────────────────────
   Always visible in the header on small screens (not tucked
   away inside the hamburger drawer), so the feature is obvious. */
.mobile-header-icons { display: none; }
@media (max-width: 768px) {
  .mobile-header-icons { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; flex-shrink: 0; }
}
.mobile-lang-switch { display: none; position: relative; }
.mobile-lang-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); font-size: 1.1rem; cursor: pointer;
}
.mobile-lang-btn:hover, .mobile-lang-btn.open { background: rgba(255,255,255,.14); color: var(--gold-400); border-color: var(--gold-400); }
.mobile-lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--green-900); border: 1px solid rgba(200,168,75,.2);
  border-radius: 10px; padding: 6px; min-width: 130px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: var(--transition);
  z-index: 9005;
}
[dir="rtl"] .mobile-lang-menu { right: auto; left: 0; }
.mobile-lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-lang-menu a {
  display: block; padding: 9px 12px; border-radius: 6px;
  font-size: .9rem; color: rgba(255,255,255,.85); white-space: nowrap;
}
.mobile-lang-menu a:hover { background: rgba(200,168,75,.12); color: var(--gold-400); }
.mobile-lang-menu a.active { color: var(--gold-400); font-weight: 700; }

@media (max-width: 768px) {
  .mobile-lang-switch { display: block; }
}

/* Section headings */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(200,168,75,.1);
  border: 1px solid rgba(200,168,75,.3);
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--green-700);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 56px; }

/* Gold divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 18px 0 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.divider::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.divider-gem {
  width: 10px; height: 10px;
  background: var(--gold-500);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  padding: .75rem 1.8rem; border-radius: 99px; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(200,168,75,.45);
  filter: brightness(1.08);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-3px);
}
.btn-green {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-green:hover { background: var(--green-800); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { background: #20ba5a; transform: translateY(-3px); }

/* ── PAGE HERO (Shared) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(155deg, #0a2e1a 0%, #103f26 50%, #1A5C3A 100%);
  padding: 140px 24px 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23C8A84B' stroke-opacity='0.06' stroke-width='0.8'%3E%3Cpolygon points='50,10 90,50 50,90 10,50'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,75,.12); border: 1px solid rgba(200,168,75,.3);
  border-radius: 99px; padding: 6px 20px; margin-bottom: 20px;
  font-size: .78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-400);
}
.page-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 18px; letter-spacing: -1px;
}
.page-h1 span {
  background: linear-gradient(to right, #fff, var(--gold-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-sub { font-size: 1.1rem; color: rgba(255,255,255,.7); line-height: 1.7; }

/* ── NAVBAR ──────────────────────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  transition: var(--transition);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap;
  padding: 18px 32px;
  max-width: 1240px; margin: 0 auto;
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(10,46,26,.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,168,75,.18);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
#header.scrolled .navbar { padding: 12px 32px; }

.logo-container { display: flex; align-items: center; }
.logo-minimal-icon {
  width: 44px; height: 44px;
  fill: var(--gold-400);
  filter: drop-shadow(0 2px 8px rgba(200,168,75,.3));
  transition: var(--transition);
}

.nav-menu {
  display: flex; align-items: center; gap: 6px;
}
.nav-link {
  color: rgba(255,255,255,.8); font-size: .92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: var(--transition);
}
.nav-link:hover { color: var(--gold-400); background: rgba(255,255,255,.06); }
.nav-link.active-nav { color: var(--gold-400); background: rgba(200,168,75,.1); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { font-size: .88rem; padding: .6rem 1.4rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 9001;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px; background: #fff;
  border-radius: 99px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO SECTION ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--green-900);
}

/* Layered animated gradient background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(26,92,58,.9) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(16,63,38,.8) 0%, transparent 60%),
    linear-gradient(155deg, #0a2e1a 0%, #103f26 40%, #1A5C3A 70%, #0a2e1a 100%);
  animation: bgShift 12s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0%   { filter: brightness(1)   hue-rotate(0deg); }
  50%  { filter: brightness(1.06) hue-rotate(2deg); }
  100% { filter: brightness(1)   hue-rotate(0deg); }
}

/* Geometric pattern overlay */
.hero-pattern {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23C8A84B' stroke-opacity='0.07' stroke-width='0.8'%3E%3Cpolygon points='50,10 90,50 50,90 10,50'/%3E%3Cpolygon points='30,30 70,30 70,70 30,70'/%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3Ccircle cx='50' cy='50' r='22'/%3E%3Ccircle cx='50' cy='50' r='38'/%3E%3Cline x1='50' y1='0' x2='50' y2='100'/%3E%3Cline x1='0' y1='50' x2='100' y2='50'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

/* Floating Particles */
.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hp {
  position: absolute; left: var(--x); bottom: -10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-500);
  opacity: 0;
  box-shadow: 0 0 12px var(--gold-400);
  animation: particleFloat var(--t) var(--d) linear infinite;
  transform: scale(var(--s));
}
@keyframes particleFloat {
  0% { transform: translateY(0) scale(var(--s)); opacity: 0; }
  20% { opacity: .6; }
  80% { opacity: .6; }
  100% { transform: translateY(-100vh) scale(var(--s)); opacity: 0; }
}

/* Main inner container */
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  align-items: center; gap: 40px;
  padding: 140px 24px 80px;
}

/* LEFT SIDE: Text */
.hero-left { max-width: 750px; }

.bismillah-wrap {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(200,168,75,.08);
  border: 1px solid rgba(200,168,75,.2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: 6px 20px; margin-bottom: 24px;
  animation: fadeDown .8s ease both;
}
.bismillah-text { font-family: var(--font-urdu); font-size: 1.25rem; color: var(--gold-400); direction: rtl; }
.bismillah-star { color: var(--gold-500); font-size: .8rem; opacity: .7; }

.hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  animation: fadeDown 1s .2s ease both;
}
.hero-crumb-dot { width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; animation: blink 1.5s ease infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.hero-headline {
  display: flex; flex-direction: column;
  line-height: 1.05; margin-bottom: 24px;
  animation: fadeDown 1s .35s ease both;
}
.hero-hl-top { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: #fff; letter-spacing: -1px; }
.hero-hl-main {
  font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 800;
  background: linear-gradient(to right, #fff, var(--gold-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent;
  letter-spacing: -2px;
}
.hero-hl-sub { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; color: rgba(255,255,255,.5); font-style: italic; }

.hero-typewriter {
  font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 400; color: var(--gold-400);
  margin-bottom: 20px; height: 32px;
  animation: fadeDown 1s .5s ease both;
}
.tw-static { color: rgba(255,255,255,.8); }
.tw-cursor { color: var(--gold-400); font-weight: 600; }
.tw-blink { opacity: 1; animation: twBlink .8s infinite; color: var(--gold-500); }
@keyframes twBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  max-width: 540px; margin-bottom: 40px; line-height: 1.7;
  animation: fadeDown 1s .65s ease both;
}
.hero-desc strong { color: #fff; font-weight: 600; }

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px;
  animation: fadeDown 1s .8s ease both;
}
.hero-btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #fff; box-shadow: 0 8px 24px rgba(200,168,75,.3);
}
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(200,168,75,.45); filter: brightness(1.1); }
.hero-btn-wa {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-btn-wa:hover { background: rgba(37,211,102,.15); border-color: #25D366; color: #25D366; transform: translateY(-3px); }

/* Mini trust bar */
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1);
  animation: fadeDown 1s .95s ease both; flex-wrap: wrap;
}
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-num { font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1.2; }
.hero-trust-lbl { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }
.hero-trust-sep { width: 1px; height: 30px; background: rgba(255,255,255,.1); }

/* RIGHT SIDE: Animated Mandala */
.hero-right {
  position: relative; height: 500px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 1.2s .4s ease both;
}
.mandala-glow {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,168,75,.15) 0%, transparent 60%);
  border-radius: 50%; filter: blur(40px); z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}
@keyframes pulseGlow { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.1); opacity: 1; } }

.mandala-svg {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; height: auto;
  filter: drop-shadow(0 0 20px rgba(200,168,75,.2));
}
.m-ring-1 { transform-origin: 250px 250px; animation: mSpin 40s linear infinite; }
.m-ring-2 { transform-origin: 250px 250px; animation: mSpin 25s linear infinite reverse; }
.m-ring-3 { transform-origin: 250px 250px; animation: mSpin 30s linear infinite; }
@keyframes mSpin { 100% { transform: rotate(360deg); } }

.m-float { animation: orbHover 4s var(--fd) ease-in-out infinite alternate; }
@keyframes orbHover { 0% { transform: translateY(0px) scale(1); } 100% { transform: translateY(-15px) scale(1.1); } }

/* Floating info cards */
.hero-card {
  position: absolute; z-index: 2;
  background: rgba(10,46,26,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(200,168,75,.2); border-radius: 12px;
  padding: 12px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: cardFloat 5s ease-in-out infinite alternate;
}
.hc-icon { font-size: 1.4rem; background: rgba(200,168,75,.15); padding: 8px; border-radius: 8px; }
.hc-title { font-size: .9rem; font-weight: 600; color: #fff; }
.hc-sub { font-size: .75rem; color: rgba(255,255,255,.6); }

.hero-card-1 { top: 10%; right: -20px; animation-delay: 0s; }
.hero-card-2 { bottom: 15%; right: 10%; animation-delay: -2s; }
.hero-card-3 { bottom: 30%; left: -30px; animation-delay: -4s; }

@keyframes cardFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-hint-arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,.35); border-bottom: 2px solid rgba(255,255,255,.35); transform: rotate(45deg); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(8px);} }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: transparent; position: relative; z-index: 10; margin-top: -60px; padding: 0 24px;
}
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(10,46,26,.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(200,168,75,.2); border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  overflow: hidden;
}
.stat-item {
  padding: 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border-right: 1px solid rgba(200,168,75,.15);
  transition: var(--transition); text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(200,168,75,.08); }
.stat-icon { font-size: 2rem; }
.stat-number {
  font-size: 2.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stat-label { color: rgba(255,255,255,.7); font-size: .88rem; text-transform: uppercase; letter-spacing: 1.5px; }

/* ── ABOUT ─────────────────────────────────────────────────── */
.about { background: var(--cream); padding-top: 110px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-visual {
  position: relative;
}
.about-visual-inner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  padding: 48px; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-pattern-bg {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C8A84B' stroke-opacity='0.1' stroke-width='0.8'%3E%3Cpolygon points='40,10 70,40 40,70 10,40'/%3E%3Cpolygon points='25,25 55,25 55,55 25,55'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
}
.about-center-icon {
  position: relative; z-index: 1; text-align: center;
}
.about-center-icon svg { width: 130px; height: 130px; }
.about-center-label {
  font-size: .85rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold-400); margin-top: 20px;
}

.about-img-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(10,46,26,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(200,168,75,.3); border-radius: 12px;
  padding: 10px 18px; display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: .85rem; font-weight: 600; z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.about-img-badge .badge-icon { font-size: 1.2rem; }
.about-float-badge {
  position: absolute;
  background: white; border-radius: 12px; padding: 10px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--green-700);
  z-index: 2;
}
.about-float-badge .badge-icon { font-size: 1.2rem; }
.about-float-1 { top: -16px; right: -16px; }
.about-float-2 { bottom: -16px; left: -16px; }

.about-content {}
.about-desc {
  font-size: 1.07rem; color: var(--muted); line-height: 1.85;
  margin-bottom: 36px; text-align: justify;
}
.about-highlights { display: flex; flex-direction: column; gap: 14px; }
.highlight-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--sage); padding: 14px 20px; border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold-500); transition: var(--transition);
}
.highlight-item:hover { transform: translateX(5px); background: #dde9e2; }
.highlight-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0;
}
.highlight-text { font-weight: 500; color: var(--slate); font-size: 1rem; }

/* ── COURSES ─────────────────────────────────────────────── */
.courses { background: var(--sage); }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: rgba(26,92,58,.04); border-radius: 20px; padding: 40px 32px;
  text-align: center; border: 1px solid rgba(26,92,58,.1);
  box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative; overflow: hidden;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--gold-500));
  opacity: 0; transition: var(--transition);
}
.course-card:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 20px 40px rgba(26,92,58,.08); border-color: transparent; }
.course-card:hover::before { opacity: 1; }

.course-icon-bg {
  width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 24px;
  background: white;
  border: 1px solid rgba(26,92,58,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(26,92,58,.08);
}
.course-card:hover .course-icon-bg {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  border-color: transparent;
  transform: scale(1.08) rotate(5deg);
}
.course-name { font-size: 1.2rem; font-weight: 700; color: var(--green-700); margin-bottom: 10px; }
.course-desc { font-size: .93rem; color: var(--muted); line-height: 1.6; }

/* ── GENDER SECTION ──────────────────────────────────────── */
.gender-section { background: var(--cream); }
.gender-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.gender-card {
  border-radius: var(--radius-md); padding: 44px 36px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); transition: var(--transition);
}
.gender-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.gender-card.boys {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-700) 100%);
  color: white;
}
.gender-card.girls {
  background: linear-gradient(145deg, #3d1c52 0%, #5c2a7a 100%);
  color: white;
}
.gender-card-pattern {
  position: absolute; inset: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='white' stroke-width='0.8'%3E%3Cpolygon points='30,5 55,30 30,55 5,30'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/svg%3E");
}
.gender-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; position: relative; z-index: 1; }
.gender-emoji { font-size: 3rem; }
.gender-card-title { font-size: 1.7rem; font-weight: 700; }
.gender-card-sub { font-size: .9rem; opacity: .7; }
.gender-features { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.gender-feature {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 12px 18px; border-radius: 10px; font-size: .95rem;
}
.gender-feature-icon {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.boys .gender-feature-icon { background: var(--gold-400); }
.girls .gender-feature-icon { background: #e8a0d4; }

/* ── TIMINGS ─────────────────────────────────────────────── */
.timings { background: var(--sage); }
.timings-wrap { max-width: 680px; margin: 0 auto; }
.timings-card {
  background: white; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.timings-header-bar {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  padding: 24px 32px;
  display: flex; align-items: center; gap: 14px;
}
.timings-header-bar svg { width: 28px; height: 28px; fill: var(--gold-400); }
.timings-header-bar h3 { color: white; font-size: 1.25rem; font-weight: 600; }
.time-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; border-bottom: 1px solid rgba(26,92,58,.06);
  transition: var(--transition);
}
.time-row:last-child { border-bottom: none; }
.time-row:hover { background: var(--sage); }
.time-session { display: flex; align-items: center; gap: 12px; }
.time-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--gold-500));
}
.time-name { font-weight: 600; color: var(--green-700); font-size: 1rem; }
.time-value {
  font-size: 1rem; color: var(--muted);
  background: var(--sage); padding: 6px 16px; border-radius: 99px;
}

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials { background: var(--cream); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.testi-card {
  background: white; border-radius: var(--radius-md); padding: 36px 28px;
  box-shadow: var(--shadow-sm); border: 1.5px solid transparent;
  transition: var(--transition); position: relative;
  display: flex; flex-direction: column; min-width: 0;
}
.testi-card:hover { transform: translateY(-6px); border-color: rgba(200,168,75,.25); box-shadow: var(--shadow-md); }
.testi-quote-mark {
  font-size: 5rem; line-height: .6; color: var(--sage); font-family: Georgia, serif;
  margin-bottom: 14px; display: block;
}
.testi-text { font-size: .97rem; color: var(--muted); font-style: italic; margin-bottom: 24px; line-height: 1.75; word-break: break-word; overflow-wrap: break-word; flex: 1; }
.testi-footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--sage); padding-top: 18px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testi-name { font-weight: 600; color: var(--green-700); font-size: .95rem; }
.testi-stars { color: var(--gold-500); font-size: .85rem; }

/* ── ADMISSION FORM ──────────────────────────────────────── */
.admission {
  background: linear-gradient(155deg, var(--green-800) 0%, var(--green-900) 100%);
  position: relative; overflow: hidden;
}
.admission::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23C8A84B' stroke-opacity='0.06' stroke-width='0.8'%3E%3Cpolygon points='50,10 90,50 50,90 10,50'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3C/g%3E%3C/svg%3E");
}
.admission .section-title { color: white; }
.admission .section-sub { color: rgba(255,255,255,.65); }
.admission .section-label { background: rgba(200,168,75,.15); }

.form-card {
  background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: var(--radius-lg); padding: 52px 48px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.3);
  max-width: 820px; margin: 0 auto;
  position: relative; z-index: 1;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: span 2; }
.form-label {
  font-size: .875rem; font-weight: 600; color: var(--slate);
  display: flex; align-items: center; gap: 6px;
}
.form-label-req { color: var(--gold-500); }
.form-control {
  font-family: var(--font); font-size: .97rem;
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(26,92,58,.15);
  background: var(--cream); outline: none;
  transition: var(--transition); color: var(--slate);
}
.form-control:focus {
  border-color: var(--green-700);
  background: white;
  box-shadow: 0 0 0 4px rgba(26,92,58,.1);
}
.form-control::placeholder { color: #a0a0a0; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; cursor: pointer; }

.radio-row { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 6px; }
.radio-lbl {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 500; color: var(--slate);
}
.radio-lbl input { accent-color: var(--green-700); width: 17px; height: 17px; }

.form-submit-btn { width: 100%; margin-top: 8px; font-size: 1.05rem; padding: 14px; border-radius: var(--radius-sm); }

/* Success box */
.success-box {
  display: none; text-align: center; padding: 40px 32px;
  animation: fadeUp .5s ease both;
}
.success-icon { font-size: 4rem; margin-bottom: 16px; }
.success-box h3 { font-size: 1.6rem; color: var(--green-700); margin-bottom: 12px; }
.success-box p { font-size: 1rem; color: var(--muted); max-width: 440px; margin: 0 auto 28px; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact { background: var(--sage); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: white; padding: 18px 22px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold-500);
  transition: var(--transition);
}
.contact-item:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.c-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--sage); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.c-label { font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.c-val { font-size: 1rem; font-weight: 500; color: var(--slate); }
.c-val a { color: var(--green-700); }
.c-val a:hover { color: var(--green-600); text-decoration: underline; }

.map-frame {
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid white;
  height: 420px; position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: none; }

/* ── FLOATING WHATSAPP ───────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 8000;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: white; transition: var(--transition); }
.wa-float:hover { transform: scale(1.12); background: #20ba5a; box-shadow: 0 10px 36px rgba(37,211,102,.55); }
.wa-float::after {
  content: attr(data-tip);
  position: absolute; right: 72px;
  background: var(--green-900); color: white;
  font-size: .82rem; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.wa-float:hover::after { opacity: 1; right: 76px; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70%      { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--green-900);
  border-top: 3px solid var(--gold-500);
  padding: 64px 0 0;
  position: relative; overflow: hidden;
}
footer::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' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C8A84B' stroke-opacity='0.05' stroke-width='0.8'%3E%3Cpolygon points='40,10 70,40 40,70 10,40'/%3E%3C/g%3E%3C/svg%3E");
}
.footer-inner { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; padding: 0 24px; }
.footer-logo-ur { font-family: var(--font-urdu); font-size: 2.4rem; color: var(--gold-400); direction: rtl; margin-bottom: 6px; }
.footer-name { font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.footer-nav { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-nav a {
  color: rgba(255,255,255,.65); font-size: .9rem; font-weight: 500;
  padding: 6px 14px; border-radius: 6px;
}
.footer-nav a:hover { color: var(--gold-400); background: rgba(200,168,75,.08); }

.footer-ayat-wrap {
  border-top: 1px dashed rgba(200,168,75,.25);
  border-bottom: 1px dashed rgba(200,168,75,.25);
  padding: 28px 0; margin-bottom: 36px;
}
.footer-ayat { font-family: var(--font-urdu); font-size: 1.7rem; color: var(--gold-400); direction: rtl; margin-bottom: 10px; }
.footer-ayat-tr { font-size: .93rem; color: rgba(255,255,255,.55); font-style: italic; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px; text-align: center;
  font-size: .83rem; color: rgba(255,255,255,.38); letter-spacing: .5px;
}

/* ── SCROLL ANIMATIONS ─────────────────────────────────────── */
/* Simple fade-up only — no left/right sliding */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.left  { transform: translateY(28px); }  /* same as base — no slide */
.reveal.right { transform: translateY(28px); }  /* same as base — no slide */
.reveal.visible { opacity: 1 !important; transform: none !important; }

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }
.reveal-delay-6 { transition-delay: .48s; }

/* ── KEYFRAMES ─────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE BOTTOM NAV ─────────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9500;
  background: rgba(10,46,26,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(200,168,75,.2);
  padding: 0; padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 32px rgba(0,0,0,.4);
}
.mbn-inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center; height: 72px;
}
.mbn-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: rgba(255,255,255,.5); font-size: .62rem; font-weight: 600;
  letter-spacing: .4px; text-transform: uppercase;
  transition: all .3s cubic-bezier(.4,0,.2,1); cursor: pointer; text-decoration: none;
  height: 100%;
}
.mbn-item svg { width: 21px; height: 21px; fill: currentColor; transition: all .3s cubic-bezier(.4,0,.2,1); }
.mbn-item:hover, .mbn-item.active { color: var(--gold-400); }
.mbn-item.active svg { fill: var(--gold-400); transform: translateY(-3px); }

/* Donate item distinct styling */
.mbn-item.mbn-donate {
  color: rgba(200,168,75,.85);
}
.mbn-item.mbn-donate svg {
  fill: #e0aa3e;
}
.mbn-item.mbn-donate:hover, .mbn-item.mbn-donate.active {
  color: var(--gold-300);
}
.mbn-item.mbn-donate:hover svg, .mbn-item.mbn-donate.active svg {
  fill: #f59e0b;
  transform: translateY(-3px) scale(1.1);
}

/* Floating Action Button (Enroll) */
.mbn-enroll-wrap {
  position: relative; display: flex; justify-content: center; align-items: flex-start; height: 100%;
}
.mbn-enroll {
  position: absolute; top: -22px;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(200,168,75,.35);
  border: 4px solid #0a2e1a; /* Matches header dark green */
  transition: all .3s cubic-bezier(.4,0,.2,1);
  color: #fff; text-decoration: none;
}
.mbn-enroll svg { width: 24px; height: 24px; fill: #fff; }
.mbn-enroll:hover, .mbn-enroll:active {
  transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 28px rgba(200,168,75,.45);
}
.mbn-enroll-label {
  position: absolute; bottom: 10px; font-size: .65rem; font-weight: 700;
  color: var(--gold-400); letter-spacing: .5px; text-transform: uppercase;
}
/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .about-grid   { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(4) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(200,168,75,.15); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(200,168,75,.15); }
  .gender-grid  { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-grid    { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
}

@media (max-width: 768px) {
  /* ── Header: restore hamburger menu ── */
  .nav-menu {
    position: fixed; top: 0; left: -100%; width: 80%; max-width: 320px; height: 100vh;
    background: var(--green-900); flex-direction: column; justify-content: flex-start;
    padding: 90px 28px 40px; gap: 4px; z-index: 8999;
    border-right: 1px solid rgba(200,168,75,.15); transition: left .4s cubic-bezier(.4,0,.2,1);
    box-shadow: 8px 0 40px rgba(0,0,0,.4);
    display: flex !important;
  }
  .nav-menu.open { left: 0; }
  .nav-link { width: 100%; padding: 12px 16px; font-size: 1.05rem; }
  .nav-cta  { display: none; }
  .hamburger { display: flex; }
  .navbar { padding: 12px 20px; }
  #header { background: rgba(10,46,26,.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  #header.scrolled { background: rgba(10,46,26,.98); }

  /* Logo shrink on mobile */
  .logo-minimal-icon { width: 34px; height: 34px; }

  /* ── Mobile Bottom Nav Adjustments ── */
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 72px; }
  .wa-float { bottom: 90px; } /* Lift WhatsApp icon above bottom nav */

  /* ── Hero Section ── */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 100px 20px 50px;
    text-align: center;
  }
  .hero-right { display: none; }
  .hero-left { max-width: 100%; text-align: center; }
  .hero-hl-top { font-size: 2.2rem; }
  .hero-hl-main { font-size: clamp(3.5rem, 12vw, 5.2rem); letter-spacing: -1.5px; }
  .hero-hl-sub { font-size: 1.8rem; }
  .hero-typewriter { font-size: 1rem; height: 28px; }
  .hero-desc { font-size: .95rem; max-width: 100%; margin-left: auto; margin-right: auto; }
  .bismillah-text { font-size: 1.1rem; }
  .hero-ctas { justify-content: center; flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }
  .hero-trust { justify-content: center; gap: 12px; flex-wrap: wrap; }
  .hero-trust-num { font-size: 1.1rem; }
  .hero-trust-lbl { font-size: .65rem; }
  .hero-trust-sep { height: 22px; }
  .scroll-hint { display: none; }

  /* ── Hide stats strip on mobile ── */
  .stats-strip { display: none; }
  .about { padding-top: 24px; }

  /* ── Sections ── */
  .section-pad { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: .95rem; }
  .section-header { margin-bottom: 36px; }

  /* ── Page Hero Mobile Override ── */
  .page-hero { padding: 110px 16px 50px; }
  .page-tag { padding: 5px 16px; margin-bottom: 14px; font-size: .72rem; }
  .page-sub { font-size: .95rem; line-height: 1.6; }

  /* ── About ── */
  .about-grid { gap: 32px; }
  .about-visual-inner { min-height: 260px; padding: 32px; }
  .about-center-icon svg { width: 95px; height: 95px; }
  .about-float-1 { top: -12px; right: -8px; font-size: .75rem; padding: 7px 12px; }
  .about-float-2 { bottom: -12px; left: -8px; font-size: .75rem; padding: 7px 12px; }

  /* ── Courses ── */
  .courses-grid { grid-template-columns: 1fr; }
  .course-card { padding: 28px 22px; }

  /* ── Gender Cards ── */
  .gender-card { padding: 32px 24px; }

  /* ── Testimonials ── */
  .testi-card { padding: 28px 22px; }

  /* ── Timings ── */
  .timings-wrap { padding: 0 8px; }
  .time-row { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }

  /* ── Contact ── */
  .map-frame { height: 260px; }

  /* ── Form ── */
  .form-card { padding: 28px 18px; }

  /* ── Footer ── */
  .footer-logo-ur { font-size: 1.8rem; }
  .footer-nav { gap: 2px; }
  .footer-nav a { font-size: .82rem; padding: 5px 10px; }
}

@media (max-width: 480px) {
  .hero-hl-top { font-size: 2rem; line-height: 1.15; }
  .hero-hl-main { font-size: 3.5rem; }
  .hero-hl-sub { font-size: 1.8rem; }
  .bismillah-wrap { padding: 5px 14px; }
  .bismillah-text { font-size: 1rem; }
  .hero-trust { gap: 10px; }
  .stat-item { padding: 28px 12px; }
  .stat-number { font-size: 2.2rem; }
  .gender-card { padding: 28px 20px; }
  .testi-card { padding: 24px 20px; }
  .navbar { padding: 10px 16px; }
}
