/* ════════════════════════════════════════════════════════
   IASV WEBSITE — css/site.css
   Islamic Association of Shenandoah Valley
   Shared styles for all public web pages
════════════════════════════════════════════════════════ */

:root {
  --clr-primary:    #1B9C85;
  --clr-primary-dk: #137a68;
  --clr-primary-lt: #d4f0ec;
  --clr-gold:       #C9A84C;
  --clr-gold-lt:    #e0bc6a;
  --clr-gold-dim:   rgba(201,168,76,0.15);
  --clr-navy:       #020c1a;
  --clr-navy-mid:   #071428;
  --clr-navy-card:  #0d1e35;
  --clr-off-white:  #f7f4ee;
  --clr-light:      #edf6f4;
  --clr-text:       #1a2236;
  --clr-text-muted: #5a6880;
  --clr-border:     #e2ddd5;

  --font-display: 'Cinzel', serif;
  --font-body:    'Tajawal', sans-serif;
  --font-arabic:  'Amiri', serif;

  --nav-h:    70px;
  --max-w:    1160px;
  --radius:   10px;
  --radius-lg:18px;
  --transition: 0.22s ease;
  --shadow:   0 4px 28px rgba(0,0,0,0.10);
  --shadow-lg:0 8px 48px rgba(0,0,0,0.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:var(--font-body);
  color:var(--clr-text);
  background:var(--clr-navy);
  line-height:1.65;
  overflow-x:hidden;
}
img { max-width:100%; display:block; }
a   { color:var(--clr-primary); text-decoration:none; transition:color var(--transition); }
a:hover { color:var(--clr-primary-dk); }
button { font-family:inherit; }

.site-container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline:auto;
}

/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
.site-header {
  position:sticky; top:0; z-index:200;
  height:var(--nav-h);
  background:var(--clr-navy);
  border-bottom:1px solid rgba(201,168,76,0.25);
  box-shadow:0 2px 24px rgba(0,0,0,0.35);
}
/* gold shimmer top line */
.site-header::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,rgba(201,168,76,0.55) 30%,#C9A84C 50%,rgba(201,168,76,0.55) 70%,transparent);
}
.site-header .site-container {
  height:100%;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}

/* Logo */
.site-logo { display:flex; align-items:center; gap:0.75rem; flex-shrink:0; }
.site-logo img { height:44px; width:auto; filter:drop-shadow(0 0 8px rgba(27,156,133,0.4)); }
.site-logo-text { line-height:1.15; }
.site-logo-text strong { display:block; font-family:var(--font-display); font-size:1rem; color:var(--clr-gold); letter-spacing:0.06em; }
.site-logo-text small  { display:block; font-size:0.6rem; color:rgba(255,255,255,0.5); letter-spacing:0.1em; text-transform:uppercase; }

