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

:root {
  --green: #1a7a4a;
  --green-dark: #135c37;
  --green-light: #2aad6a;
  --gold: #c8902d;
  --gold-light: #f0b132;
  --dark: #0d1117;
  --dark2: #161b22;
  --dark3: #1c2430;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --white: #ffffff;
  --red-urgent: #b71c1c;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }
h3 { font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 12px; }
p { line-height: 1.7; }
a { text-decoration: none; color: inherit; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(200,144,45,0.3);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: rgba(200,144,45,0.08);
}
.section-label.light { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }
.light-h2 { color: var(--white); }
.section-sub { color: var(--text-muted); max-width: 600px; margin: 0 auto 48px; text-align: center; font-size: 17px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  box-shadow: 0 4px 20px rgba(26,122,74,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,122,74,0.6); background: linear-gradient(135deg, var(--green-light), var(--green)); }

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.06); }

.btn-large { padding: 18px 40px; font-size: 17px; }

.btn-nav {
  background: var(--green);
  color: white;
  padding: 10px 22px;
  font-size: 14px;
}
.btn-nav:hover { background: var(--green-light); transform: translateY(-1px); }

.btn-white {
  background: white;
  color: var(--green-dark);
  font-weight: 800;
}
.btn-white:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-donate {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0d1117;
  font-size: 18px;
  font-weight: 900;
  padding: 20px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(200,144,45,0.5);
  transition: all 0.25s;
}
.btn-donate:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(200,144,45,0.6); }

