/* ═══════════════════════════════════════════
   WIA — style.css
   Complete stylesheet for all pages
═══════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────── */
:root {
  --g-deep:    #1B4332;
  --g-mid:     #2D6A4F;
  --g-light:   #52B788;
  --g-pale:    #D8EDDF;
  --gold:      #C9A84C;
  --gold-lt:   #E8C97A;
  --gold-dk:   #8B6D1F;
  --cream:     #FAF6EE;
  --cream-dk:  #F0E9DA;
  --warm-wh:   #FFFDF7;
  --dark:      #1A1A18;
  --text:      #2C2C28;
  --muted:     #6B6B60;
  --border:    rgba(27,67,50,0.12);
  --shadow:    0 2px 32px rgba(27,67,50,0.10);
  --shadow-lg: 0 8px 48px rgba(27,67,50,0.14);
  --ff-disp:   'Cormorant Garamond', Georgia, serif;
  --ff-body:   'Jost', system-ui, sans-serif;
  --nav-h:     72px;
  --ticker-h:  40px;
  --top-offset: calc(var(--nav-h) + var(--ticker-h));
  --geo-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.5' opacity='0.18'%3E%3Cpolygon points='40,4 76,22 76,58 40,76 4,58 4,22'/%3E%3Cpolygon points='40,16 64,28 64,52 40,64 16,52 16,28'/%3E%3Cline x1='40' y1='4' x2='40' y2='16'/%3E%3Cline x1='76' y1='22' x2='64' y2='28'/%3E%3Cline x1='76' y1='58' x2='64' y2='52'/%3E%3Cline x1='40' y1='76' x2='40' y2='64'/%3E%3Cline x1='4' y1='58' x2='16' y2='52'/%3E%3Cline x1='4' y1='22' x2='16' y2='28'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--warm-wh);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--top-offset);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
}

/* ═══════════════════════════════════════════
   TICKER
═══════════════════════════════════════════ */
#ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--ticker-h);
  background: var(--g-deep);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  background: var(--gold);
  color: var(--g-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  display: flex;
  animation: ticker-scroll 50s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  padding: 0 48px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#nav {
  position: fixed;
  top: var(--ticker-h);
  left: 0; right: 0;
  z-index: 199;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(27,67,50,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.3);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-disp);
  font-size: 20px;
  color: var(--g-deep);
  font-weight: 700;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block;
  font-family: var(--ff-disp);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.nav-logo-text span {
  font-size: 10.5px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--gold-lt); }
.nav-donate-btn {
  background: var(--gold) !important;
  color: var(--g-deep) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-donate-btn:hover { background: var(--gold-lt) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  position: fixed;
  top: var(--top-offset);
  left: 0; right: 0;
  background: var(--g-deep);
  z-index: 198;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(201,168,76,0.3);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s, opacity 0.25s;
}
.mobile-nav[hidden] { display: block !important; } /* override hidden, use opacity instead */
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 400;
  letter-spacing: 0.03em;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mob-donate {
  display: inline-block !important;
  margin-top: 20px;
  background: var(--gold);
  color: var(--g-deep) !important;
  padding: 11px 28px;
  border-radius: 2px;
  font-weight: 600 !important;
  font-size: 14px;
  border-bottom: none !important;
}

/* ═══════════════════════════════════════════
   SECTION UTILITIES
═══════════════════════════════════════════ */
.section { padding: 96px 40px; }
.section-inner { max-width: 1160px; margin: 0 auto; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-eyebrow-line { width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-weight: 600;
}
.section-title {
  font-family: var(--ff-disp);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--g-deep);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}
.gold-divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

/* ── Buttons ─────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--g-deep);
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g-deep);
  color: #fff;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
}
.btn-green:hover { background: var(--g-mid); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  background: none;
}
.btn-outline:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--g-mid);
  color: var(--g-mid);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
  background: none;
}
.btn-outline-green:hover { background: var(--g-mid); color: #fff; }

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--g-deep);
  color: #fff;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
  border: none;
}
.btn-sm:hover { background: var(--g-mid); }

/* ── Cards ───────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ── Page hero (inner pages) ─────────────── */
.page-hero {
  background: var(--g-deep);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--geo-url);
  background-size: 80px 80px;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--ff-disp);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  line-height: 1.75;
}
.page-hero-gold { width: 48px; height: 2px; background: var(--gold); margin: 20px auto; }

