/* ================================================================
   ZIMM GLOBAL — v4 Design System
   Fonts  : Montserrat (headings) + Helvetica Neue (body)
   Palette: Dark Navy → Blue → White | Red = CTAs only
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --b-950 : #020c1b;
  --b-900 : #050f22;
  --b-850 : #071428;
  --b-800 : #0a1f3d;
  --b-700 : #0d2d5e;
  --b-600 : #1a4080;
  --b-500 : #2563b8;
  --b-400 : #3b82f6;
  --b-300 : #60a5fa;
  --b-200 : #93c5fd;
  --b-100 : #dbeafe;
  --b-50  : #eff6ff;

  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;

  --white : #ffffff;
  --off-w : #f8fafc;
  --n-100 : #f1f5f9;
  --n-200 : #e2e8f0;
  --n-300 : #cbd5e1;
  --n-400 : #94a3b8;
  --n-600 : #475569;
  --n-700 : #334155;
  --n-900 : #0f172a;

  --grad-section : linear-gradient(180deg, #050f22 0%, #0a1f3d 100%);
  --grad-cta     : linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --grad-blue    : linear-gradient(135deg, #2563b8 0%, #1a4080 100%);
  --grad-card    : linear-gradient(145deg, #0a1f3d 0%, #0d2d5e 100%);

  --sh-xs  : 0 1px 3px rgba(2,12,27,.12), 0 1px 2px rgba(2,12,27,.08);
  --sh-sm  : 0 4px 6px rgba(2,12,27,.15), 0 2px 4px rgba(2,12,27,.10);
  --sh-md  : 0 10px 25px rgba(2,12,27,.25), 0 4px 10px rgba(2,12,27,.15);
  --sh-lg  : 0 20px 50px rgba(2,12,27,.35), 0 8px 20px rgba(2,12,27,.20);
  --sh-xl  : 0 35px 80px rgba(2,12,27,.50), 0 15px 35px rgba(2,12,27,.30);
  --sh-3d  : 0 40px 100px rgba(2,12,27,.6), 0 15px 40px rgba(13,45,94,.4), inset 0 1px 0 rgba(255,255,255,.06);
  --sh-glow: 0 0 30px rgba(37,99,184,.25), 0 8px 30px rgba(2,12,27,.4);
  --sh-red : 0 8px 25px rgba(220,38,38,.4), 0 3px 10px rgba(220,38,38,.25);

  --font-h : 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-b : 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --ease   : cubic-bezier(.4,0,.2,1);
  --t-fast : .18s cubic-bezier(.4,0,.2,1);
  --t-med  : .30s cubic-bezier(.4,0,.2,1);
  --t-slow : .50s cubic-bezier(.4,0,.2,1);

  --nav-h  : 76px;
  --nav-hs : 60px;
  --logo-w : 82px;
  --logo-ws: 54px;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  color: var(--n-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--b-950); }
::-webkit-scrollbar-thumb { background: var(--b-500); border-radius: 2px; }
::selection { background: var(--b-600); color: var(--white); }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-h); }

/* ── UTILITIES ───────────────────────────────────────────────── */
.pad-section { padding: 88px 0; }
.pad-sm      { padding: 56px 0; }

/* ── PAGE LOADER ─────────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--b-950);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px;
  transition: opacity .5s var(--ease), visibility .5s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo  { width: 72px; height: 72px; object-fit: contain; animation: loaderPulse 1.8s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.06);opacity:.85;} }
.loader-text  { font-family: var(--font-h); font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.loader-track { width: 140px; height: 2px; background: rgba(255,255,255,.08); border-radius: 1px; overflow: hidden; }
.loader-fill  { height: 100%; width: 0; background: var(--b-400); border-radius: 1px; animation: loadFill 1.2s var(--ease) forwards; }
@keyframes loadFill { to { width: 100%; } }

/* ── TOP BAR ─────────────────────────────────────────────────── */
#topbar {
  background: var(--b-950);
  border-bottom: 1px solid rgba(59,130,246,.12);
  padding: 6px 0;
  font-family: var(--font-h);
  font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  overflow: hidden;
}
.topbar-inner {
  display: flex; align-items: center; gap: 0;
  height: 26px; overflow: hidden;
}
.topbar-contact {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0; padding-right: 14px;
  border-right: 1px solid rgba(59,130,246,.15);
}
.topbar-div {
  width: 1px; height: 11px;
  background: rgba(255,255,255,.08); display: inline-block;
}
.topbar-right {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; padding-left: 14px;
  border-left: 1px solid rgba(59,130,246,.15);
}
.topbar-wa {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.55) !important; font-size: .72rem;
  font-family: var(--font-h); font-weight: 500; letter-spacing: .04em;
  text-decoration: none; transition: color var(--t-fast);
}
.topbar-wa:hover { color: #4ade80 !important; }
#topbar a     { color: rgba(255,255,255,.65); transition: color var(--t-fast); text-decoration: none; }
#topbar a:hover { color: var(--b-300); }
#topbar i     { color: var(--b-400); margin-right: 4px; font-size: .75rem; }
.topbar-cert  {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2);
  color: var(--b-300); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 2px; white-space: nowrap;
}