.pulse { animation: pulse 2.5s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(26,122,74,0.5); }
  50% { box-shadow: 0 4px 40px rgba(26,122,74,0.9), 0 0 0 8px rgba(26,122,74,0.1); }
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(13,17,23,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: white;
}
.logo-crescent { color: var(--green-light); }
.logo-text strong { color: var(--green-light); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(26,122,74,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(200,144,45,0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0d1117 0%, #0f1e14 50%, #0d1117 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--dark) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
}
.arabic-top {
  font-family: 'Amiri', serif;
  font-size: 22px;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0.9;
  direction: rtl;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
}
.highlight {
  color: transparent;
  background: linear-gradient(135deg, var(--green-light), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-ayah {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(200,144,45,0.1);
  border: 1px solid rgba(200,144,45,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 36px;
}
.ayah-arabic {
  font-family: 'Amiri', serif;
  font-size: 20px;
  color: var(--gold-light);
  direction: rtl;
}
.ayah-trans { font-size: 13px; color: rgba(255,255,255,0.65); font-style: italic; }
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.trust-item svg { color: var(--green-light); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollDown 2s ease-in-out infinite;
}
.hero-scroll span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); }

@keyframes scrollDown {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── TICKER ── */
.ticker {
  background: var(--red-urgent);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker 38s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.3px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── REALITY SECTION ── */
.reality-section {
  padding: 80px 0 60px;
  background: var(--dark2);
}
.reality-header {
  text-align: center;
  margin-bottom: 48px;
}
.reality-header h2 { color: white; }
.reality-intro {
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

.reality-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
  max-width: 1400px;
  margin: 0 auto 48px;
  padding: 0;
}

.reality-img {
  position: relative;
  overflow: hidden;
}
.reality-img--large {
  grid-row: 1 / 3;
}
.reality-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(0.7);
  transition: filter 0.4s ease;
}
.reality-img--large img { min-height: 480px; }
.reality-img--sm img { min-height: 230px; }

.reality-img:hover img { filter: brightness(0.45) saturate(0.6); }

.reality-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
}
.caption-stat {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.reality-img--large .caption-stat { font-size: 16px; }
.caption-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  max-width: 520px;
}
.reality-img--large .caption-sub { font-size: 15px; }

.reality-quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.reality-quote blockquote {
  font-family: 'Amiri', serif;
  font-size: clamp(20px, 3vw, 30px);
  color: white;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 14px;
}
.reality-quote cite {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
}

.reality-cta {
  text-align: center;
  padding: 0 24px;
}
.reality-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .reality-grid {
    grid-template-columns: 1fr;
  }
  .reality-img--large { grid-row: auto; }
  .reality-img--large img { min-height: 300px; }
  .reality-img--sm img { min-height: 220px; }
}

/* ── IMPACT STRIP ── */
.impact-strip {
  padding: 80px 0 60px;
  background: var(--dark);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.impact-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.impact-card:hover { transform: translateY(-4px); border-color: rgba(26,122,74,0.3); }
.impact-icon-svg { color: var(--green-light); margin-bottom: 16px; display: flex; justify-content: center; }
.impact-label { font-size: 14px; font-weight: 700; color: var(--gold-light); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.impact-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.impact-source { text-align: center; font-size: 12px; color: var(--text-muted); opacity: 0.5; margin-top: 16px; }

/* ── SUFFERING SECTION ── */
.suffering-section {
  padding: 100px 0;
  background: var(--dark2);
}
.suffering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) { .suffering-grid { grid-template-columns: 1fr; gap: 40px; } }

.suffering-text h2 { color: white; margin-bottom: 20px; }
.suffering-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; line-height: 1.75; }
.suffering-text p strong { color: white; }
.suffering-call { color: rgba(255,255,255,0.8) !important; font-size: 17px !important; font-weight: 500; }
.suffering-text .btn { margin-top: 8px; }

.suffering-image-col { position: relative; }
.suffering-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.suffering-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.7);
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,122,74,0.15), transparent);
  border-radius: 20px;
}
.cost-badges {
  position: absolute;
  bottom: -16px;
  left: -16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cost-badge {
  background: var(--dark);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cost-badge--featured {
  background: var(--green-dark);
  border-color: var(--green-light);
}
.cost-num { display: block; font-size: 22px; font-weight: 900; color: var(--gold-light); }
.cost-label { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ── QURAN SECTION ── */
.quran-section {
  padding: 110px 0;
  background: #080f0a;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Deep radial glow from center */
.quran-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(ellipse, rgba(26,122,74,0.18) 0%, rgba(200,144,45,0.06) 40%, transparent 70%);
  pointer-events: none;
}
/* Subtle dot grid */
.quran-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.018) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.quran-intro {
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 17px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ── Ayah cards ── */
.ayah-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.ayah-card {
  background: rgba(200,144,45,0.04);
  border: 1px solid rgba(200,144,45,0.14);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
/* Islamic star pattern in card corner */
.ayah-card::before {
  content: '';
  position: absolute;
  top: -10px; right: -10px;
  width: 120px; height: 120px;
  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%3Cpolygon fill='%23c8902d' opacity='0.18' points='30,2 34,11 43,8 40,17 49,21 40,25 43,34 34,31 30,40 26,31 17,34 20,25 11,21 20,17 17,8 26,11'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}
.ayah-card:hover {
  border-color: rgba(200,144,45,0.45);
  box-shadow: 0 0 40px rgba(200,144,45,0.1), 0 16px 48px rgba(0,0,0,0.4);
  transform: translateY(-5px);
}
.ayah-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(200,144,45,0.1) 0%, rgba(200,144,45,0.04) 60%, transparent);
  border-color: rgba(200,144,45,0.32);
  padding: 44px 40px;
}
.ayah-card.featured::before { width: 180px; height: 180px; opacity: 0.7; }
.ayah-card.featured:hover {
  box-shadow: 0 0 60px rgba(200,144,45,0.15), 0 20px 60px rgba(0,0,0,0.45);
}
.ayah-arabic-large {
  font-family: 'Amiri', serif;
  font-size: clamp(20px, 2.8vw, 28px);
  color: var(--gold-light);
  line-height: 2;
  direction: rtl;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(200,144,45,0.25);
}
.ayah-card.featured .ayah-arabic-large {
  font-size: clamp(22px, 3vw, 32px);
  text-shadow: 0 0 50px rgba(200,144,45,0.35);
}
.ayah-translation {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.7;
}
.ayah-ref {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(200,144,45,0.1);
  border: 1px solid rgba(200,144,45,0.22);
  border-radius: 50px;
  padding: 3px 12px;
  letter-spacing: 0.5px;
}

/* ── Hadith cards ── */
.hadith-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.hadith-card {
  position: relative;
  border-radius: 24px;
  padding: 2px; /* animated border thickness */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Spinning conic border — green tones */
.hadith-card::before {
  content: '';
  position: absolute;
  width: 300%; height: 300%;
  top: -100%; left: -100%;
  background: conic-gradient(
    from 0deg,
    rgba(26,122,74,0.0) 0%,
    rgba(42,173,106,0.6) 25%,
    rgba(26,122,74,0.0) 50%,
    rgba(42,173,106,0.4) 75%,
    rgba(26,122,74,0.0) 100%
  );
  animation: hadith-border-spin 6s linear infinite;
  z-index: 0;
}
/* Middle card: gold accent */
.hadith-card--center::before {
  background: conic-gradient(
    from 0deg,
    rgba(200,144,45,0.0) 0%,
    rgba(240,177,50,0.65) 25%,
    rgba(200,144,45,0.0) 50%,
    rgba(240,177,50,0.45) 75%,
    rgba(200,144,45,0.0) 100%
  );
  animation-duration: 5s;
  animation-direction: reverse;
}
@keyframes hadith-border-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Inner card fill */
.hadith-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 22px;
  background: #080f0a;
  z-index: 1;
}
.hadith-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(42,173,106,0.1);
}
.hadith-card--center:hover {
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(200,144,45,0.1);
}

/* Card inner content */
.hadith-card-body {
  position: relative;
  z-index: 2;
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Large visible quote glyph */
.hadith-glyph {
  font-size: 64px;
  line-height: 0.75;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--green-light);
  opacity: 0.55;
  margin-bottom: 12px;
  user-select: none;
}
.hadith-card--center .hadith-glyph {
  color: var(--gold-light);
}

.hadith-card blockquote {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  line-height: 1.8;
  margin: 0 0 20px;
  flex: 1;
}

.hadith-card cite {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-style: normal;
  padding-top: 16px;
  border-top: 1px solid rgba(42,173,106,0.15);
}
.hadith-card--center cite {
  border-top-color: rgba(200,144,45,0.2);
}
.hadith-card cite > span:first-child,
.hadith-card cite {
  font-size: 13px;
  font-weight: 700;
  color: white;
}
.hadith-source {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-light);
  opacity: 0.75;
  letter-spacing: 0.3px;
}
.hadith-card--center .hadith-source {
  color: var(--gold-light);
}
.hadith-icon-svg { display: none; }