/* Nav links */
.site-nav { display:flex; align-items:center; gap:2px; }
.site-nav a {
  color:rgba(255,255,255,0.72);
  padding:0.42rem 0.78rem;
  border-radius:6px;
  font-size:0.84rem;
  letter-spacing:0.04em;
  font-weight:500;
  transition:all var(--transition);
  white-space:nowrap;
}
.site-nav a:hover    { color:#fff; background:rgba(255,255,255,0.07); }
.site-nav a.active   { color:var(--clr-primary); background:rgba(27,156,133,0.14); }
.site-nav .nav-donate {
  background:var(--clr-gold); color:var(--clr-navy);
  font-weight:700; border-radius:6px; margin-left:4px;
}
.site-nav .nav-donate:hover { background:var(--clr-gold-lt); color:var(--clr-navy); }
.site-nav .nav-tv {
  border:1px solid rgba(27,156,133,0.45);
  color:var(--clr-primary);
  font-size:0.78rem;
  margin-left:4px;
}
.site-nav .nav-tv:hover { background:rgba(27,156,133,0.15); color:#fff; }

/* Hamburger */
.nav-toggle {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:var(--transition); }

@media (max-width:860px) {
  .nav-toggle { display:flex; }
  .site-nav {
    display:none; flex-direction:column; align-items:stretch;
    position:absolute; top:var(--nav-h); left:0; right:0; z-index:199;
    background:var(--clr-navy-mid);
    border-bottom:1px solid rgba(201,168,76,0.2);
    padding:0.75rem;
    gap:2px;
    box-shadow:0 8px 32px rgba(0,0,0,0.4);
  }
  .site-nav.open { display:flex; }
  .site-nav a { padding:0.65rem 1rem; border-radius:6px; }
  .site-nav .nav-donate, .site-nav .nav-tv { margin-left:0; }
}

/* ══════════════════════════════════════════
   PAGE HERO (shared)
══════════════════════════════════════════ */
.page-hero {
  background:linear-gradient(160deg, var(--clr-navy) 0%, #051830 100%);
  position:relative; overflow:hidden;
  padding:5rem 0 4rem;
  text-align:center;
  border-bottom:1px solid rgba(201,168,76,0.2);
}
.page-hero::before {
  content:''; position:absolute; inset:0; opacity:0.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpolygon points='40,2 78,22 78,58 40,78 2,58 2,22' fill='none' stroke='%23C9A84C' stroke-width='0.6'/%3E%3Ccircle cx='40' cy='40' r='12' fill='none' stroke='%231B9C85' stroke-width='0.5'/%3E%3C/svg%3E");
}
.page-hero::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:40px;
  background:linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}
.page-hero-inner { position:relative; z-index:1; }
.page-hero-eyebrow {
  font-size:0.7rem; letter-spacing:0.3em; text-transform:uppercase;
  color:var(--clr-primary); font-weight:700; margin-bottom:0.75rem;
}
.page-hero h1 {
  font-family:var(--font-display);
  font-size:clamp(2rem,5vw,3.2rem);
  color:#fff;
  letter-spacing:0.04em;
  margin-bottom:0.75rem;
}
.page-hero h1 span { color:var(--clr-gold); }
.page-hero p {
  font-size:1.05rem;
  color:rgba(255,255,255,0.65);
  max-width:560px; margin-inline:auto;
}

/* ══════════════════════════════════════════
   SECTION HELPERS
══════════════════════════════════════════ */
.section-pad { padding-block:5rem; }
.section-pad-sm { padding-block:3rem; }
.section-dark  { background:var(--clr-navy);     color:#fff; }
.section-mid   { background:var(--clr-navy-mid); color:#fff; }
.section-teal  { background:var(--clr-primary);  color:#fff; }
.section-light { background:var(--clr-light); }
.section-off   { background:#071525; color:rgba(196,212,224,0.82); }
.section-white { background:#0c1d30; color:rgba(196,212,224,0.82); }

.section-label {
  font-size:0.68rem; letter-spacing:0.28em; text-transform:uppercase;
  font-weight:700; color:var(--clr-primary); margin-bottom:0.6rem;
  display:block;
}
.section-dark .section-label, .section-mid .section-label { color:var(--clr-gold); }

.section-title {
  font-family:var(--font-display);
  font-size:clamp(1.6rem,3.5vw,2.4rem);
  letter-spacing:0.04em;
  margin-bottom:1rem;
  color:#fff;
}
.section-dark .section-title, .section-mid .section-title { color:#fff; }
.section-teal .section-title { color:#fff; }
.section-title span { color:var(--clr-gold); }

.section-sub {
  font-size:1.05rem;
  color:rgba(196,212,224,0.75);
  max-width:580px;
  line-height:1.7;
}
.section-dark .section-sub, .section-mid .section-sub { color:rgba(255,255,255,0.6); }
.section-teal .section-sub { color:rgba(255,255,255,0.82); }

/* ── Divider ornament ── */
.ornament {
  display:flex; align-items:center; gap:1rem;
  margin-block:1.5rem;
}
.ornament::before, .ornament::after {
  content:''; flex:1; height:1px;
  background:linear-gradient(to right, transparent, rgba(201,168,76,0.35));
}
.ornament::after { background:linear-gradient(to left, transparent, rgba(201,168,76,0.35)); }
.ornament-gem {
  color:var(--clr-gold); font-size:0.7rem; opacity:0.7; flex-shrink:0;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.72rem 1.8rem; border-radius:var(--radius);
  font-weight:600; font-size:0.92rem; letter-spacing:0.03em;
  border:none; cursor:pointer; transition:all var(--transition);
  text-decoration:none;
}
.btn-primary { background:var(--clr-primary); color:#fff; }
.btn-primary:hover { background:var(--clr-primary-dk); color:#fff; transform:translateY(-1px); box-shadow:0 6px 20px rgba(27,156,133,0.35); }
.btn-gold    { background:var(--clr-gold); color:var(--clr-navy); }
.btn-gold:hover { background:var(--clr-gold-lt); color:var(--clr-navy); transform:translateY(-1px); box-shadow:0 6px 20px rgba(201,168,76,0.35); }
.btn-outline { background:transparent; border:2px solid var(--clr-primary); color:var(--clr-primary); }
.btn-outline:hover { background:var(--clr-primary); color:#fff; }
.btn-outline-light { background:transparent; border:2px solid rgba(255,255,255,0.5); color:#fff; }
.btn-outline-light:hover { background:rgba(255,255,255,0.1); color:#fff; }
.btn-lg { padding:0.9rem 2.4rem; font-size:1rem; }

/* ══════════════════════════════════════════
   HOME HERO
══════════════════════════════════════════ */
.home-hero {
  min-height:88vh;
  display:grid; grid-template-columns:55% 45%;
  background:var(--clr-navy);
  overflow:hidden; position:relative;
}
.home-hero::before {
  content:''; position:absolute; inset:0; opacity:0.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpolygon points='50,2 98,27 98,73 50,98 2,73 2,27' fill='none' stroke='%23C9A84C' stroke-width='0.6'/%3E%3Cpolygon points='50,15 85,32 85,68 50,85 15,68 15,32' fill='none' stroke='%23C9A84C' stroke-width='0.4'/%3E%3Ccircle cx='50' cy='50' r='14' fill='none' stroke='%231B9C85' stroke-width='0.4'/%3E%3C/svg%3E");
}

.hero-content {
  display:flex; flex-direction:column; justify-content:center;
  padding:5rem 3rem 5rem clamp(1.5rem,5vw,4rem);
  position:relative; z-index:1;
}
.hero-bismillah {
  font-family:var(--font-arabic);
  font-size:2rem; color:var(--clr-gold);
  text-shadow:0 0 40px rgba(201,168,76,0.4);
  margin-bottom:1.5rem; line-height:1;
}
.hero-eyebrow {
  font-size:0.7rem; letter-spacing:0.3em; text-transform:uppercase;
  color:var(--clr-primary); font-weight:700; margin-bottom:1rem;
}
.hero-title {
  font-family:var(--font-display);
  font-size:clamp(2.2rem,4vw,3.4rem);
  color:#fff; letter-spacing:0.04em; line-height:1.18;
  margin-bottom:1.25rem;
}
.hero-title span { color:var(--clr-gold); display:block; }
.hero-desc {
  font-size:1.05rem; color:rgba(255,255,255,0.65);
  max-width:480px; line-height:1.75; margin-bottom:2rem;
}
.hero-btns { display:flex; gap:1rem; flex-wrap:wrap; }

.hero-image-col {
  position:relative; overflow:hidden;
}
.hero-image-col::before {
  content:''; position:absolute; inset:0; z-index:1;
  background:linear-gradient(to right, var(--clr-navy) 0%, transparent 30%),
             linear-gradient(to top, var(--clr-navy) 0%, transparent 25%);
}
.hero-image-col img {
  width:100%; height:100%; object-fit:cover;
  opacity:0.55;
  transition:opacity 0.6s;
}
/* Stats bar inside hero */
.hero-stats {
  position:absolute; bottom:0; left:0; right:0; z-index:2;
  display:flex;
  background:rgba(2,12,26,0.7);
  backdrop-filter:blur(12px);
  border-top:1px solid rgba(201,168,76,0.18);
}
.hero-stat {
  flex:1; padding:1rem 1.25rem; text-align:center;
  border-right:1px solid rgba(255,255,255,0.07);
}
.hero-stat:last-child { border-right:none; }
.hero-stat-num {
  font-family:var(--font-display);
  font-size:1.6rem; color:var(--clr-gold); line-height:1; margin-bottom:0.25rem;
}
.hero-stat-lbl { font-size:0.65rem; color:rgba(255,255,255,0.45); letter-spacing:0.12em; text-transform:uppercase; }

@media (max-width:820px) {
  .home-hero { grid-template-columns:1fr; min-height:auto; }
  .hero-content { padding:4rem 0 2rem; }
  .hero-image-col { height:260px; }
  .hero-stats { position:relative; flex-wrap:wrap; }
  .hero-stat { flex:1 1 45%; border-bottom:1px solid rgba(255,255,255,0.07); }
}

/* ══════════════════════════════════════════
   PRAYER TIMES BANNER (homepage)
══════════════════════════════════════════ */
.prayer-banner {
  background:linear-gradient(135deg, #051e38 0%, var(--clr-navy-mid) 100%);
  border-block:1px solid rgba(201,168,76,0.2);
  padding:2.5rem 0;
}
.prayer-banner-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:1px;
  background:rgba(255,255,255,0.06);
  border-radius:var(--radius);
  overflow:hidden;
}
.prayer-cell {
  background:rgba(2,12,26,0.6);
  padding:1.25rem 1rem;
  text-align:center;
  transition:background var(--transition);
}
.prayer-cell:hover { background:rgba(27,156,133,0.1); }
.prayer-cell.active { background:rgba(27,156,133,0.18); }
.prayer-cell-ar {
  font-family:var(--font-arabic);
  font-size:1.1rem; color:rgba(201,168,76,0.7);
  margin-bottom:0.25rem; line-height:1;
}
.prayer-cell-en {
  font-family:var(--font-display);
  font-size:0.65rem; letter-spacing:0.2em; text-transform:uppercase;
  color:rgba(255,255,255,0.5); margin-bottom:0.75rem;
}
.prayer-cell-time {
  font-family:var(--font-display);
  font-size:1.5rem; font-weight:700; color:#fff;
  text-shadow:0 0 20px rgba(27,156,133,0.2);
}
.prayer-cell.active .prayer-cell-time { color:var(--clr-gold); }
.prayer-cell-sub {
  font-size:0.65rem; color:rgba(255,255,255,0.35);
  letter-spacing:0.1em; text-transform:uppercase; margin-top:0.3rem;
}

.prayer-banner-footer {
  display:flex; justify-content:space-between; align-items:center;
  margin-top:1.25rem; flex-wrap:wrap; gap:0.75rem;
}
.prayer-banner-note { font-size:0.78rem; color:rgba(255,255,255,0.38); }
.prayer-banner-note span { color:var(--clr-primary); }

@media (max-width:640px) {
  .prayer-banner-grid { grid-template-columns:repeat(3,1fr); }
}

/* ══════════════════════════════════════════
   ABOUT STRIP (homepage)
══════════════════════════════════════════ */
.about-strip {
  display:grid; grid-template-columns:1fr 1fr;
  gap:0; overflow:hidden;
}
.about-strip-image {
  position:relative; min-height:400px; overflow:hidden;
}
.about-strip-image img {
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.5s ease;
}
.about-strip-image:hover img { transform:scale(1.03); }
.about-strip-image::after {
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(to right, rgba(2,12,26,0.15) 0%, transparent 40%, var(--clr-off-white) 100%),
    linear-gradient(to bottom, transparent 70%, rgba(247,244,238,0.4) 100%);
}
.about-strip-content {
  background:var(--clr-off-white);
  display:flex; flex-direction:column; justify-content:center;
  padding:4rem 3.5rem 4rem 3rem;
}
.about-quote {
  font-family:var(--font-arabic);
  font-size:1.4rem; color:var(--clr-gold);
  line-height:1.7; margin-block:1rem;
  border-left:3px solid var(--clr-primary);
  padding-left:1rem;
}

@media (max-width:760px) {
  .about-strip { grid-template-columns:1fr; }
  .about-strip-image { min-height:220px; }
  .about-strip-content { padding:2.5rem 1.5rem; }
}

/* ══════════════════════════════════════════
   NEWS / EVENT CARDS
══════════════════════════════════════════ */
.news-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px,1fr));
  gap:1.5rem;
  margin-top:2rem;
}
.news-card {
  background:#fff;
  border:1px solid var(--clr-border);
  border-radius:var(--radius-lg);
  padding:1.5rem;
  display:flex; gap:1rem;
  box-shadow:var(--shadow);
  transition:transform var(--transition), box-shadow var(--transition);
  position:relative; overflow:hidden;
}
.news-card::before {
  content:''; position:absolute; top:0; left:0; width:4px; height:100%;
  border-radius:var(--radius-lg) 0 0 var(--radius-lg);
}
.news-card--announcement::before { background:var(--clr-primary); }
.news-card--event::before        { background:var(--clr-gold); }
.news-card--reminder::before     { background:#7c6dba; }
.news-card--hadith::before       { background:#c0614a; }
.news-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.news-card__icon { font-size:2rem; flex-shrink:0; line-height:1; padding-top:2px; }
.news-card__tag  {
  display:inline-block; font-size:0.65rem; font-weight:700;
  letter-spacing:0.12em; text-transform:uppercase;
  padding:2px 8px; border-radius:20px; margin-bottom:0.4rem;
}
.news-card--announcement .news-card__tag { background:rgba(27,156,133,0.1);  color:var(--clr-primary); }
.news-card--event        .news-card__tag { background:rgba(201,168,76,0.12); color:#8a6e00; }
.news-card--reminder     .news-card__tag { background:rgba(124,109,186,0.1); color:#5c4fa0; }
.news-card--hadith       .news-card__tag { background:rgba(192,97,74,0.1);   color:#9a3a1e; }
.news-card__title { font-family:var(--font-display); font-size:0.95rem; color:var(--clr-text); margin-bottom:0.35rem; line-height:1.3; }
.news-card__text  { font-size:0.9rem; color:var(--clr-text-muted); line-height:1.6; }
.news-card__date  { font-size:0.78rem; color:var(--clr-gold); margin-top:0.6rem; font-weight:600; }
.news-card__body  { flex:1; min-width:0; }

/* Empty state */
.news-empty {
  grid-column:1/-1; text-align:center;
  padding:3rem; color:var(--clr-text-muted);
}
.news-empty p { font-size:1rem; margin-top:0.5rem; }

/* ══════════════════════════════════════════
   FEATURES / VALUE PROPS GRID
══════════════════════════════════════════ */
.features-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px,1fr));
  gap:1.5rem;
  margin-top:2rem;
}
.feature-card {
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(201,168,76,0.14);
  border-radius:var(--radius);
  padding:1.75rem 1.5rem;
  text-align:center;
  transition:transform var(--transition), border-color var(--transition);
}
.feature-card:hover { transform:translateY(-3px); border-color:rgba(201,168,76,0.32); }
.feature-icon { font-size:2.2rem; margin-bottom:0.75rem; }
.feature-title {
  font-family:var(--font-display);
  font-size:0.92rem; letter-spacing:0.05em; color:#fff; margin-bottom:0.5rem;
}
.feature-desc { font-size:0.88rem; color:rgba(255,255,255,0.55); line-height:1.6; }

/* Light variant */
.feature-card.light {
  background:#fff; border-color:var(--clr-border);
}
.feature-card.light .feature-title { color:var(--clr-text); }
.feature-card.light .feature-desc  { color:var(--clr-text-muted); }

/* ══════════════════════════════════════════
   JUMUAH BANNER
══════════════════════════════════════════ */
.jumuah-banner {
  background:linear-gradient(135deg, #072a1c 0%, #0d3d28 50%, #072a1c 100%);
  border:1px solid rgba(201,168,76,0.22);
  border-radius:var(--radius-lg);
  padding:2.5rem;
  text-align:center;
  position:relative; overflow:hidden;
}
.jumuah-banner::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--clr-gold),transparent);
}
.jumuah-ar {
  font-family:var(--font-arabic);
  font-size:2rem; color:var(--clr-gold);
  text-shadow:0 0 30px rgba(201,168,76,0.4);
  margin-bottom:0.5rem; line-height:1;
}
.jumuah-title {
  font-family:var(--font-display);
  font-size:1.1rem; letter-spacing:0.1em; color:#fff; margin-bottom:1.5rem;
}
.jumuah-times { display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap; }
.jumuah-time-item {
  background:rgba(0,0,0,0.3);
  border:1px solid rgba(201,168,76,0.18);
  border-radius:var(--radius);
  padding:1rem 1.75rem;
  text-align:center;
}
.jumuah-time-lbl { font-size:0.62rem; letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.5); margin-bottom:0.35rem; }
.jumuah-time-val { font-family:var(--font-display); font-size:1.4rem; color:var(--clr-gold); }
.jumuah-time-sub { font-size:0.72rem; color:rgba(255,255,255,0.4); margin-top:0.25rem; }

/* ══════════════════════════════════════════
   GALLERY GRID
══════════════════════════════════════════ */
.gallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:1rem;
  margin-top:2rem;
}
.gallery-item {
  position:relative; overflow:hidden;
  border-radius:var(--radius);
  aspect-ratio:4/3;
  cursor:pointer;
}
.gallery-item img {
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.4s ease, filter 0.4s ease;
}
.gallery-item:hover img { transform:scale(1.06); filter:brightness(0.75); }
.gallery-item-overlay {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity 0.3s;
  background:rgba(27,156,133,0.35);
  color:#fff; font-size:1.8rem;
}
.gallery-item:hover .gallery-item-overlay { opacity:1; }

/* ══════════════════════════════════════════
   SERVICES LIST
══════════════════════════════════════════ */
.services-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px,1fr));
  gap:1.5rem;
  margin-top:2rem;
}
.service-card {
  background:#fff;
  border:1px solid var(--clr-border);
  border-radius:var(--radius-lg);
  padding:1.75rem;
  box-shadow:var(--shadow);
  transition:transform var(--transition), box-shadow var(--transition);
  display:flex; gap:1.25rem; align-items:flex-start;
}
.service-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.service-icon {
  width:48px; height:48px; border-radius:12px; flex-shrink:0;
  background:var(--clr-light);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem;
}
.service-title { font-family:var(--font-display); font-size:1rem; color:var(--clr-text); margin-bottom:0.4rem; }
.service-desc  { font-size:0.88rem; color:var(--clr-text-muted); line-height:1.6; }
.service-link  { display:inline-block; margin-top:0.6rem; font-size:0.82rem; font-weight:600; color:var(--clr-primary); }

/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */
.contact-grid {
  display:grid; grid-template-columns:1fr 1.5fr; gap:3rem;
  align-items:start;
}
@media (max-width:720px) { .contact-grid { grid-template-columns:1fr; } }

.contact-info-item {
  display:flex; gap:1rem; align-items:flex-start;
  padding-bottom:1.25rem;
  border-bottom:1px solid var(--clr-border);
  margin-bottom:1.25rem;
}
.contact-info-item:last-child { border-bottom:none; margin-bottom:0; }
.contact-info-icon {
  width:42px; height:42px; border-radius:10px;
  background:var(--clr-light); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem;
}
.contact-info-label { font-size:0.68rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--clr-text-muted); font-weight:600; margin-bottom:0.2rem; }
.contact-info-value { font-size:0.96rem; color:var(--clr-text); font-weight:500; }
.contact-info-value a { color:var(--clr-primary); }

.map-embed {
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:2px solid var(--clr-border);
  box-shadow:var(--shadow);
}
.map-embed iframe { display:block; width:100%; height:380px; border:none; }

/* ══════════════════════════════════════════
   DONATE PAGE
══════════════════════════════════════════ */
.donate-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; margin-top:2rem; }
@media (max-width:680px) { .donate-grid { grid-template-columns:1fr; } }

.donate-card {
  background:#fff;
  border:2px solid var(--clr-border);
  border-radius:var(--radius-lg);
  padding:2rem;
  text-align:center;
  box-shadow:var(--shadow);
  transition:all var(--transition);
}
.donate-card:hover { border-color:var(--clr-primary); box-shadow:var(--shadow-lg); }
.donate-card.featured { border-color:var(--clr-gold); }
.donate-card-icon { font-size:2.5rem; margin-bottom:0.75rem; }
.donate-card-title { font-family:var(--font-display); font-size:1.15rem; color:var(--clr-text); margin-bottom:0.5rem; }
.donate-card-desc { font-size:0.9rem; color:var(--clr-text-muted); line-height:1.65; margin-bottom:1.25rem; }

.donate-verse {
  background:linear-gradient(135deg, #052218 0%, #093328 100%);
  border:1px solid rgba(201,168,76,0.22);
  border-radius:var(--radius-lg);
  padding:2.5rem;
  text-align:center;
  position:relative; overflow:hidden;
}
.donate-verse::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}
.donate-verse-ar {
  font-family:var(--font-arabic);
  font-size:1.5rem; color:var(--clr-gold); line-height:1.8;
  text-shadow:0 0 24px rgba(201,168,76,0.35);
  margin-bottom:1rem;
}
.donate-verse-en {
  font-size:0.92rem; color:rgba(255,255,255,0.65);
  line-height:1.7; max-width:520px; margin-inline:auto;
  font-style:italic;
}
.donate-verse-ref { margin-top:0.75rem; font-size:0.75rem; color:rgba(255,255,255,0.35); letter-spacing:0.1em; }

/* ══════════════════════════════════════════
   ABOUT PAGE SPECIFICS
══════════════════════════════════════════ */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
@media (max-width:760px) { .about-grid { grid-template-columns:1fr; gap:2rem; } }

.about-image { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.about-image img { width:100%; height:100%; object-fit:cover; }

.timeline { margin-top:2rem; }
.timeline-item {
  display:flex; gap:1.5rem;
  padding-bottom:2rem;
  position:relative;
}
.timeline-item::before {
  content:''; position:absolute; left:19px; top:40px; bottom:0; width:1px;
  background:linear-gradient(to bottom, var(--clr-primary), transparent);
}
.timeline-item:last-child::before { display:none; }
.timeline-dot {
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  background:var(--clr-light);
  border:2px solid var(--clr-primary);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; position:relative; z-index:1;
}
.timeline-year { font-family:var(--font-display); font-size:0.75rem; color:var(--clr-primary); font-weight:700; margin-bottom:0.25rem; letter-spacing:0.1em; }
.timeline-text { font-size:0.95rem; color:var(--clr-text-muted); line-height:1.65; }

/* Leadership card */
.leader-card {
  background:var(--clr-off-white);
  border:1px solid var(--clr-border);
  border-radius:var(--radius-lg);
  padding:2rem;
  display:flex; gap:1.5rem; align-items:flex-start;
  box-shadow:var(--shadow);
}
.leader-avatar {
  width:72px; height:72px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg, var(--clr-primary), #0d6a5a);
  display:flex; align-items:center; justify-content:center;
  font-size:2rem;
  border:3px solid var(--clr-gold);
}
.leader-name  { font-family:var(--font-display); font-size:1.1rem; color:var(--clr-text); margin-bottom:0.2rem; }
.leader-title { font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--clr-primary); font-weight:700; margin-bottom:0.5rem; }
.leader-bio   { font-size:0.9rem; color:var(--clr-text-muted); line-height:1.65; }

/* Mission pillars */
.pillars-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr));
  gap:1.25rem; margin-top:2rem;
}
.pillar {
  background:#fff; border:1px solid var(--clr-border);
  border-radius:var(--radius); padding:1.5rem;
  border-top:3px solid var(--clr-primary);
  box-shadow:var(--shadow);
}
.pillar-icon  { font-size:1.8rem; margin-bottom:0.6rem; }
.pillar-title { font-family:var(--font-display); font-size:0.9rem; color:var(--clr-text); margin-bottom:0.4rem; }
.pillar-desc  { font-size:0.85rem; color:var(--clr-text-muted); line-height:1.6; }

/* ══════════════════════════════════════════
   CTA STRIP
══════════════════════════════════════════ */
.cta-strip {
  background:linear-gradient(135deg, #062518 0%, #0f3d28 50%, #062518 100%);
  border-block:1px solid rgba(201,168,76,0.18);
  padding:4rem 0;
  text-align:center;
  position:relative; overflow:hidden;
}
.cta-strip::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}
.cta-strip h2 { font-family:var(--font-display); font-size:clamp(1.5rem,3vw,2.2rem); color:#fff; margin-bottom:0.75rem; }
.cta-strip p  { color:rgba(255,255,255,0.6); margin-bottom:1.75rem; font-size:1rem; }
.cta-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background:var(--clr-navy);
  color:rgba(255,255,255,0.65);
  padding-top:4rem;
  border-top:1px solid rgba(201,168,76,0.2);
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1.5fr 1fr;
  gap:2.5rem;
  padding-bottom:2.5rem;
  border-bottom:1px solid rgba(255,255,255,0.07);
}
@media (max-width:760px) { .footer-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:480px) { .footer-grid { grid-template-columns:1fr; } }

.footer-grid h4 {
  font-family:var(--font-display);
  font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--clr-gold); margin-bottom:1rem;
}
.footer-grid a { display:block; color:rgba(255,255,255,0.55); font-size:0.88rem; padding-block:0.22rem; transition:color var(--transition); }
.footer-grid a:hover { color:var(--clr-primary); }
.footer-brand p { font-size:0.88rem; margin-top:0.6rem; line-height:1.6; }
.footer-arabic  {
  font-family:var(--font-arabic);
  direction:rtl; color:var(--clr-gold);
  opacity:0.65; font-size:1.05rem; margin-top:0.6rem;
}
.footer-bottom {
  padding:1.25rem 0;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:0.5rem;
  font-size:0.75rem; color:rgba(255,255,255,0.25);
}
.footer-bottom a { color:rgba(255,255,255,0.3); font-size:0.75rem; }
.footer-bottom a:hover { color:var(--clr-primary); }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.text-center { text-align:center; }
.text-gold   { color:var(--clr-gold); }
.text-teal   { color:var(--clr-primary); }
.mt-sm { margin-top:1rem; }
.mt-md { margin-top:2rem; }
.mt-lg { margin-top:3rem; }