/* ── Marquee ────────────────────────────────────── */
.topbar-marquee-wrap {
  flex: 1; min-width: 0; display: flex; align-items: center;
  gap: 0; overflow: hidden; height: 100%;
}
.marquee-label {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--red-600, #dc2626); color: #fff;
  font-size: .6rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 2px 9px;
  border-radius: 2px; margin: 0 12px 0 14px; white-space: nowrap;
}
.marquee-label i { color: #fff; margin: 0; font-size: .68rem; animation: blink-dot 1.2s infinite; }
@keyframes blink-dot { 0%,100%{opacity:1} 50%{opacity:.3} }
.marquee-track-outer {
  flex: 1; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.marquee-track {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 55s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  color: rgba(255,255,255,.7) !important;
  font-size: .68rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none !important; padding: 0 4px;
  transition: color .2s;
  white-space: nowrap; flex-shrink: 0;
}
.marquee-item:hover { color: var(--b-300) !important; }
.marquee-sep {
  color: rgba(59,130,246,.35); font-size: .45rem;
  padding: 0 12px; flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   DAR UL ATFAAL FEATURE SECTION
════════════════════════════════════════════════════════════════ */
.darul-atfaal-section {
  background: linear-gradient(135deg, #020c1b 0%, #050f22 40%, #0a1933 100%);
  position: relative; overflow: hidden; padding: 96px 0;
}
.darul-atfaal-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(220,38,38,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 30%, rgba(37,99,184,.1) 0%, transparent 60%);
}
.da-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(220,38,38,.12); border: 1px solid rgba(220,38,38,.3);
  color: #f87171; font-family: var(--font-h); font-size: .62rem;
  font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 2px; margin-bottom: 22px;
}
.da-eyebrow i { font-size: .7rem; animation: pulse-icon 1.8s infinite; }
@keyframes pulse-icon { 0%,100%{transform:scale(1)} 50%{transform:scale(1.25)} }
.da-headline {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px;
}
.da-headline .da-hl {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 50%, #fbbf24 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.da-lead {
  font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.7);
  margin-bottom: 28px; max-width: 560px;
}
.da-stats {
  display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 34px;
}
.da-stat {
  display: flex; flex-direction: column;
  border-left: 2px solid rgba(220,38,38,.4); padding-left: 14px;
}
.da-stat-num {
  font-family: var(--font-h); font-size: 1.7rem; font-weight: 900;
  color: #f87171; line-height: 1; letter-spacing: -.03em;
}
.da-stat-lbl {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 3px;
}
.da-points { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-direction: column; gap: 10px; }
.da-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.5;
}
.da-points li i {
  color: #4ade80; font-size: .82rem; flex-shrink: 0; margin-top: 3px;
}
.da-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.da-visual {
  position: relative;
}
.da-img-frame {
  border-radius: 6px; overflow: hidden; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
}
.da-img-frame img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  filter: brightness(.85) saturate(1.1);
}
.da-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,12,27,.85) 0%, rgba(2,12,27,.1) 50%, transparent 100%);
}
.da-img-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(5,15,34,.9); backdrop-filter: blur(12px);
  border: 1px solid rgba(220,38,38,.25); border-radius: 5px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.da-badge-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.da-badge-icon i { color: #fff; font-size: 1.1rem; }
.da-badge-text-top {
  font-family: var(--font-h); font-size: .72rem; font-weight: 800;
  color: #fff; letter-spacing: -.01em; line-height: 1.3;
}
.da-badge-text-sub { font-size: .65rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.da-corner-tag {
  position: absolute; top: -16px; right: 20px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff; font-family: var(--font-h); font-size: .6rem;
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px;
  box-shadow: 0 4px 14px rgba(220,38,38,.5);
}
.da-glow {
  position: absolute; top: -60px; right: -60px; width: 320px; height: 320px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(220,38,38,.12) 0%, transparent 70%);
}

/* ════════════════════════════════════════════════════════════════
   MEDIA ROOM CAROUSEL SECTION (Homepage)
════════════════════════════════════════════════════════════════ */
.media-carousel-section {
  background: var(--off-w); padding: 88px 0 96px;
  border-top: 1px solid var(--n-100);
}
.mc-header { margin-bottom: 48px; }
.mc-track-wrap {
  overflow: hidden; cursor: grab; user-select: none;
}
.mc-track-wrap:active { cursor: grabbing; }
.mc-track {
  display: flex; gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.mc-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white); border-radius: 6px;
  border: 1px solid var(--n-100);
  box-shadow: var(--sh-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.mc-card-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0;
}
.mc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.mc-card:hover .mc-card-img img { transform: scale(1.05); }
.mc-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--b-600); color: #fff;
  font-family: var(--font-h); font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
}
.mc-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mc-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-size: .63rem; color: var(--n-400); font-weight: 600;
}
.mc-card-meta i { color: var(--b-400); font-size: .65rem; }
.mc-card-title {
  font-family: var(--font-h); font-size: .95rem; font-weight: 800;
  color: var(--n-900); letter-spacing: -.02em; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mc-card-excerpt {
  font-size: .82rem; color: var(--n-500); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.mc-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-h); font-size: .72rem; font-weight: 700;
  color: var(--b-600); text-decoration: none; letter-spacing: .02em;
  transition: gap .2s, color .2s;
  margin-top: auto;
}
.mc-card-link:hover { color: var(--b-800); gap: 10px; }
.mc-featured { border-color: rgba(220,38,38,.2); }
.mc-featured .mc-card-cat { background: #dc2626; }
.mc-featured .mc-card-title { font-size: 1.05rem; }
.mc-controls {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 36px;
}
.mc-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--n-200);
  background: var(--white); color: var(--n-600);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem; transition: all .2s;
  box-shadow: var(--sh-xs);
}
.mc-btn:hover { border-color: var(--b-500); color: var(--b-600); background: var(--b-50); transform: scale(1.05); }
.mc-btn:disabled { opacity: .35; cursor: default; transform: none; }
.mc-dots { display: flex; gap: 6px; }
.mc-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none;
  background: var(--n-300); cursor: pointer; padding: 0;
  transition: all .25s;
}
.mc-dot.active { background: var(--b-600); width: 22px; border-radius: 4px; }
.mc-view-all {
  text-align: center; margin-top: 44px;
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR
   Root cause of shiver: transitioning `height` forces layout
   recalculation on every frame. Fix: transition only composited
   properties (background, box-shadow). Use padding to control
   visual height instead, keeping layout stable.
════════════════════════════════════════════════════════════════ */
#mainNav {
  position: sticky; top: 0; z-index: 1050;
  /* Use padding for visual height — no height transition = no layout reflow */
  padding: 14px 0;
  display: flex; align-items: center;
  background: rgba(5,15,34,.97);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(59,130,246,.14);
  /* Only GPU-composited properties — zero layout reflow */
  transition: padding var(--t-med), background var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  will-change: padding, background;
}
#mainNav.scrolled {
  padding: 6px 0;
  background: rgba(2,12,27,.99);
  box-shadow: 0 2px 32px rgba(2,12,27,.8);
  border-bottom-color: rgba(59,130,246,.07);
}

.nav-inner { display: flex; align-items: center; width: 100%; }

/* Logo — translate down slightly to "badge" effect.
   Using transform only (composited) — zero reflow. */