/* ── Fade-up animation ───────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* ═══════════════════════════════════════════
   HOME — HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--g-deep);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--top-offset));
}
.hero-geo {
  position: absolute; inset: 0;
  background-image: var(--geo-url);
  background-size: 80px 80px;
}
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 65% 50%, rgba(45,106,79,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(82,183,136,0.10) 0%, transparent 60%);
}
.hero-gold-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: calc(var(--top-offset) + 60px) 40px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.hero-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 500;
}
.hero-arabic {
  font-family: 'Traditional Arabic', 'Scheherazade New', 'Noto Naskh Arabic', serif;
  font-size: 26px;
  color: rgba(201,168,76,0.55);
  margin-bottom: 18px;
  display: block;
}
.hero-title {
  font-family: var(--ff-disp);
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 600;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.62);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero prayer card */
.hero-prayer-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 8px;
  padding: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.prayer-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.prayer-card-head h3 {
  font-family: var(--ff-disp);
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}
.prayer-card-date {
  font-size: 11px;
  color: var(--gold-lt);
  letter-spacing: 0.05em;
  text-align: right;
  line-height: 1.5;
}
.prayer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  transition: background 0.2s;
}
.prayer-row:last-child { border-bottom: none; }
.prayer-row.active {
  background: rgba(201,168,76,0.1);
  margin: 0 -10px;
  padding: 9px 10px;
}
.prayer-row.next {
  background: rgba(255,255,255,0.04);
  margin: 0 -10px;
  padding: 9px 10px;
}
.prayer-name-wrap { display: flex; align-items: center; gap: 8px; }
.prayer-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.03em;
}
.prayer-row.active .prayer-name { color: var(--gold-lt); }
.prayer-next-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--gold);
  color: var(--g-deep);
  padding: 2px 7px;
  border-radius: 20px;
}
.prayer-times-col { text-align: right; }
.prayer-adhan {
  font-family: var(--ff-disp);
  font-size: 19px;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}
.prayer-row.active .prayer-adhan { color: var(--gold); }
.prayer-iqamah {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  display: block;
}
.prayer-countdown {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.18);
  text-align: center;
}
.prayer-countdown-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.prayer-countdown-time {
  font-family: var(--ff-disp);
  font-size: 36px;
  color: var(--gold-lt);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   HOME — PRAYER TIMES SECTION
═══════════════════════════════════════════ */
#prayers { background: var(--cream); }
.prayers-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  margin-top: 52px;
}
.prayers-table { border-top: 3px solid var(--g-deep); }
.prayers-table-head {
  background: var(--g-deep);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prayers-table-head h3 {
  font-family: var(--ff-disp);
  font-size: 21px;
  color: #fff;
  font-weight: 600;
}
.prayers-table-head span {
  font-size: 12px;
  color: var(--gold-lt);
  letter-spacing: 0.04em;
}
.prayer-cols-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  padding: 10px 28px;
  background: var(--cream-dk);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.prayer-full-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  padding: 15px 28px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.15s;
}
.prayer-full-row:last-child { border-bottom: none; }
.prayer-full-row:hover { background: #fff; }
.prayer-full-row.active { background: rgba(27,67,50,0.04); }
.pfr-name {
  font-family: var(--ff-disp);
  font-size: 18px;
  font-weight: 600;
  color: var(--g-deep);
}
.pfr-time { font-size: 15px; font-weight: 500; color: var(--text); }
.prayer-full-row.active .pfr-name,
.prayer-full-row.active .pfr-time { color: var(--g-mid); }
.status-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
}
.status-pill.current { background: var(--gold); color: var(--g-deep); }
.status-pill.next    { background: var(--g-mid); color: #fff; }

/* Jumu'ah + side cards */
.prayers-sidebar { display: flex; flex-direction: column; gap: 20px; }
.jumuah-card {
  background: var(--g-deep);
  border-radius: 8px;
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.jumuah-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--geo-url);
  background-size: 80px 80px;
  opacity: 0.7;
}
.jumuah-card > * { position: relative; z-index: 1; }
.jumuah-card-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.jumuah-card h3 {
  font-family: var(--ff-disp);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-lt);
  margin-bottom: 12px;
}
.jumuah-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 16px;
}
.jumuah-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.jumuah-time-item {
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 12px 14px;
}
.jumuah-time-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.jumuah-time-val {
  font-family: var(--ff-disp);
  font-size: 22px;
  color: var(--gold);
  font-weight: 600;
}
.download-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.download-card h4 {
  font-family: var(--ff-disp);
  font-size: 19px;
  color: var(--g-deep);
  font-weight: 600;
  margin-bottom: 8px;
}
.download-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════
   HOME — ABOUT STRIP