@media (max-width: 900px) {
  .ayah-grid { grid-template-columns: 1fr; }
  .hadith-strip { grid-template-columns: 1fr; }
}

.zakat-box {
  background: linear-gradient(135deg, rgba(26,122,74,0.2), rgba(200,144,45,0.1));
  border: 1px solid rgba(26,122,74,0.3);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: left;
}
.zakat-icon-svg { flex-shrink: 0; }
.zakat-text { flex: 1; min-width: 260px; }
.zakat-text h3 { color: white; margin-bottom: 12px; }
.zakat-text p { color: rgba(255,255,255,0.75); font-size: 15px; }

/* ── HOW SECTION ── */
.how-section {
  padding: 100px 0;
  text-align: center;
  background: var(--dark);
}
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}
.step-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  transition: transform 0.2s, border-color 0.2s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(26,122,74,0.3); }
.step-arrow { color: var(--green-light); margin: 0 8px; flex-shrink: 0; }
.step-num { font-size: 12px; font-weight: 700; color: var(--green-light); letter-spacing: 2px; margin-bottom: 10px; }
.step-icon-svg { color: var(--green-light); margin-bottom: 14px; display: flex; justify-content: center; }
.step-card h3 { font-size: 16px; color: white; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 768px) {
  .step-arrow { display: none; }
  .steps-grid { gap: 16px; }
  .step-card { max-width: 100%; }
}

.what-your-gives { margin-top: 32px; }
.what-your-gives h3 { color: white; margin-bottom: 28px; }
.gives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.gives-item {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px 16px;
  transition: all 0.2s;
}
.gives-item:hover { border-color: rgba(26,122,74,0.3); transform: translateY(-2px); }
.gives-item.highlighted {
  background: linear-gradient(135deg, rgba(26,122,74,0.15), rgba(26,122,74,0.05));
  border-color: rgba(26,122,74,0.4);
}
.gives-amount { font-size: 28px; font-weight: 900; color: var(--gold-light); margin-bottom: 8px; }
.gives-desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ── WHY SECTION ── */
.why-section {
  padding: 100px 0;
  background: var(--dark2);
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.why-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: all 0.2s;
}
.why-card:hover { border-color: rgba(26,122,74,0.3); transform: translateY(-4px); }
.why-icon-svg { color: var(--green-light); margin-bottom: 16px; }
.why-card h3 { color: white; margin-bottom: 10px; font-size: 17px; }
.why-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ── SCHOLARS SECTION ── */
.scholars-section {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Ambient glow in background */
.scholars-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(26,122,74,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.scholars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.scholar-card {
  background: linear-gradient(150deg, rgba(26,122,74,0.1) 0%, rgba(13,17,23,0.6) 55%, var(--dark) 100%);
  border: 1px solid rgba(42,173,106,0.16);
  border-radius: 24px;
  padding: 36px 32px 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
/* Islamic star watermark */
.scholar-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 160px; height: 160px;
  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%3Cpolygon fill='%232aad6a' opacity='0.22' points='30,2 34,11 43,8 40,17 49,21 40,25 43,34 34,31 30,40 26,31 17,34 20,25 11,21 20,17 17,8 26,11'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
}
.scholar-card:hover {
  border-color: rgba(42,173,106,0.42);
  box-shadow: 0 0 0 1px rgba(42,173,106,0.1), 0 24px 64px rgba(0,0,0,0.45), 0 0 60px rgba(42,173,106,0.08);
  transform: translateY(-7px);
}

/* Large quote glyph */
.scholar-card::after {
  content: '"';
  position: absolute;
  top: 12px; left: 22px;
  font-size: 110px;
  line-height: 1;
  color: var(--green-light);
  opacity: 0.08;
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
}

.scholar-card blockquote {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  line-height: 1.9;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.scholar-attr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-top: 18px;
  border-top: 1px solid rgba(42,173,106,0.18);
  width: 100%;
  position: relative;
  z-index: 1;
}
.scholar-attr::before {
  content: '✦';
  font-size: 9px;
  opacity: 0.7;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .scholars-grid { grid-template-columns: 1fr; }
}

/* ── DONATE SECTION ── */
.donate-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f2b1a 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}
.donate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.02) 1px, transparent 0);
  background-size: 30px 30px;
}
.donate-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .donate-wrapper { grid-template-columns: 1fr; gap: 40px; } }