.nav-logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-img {
  width: var(--logo-w); height: var(--logo-w);
  object-fit: contain;
  transform: translateY(8px);
  filter: drop-shadow(0 4px 12px rgba(2,12,27,.7)) brightness(1.05);
  flex-shrink: 0;
  transition: width var(--t-med), height var(--t-med), transform var(--t-med);
  will-change: width, height, transform;
}
#mainNav.scrolled .nav-logo-img {
  width: var(--logo-ws); height: var(--logo-ws);
  transform: translateY(4px);
}

.nav-wordmark    { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.nav-wm-top      { font-family: var(--font-h); font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
.nav-wm-mid      { font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.nav-wm-tag      { font-size: .52rem; font-weight: 400; letter-spacing: .06em; color: rgba(255,255,255,.3); font-style: italic; margin-top: 1px; }

/* ── NAV LINKS ───────────────────────────────────────────────── */
.navbar-nav .nav-link {
  font-family: var(--font-h) !important;
  color: rgba(255,255,255,.7) !important;
  font-size: .74rem !important; font-weight: 600 !important;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 13px !important;
  position: relative; transition: color var(--t-fast);
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 13px; right: 13px;
  height: 2px; background: var(--b-400);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--t-med);
}
.navbar-nav .nav-link:hover                 { color: var(--white) !important; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after         { transform: scaleX(1); }
.navbar-nav .nav-link.active                { color: var(--b-300) !important; }

/* ── DROPDOWN — hover on desktop ─────────────────────────────── */
.dropdown-menu {
  background: var(--b-850, #071428);
  border: 1px solid rgba(59,130,246,.15);
  border-top: 2px solid var(--b-400);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--sh-xl);
  padding: 8px; min-width: 230px;
  margin-top: 0 !important;
  /* start hidden for animation */
  display: none;
  animation: ddIn .18s var(--ease) forwards;
}
@keyframes ddIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
@media (min-width: 992px) {
  /* Show on hover — desktop only */
  .navbar-nav .dropdown:hover > .dropdown-menu { display: block; }
  /* Kill Bootstrap's click-to-open on desktop — prevent double-trigger */
  .navbar-nav .dropdown-toggle { pointer-events: auto; }
}
.dropdown-item {
  font-family: var(--font-h); color: rgba(255,255,255,.72);
  font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 13px; border-radius: 2px;
  display: flex; align-items: center; gap: 9px;
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
  white-space: nowrap;
}
.dropdown-item:hover { background: rgba(59,130,246,.12); color: var(--b-200); padding-left: 17px; }
.dropdown-item i     { color: var(--b-400); font-size: .82rem; flex-shrink: 0; }

/* ── NAV DONATE BUTTON ───────────────────────────────────────── */
.btn-nav-donate {
  background: var(--grad-cta) !important;
  color: var(--white) !important;
  font-family: var(--font-h) !important;
  font-size: .72rem !important; font-weight: 700 !important;
  letter-spacing: .1em !important; text-transform: uppercase !important;
  padding: 8px 18px !important; border-radius: 3px;
  box-shadow: var(--sh-red); transition: var(--t-med); margin-left: 8px;
}
.btn-nav-donate:hover  { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(220,38,38,.5) !important; }
.btn-nav-donate::after { display: none !important; }

.navbar-toggler      { border: 1px solid rgba(255,255,255,.18) !important; padding: 6px 10px !important; background: transparent !important; border-radius: 3px !important; }
.navbar-toggler-icon { filter: invert(1); }

/* ── FLOATING PANELS ─────────────────────────────────────────── */
.float-panel { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; }
.float-tab {
  writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 12px; min-height: 128px;
  font-family: var(--font-h); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); cursor: pointer; overflow: hidden; position: relative; transition: var(--t-med);
}
.float-tab i { font-size: .95rem; writing-mode: horizontal-tb; transform: rotate(90deg); flex-shrink: 0; }
.float-tab::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.07); transform: scaleY(0); transform-origin: top; transition: transform var(--t-med); }
.float-tab:hover::before { transform: scaleY(1); }
.float-tab:hover { transform: rotate(180deg) translateX(3px); }
.float-donate    { background: var(--grad-cta); border-radius: 6px 0 0 0; box-shadow: -3px 0 20px rgba(220,38,38,.35); }
.float-volunteer { background: var(--grad-card); border-top: 1px solid rgba(59,130,246,.15); border-radius: 0 0 0 6px; box-shadow: -3px 0 20px rgba(2,12,27,.5); }

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column;
  background: var(--b-950);
  /* overflow hidden only on the background layers, not the cut SVG */
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26,64,128,.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(13,45,94,.6) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(37,99,184,.2) 0%, transparent 50%),
    var(--b-950);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift { from { background-position: 0 0; } to { background-position: 60px 60px; } }