═══════════════════════════════════════════ */
#about-strip {
  background: var(--warm-wh);
}
.about-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 52px;
}
.about-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-text p strong { color: var(--text); font-weight: 600; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.service-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.service-chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--g-mid);
  flex-shrink: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 36px;
}
.stat-box {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 24px 20px;
}
.stat-num {
  font-family: var(--ff-disp);
  font-size: 46px;
  font-weight: 700;
  color: var(--g-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num sup { font-size: 20px; }
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}
.about-image-wrap { position: relative; }
.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--g-deep);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.3);
}
.about-image-placeholder span { font-size: 56px; display: block; margin-bottom: 12px; }
.about-image-placeholder p { font-size: 13px; letter-spacing: 0.06em; }
.about-accent-box {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  background: var(--gold);
  border-radius: 4px;
  z-index: -1;
}

/* ═══════════════════════════════════════════
   HOME — NEWS
═══════════════════════════════════════════ */
#news { background: var(--cream); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-card-img {
  height: 190px;
  background: var(--g-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}
.news-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--geo-url);
  background-size: 80px 80px;
}
.news-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.news-card-body { padding: 22px; }
.news-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-mid);
  margin-bottom: 8px;
}
.news-card-title {
  font-family: var(--ff-disp);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
}
.news-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.news-card-footer a { color: var(--g-mid); font-weight: 600; letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════
   HOME — EVENTS
═══════════════════════════════════════════ */
#events { background: var(--warm-wh); }
.events-list { margin-top: 52px; }
.event-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.event-row:first-child { border-top: 1px solid var(--border); }
.event-date-block { text-align: center; flex-shrink: 0; }
.event-date-day {
  font-family: var(--ff-disp);
  font-size: 38px;
  font-weight: 700;
  color: var(--g-deep);
  line-height: 1;
}
.event-date-month {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dk);
}
.event-info h3 {
  font-family: var(--ff-disp);
  font-size: 21px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.event-meta-item {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.event-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}
.event-badge.weekly  { background: var(--g-pale); color: var(--g-deep); }
.event-badge.event   { background: rgba(201,168,76,0.15); color: var(--gold-dk); }
.event-badge.course  { background: rgba(82,183,136,0.15); color: var(--g-mid); }
.event-badge.sisters { background: rgba(201,168,76,0.1); color: var(--gold-dk); }
.event-badge.youth   { background: rgba(82,183,136,0.12); color: var(--g-mid); }

/* ═══════════════════════════════════════════
   HOME — DONATE
═══════════════════════════════════════════ */
#donate {
  background: var(--g-deep);
  position: relative;
  overflow: hidden;
}
#donate::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--geo-url);
  background-size: 80px 80px;
}
#donate .section-inner { position: relative; z-index: 1; }
#donate .section-eyebrow-line { background: rgba(201,168,76,0.6); }
#donate .section-eyebrow span { color: var(--gold-lt); }
#donate .section-title { color: #fff; }
#donate .section-sub   { color: rgba(255,255,255,0.55); }

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.donate-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 8px;
  padding: 26px;
  transition: border-color 0.25s, background 0.25s;
}
.donate-card:hover {
  border-color: rgba(201,168,76,0.45);
  background: rgba(255,255,255,0.07);
}
.donate-card-icon { font-size: 30px; margin-bottom: 14px; display: block; }
.donate-card h3 {
  font-family: var(--ff-disp);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-lt);
  margin-bottom: 8px;
}
.donate-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  margin-bottom: 18px;
}
.donate-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.donate-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g-light), var(--gold));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s ease;
}
.donate-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.donate-progress-text strong { color: var(--gold-lt); }
.btn-donate {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--g-deep);
  padding: 11px 24px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 100%;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-donate:hover { background: var(--gold-lt); }
.gift-aid-notice {
  margin-top: 36px;
  padding: 20px 28px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.gift-aid-notice p {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
}
.gift-aid-notice strong { color: var(--gold-lt); }

/* ═══════════════════════════════════════════
   HOME — CONTACT / MAP
═══════════════════════════════════════════ */
#contact { background: var(--cream); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 52px;
}
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--g-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-body h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-item-body p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.contact-item-body a { color: var(--g-mid); }
.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; }
.opening-hours { margin-top: 32px; }
.opening-hours h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 500; }
.hours-time { color: var(--muted); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: #0C2517;
  border-top: 2px solid rgba(201,168,76,0.3);
  padding: 64px 40px 32px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--geo-url);
  background-size: 80px 80px;
  opacity: 0.4;
}
.footer-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo-text strong,
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand .nav-logo-text strong { color: rgba(255,255,255,0.8); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 300px;
}
.footer-charity {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  margin-top: 8px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-lt); }
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 52px;
}
.about-full-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 22px;
  font-weight: 300;
}
.about-full-text p strong { color: var(--text); font-weight: 600; }
.about-full-text h3 {
  font-family: var(--ff-disp);
  font-size: 26px;
  font-weight: 600;
  color: var(--g-deep);
  margin: 32px 0 14px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}