.niyyah-box {
  background: rgba(200,144,45,0.1);
  border: 1px solid rgba(200,144,45,0.25);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.niyyah-arabic {
  font-family: 'Amiri', serif;
  font-size: 20px;
  color: var(--gold-light);
  direction: rtl;
  margin-bottom: 8px;
}
.niyyah-trans { font-size: 13px; color: rgba(255,255,255,0.65); font-style: italic; }

.donation-type-selector { margin-bottom: 28px; }
.donation-type-selector h4 { color: rgba(255,255,255,0.8); margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.type-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.type-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.type-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.type-btn:hover:not(.active) { border-color: rgba(255,255,255,0.5); color: white; }

/* ── IMPACT PANEL ── */
.impact-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 28px;
  padding: 2px; /* the animated border thickness */
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.impact-panel.changing {
  opacity: 0;
  transform: translateY(-10px);
}

/* Spinning conic-gradient border */
.impact-panel::before {
  content: '';
  position: absolute;
  width: 300%;
  height: 300%;
  top: -100%;
  left: -100%;
  background: conic-gradient(
    from 0deg,
    #1a7a4a 0%,
    #2aad6a 18%,
    #f0b132 35%,
    #c8902d 42%,
    #f0b132 49%,
    #2aad6a 66%,
    #0d6e45 80%,
    #1a7a4a 100%
  );
  animation: border-spin 5s linear infinite;
  z-index: 0;
}
@keyframes border-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Dark inner fill — sits on top of the spinning gradient to create the "border" */
.impact-panel-bg {
  position: absolute;
  inset: 2px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(42,173,106,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(200,144,45,0.07) 0%, transparent 50%),
    #0c1a13;
  z-index: 1;
}

.impact-panel-inner {
  position: relative;
  z-index: 2;
  padding: 10px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Header row */
.impact-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.impact-panel-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--green-light);
  flex-shrink: 0;
}
.impact-panel-ornament {
  font-size: 8px;
  color: rgba(42,173,106,0.5);
  flex-shrink: 0;
}

/* Decorative large quote mark */
.impact-panel-quote {
  font-size: 44px;
  line-height: 0.4;
  color: rgba(42,173,106,0.18);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  user-select: none;
  margin-bottom: -4px;
}

/* The actual impact text */
.impact-panel-text {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  line-height: 1.8;
  font-weight: 400;
  margin: 0;
}
.impact-panel-text strong { color: white; font-weight: 800; }

/* Footer attribution */
.impact-panel-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid rgba(42,173,106,0.18);
  color: var(--green-light);
  font-size: 10px;
  font-weight: 600;
  opacity: 0.75;
  margin-top: 2px;
}