.hero-slides   { position: absolute; inset: 0; z-index: 2; }
.hero-slide    { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero-overlay  {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(108deg, rgba(2,12,27,.97) 0%, rgba(5,15,34,.88) 38%, rgba(10,31,61,.72) 60%, rgba(13,45,94,.45) 80%, rgba(26,64,128,.2) 100%);
}
.hero-body     { flex: 1; position: relative; z-index: 4; display: flex; align-items: center; }

/* ── Hero diagonal cut — seamless into white section below ───── */
/* Key: position at bottom, negative margin pulls the next section up
   so there is ZERO gap between hero and the about section */
.hero-cut {
  position: relative; z-index: 5; line-height: 0;
  margin-bottom: -2px; /* eliminate sub-pixel gap */
  flex-shrink: 0;
}
.hero-cut svg { width: 100%; height: 64px; display: block; }

.slide-dots { position: absolute; bottom: 80px; right: 44px; z-index: 6; display: flex; flex-direction: column; gap: 6px; }
.s-dot      { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: var(--t-med); }
.s-dot.active { width: 4px; height: 18px; border-radius: 2px; background: var(--b-400); }

/* ── Hero text ───────────────────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25);
  color: var(--b-300); font-family: var(--font-h);
  font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px; margin-bottom: 24px;
}
.hero-eyebrow i { font-size: .7rem; color: var(--b-400); }
.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -.02em;
  color: var(--white); margin-bottom: 20px;
}
.hero-h1 .hl {
  background: linear-gradient(135deg, var(--b-300) 0%, var(--b-400) 50%, var(--b-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-p {
  color: rgba(255,255,255,.75); font-size: 1rem; font-weight: 300; line-height: 1.8;
  max-width: 480px; margin-bottom: 12px;
}
.hero-tagline-txt {
  font-family: var(--font-h); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 32px;
}
.hero-tagline-txt span { color: var(--b-300); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-red {
  background: var(--grad-cta); color: var(--white);
  font-family: var(--font-h); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 28px; border: none; border-radius: 3px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-red); transition: var(--t-med);
}
.btn-red:hover  { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(220,38,38,.5); color: var(--white); }
.btn-red:active { transform: translateY(0); }

.btn-blue {
  background: var(--grad-blue); color: var(--white);
  font-family: var(--font-h); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 28px; border: none; border-radius: 3px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-glow); transition: var(--t-med);
}
.btn-blue:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37,99,184,.55); color: var(--white); }

.btn-outline-w {
  background: transparent; color: var(--white);
  font-family: var(--font-h); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 28px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 3px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: var(--t-med);
}
.btn-outline-w:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); transform: translateY(-2px); color: var(--white); }

.btn-outline-b {
  background: transparent; color: var(--b-600);
  font-family: var(--font-h); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 26px; border: 1.5px solid var(--b-200); border-radius: 3px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: var(--t-med);
}
.btn-outline-b:hover { background: var(--b-600); border-color: var(--b-600); color: var(--white); transform: translateY(-2px); }

.btn-dark {
  background: var(--b-800); color: var(--white);
  font-family: var(--font-h); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 26px; border: 1px solid rgba(59,130,246,.15); border-radius: 3px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: var(--t-med); box-shadow: var(--sh-md);
}
.btn-dark:hover { background: var(--b-700); transform: translateY(-2px); box-shadow: var(--sh-lg); color: var(--white); }

/* ── SECTION KICKER + TITLES ────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-h); font-size: .66rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--b-500); margin-bottom: 12px;
}
.kicker::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--b-500); border-radius: 1px; }
.kicker-light   { color: var(--b-300); }
.kicker-light::before { background: var(--b-400); }

.sec-title       { font-family: var(--font-h); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--n-900); }
.sec-title-light { color: var(--white); }
/* Body subtitle on light backgrounds — dark charcoal, never mid-grey */
.sec-sub         { font-size: .96rem; color: var(--n-700); line-height: 1.75; max-width: 540px; margin-top: 12px; }
.sec-sub-light   { color: rgba(255,255,255,.78) !important; }

/* ── 3D CARD ─────────────────────────────────────────────────── */
.card-3d { transform-style: preserve-3d; will-change: transform; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card-3d:hover { box-shadow: var(--sh-3d); }

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.about-img-wrap { position: relative; padding: 0 36px 36px 0; }
.about-img-main { border-radius: 4px; overflow: hidden; box-shadow: var(--sh-3d); aspect-ratio: 4/5; transform: perspective(1000px) rotateY(-2deg); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-accent {
  position: absolute; bottom: 0; right: 0; width: 48%; aspect-ratio: 1;
  border-radius: 4px; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--sh-lg);
  transform: perspective(800px) rotateY(2deg);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; top: -16px; left: -16px; z-index: 2;
  width: 82px; height: 82px; border-radius: 50%;
  background: var(--grad-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--sh-glow); border: 3px solid rgba(255,255,255,.15);
}
.about-badge .n { font-family: var(--font-h); font-size: 1.6rem; font-weight: 900; color: var(--white); line-height: 1; }
.about-badge .l { font-size: .48rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 2px; text-align: center; }

.feature-line         { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--n-100); }
.feature-line:last-child { border: none; }
.feat-idx             { font-family: var(--font-h); font-size: 1.6rem; font-weight: 900; color: var(--b-100); line-height: 1; min-width: 36px; flex-shrink: 0; transition: color var(--t-med); }
.feature-line:hover .feat-idx { color: var(--b-500); }
.feature-line h6      { font-family: var(--font-h); font-size: .8rem; font-weight: 700; color: var(--n-900); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
/* Feature line paragraph text — dark, readable */
.feature-line p       { font-size: .84rem; color: var(--n-700); line-height: 1.65; margin: 0; }

/* ── STATS DARK ──────────────────────────────────────────────── */
.stats-dark { background: var(--b-950); position: relative; overflow: hidden; }
.stats-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(37,99,184,.08) 0%, transparent 70%);
}
.stat-big      { padding: 40px 16px; text-align: center; position: relative; }
.stat-big::after { content: ''; position: absolute; right: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(59,130,246,.1); }
.stat-big:last-child::after { display: none; }
.stat-big-n    { font-family: var(--font-h); font-size: 2.8rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; color: var(--white); }
.stat-big-l    { font-family: var(--font-h); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 8px; }

/* ── PROGRAM CARDS ───────────────────────────────────────────── */
.prog-card     { background: var(--white); border: 1px solid var(--n-100); border-radius: 4px; overflow: hidden; height: 100%; box-shadow: var(--sh-xs); transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med); }
.prog-card:hover { transform: translateY(-6px) scale(1.005); box-shadow: var(--sh-lg); border-color: var(--b-100); }
.prog-img      { height: 198px; overflow: hidden; position: relative; }
.prog-img img  { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prog-card:hover .prog-img img { transform: scale(1.06); }
.prog-cat      { position: absolute; bottom: 10px; left: 10px; background: var(--b-950); color: var(--b-300); font-family: var(--font-h); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; opacity: .92; }
.prog-body     { padding: 20px; }
.prog-icon     { width: 36px; height: 36px; border-radius: 3px; background: var(--b-50); display: flex; align-items: center; justify-content: center; color: var(--b-600); font-size: .95rem; margin-bottom: 12px; transition: var(--t-med); }
.prog-card:hover .prog-icon { background: var(--b-700); color: var(--white); }
.prog-body h5  { font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--n-900); margin-bottom: 7px; letter-spacing: -.01em; }
/* Card body text — dark charcoal on white background */
.prog-body p   { font-size: .84rem; color: var(--n-700); line-height: 1.65; }
.prog-link     { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-h); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--b-600); margin-top: 14px; transition: var(--t-med); }
.prog-link:hover { color: var(--b-500); gap: 10px; }