.team-card-avatar {
  height: 160px;
  background: var(--g-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.team-card-body { padding: 20px; }
.team-card-body h4 {
  font-family: var(--ff-disp);
  font-size: 19px;
  font-weight: 600;
  color: var(--g-deep);
  margin-bottom: 4px;
}
.team-card-body p { font-size: 13px; color: var(--muted); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.value-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.value-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.value-card h4 {
  font-family: var(--ff-disp);
  font-size: 20px;
  font-weight: 600;
  color: var(--g-deep);
  margin-bottom: 8px;
}
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-family: var(--ff-disp);
  font-size: 26px;
  font-weight: 600;
  color: var(--g-deep);
  margin-bottom: 6px;
}
.contact-form-wrap p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.65;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--cream);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--g-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-prayer-card { display: none; }

  .prayers-layout    { grid-template-columns: 1fr; }
  .about-strip-grid  { grid-template-columns: 1fr; }
  .about-image-wrap  { display: none; }
  .news-grid         { grid-template-columns: 1fr 1fr; }
  .donate-grid       { grid-template-columns: 1fr; }
  .contact-layout    { grid-template-columns: 1fr; }
  .about-full-grid   { grid-template-columns: 1fr; }
  .values-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .section { padding: 64px 20px; }
  footer   { padding: 48px 20px 24px; }
  .page-hero { padding: 60px 20px; }

  .hero-inner { padding-left: 20px; padding-right: 20px; }
  .news-grid  { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row   { grid-template-columns: 1fr; }

  .event-row {
    grid-template-columns: 60px 1fr;
  }
  .event-row .btn-sm { display: none; }

  .prayer-cols-header,
  .prayer-full-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .prayer-cols-header > *:last-child,
  .prayer-full-row > *:last-child { display: none; }

  .jumuah-times { grid-template-columns: 1fr; }
}


/* Public detail pages */
.detail-page {
  background: var(--cream);
  min-height: 70vh;
}
.detail-hero {
  padding: 92px 40px 46px;
  background: linear-gradient(135deg, var(--g-deep), var(--g-mid));
  color: var(--warm-wh);
  position: relative;
  overflow: hidden;
}
.detail-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -140px auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.18);
}
.detail-hero-inner,
.detail-content {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold-lt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.detail-title {
  font-family: var(--ff-disp);
  font-size: clamp(38px, 7vw, 68px);
  line-height: 0.95;
  margin: 0 0 18px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}
.detail-content {
  padding: 42px 40px 84px;
}
.detail-card {
  background: var(--warm-wh);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}
.detail-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.detail-body {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
}
.detail-body p { margin: 0 0 18px; }
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.detail-info-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.detail-info-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.detail-info-box strong { color: var(--g-deep); }
.detail-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--cream-dk);
  overflow: hidden;
  margin: 16px 0 10px;
}
.detail-progress > div {
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}
.not-found-card { text-align: center; }
@media (max-width: 720px) {
  .detail-hero { padding: 72px 22px 36px; }
  .detail-content { padding: 28px 22px 64px; }
  .detail-info-grid { grid-template-columns: 1fr; }
}

/* Privacy policy page */
.policy-page { background: var(--cream); }
.policy-hero { min-height: auto; }
.policy-card h2 {
  color: var(--g-deep);
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.1;
  margin: 34px 0 12px;
}
.policy-card p,
.policy-card li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}
.policy-card ul {
  margin: 12px 0 20px;
  padding-left: 22px;
}
.policy-lead {
  font-size: 18px !important;
  color: var(--g-deep) !important;
  margin-bottom: 26px !important;
}
.policy-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 34px;
}
.policy-summary-grid div {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.policy-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.policy-summary-grid strong { color: var(--g-deep); }
.policy-updated {
  margin-top: 34px !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}
@media (max-width: 720px) {
  .policy-summary-grid { grid-template-columns: 1fr; }
}