/* DONATION CARD */
.donation-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}
.donation-card h3 { font-size: 22px; color: var(--dark); margin-bottom: 4px; }
.donation-sub { font-size: 14px; color: #666; margin-bottom: 16px; }

.frequency-toggle {
  display: flex;
  background: #f0f0f0;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}
.freq-btn {
  flex: 1;
  padding: 11px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #888;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.freq-btn.active { background: white; color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.amount-btn {
  padding: 14px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--dark);
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.amount-btn:hover { border-color: var(--green); color: var(--green); }
.amount-btn.active { background: var(--green); border-color: var(--green); color: white; }

.custom-amount-wrap { margin-bottom: 20px; }
.custom-amount-wrap label { font-size: 13px; color: #666; display: block; margin-bottom: 8px; font-weight: 500; }
.custom-input {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.custom-input:focus-within { border-color: var(--green); }
.dollar-sign { padding: 12px 14px; background: #f5f5f5; color: #666; font-weight: 700; font-size: 16px; border-right: 1px solid #e0e0e0; }
.custom-input input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: var(--dark);
  background: transparent;
}

.donation-summary {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #efefef;
}
.summary-row:last-child { border-bottom: none; }
.summary-row strong { color: var(--dark); font-size: 14px; }
.highlight-row { color: var(--green-dark); }
.highlight-row strong { color: var(--green-dark); }

.payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
}
.payment-icons { display: flex; gap: 6px; }
.payment-icon {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #333;
}
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 100px 0;
  background: var(--dark2);
  text-align: center;
}
.final-arabic {
  font-family: 'Amiri', serif;
  font-size: 26px;
  color: var(--gold-light);
  direction: rtl;
  margin-bottom: 8px;
}
.final-dua-trans { font-size: 13px; color: rgba(255,255,255,0.5); font-style: italic; margin-bottom: 48px; }
.final-cta h2 { color: white; margin-bottom: 20px; }
.final-p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 16px;
  font-size: 16px;
  line-height: 1.75;
}
.final-p strong { color: white; }
.final-p em { color: var(--gold-light); font-style: normal; }
.final-cta .btn { margin-top: 32px; }

/* ── FOOTER ── */
.footer {
  background: #080c10;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo strong { color: var(--green-light); }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.footer-arabic {
  font-family: 'Amiri', serif;
  font-size: 16px;
  color: var(--gold-light);
  opacity: 0.7;
  direction: rtl;
}
.footer-links h4 { color: white; font-size: 14px; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── STICKY DONATE BAR ── */
.sticky-donate {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,17,23,0.97);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 24px;
  z-index: 900;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}
.sticky-donate.visible { transform: translateY(0); }
.sticky-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-inner span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .sticky-donate { display: block; }
}

/* ── ZAKAT CALCULATOR ── */
.zakat-calc-section {
  padding: 100px 0;
  background: var(--dark2);
}
.zakat-calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .zakat-calc-wrapper { grid-template-columns: 1fr; gap: 40px; } }

.zakat-calc-left h2 { color: white; margin-bottom: 16px; }
.zakat-calc-left > p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 24px; }

.nisab-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(200,144,45,0.08);
  border: 1px solid rgba(200,144,45,0.2);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.nisab-icon { flex-shrink: 0; margin-top: 2px; }
.nisab-notice strong { display: block; font-size: 14px; color: var(--gold-light); margin-bottom: 4px; }
.nisab-notice p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.zakat-ayah {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(26,122,74,0.08);
  border: 1px solid rgba(26,122,74,0.2);
  border-radius: 12px;
  padding: 16px 20px;
}

.calc-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}
.calc-card h3 { font-size: 20px; color: var(--dark); margin-bottom: 4px; }
.calc-sub { font-size: 13px; color: #888; margin-bottom: 20px; }

.calc-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label { font-size: 12px; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
.calc-field--deduct label { color: #c0392b; }
.calc-input {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.calc-input:focus-within { border-color: var(--green); }
.calc-field--deduct .calc-input:focus-within { border-color: #c0392b; }
.calc-input span { padding: 10px 12px; background: #f5f5f5; color: #666; font-weight: 700; border-right: 1px solid #e0e0e0; font-size: 15px; }
.calc-field--deduct .calc-input span { background: #fff5f5; color: #c0392b; border-color: #f5c6c6; }
.zakat-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: var(--dark);
  background: transparent;
}

.calc-result {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.result-row strong { color: var(--dark); }
.result-zakat {
  text-align: center;
  padding: 16px 0 8px;
}
.zakat-due-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 6px; }
.zakat-due-amount { font-size: 40px; font-weight: 900; color: var(--green-dark); line-height: 1; margin-bottom: 6px; }
.zakat-due-sub { font-size: 13px; color: #aaa; }
.zakat-due-amount.eligible { color: var(--green-dark); }
.zakat-due-amount.not-eligible { color: #aaa; font-size: 20px; }

/* ── FAQ ── */
.faq-section {
  padding: 100px 0;
  background: var(--dark);
}
.faq-section h2 { color: white; text-align: center; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(26,122,74,0.3); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: white;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green-light); }
.faq-item.open .faq-q { color: var(--green-light); }
.faq-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform 0.3s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green-light); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-a p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ── EXIT INTENT POPUP ── */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.exit-overlay.open { opacity: 1; pointer-events: auto; }

.exit-popup {
  background: var(--dark2);
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  transform: scale(0.93) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
  position: relative;
  max-height: 90vh;
}
.exit-overlay.open .exit-popup { transform: scale(1) translateY(0); }

.exit-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 14px;
  z-index: 10;
  transition: background 0.2s;
}
.exit-close:hover { background: rgba(255,255,255,0.2); }

.exit-image-col {
  position: relative;
  min-height: 400px;
}
.exit-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.7);
}
.exit-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--dark2) 100%);
}