/* ── PROJECT TILES ───────────────────────────────────────────── */
.proj-tile     { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; cursor: pointer; }
.proj-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.proj-tile:hover img { transform: scale(1.07); }
.proj-overlay  {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,12,27,.94) 0%, rgba(2,12,27,.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
  opacity: 0; transition: opacity var(--t-med);
}
.proj-tile:hover .proj-overlay { opacity: 1; }
.proj-overlay h6   { font-family: var(--font-h); color: var(--white); font-size: .9rem; font-weight: 700; letter-spacing: -.01em; }
.proj-overlay small{ font-family: var(--font-h); color: var(--b-300); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.proj-cat          { position: absolute; top: 10px; left: 10px; background: var(--red-600); color: var(--white); font-family: var(--font-h); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }

/* ── TEAM CARDS ──────────────────────────────────────────────── */
.team-card     { background: var(--white); border: 1px solid var(--n-100); border-radius: 4px; overflow: hidden; box-shadow: var(--sh-xs); transition: transform var(--t-med), box-shadow var(--t-med); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tm-img { aspect-ratio: 1 / 1; width: 100%; overflow: hidden; }
.tm-img img { object-fit: cover; object-position: center top; }
/*.tm-img        { position: relative; height: 230px; overflow: hidden; }
.tm-img img    { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; } */
.team-card:hover .tm-img img { transform: scale(1.04); }
.tm-socials    { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(2,12,27,.9), transparent); padding: 18px 12px 10px; display: flex; justify-content: center; gap: 7px; opacity: 0; transform: translateY(8px); transition: opacity var(--t-med), transform var(--t-med); }
.team-card:hover .tm-socials { opacity: 1; transform: translateY(0); }
.tm-sbtn       { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .72rem; transition: var(--t-fast); }
.tm-sbtn:hover { background: var(--b-500); color: var(--white); }
.tm-info       { padding: 16px 18px; }
.tm-info h5    { font-family: var(--font-h); font-size: .95rem; font-weight: 700; color: var(--n-900); margin-bottom: 2px; letter-spacing: -.01em; }
.tm-role       { font-family: var(--font-h); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b-500); }
/* Team card bio text — dark charcoal */
.tm-info p     { font-size: .8rem; color: var(--n-700); margin-top: 7px; line-height: 1.6; }

/* ── DARK CONTENT SECTIONS ───────────────────────────────────── */
.dark-section { background: var(--grad-section); position: relative; overflow: hidden; }
.dark-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 400px at 80% 50%, rgba(37,99,184,.12) 0%, transparent 70%), radial-gradient(circle 300px at 20% 80%, rgba(13,45,94,.4) 0%, transparent 60%);
}
.dark-card     { background: rgba(255,255,255,.04); border: 1px solid rgba(59,130,246,.12); border-radius: 4px; padding: 26px; transition: var(--t-med); height: 100%; }
.dark-card:hover { background: rgba(255,255,255,.07); border-color: rgba(59,130,246,.28); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(2,12,27,.5); }
.dark-card-icon { font-size: 1.6rem; color: var(--b-400); margin-bottom: 14px; display: block; }
.dark-card h5  { font-family: var(--font-h); color: var(--white); font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
.dark-card .sub{ font-family: var(--font-h); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--b-400); margin: 3px 0 9px; }
/* Dark card body — white on dark background */
.dark-card p   { color: rgba(255,255,255,.72); font-size: .82rem; line-height: 1.65; margin: 0; }

/* ── QUOTE / TESTIMONIAL ─────────────────────────────────────── */
.quote-wrap    { background: rgba(255,255,255,.03); border: 1px solid rgba(59,130,246,.1); border-left: 3px solid var(--b-500); border-radius: 4px; padding: 36px; position: relative; }
.quote-icon    { color: rgba(59,130,246,.25); font-size: 4rem; line-height: 1; margin-bottom: 16px; font-family: Georgia, serif; }
/* Blockquote on dark background — near white */
.quote-wrap blockquote { font-size: 1.05rem; color: rgba(255,255,255,.88); line-height: 1.8; font-style: italic; font-weight: 300; margin-bottom: 24px; }
.quote-author  { display: flex; align-items: center; gap: 14px; }
.quote-author img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--b-500); object-fit: cover; object-position: top; }
.qa-name       { font-family: var(--font-h); font-size: .84rem; font-weight: 700; color: var(--white); }
.qa-role       { font-size: .74rem; color: rgba(255,255,255,.55); margin-top: 1px; }

/* ── DONATE BOX ──────────────────────────────────────────────── */
.donate-box    { background: var(--white); border-radius: 6px; padding: 36px; box-shadow: var(--sh-xl); border: 1px solid rgba(220,38,38,.08); border-top: 3px solid var(--red-600); }
.d-amounts     { display: flex; flex-wrap: wrap; gap: 8px; }
.d-amt {
  padding: 8px 16px; border-radius: 3px; border: 1.5px solid var(--n-200); background: var(--white);
  font-family: var(--font-h); font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  color: var(--n-700); cursor: pointer; transition: var(--t-fast);
}
.d-amt:hover, .d-amt.active { border-color: var(--b-600); background: var(--b-700); color: var(--white); }

.field-lbl { font-family: var(--font-h); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--n-700); display: block; margin-bottom: 6px; }
.field-inp {
  width: 100%; padding: 10px 14px; border-radius: 3px; border: 1.5px solid var(--n-200);
  background: var(--off-w); font-size: .88rem; color: var(--n-900);
  outline: none; font-family: var(--font-b); transition: var(--t-fast);
}
.field-inp:focus { border-color: var(--b-500); background: var(--white); box-shadow: 0 0 0 3px rgba(37,99,184,.1); }
select.field-inp { appearance: none; cursor: pointer; }