/* Arabic text helper */
.arabic {
  font-family:var(--font-arabic);
  direction:rtl; font-size:1.2em;
  line-height:1.8;
}

/* Scroll animations (reduced motion safe) */
@media (prefers-reduced-motion:no-preference) {
  .fade-in {
    opacity:0; transform:translateY(20px);
    transition:opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible { opacity:1; transform:none; }
}

/* ══════════════════════════════════════════
   RESPONSIVE GLOBAL FIXES
══════════════════════════════════════════ */
@media (max-width:900px) {
  .contact-grid { grid-template-columns:1fr; }
  .about-grid   { grid-template-columns:1fr; gap:2rem; }
  .about-strip  { grid-template-columns:1fr; }
  .about-strip-image { min-height:240px; }
  .about-strip-content { padding:2.5rem 1.5rem; }
  .about-strip-image::after { background:linear-gradient(to bottom, transparent 60%, var(--clr-off-white)); }
}

@media (max-width:640px) {
  .section-pad { padding-block:3rem; }
  .page-hero   { padding:3.5rem 0 3rem; }
  .hero-title  { font-size:2rem; }
  .home-hero   { min-height:auto; }
  .hero-content { padding-bottom:3rem; }
  .jumuah-times { gap:0.75rem; }
  .jumuah-time-item { padding:0.75rem 1rem; }
  .donate-grid  { grid-template-columns:1fr; }
  .footer-grid  { grid-template-columns:1fr 1fr; }
  .cta-strip    { padding:3rem 0; }
  .prayer-banner-grid { grid-template-columns:repeat(3,1fr); }
  .prayer-cell  { padding:0.9rem 0.5rem; }
  .prayer-cell-time { font-size:1.1rem; }
}

@media (max-width:400px) {
  .footer-grid { grid-template-columns:1fr; }
  .prayer-banner-grid { grid-template-columns:1fr 1fr; }
}

/* Fix hero image col on small screens */
@media (max-width:820px) {
  .home-hero { grid-template-columns:1fr; }
  /* Use !important to defeat inline padding-left/right on .hero-content */
  .hero-content { padding:3rem 1.25rem 2rem !important; }
  .hero-image-col { height:280px; order:-1; }
  .hero-stats { flex-wrap:wrap; position:relative; }
  .hero-stat  { flex:1 1 40%; border-bottom:1px solid rgba(255,255,255,0.06); padding:0.8rem 0.75rem; }
  .hero-stat-num { font-size:1.3rem; }
  .hero-bismillah { font-size:1.5rem; }
  .hero-title { font-size:1.9rem; }
  .hero-desc { font-size:0.95rem; }
  .hero-btns .btn-lg { padding:0.7rem 1.4rem; font-size:0.9rem; }
}

/* Extra-narrow phone tweaks */
@media (max-width:420px) {
  .site-container { width: min(var(--max-w), 100% - 1.5rem); }
  .hero-bismillah { font-size:1.25rem; }
  .hero-title { font-size:1.6rem; }
  .hero-image-col { height:200px; }
  .hero-stat { flex:1 1 50%; }
  .jumuah-banner { padding:1.5rem 1rem; }
  .jumuah-ar { font-size:1.5rem; }
  .jumuah-time-val { font-size:1.15rem; }
  .news-grid, .features-grid, .services-grid, .gallery-grid { gap:1rem; }
  .news-card, .service-card { padding:1.1rem; }
  .donate-card { padding:1.5rem 1.2rem; }
  .donate-verse { padding:1.75rem 1.1rem; }
  .donate-verse-ar { font-size:1.2rem; }
  .cta-strip h2 { font-size:1.4rem; }
  .map-embed iframe { height:280px; }
  .leader-card { flex-direction:column; align-items:center; text-align:center; padding:1.5rem 1.1rem; }
  .site-logo-text small { display:none; }
}