.exit-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  overflow-y: auto;
}
.exit-arabic {
  font-family: 'Amiri', serif;
  font-size: 18px;
  color: var(--gold-light);
  direction: rtl;
}
.exit-arabic-trans { font-size: 12px; color: rgba(255,255,255,0.5); font-style: italic; }
.exit-content h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: white;
  line-height: 1.2;
  margin: 0;
}
.exit-content p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; margin: 0; }
.exit-content p strong { color: white; }
.exit-content .btn { margin-top: 4px; width: 100%; justify-content: center; }
.exit-leave {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: underline;
  text-align: center;
  transition: color 0.2s;
}
.exit-leave:hover { color: rgba(255,255,255,0.55); }

@media (max-width: 640px) {
  .exit-popup { grid-template-columns: 1fr; }
  .exit-image-col { min-height: 200px; }
  .exit-content { padding: 28px 24px; }
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  color: var(--dark);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.modal-icon-svg { margin-bottom: 16px; display: flex; justify-content: center; }
.modal h3 { font-size: 24px; margin-bottom: 12px; color: var(--green-dark); }
.modal p { color: #555; margin-bottom: 12px; line-height: 1.6; font-size: 15px; }
.modal-arabic {
  font-family: 'Amiri', serif;
  font-size: 24px;
  color: var(--gold);
  direction: rtl;
  margin: 16px 0 4px;
}

/* ── MEALS COUNTER STRIP ── */
.meals-strip {
  background: var(--dark3);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 20px 0;
}
.meals-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.meals-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
  text-align: center;
}
.meals-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.meals-count--static { color: var(--gold-light); font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }
.meals-count--gold { color: var(--green-light); font-size: 28px; font-weight: 900; }
.meals-divider { width: 1px; height: 64px; background: rgba(255,255,255,0.08); flex-shrink: 0; }
.meals-item--wide { flex: 1.5; }
.meals-source { font-size: 10px; color: var(--text-muted); margin-top: 6px; opacity: 0.7; }

.famine-clock {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0;
}
.clock-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}
.clock-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--red-urgent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.clock-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}
.clock-sep {
  font-size: 24px;
  font-weight: 900;
  color: var(--red-urgent);
  opacity: 0.5;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .meals-divider { display: none; }
  .meals-item { padding: 12px 16px; width: 50%; }
  .meals-item--wide { width: 100%; }
  .clock-num { font-size: 24px; }
  .clock-unit { min-width: 44px; }
}

/* ── MEDIA LOGOS BAR ── */
.media-bar {
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}
.media-bar .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.media-bar-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; white-space: nowrap; flex-shrink: 0; }
.media-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.media-logo {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.media-logo:hover { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.15); }

/* ── VIDEO SECTION ── */
.video-section {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
}
.video-section h2 { color: white; }
.video-wrapper {
  width: 340px;
  height: 604px;
  overflow: hidden;
  border-radius: 20px;
  margin: 0 auto 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  background: var(--dark2);
}
.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
  object-fit: cover;
}
@media (max-width: 400px) {
  .video-wrapper { width: 100%; height: auto; aspect-ratio: 9/16; }
}
.video-cta { margin-top: 16px; }

/* ── HUMAN STORIES ── */
.stories-section {
  padding: 100px 0;
  background: var(--dark2);
  text-align: center;
}
.stories-section h2 { color: white; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
  text-align: left;
  align-items: start;
}

/* ── Card base ── */
.story-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(26,122,74,0.2);
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.story-card.visible { opacity: 1; transform: translateY(0); }
.story-card:nth-child(2) { transition-delay: 0.14s; }
.story-card:nth-child(3) { transition-delay: 0.28s; }