/* ── BANK CARDS ──────────────────────────────────────────────── */
.bank-card     { background: var(--white); border: 1px solid var(--n-100); border-radius: 4px; padding: 24px; border-top: 3px solid var(--b-600); box-shadow: var(--sh-sm); transition: var(--t-med); }
.bank-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.bank-card h6  { font-family: var(--font-h); font-size: .9rem; font-weight: 700; color: var(--n-900); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.bank-row      { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--n-100); font-size: .8rem; }
.bank-row:last-child { border: none; }
.bk { font-family: var(--font-h); color: var(--n-600); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.bv { font-family: 'Courier New', monospace; color: var(--n-900); font-weight: 700; font-size: .8rem; }

/* ── REGISTRATION TABLE ──────────────────────────────────────── */
.reg-table     { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 4px; overflow: hidden; box-shadow: var(--sh-md); }
.reg-table thead th { background: var(--b-900); color: rgba(255,255,255,.85); padding: 12px 16px; font-family: var(--font-h); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.reg-table thead th:first-child { border-left: 3px solid var(--b-500); }
.reg-table tbody td { background: var(--white); padding: 11px 16px; border-bottom: 1px solid var(--n-100); font-size: .85rem; color: var(--n-700); }
.reg-table tbody tr:last-child td { border: none; }
.reg-table tbody tr:hover td { background: var(--b-50); }
.badge-ok      { background: var(--b-50); color: var(--b-600); font-family: var(--font-h); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; border: 1px solid var(--b-200); }

/* ── CONTACT ─────────────────────────────────────────────────── */
.office-card   { background: var(--white); border: 1px solid var(--n-100); border-left: 3px solid var(--b-600); border-radius: 4px; padding: 18px; display: flex; gap: 13px; align-items: flex-start; box-shadow: var(--sh-xs); transition: var(--t-med); }
.office-card:hover { box-shadow: var(--sh-md); border-left-color: var(--red-600); }
.oc-icon       { width: 38px; height: 38px; border-radius: 3px; background: var(--b-800); color: var(--b-300); display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.office-card h6{ font-family: var(--font-h); font-size: .76rem; font-weight: 700; color: var(--n-900); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.office-card p { font-size: .8rem; color: var(--n-700); line-height: 1.5; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-item      { border: 1px solid var(--n-100); border-radius: 3px; margin-bottom: 5px; overflow: hidden; }
.faq-btn       { width: 100%; text-align: left; padding: 14px 16px; background: var(--white); border: none; font-family: var(--font-h); font-size: .84rem; font-weight: 600; color: var(--n-900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background var(--t-fast); letter-spacing: -.01em; }
.faq-btn:hover, .faq-btn[aria-expanded="true"] { background: var(--b-50); color: var(--b-700); }
.faq-btn i     { color: var(--n-400); transition: transform .3s; flex-shrink: 0; font-size: .76rem; }
.faq-btn[aria-expanded="true"] i { transform: rotate(180deg); color: var(--b-500); }
.faq-body      { padding: 0 16px 13px; font-size: .84rem; color: var(--n-700); line-height: 1.7; }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero { background: var(--b-900); padding: 72px 0 50px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 500px at 80% 50%, rgba(26,64,128,.3) 0%, transparent 70%), radial-gradient(circle 300px at 10% 50%, rgba(13,45,94,.5) 0%, transparent 60%); }
.page-hero::after  { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(59,130,246,.3), transparent); }
.page-hero h1  { font-family: var(--font-h); color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; position: relative; z-index: 1; }
/* Sub-text on page hero — readable white */
.page-hero p   { color: rgba(255,255,255,.72); position: relative; z-index: 1; }
.page-hero .breadcrumb { background: transparent; padding: 0; margin-top: 10px; position: relative; z-index: 1; }
.page-hero .breadcrumb-item { font-family: var(--font-h); color: rgba(255,255,255,.45); font-size: .76rem; font-weight: 500; }
.page-hero .breadcrumb-item a { color: var(--b-300); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.2); }

/* ── MILESTONE CARDS ─────────────────────────────────────────── */
.ms-card       { background: var(--white); border: 1px solid var(--n-100); border-radius: 4px; padding: 22px; transition: var(--t-med); overflow: hidden; position: relative; }
.ms-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--b-600), var(--b-400)); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med); }
.ms-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.ms-card:hover::before { transform: scaleX(1); }
.ms-year       { font-family: var(--font-h); font-size: 2.4rem; font-weight: 900; color: var(--b-100); line-height: 1; margin-bottom: 7px; letter-spacing: -.03em; transition: color var(--t-med); }
.ms-card:hover .ms-year { color: var(--b-500); }
.ms-card h6    { font-family: var(--font-h); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--n-900); margin-bottom: 6px; }
.ms-card p     { font-size: .8rem; color: var(--n-700); line-height: 1.6; margin: 0; }