.story-card[data-accent="gold"] { border-color: rgba(200,144,45,0.22); }

.story-card:hover {
  border-color: rgba(26,122,74,0.55);
  box-shadow: 0 0 0 1px rgba(26,122,74,0.15), 0 24px 64px rgba(0,0,0,0.4), 0 0 60px rgba(26,122,74,0.07);
}
.story-card.visible:hover { transform: translateY(-6px); }
.story-card[data-accent="gold"]:hover {
  border-color: rgba(200,144,45,0.55);
  box-shadow: 0 0 0 1px rgba(200,144,45,0.15), 0 24px 64px rgba(0,0,0,0.4), 0 0 60px rgba(200,144,45,0.07);
}

/* Raised middle card */
.story-card--raised {
  background: linear-gradient(160deg, rgba(200,144,45,0.06) 0%, var(--dark) 55%);
}

/* Islamic geometric corner pattern (8-pointed star tile) */
.story-geo-pattern {
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  opacity: 0.05;
  pointer-events: none;
  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='%23ffffff'%3E%3Cpolygon points='30,2 34,11 43,8 40,17 49,21 40,25 43,34 34,31 30,40 26,31 17,34 20,25 11,21 20,17 17,8 26,11'/%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* Arabic numeral watermark */
.story-watermark {
  position: absolute;
  bottom: 12px; right: 18px;
  font-size: 90px;
  font-weight: 900;
  color: white;
  opacity: 0.025;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: Georgia, serif;
}

.story-card-inner {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Badge */
.story-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  padding: 5px 14px;
  width: fit-content;
}
.story-badge--green {
  color: var(--green-light);
  background: rgba(42,173,106,0.1);
  border: 1px solid rgba(42,173,106,0.22);
}
.story-badge--gold {
  color: var(--gold-light);
  background: rgba(200,144,45,0.1);
  border: 1px solid rgba(200,144,45,0.22);
}

/* Islamic ornamental divider */
.story-ornament {
  display: flex;
  align-items: center;
}
.story-ornament::before,
.story-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
}
.story-ornament::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1)); }
.story-ornament::after { background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent); }
.story-ornament span {
  font-size: 10px;
  color: rgba(255,255,255,0.18);
  padding: 0 10px;
  flex-shrink: 0;
}

/* Story text */
.story-detail {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.82;
  margin: 0;
}
.story-detail strong { color: white; font-weight: 800; }
.story-detail--italic { font-style: italic; color: rgba(255,255,255,0.82); }

/* Large opening quote glyph — decorative only, doesn't push content */
.story-quote-glyph {
  position: absolute;
  top: 80px;
  left: 20px;
  font-size: 100px;
  line-height: 1;
  color: rgba(200,144,45,0.12);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.story-attribution {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -4px;
}

/* Footer */
.story-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.story-source { font-size: 11px; color: var(--text-muted); font-style: italic; }
.story-cost { font-size: 13px; font-weight: 700; }
.story-cost--green { color: var(--green-light); }
.story-cost--gold { color: var(--gold-light); }

.stories-cta { margin-top: 8px; }

@media (max-width: 900px) {
  .stories-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .story-card:nth-child(2),
  .story-card:nth-child(3) { transition-delay: 0s; }
}

/* ── PROGRESS BAR ── */
.progress-bar-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 56px;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.progress-raised { display: flex; align-items: baseline; gap: 8px; }
.progress-amount { font-size: 32px; font-weight: 900; color: white; font-variant-numeric: tabular-nums; }
.progress-label { font-size: 13px; color: rgba(255,255,255,0.5); }
.progress-goal { display: flex; align-items: baseline; gap: 8px; }
.progress-target { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.6); }
.progress-track {
  height: 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 40px;
}
.progress-pct { font-size: 10px; font-weight: 800; color: white; white-space: nowrap; }
.progress-footer { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 4px; }
.progress-note { font-style: italic; }