/* ── FOOTER ──────────────────────────────────────────────────── */
#footer        { background: var(--b-950); padding-top: 64px; }
.foot-logo     { height: 76px; object-fit: contain; }
.foot-tag      { font-family: var(--font-h); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 6px; }
.foot-desc     { font-size: .82rem; line-height: 1.8; color: rgba(255,255,255,.62); margin-top: 10px; }
.foot-certs    { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.foot-cert     { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.18); color: var(--b-300); font-family: var(--font-h); font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; }
.foot-head     { font-family: var(--font-h); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(59,130,246,.12); }
.foot-links    { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.foot-links a  { color: rgba(255,255,255,.55); font-size: .8rem; transition: color var(--t-fast), padding-left var(--t-fast); display: flex; align-items: center; gap: 7px; }
.foot-links a::before { content: '›'; color: var(--b-600); font-size: .9rem; }
.foot-links a:hover   { color: var(--b-300); padding-left: 3px; }
.foot-cinfo    { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 10px; font-size: .8rem; }
.foot-ci       { color: var(--b-500); margin-top: 1px; flex-shrink: 0; font-size: .85rem; }
.foot-cinfo span, .foot-cinfo a { color: rgba(255,255,255,.62); }
.foot-cinfo a:hover { color: var(--b-300); transition: color var(--t-fast); }
.foot-socials  { display: flex; gap: 6px; margin-top: 14px; }
.foot-social   { width: 30px; height: 30px; border-radius: 3px; border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: var(--t-fast); }
.foot-social:hover { background: var(--b-600); border-color: var(--b-600); color: var(--white); transform: translateY(-2px); }
.foot-bottom   { border-top: 1px solid rgba(255,255,255,.05); padding: 14px 0; margin-top: 36px; font-family: var(--font-h); font-size: .68rem; letter-spacing: .04em; color: rgba(255,255,255,.3); }
.foot-bottom a { color: var(--b-400); }

/* ── SCROLL ANIMATIONS ───────────────────────────────────────── */
.fade-up    { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-left  { opacity: 0; transform: translateX(-22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-right { opacity: 0; transform: translateX(22px);  transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-up.vis, .fade-left.vis, .fade-right.vis { opacity: 1; transform: none; }
.d1{transition-delay:.08s!important;} .d2{transition-delay:.16s!important;} .d3{transition-delay:.24s!important;} .d4{transition-delay:.32s!important;} .d5{transition-delay:.40s!important;}

/* ── FABs ────────────────────────────────────────────────────── */
#btt    { position: fixed; bottom: 22px; right: 22px; z-index: 990; width: 36px; height: 36px; border-radius: 3px; background: var(--b-800); color: var(--b-300); border: 1px solid rgba(59,130,246,.2); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .84rem; box-shadow: var(--sh-md); opacity: 0; visibility: hidden; transition: var(--t-med); }
#btt.vis{ opacity: 1; visibility: visible; }
#btt:hover { background: var(--red-600); color: var(--white); transform: translateY(-2px); border-color: transparent; }
.wa-fab { position: fixed; bottom: 66px; right: 22px; z-index: 990; width: 36px; height: 36px; border-radius: 3px; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 4px 16px rgba(37,211,102,.35); transition: var(--t-med); }
.wa-fab:hover { background: #1ebe59; color: var(--white); transform: translateY(-2px); }

/* Cookie */
#cookieBar    { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000; background: var(--b-900); border-top: 1px solid rgba(59,130,246,.15); padding: 12px 20px; font-size: .78rem; color: rgba(255,255,255,.7); transform: translateY(100%); transition: transform var(--t-med); }
#cookieBar.show { transform: translateY(0); }
#cookieDismiss  { background: var(--b-600); color: var(--white); border: none; border-radius: 2px; padding: 6px 16px; font-family: var(--font-h); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: var(--t-fast); }
#cookieDismiss:hover { background: var(--b-500); }

/* Alert */
.alert-z   { padding: 11px 14px; border-radius: 3px; font-size: .82rem; font-weight: 500; margin-top: 12px; font-family: var(--font-h); }
.alert-ok  { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Count */
.cu { font-variant-numeric: tabular-nums; }


/* ════════════════════════════════════════════════════════════════
   MOBILE MENU BACKGROUND
   .nav-mobile-bg is a pseudo-layer inside .navbar-collapse.
   Bootstrap's animation only affects height/overflow — it never
   touches child elements, so this background is always solid.
════════════════════════════════════════════════════════════════ */
.nav-mobile-bg { display: none; } /* hidden on desktop */

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — single authoritative section
   991 tablet | 767 phablet | 575 phone | 400 small phone
════════════════════════════════════════════════════════════════ */

/* Overflow guard — nothing bleeds past viewport */
html, body { max-width: 100%; overflow-x: hidden; }
* { min-width: 0; }

/* ── ≤ 991px ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  :root { --logo-w: 64px; --logo-ws: 48px; }

  .slide-dots  { display: none !important; }
  .float-panel { display: none !important; }

  /* Topbar wraps nicely */
  #topbar .d-flex { flex-wrap: wrap; gap: 4px 14px; }

  /* nav must allow the absolute collapse to escape its bounds */
  #mainNav { overflow: visible !important; }

  /* ── THE BACKGROUND FIX ──────────────────────────────────────
     .navbar-collapse itself: Bootstrap resets its background
     during animation. We don't fight it.
     Instead .nav-mobile-bg is a position:absolute child that
     covers the full collapse area with solid dark color.
     Bootstrap's height animation clips it — perfect.
  ─────────────────────────────────────────────────────────── */
  .nav-mobile-bg {
    display: block;
    position: absolute;
    inset: 0;
    background: #020c1b;
    border-top: 2px solid rgba(59,130,246,.22);
    border-bottom: 1px solid rgba(59,130,246,.1);
    box-shadow: 0 16px 48px rgba(2,12,27,.95);
    pointer-events: none;
    z-index: 0;
  }

  /* Collapse container: absolute so it drops below the navbar bar */
  #mainNav .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1040 !important;
    overflow: hidden !important; /* clips the bg layer during animation */
  }

  /* All nav content above the bg layer */
  #mainNav .navbar-nav {
    position: relative;
    z-index: 1;
    padding: 4px 20px 14px;
  }

  /* Nav links */
  #mainNav .navbar-nav .nav-link {
    display: block !important;
    padding: 13px 2px !important;
    border-bottom: 1px solid rgba(59,130,246,.09) !important;
    font-size: .8rem !important;
    color: rgba(255,255,255,.9) !important;
    letter-spacing: .06em !important;
  }
  #mainNav .navbar-nav .nav-link::after { display: none !important; }
  #mainNav .navbar-nav .nav-item:last-of-type > .nav-link { border-bottom: none !important; }

  /* Donate button */
  #mainNav .btn-nav-donate {
    display: block !important;
    text-align: center !important;
    margin: 10px 0 2px !important;
    padding: 12px !important;
    border-radius: 4px !important;
    width: 100% !important;
  }

  /* Mobile dropdown — static/indented, no animation */
  #mainNav .dropdown-menu {
    position: static !important;
    display: none !important;
    float: none !important;
    background: rgba(255,255,255,.05) !important;
    border: none !important;
    border-left: 2px solid rgba(59,130,246,.35) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 4px 0 6px 14px !important;
    margin: 2px 0 4px !important;
    min-width: 0 !important;
    width: 100% !important;
    animation: none !important;
  }
  #mainNav .dropdown-menu.show { display: block !important; }
  #mainNav .dropdown-item {
    padding: 10px 6px !important;
    font-size: .76rem !important;
    white-space: normal !important;
    color: rgba(255,255,255,.8) !important;
  }

  /* About images */
  .about-img-wrap   { padding: 0 20px 52px 0; }
  .about-img-accent { width: 44%; }
  .stat-big         { padding: 26px 10px; }
}