/* ── DONATION WALL ── */
.wall-section {
  padding: 100px 0;
  background: var(--dark2);
}
.wall-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.wall-header h2 { color: white; margin-bottom: 0; }
.wall-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(183,28,28,0.15);
  border: 1px solid rgba(183,28,28,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #ff5252;
  flex-shrink: 0;
}
.live-dot {
  width: 8px; height: 8px;
  background: #ff5252;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .wall-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .wall-grid { grid-template-columns: repeat(2, 1fr); } }
.wall-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: wallFadeIn 0.4s ease;
}
@keyframes wallFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.wall-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.wall-info { flex: 1; min-width: 0; }
.wall-name { font-size: 13px; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-amount { font-size: 12px; color: var(--green-light); font-weight: 700; margin-top: 2px; }
.wall-location { font-size: 11px; color: var(--text-muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-cta { text-align: center; }
.wall-cta p { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; }

/* ── SHARE SECTION ── */
.share-section {
  padding: 80px 0;
  background: var(--dark);
}
.share-section h2 { color: white; }
.share-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.share-sub em { color: rgba(255,255,255,0.75); font-style: normal; }
.share-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.share-whatsapp { background: #25D366; color: white; }
.share-whatsapp:hover { background: #20b858; transform: translateY(-2px); }
.share-twitter { background: #000; color: white; border: 1px solid rgba(255,255,255,0.15); }
.share-twitter:hover { background: #111; transform: translateY(-2px); }
.share-facebook { background: #1877F2; color: white; }
.share-facebook:hover { background: #166fe5; transform: translateY(-2px); }
.share-copy { background: var(--dark2); color: var(--text); border: 1px solid rgba(255,255,255,0.1); }
.share-copy:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ── WHO WE ARE ── */
.who-section {
  padding: 100px 0;
  background: var(--dark2);
}
.who-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .who-wrapper { grid-template-columns: 1fr; gap: 40px; } }
.who-text h2 { color: white; margin-bottom: 20px; }
.who-text p { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.who-text p em { color: rgba(255,255,255,0.75); font-style: normal; }
.who-values { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.who-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.who-value svg { color: var(--green-light); flex-shrink: 0; }

.who-quote-col { display: flex; flex-direction: column; gap: 20px; }
.who-quote {
  background: linear-gradient(135deg, rgba(200,144,45,0.1), rgba(200,144,45,0.05));
  border: 1px solid rgba(200,144,45,0.25);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.who-quote-arabic { font-family: 'Amiri', serif; font-size: 20px; color: var(--gold-light); direction: rtl; margin-bottom: 12px; }
.who-quote blockquote { font-size: 16px; color: rgba(255,255,255,0.85); font-style: italic; margin-bottom: 10px; line-height: 1.6; }
.who-quote cite { font-size: 13px; color: var(--green-light); font-style: normal; font-weight: 600; }
.who-stat {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
}
.who-stat-num { font-size: 36px; font-weight: 900; color: var(--green-light); }
.who-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── EMAIL CAPTURE ── */
.email-capture {
  margin-top: 60px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.email-capture-label { font-size: 16px; font-weight: 700; color: white; margin-bottom: 6px; }
.email-capture-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: white;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input::placeholder { color: rgba(255,255,255,0.3); }
.email-form input:focus { border-color: var(--green-light); }
.email-confirm { font-size: 14px; color: var(--green-light); font-weight: 600; margin-top: 12px; text-align: center; }

/* ── DONOR NOTIFICATION ── */
.donor-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1500;
  background: rgba(8, 18, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 14px 14px 14px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(42,173,106,0.28);
  box-shadow:
    0 0 0 1px rgba(42,173,106,0.08),
    0 20px 60px rgba(0,0,0,0.55),
    0 0 40px rgba(42,173,106,0.07);
  max-width: 310px;
  width: calc(100vw - 48px);
  transform: translateX(calc(-100% - 32px));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}
.donor-toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.donor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #135c37, #2aad6a);
  border: 1.5px solid rgba(42,173,106,0.45);
  box-shadow: 0 0 14px rgba(42,173,106,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.donor-info { flex: 1; min-width: 0; }
.donor-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.donor-action {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.donor-action strong {
  color: var(--green-light);
  font-weight: 700;
}
.donor-time {
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  margin-top: 3px;
  letter-spacing: 0.2px;
}
.donor-toast-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  background: rgba(42,173,106,0.18);
  border: 1px solid rgba(42,173,106,0.38);
  color: var(--green-light);
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.2px;
}
.donor-toast-btn:hover {
  background: rgba(42,173,106,0.32);
  border-color: rgba(42,173,106,0.6);
  color: white;
}
.donor-toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.25);
  font-size: 13px;
  padding: 0 0 0 2px;
  line-height: 1;
  flex-shrink: 0;
  align-self: flex-start;
  pointer-events: auto;
  transition: color 0.2s;
}
.donor-toast-close:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
  .donor-toast { bottom: 72px; }
}

/* ── FADE-IN ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE TWEAKS ── */
@media (max-width: 640px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .zakat-box { flex-direction: column; text-align: center; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .donation-card { padding: 24px; }
  .reality-quote blockquote { font-size: 20px; }
}