/* ── ≤ 767px ─────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  :root { --logo-w: 56px; --logo-ws: 42px; }

  /* Topbar — simplified on mobile */
  #topbar { display: block !important; }
  .topbar-contact { display: none !important; }
  .topbar-right { border-left: none !important; padding-left: 10px; }
  .topbar-marquee-wrap { display: flex !important; padding-left: 10px; }
  .marquee-label { display: none; }

  .mc-card { flex: 0 0 calc(100% - 0px); }

  .da-stats { gap: 16px; }
  .da-stat-num { font-size: 1.3rem; }

  .nav-wm-mid, .nav-wm-tag { display: none !important; }
  .nav-wm-top { font-size: .86rem !important; }

  .pad-section { padding: 52px 0; }
  .pad-sm      { padding: 34px 0; }

  /* Hero */
  .hero              { min-height: 88vh; }
  .hero-cut svg      { height: 36px; }
  .hero-h1           { font-size: clamp(1.85rem, 7vw, 2.8rem) !important; }
  .hero-p            { font-size: .9rem; max-width: 100%; }
  .hero-eyebrow      { font-size: .58rem; letter-spacing: .1em; padding: 5px 10px; flex-wrap: wrap; }
  .hero-tagline-txt  { font-size: .66rem; margin-bottom: 20px; }
  .hero-actions      { flex-direction: column; gap: 10px; }
  .hero-actions a    { width: 100% !important; justify-content: center; }

  /* About */
  .about-img-wrap   { padding: 0 0 50px 0; }
  .about-img-accent { width: 44%; right: 0; transform: none; }
  .about-img-main   { transform: none; }
  .about-badge      { width: 66px; height: 66px; top: -10px; left: -6px; }
  .about-badge .n   { font-size: 1.2rem; }

  /* Stats 2-col */
  .stat-big       { flex: 0 0 50% !important; max-width: 50% !important; padding: 22px 8px; }
  .stat-big::after{ display: none !important; }
  .stat-big-n     { font-size: 1.9rem; }
  .stat-big-l     { font-size: .58rem; }

  /* Titles */
  .sec-title { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
  .sec-sub   { font-size: .88rem; max-width: 100%; }

  /* Program cards */
  .prog-img  { height: 170px; }
  .prog-body { padding: 16px; }

  /* Button stacking inside flex wrappers */
  .d-flex.flex-wrap .btn-red,
  .d-flex.flex-wrap .btn-blue,
  .d-flex.flex-wrap .btn-dark,
  .d-flex.flex-wrap .btn-outline-b,
  .d-flex.flex-wrap .btn-outline-w { width: 100%; justify-content: center; }

  /* Donate */
  .donate-box { padding: 20px 16px; }
  .d-amounts  { gap: 6px; }
  .d-amt      { padding: 7px 12px; font-size: .72rem; }

  /* Bank IBAN — must not overflow */
  .bv         { font-size: .7rem; word-break: break-all; }
  .bank-row   { flex-wrap: wrap; gap: 2px; }
  .bank-row .bv { flex: 0 0 100%; }
  .bank-card  { padding: 16px; }

  /* Tables — scroll wrapper */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .reg-table    { min-width: 480px; }

  /* Quote */
  .quote-wrap            { padding: 20px 16px; }
  .quote-wrap blockquote { font-size: .88rem; }

  /* Team */
  .tm-img { height: 190px; }

  /* Inner page hero */
  .page-hero    { padding: 44px 0 30px; }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem) !important; }

  /* Footer */
  #footer               { padding-top: 40px; }
  .foot-logo            { height: 58px; }
  #footer .row > [class*="col-"] { margin-bottom: 6px; }
  .foot-bottom .d-flex  { flex-direction: column; gap: 5px; text-align: center; }
}

/* ── ≤ 575px ─────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  :root { --logo-w: 48px; --logo-ws: 38px; }

  .nav-wm-top    { font-size: .78rem !important; }
  .nav-logo-link { gap: 7px; }

  /* Hero */
  .hero          { min-height: 100svh; min-height: 100vh; }
  .hero-body .container { padding-top: 16px !important; padding-bottom: 10px !important; }
  .hero-h1       { font-size: clamp(1.7rem, 7.5vw, 2.2rem) !important; }
  .hero-eyebrow  { display: none; } /* hide badge strip on very small — too cramped */

  /* About */
  .feature-line { gap: 10px; }
  .feat-idx     { font-size: 1.15rem; min-width: 24px; }

  /* Stats */
  .stat-big   { flex: 0 0 50% !important; max-width: 50% !important; padding: 18px 6px; }
  .stat-big-n { font-size: 1.7rem; }

  /* Form */
  .donate-box { padding: 16px 13px; }
  .field-inp  { font-size: .83rem; padding: 9px 10px; }
  .field-lbl  { font-size: .62rem; }
  .d-amt      { padding: 6px 10px; font-size: .68rem; }

  /* Dark section impact list */
  .dark-card  { padding: 18px; }

  /* Milestones */
  .ms-year    { font-size: 1.9rem; }

  /* Footer */
  #footer     { padding-top: 32px; }
  .foot-desc  { font-size: .78rem; }

  /* Inner page hero */
  .page-hero  { padding: 38px 0 26px; }

  /* FABs */
  #btt        { bottom: 14px; right: 14px; }
  .wa-fab     { bottom: 56px; right: 14px; }

  /* Cookie */
  #cookieBar  { padding: 9px 14px; font-size: .72rem; }
}

/* ── ≤ 400px ─────────────────────────────────────────────────── */
@media (max-width: 400px) {
  :root { --logo-w: 42px; --logo-ws: 34px; }

  .nav-wm-top { font-size: .72rem !important; }

  .hero-h1    { font-size: 1.65rem !important; line-height: 1.14; }

  .stat-big   { flex: 0 0 50% !important; max-width: 50% !important; padding: 14px 4px; }
  .stat-big-n { font-size: 1.45rem; }
  .stat-big-l { font-size: .54rem; letter-spacing: .08em; }

  .donate-box { padding: 13px 10px; }
  .d-amounts  { gap: 4px; }
  .d-amt      { padding: 5px 8px; font-size: .64rem; }

  .bank-row   { flex-direction: column; gap: 0; }

  .ms-year    { font-size: 1.65rem; }

  .foot-desc  { font-size: .74rem; }
  .foot-bottom { text-align: center; }
  .foot-bottom .d-flex { flex-direction: column; align-items: center; }
}

/* ── MEDIA ROOM ──────────────────────────────────────────────────── */
.pagination .page-link { border-color: var(--n-200); color: var(--b-600); font-family: var(--font-h); font-size: .76rem; padding: 6px 11px; }
.pagination .page-item.active .page-link { background: var(--b-600); border-color: var(--b-600); color: #fff; }
.pagination .page-link:hover { background: var(--b-50); color: var(--b-700); }

/* Post body media queries */
@media (max-width: 767.98px) {
  .zimm-post-body h2 { font-size: 1.1rem; }
  .zimm-post-body h3 { font-size: .96rem; }
  .zimm-post-body   { font-size: .86rem; }
}
