/* ================================================================
   UAIA PERTH — HOME PAGE CSS
   Option B: Sage & White — $100K Luxury Islamic Design
================================================================ */

/* ── SHARED HOME UTILITIES ── */
.h-tag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: #44a641; margin-bottom: 0.85rem;
}
.h-tag::before { content: ''; width: 20px; height: 1.5px; background: #44a641; flex-shrink: 0; }

.h-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.75rem 0; }
.h-div-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(93,200,90,0.3), transparent); }
.h-div-gem { width: 6px; height: 6px; background: #44a641; transform: rotate(45deg); flex-shrink: 0; box-shadow: 0 0 8px rgba(68,166,65,0.35); }

.h-text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600; color: #44a641;
  letter-spacing: 0.04em; text-decoration: none;
  transition: gap 0.25s, color 0.25s;
}
.h-text-link:hover { gap: 0.85rem; color: #5DC85A; }
.h-text-link span { transition: transform 0.25s; }
.h-text-link:hover span { transform: translateX(4px); }

/* ══════════════════════════════════════════════════
   §0: HERO
══════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: #f5f8f5;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Geo pattern — very subtle, just texture */
.hero-geo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  opacity: 4.00;
}
.hero-glow {
  position: absolute; right: 0; top: 0;
  width: 50vw; height: 80vh;
  background: radial-gradient(ellipse 50% 55% at 85% 30%, rgba(93,200,90,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  padding: 4rem 0 3.5rem;
  min-height: calc(100vh - 112px);
  position: relative; z-index: 2;
}

/* ── Hero left ── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  margin-bottom: 1.5rem;
  animation: hFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}
.hero-eyebrow-line { width: 22px; height: 1.5px; background: #44a641; flex-shrink: 0; }
.hero-eyebrow span { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #44a641; }

@keyframes hFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* HERO TITLE — tight stacked display, no dead gaps */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  font-weight: 300; line-height: 1.0;
  letter-spacing: -0.035em; color: #1a2e1a;
  margin-bottom: 1.5rem;
  animation: hFadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.45s both;
}
/* Each line sits tight — no block-level breaks */
.ht-line {
  display: block;
  line-height: 1.0;
}
.ht-em em {
  font-style: italic;
  background: linear-gradient(135deg, #5DC85A, #44a641);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-weight: 300;
}
.ht-strong strong {
  font-weight: 800;
  -webkit-text-fill-color: #1a2e1a;
}

.hero-desc {
  font-size: 0.95rem; color: #2a2a2a;
  line-height: 1.75; max-width: 460px; margin-bottom: 2rem;
  animation: hFadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.6s both;
}
.hero-btns {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.85rem;
  margin-bottom: 2.25rem;
  animation: hFadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.75s both;
}

/* Mosque pills */
.hero-mosques { animation: hFadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.9s both; }
.hero-mosques-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: #5a7a5a; display: block; margin-bottom: 0.65rem;
}
.hero-mosque-pills { display: flex; flex-wrap: nowrap; gap: 0.45rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.hero-mosque-pills::-webkit-scrollbar { display: none; }
.h-mosque-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 500; color: #2a2a2a;
  background: rgba(255,255,255,0.8); border: 1px solid rgba(93,200,90,0.3);
  padding: 0.3rem 0.8rem; border-radius: 999px; text-decoration: none;
  transition: all 0.2s;
}
.h-mosque-pill:hover { background: #ffffff; border-color: #5DC85A; color: #44a641; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(93,200,90,0.12); }
.h-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: #5DC85A; flex-shrink: 0; }

/* ── Hero right: Prayer card panel ── */
.hero-right {
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: clamp(0.01rem, 6.5vw, 0.1rem);
  animation: hFadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.5s both;
}
.hero-panel {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  width: 100%; max-width: 320px;
}

/* Main prayer card */
.hp-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(93,200,90,0.3);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 8px 40px rgba(26,61,26,0.09), 0 0 0 4px rgba(93,200,90,0.05);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hp-card-header {
  display: flex; align-items: center; gap: 0.5rem;
  align-self: flex-start; margin-bottom: 1.25rem;
}
.hp-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #5DC85A; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(93,200,90,0.2);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;box-shadow:0 0 0 2px rgba(93,200,90,0.2)} 50%{opacity:0.7;box-shadow:0 0 0 4px rgba(93,200,90,0.1)} }
.hp-live-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #5a7a5a;
}

/* The actual SVG clock */
.hp-clock-wrap { margin-bottom: 1.1rem; }
.hp-clock-svg { width: 160px; height: 160px; display: block; filter: drop-shadow(0 4px 16px rgba(26,61,26,0.08)); }

/* Time display */
.hp-card-time {
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 300; color: #1a2e1a;
  line-height: 1; letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.hp-card-name-row {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.hp-card-prayer-lbl {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #5a7a5a;
}

/* Divider inside card */
.hp-card-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(93,200,90,0.3), transparent);
  margin-bottom: 0.85rem;
}

/* Next prayer row */
.hp-next-row {
  display: flex; align-items: center; gap: 0.6rem;
  align-self: stretch;
}
.hp-next-lbl {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #5a7a5a; flex-shrink: 0;
}
.hp-next-name {
  font-family: var(--font-heading); font-size: 0.88rem; font-weight: 700; color: #1a2e1a;
}
.hp-next-time {
  font-family: var(--font-heading); font-size: 0.88rem; font-weight: 700; color: #44a641;
  margin-left: auto;
}

/* Stats row below card */
.hp-stats-row {
  width: 100%;
  background: #ffffff; border: 1px solid rgba(93,200,90,0.22);
  border-radius: 10px; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(26,61,26,0.05);
}
.hp-stat-item { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.hp-stat-n { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: #44a641; line-height: 1; }
.hp-stat-l { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #5a7a5a; }
.hp-stat-div { width: 1px; height: 28px; background: rgba(93,200,90,0.2); flex-shrink: 0; }

/* Scroll hint */
.hero-scroll-hint {
  display: none;
}
.hero-scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(68,166,65,0.5), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:0.8} }

/* ══════════════════════════════════════════════════
   SECTION DIVIDERS — clearly visible
══════════════════════════════════════════════════ */
.h-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(93,200,90,0.45) 15%, rgba(93,200,90,0.45) 85%, transparent 100%);
  position: relative; margin: 0;
}
.h-section-divider::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px; height: 7px;
  background: var(--sage, #edf3ed);
  border: 1.5px solid rgba(93,200,90,0.5);
}

/* ══════════════════════════════════════════════════
   §1: WHO WE ARE
══════════════════════════════════════════════════ */
.h-about {
  background: #edf3ed;
  padding: 5rem 0 4.5rem; position: relative; overflow: hidden;
}
.h-about-geo { position: absolute; inset: 0; opacity: 0.045; pointer-events: none; }
.h-about-mandala {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  width: clamp(280px, 34vw, 440px); height: clamp(280px, 34vw, 440px);
  opacity: 0.45; pointer-events: none;
  animation: mandalaRotate 90s linear infinite;
}
@keyframes mandalaRotate { to { transform: translateY(-50%) rotate(360deg); } }

.h-about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
  position: relative; z-index: 2;
}
.h-about-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; color: #1a2e1a;
  margin-bottom: 0.5rem;
}
.h-about-title em {
  font-style: italic; display: block;
  background: linear-gradient(135deg, #5DC85A, #44a641);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.h-about-arabic { font-family: var(--font-display); font-size: 1.1rem; color: #44a641; direction: rtl; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.h-about-body { font-size: 0.9rem; color: #2a2a2a; line-height: 1.85; margin-bottom: 0.85rem; }

/* Stats grid */
.h-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(93,200,90,0.15);
  border: 1px solid rgba(93,200,90,0.15); border-radius: 4px;
  overflow: hidden; margin-bottom: 1.25rem;
}
.h-stat {
  background: #ffffff; padding: 1.5rem 1.4rem;
  position: relative; overflow: hidden;
  transition: background 0.3s; cursor: default;
}
.h-stat:hover { background: #f0f7f0; }
.h-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 700;
  color: #44a641; line-height: 1; margin-bottom: 0.3rem;
}
.h-stat-sup { font-size: 0.7em; color: #5DC85A; }
.h-stat-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #5a7a5a; }
.h-stat-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #5DC85A, #44a641);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.h-stat:hover .h-stat-bar { transform: scaleX(1); }

/* Ayah block */
.h-ayah {
  background: #f5f8f5; border: 1px solid rgba(93,200,90,0.18);
  border-radius: 4px; padding: 1.4rem 1.6rem; text-align: center;
}
.h-ayah-arabic { font-family: var(--font-display); font-size: 1.1rem; color: #44a641; direction: rtl; line-height: 1.75; margin-bottom: 0.6rem; }
.h-ayah-trans { font-family: var(--font-display); font-size: 0.92rem; font-style: italic; color: #2a2a2a; line-height: 1.7; margin-bottom: 0.35rem; }
.h-ayah-ref { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #44a641; }

/* ══════════════════════════════════════════════════
   §2: PRAYER TIMES
══════════════════════════════════════════════════ */
.h-prayers {
  background: #f5f8f5; padding: 5rem 0; position: relative; overflow: hidden;
}
.h-prayers-geo { position: absolute; inset: 0; opacity: 0.045; pointer-events: none; }
.h-prayers-header { text-align: center; max-width: 520px; margin: 0 auto 2rem; }
.h-prayers-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 600; color: #1a2e1a; line-height: 1.1; margin-bottom: 0.65rem;
}
.h-prayers-title em {
  font-style: italic;
  background: linear-gradient(135deg, #5DC85A, #44a641);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.h-prayers-sub { font-size: 0.88rem; color: #2a2a2a; line-height: 1.75; }

/* Prayer bands */
.h-prayers-bands {
  display: flex; flex-direction: column;
  border: 1px solid rgba(93,200,90,0.18); border-radius: 4px;
  overflow: hidden; margin-bottom: 1.75rem; background: #ffffff;
  box-shadow: 0 4px 24px rgba(26,61,26,0.06);
}
.h-prayer-band {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  padding: 0.8rem 1.75rem;
  border-bottom: 1px solid rgba(93,200,90,0.1);
  position: relative; overflow: hidden;
  transition: background 0.28s;
  background: #ffffff;
}
.h-prayer-band:last-child { border-bottom: none; }
.h-prayer-band:hover { background: #f5f8f5; }
.h-prayer-band.active-prayer { background: #f0f7f0; }
.h-pb-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, #5DC85A, #44a641);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
}
.h-prayer-band:hover .h-pb-bar,
.h-prayer-band.active-prayer .h-pb-bar { transform: scaleY(1); }

.h-pb-left { padding-right: 1.25rem; }
.h-pb-arabic { font-family: var(--font-display); font-size: 1rem; color: #44a641; direction: rtl; text-align: left; margin-bottom: 0.12rem; }
.h-pb-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: #1a2e1a; margin-bottom: 0.08rem; }
.h-pb-meaning { font-size: 0.78rem; color: #5a7a5a; letter-spacing: 0.03em; }

.h-pb-centre { display: flex; align-items: center; justify-content: center; }
.h-pb-sky {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(93,200,90,0.18); overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.h-prayer-band:hover .h-pb-sky { border-color: #44a641; box-shadow: 0 0 14px rgba(93,200,90,0.14); }
.h-pb-icon { width: 32px; height: 32px; }

/* Pastel sky backgrounds for light mode */
.fajr-sky    { background: linear-gradient(135deg, #e8eaf6, #c5cae9); }
.dhuhr-sky   { background: linear-gradient(135deg, #fffde7, #fff59d); }
.asr-sky     { background: linear-gradient(135deg, #fff3e0, #ffcc80); }
.maghrib-sky { background: linear-gradient(135deg, #fce4ec, #ef9a9a); }
.isha-sky    { background: linear-gradient(135deg, #ede7f6, #b39ddb); }

.h-pb-right { text-align: right; padding-left: 1.25rem; }
.h-pb-time {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
  color: #1a2e1a; line-height: 1; margin-bottom: 0.15rem; letter-spacing: -0.01em;
}
.h-prayer-band.active-prayer .h-pb-time { color: #5DC85A; }
.h-pb-rakat { font-size: 0.74rem; color: #5a7a5a; }
.h-prayer-band.active-prayer::after {
  content: 'Current';
  position: absolute; top: 0.85rem; right: 1.1rem;
  font-size: 0.52rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #ffffff; background: #5DC85A; padding: 0.15rem 0.55rem; border-radius: 2px;
}

.h-prayers-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.h-prayers-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; color: #5a7a5a;
}
.h-prayers-note svg { width: 14px; height: 14px; stroke: #5a7a5a; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   §3: OUR MOSQUES — 4-column grid
══════════════════════════════════════════════════ */
.h-mosques {
  background: #edf3ed; padding: 5rem 0;
}
.h-mosques-header { text-align: center; max-width: 520px; margin: 0 auto 2rem; }
.h-mosques-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 600; color: #1a2e1a; line-height: 1.1; margin-bottom: 0.65rem;
}
.h-mosques-title em {
  font-style: italic;
  background: linear-gradient(135deg, #5DC85A, #44a641);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.h-mosques-sub { font-size: 0.88rem; color: #2a2a2a; line-height: 1.75; }

/* 4-column grid for 4 mosques */
.h-mosques-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-bottom: 2.25rem;
}
.h-mosque-card {
  background: #ffffff; border: 1px solid rgba(93,200,90,0.2);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; position: relative;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.35s, box-shadow 0.4s;
}
.h-mosque-card:hover { transform: translateY(-6px); border-color: #44a641; box-shadow: 0 20px 48px rgba(26,61,26,0.1); }
.h-mosque-card.featured { border-color: rgba(93,200,90,0.32); }
.h-mosque-card.featured:hover { border-color: #5DC85A; box-shadow: 0 20px 48px rgba(26,61,26,0.13); }
.h-mc-featured-badge {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  font-size: 0.52rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: #ffffff; background: #5DC85A; padding: 0.18rem 0.55rem; border-radius: 2px;
}
.h-mc-num {
  position: absolute; top: 0.85rem; left: 1rem;
  font-family: var(--font-heading); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.22em; color: #44a641; z-index: 2;
}
.h-mc-arch {
  height: 170px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: #f5f8f5;
  border-bottom: 1px solid rgba(93,200,90,0.1);
}
.h-mc-arch::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 85%, rgba(93,200,90,0.07) 0%, transparent 70%);
}
.h-mc-arch svg {
  position: relative; z-index: 1;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  filter: drop-shadow(0 5px 14px rgba(26,61,26,0.1));
}
.h-mosque-card:hover .h-mc-arch svg { transform: translateY(-5px) scale(1.03); }

.h-mc-info { padding: 1.1rem 1.15rem 1.35rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.h-mc-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: #1a2e1a; line-height: 1.2; transition: color 0.3s; }
.h-mosque-card:hover .h-mc-name { color: #44a641; }
.h-mc-area { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #44a641; }
.h-mc-addr { font-size: 0.7rem; color: #5a7a5a; line-height: 1.4; }
.h-mc-jumuah { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.3rem; }
.h-mc-j-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #5a7a5a; }
.h-mc-j-time { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: #44a641; line-height: 1; }
.h-mc-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem; }
.h-mc-tags span {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.04em;
  color: #5a7a5a; background: #edf3ed; border: 1px solid rgba(93,200,90,0.18);
  padding: 0.12rem 0.45rem; border-radius: 2px; transition: all 0.2s;
}
.h-mosque-card:hover .h-mc-tags span { color: #2a2a2a; border-color: rgba(93,200,90,0.38); }
.h-mc-arrow { position: absolute; bottom: 1.1rem; right: 1.15rem; font-size: 0.85rem; color: rgba(93,200,90,0.35); transition: color 0.3s, transform 0.3s; }
.h-mosque-card:hover .h-mc-arrow { color: #44a641; transform: translateX(4px); }
.h-mosques-cta { text-align: center; }

/* ══════════════════════════════════════════════════
   §4: SERVICES
══════════════════════════════════════════════════ */
.h-services {
  background: #f5f8f5; padding: 5rem 0; position: relative; overflow: hidden;
}
.h-services-geo { position: absolute; inset: 0; opacity: 0.045; pointer-events: none; }
.h-services-inner {
  display: grid; grid-template-columns: 1fr 1.55fr;
  gap: clamp(2.5rem, 5vw, 6rem); align-items: center; position: relative; z-index: 1;
}
.h-services-title { font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; color: #1a2e1a; margin-bottom: 0.5rem; }
.h-services-title em { font-style: italic; background: linear-gradient(135deg, #5DC85A, #44a641); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.h-services-arabic { font-family: var(--font-display); font-size: 1.05rem; color: #1a2e1a; direction: rtl; margin-bottom: 1.35rem; }
.h-services-body { font-size: 0.88rem; color: #2a2a2a; line-height: 1.82; }

.h-services-right { display: flex; flex-direction: column; }
.h-svc-item {
  display: grid; grid-template-columns: 40px 1fr 24px;
  align-items: center; gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(93,200,90,0.1);
  transition: padding-left 0.3s cubic-bezier(0.22,1,0.36,1);
  text-decoration: none;
}
.h-svc-item:last-child { border-bottom: none; }
.h-svc-item:hover { padding-left: 0.5rem; }
.h-svc-icon {
  width: 40px; height: 40px; border-radius: 2px;
  background: #edf3ed; border: 1px solid rgba(93,200,90,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.h-svc-item:hover .h-svc-icon { background: #f0f7f0; border-color: #44a641; }
.h-svc-icon svg { width: 18px; height: 18px; }
.h-svc-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: #1a2e1a; margin-bottom: 0.15rem; line-height: 1.2; transition: color 0.25s; }
.h-svc-item:hover .h-svc-name { color: #44a641; }
.h-svc-desc { font-size: 0.76rem; color: #5a7a5a; line-height: 1.5; }
.h-svc-item:hover .h-svc-desc { color: #2a2a2a; }
.h-svc-arrow { font-size: 0.8rem; color: rgba(93,200,90,0.3); transition: color 0.25s, transform 0.25s; text-align: right; }
.h-svc-item:hover .h-svc-arrow { color: #44a641; transform: translateX(4px); }

/* ══════════════════════════════════════════════════
   §5: DONATE
══════════════════════════════════════════════════ */
.h-donate {
  background: #edf3ed; padding: 5rem 0; position: relative; overflow: hidden;
}
.h-donate-geo { position: absolute; inset: 0; opacity: 0.045; pointer-events: none; }

.h-donate-ayah { text-align: center; max-width: 620px; margin: 0 auto 3rem; position: relative; z-index: 1; }
.h-donate-gems { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.1rem; }
.h-gem { width: 5px; height: 5px; background: #44a641; transform: rotate(45deg); flex-shrink: 0; opacity: 0.55; }
.h-gem-lg { width: 7px; height: 7px; background: #5DC85A; transform: rotate(45deg); flex-shrink: 0; box-shadow: 0 0 8px rgba(93,200,90,0.35); }
.h-gem-line { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(93,200,90,0.4), transparent); }
.h-donate-arabic { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.6rem); color: #1a2e1a; direction: rtl; line-height: 1.75; margin-bottom: 0.85rem; }
.h-donate-trans { font-family: var(--font-display); font-size: clamp(0.85rem, 1.3vw, 1rem); font-style: italic; color: #2a2a2a; line-height: 1.7; margin-bottom: 0.45rem; }
.h-donate-ref { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #44a641; }

.h-donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; position: relative; z-index: 1; }
.h-donate-card {
  border-radius: 4px; padding: clamp(1.6rem, 2.2vw, 2.2rem);
  position: relative; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(93,200,90,0.2);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.35s, box-shadow 0.4s;
}
.h-donate-card:hover { transform: translateY(-5px); box-shadow: 0 14px 42px rgba(26,61,26,0.09); }
.h-donate-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.h-donate-card.zakat { border-color: rgba(68,166,65,0.28); }
.h-donate-card.zakat::before { background: linear-gradient(90deg, #44a641, #5DC85A); }
.h-donate-card.zakat:hover { border-color: #44a641; }
.h-donate-card.sadaqah::before { background: linear-gradient(90deg, #5DC85A, #44a641); }
.h-donate-card.sadaqah:hover { border-color: #5DC85A; }
.h-dc-tag {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.65rem; display: inline-block; padding: 0.16rem 0.55rem; border-radius: 2px;
}
.zakat .h-dc-tag { color: #44a641; background: rgba(93,200,90,0.07); border: 1px solid rgba(68,166,65,0.18); }
.sadaqah .h-dc-tag { color: #5DC85A; background: rgba(93,200,90,0.06); border: 1px solid rgba(93,200,90,0.2); }
.h-dc-title { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 600; color: #1a2e1a; margin-bottom: 0.2rem; }
.h-dc-arabic { font-family: var(--font-display); font-size: 0.9rem; color: #44a641; direction: rtl; margin-bottom: 1rem; }
.h-dc-body { font-size: 0.84rem; color: #2a2a2a; line-height: 1.72; margin-bottom: 1.35rem; }

/* ══════════════════════════════════════════════════
   §6: TESTIMONIALS
══════════════════════════════════════════════════ */
.h-testimonials {
  background: #f5f8f5; padding: 5rem 0 4rem;
  overflow: hidden;
}
.h-test-header { text-align: center; max-width: 520px; margin: 0 auto 2rem; }
.h-test-title { font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 600; color: #1a2e1a; line-height: 1.1; margin-bottom: 0.65rem; }
.h-test-title em { font-style: italic; background: linear-gradient(135deg, #5DC85A, #44a641); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.h-test-sub { font-size: 0.88rem; color: #2a2a2a; line-height: 1.75; }

.h-test-track-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0.5rem 0 1.25rem; cursor: grab; }
.h-test-track-wrap:active { cursor: grabbing; }
.h-test-track-wrap::-webkit-scrollbar { display: none; }
.h-test-track { display: flex; gap: 1.1rem; width: max-content; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.h-test-card {
  width: 340px; flex-shrink: 0;
  background: #edf3ed; border: 1px solid rgba(93,200,90,0.2);
  border-radius: 4px; padding: 1.75rem 1.6rem;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.35s, box-shadow 0.4s;
}
.h-test-card:hover { transform: translateY(-5px); border-color: #44a641; box-shadow: 0 14px 42px rgba(26,61,26,0.09); }
.h-test-card::before { content: ''; position: absolute; top: 0; left: 1.5rem; right: 1.5rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(93,200,90,0.28), transparent); }
.h-tc-quote { font-family: var(--font-heading); font-size: 3rem; line-height: 0.7; color: #5DC85A; opacity: 0.3; margin-bottom: 0.85rem; transition: opacity 0.3s; }
.h-test-card:hover .h-tc-quote { opacity: 0.55; }
.h-tc-text { font-size: 0.86rem; color: #2a2a2a; line-height: 1.78; font-style: italic; margin-bottom: 1.35rem; }
.h-tc-author { display: flex; align-items: center; gap: 0.75rem; }
.h-tc-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #5DC85A, #44a641);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: #ffffff;
}
.h-tc-name { font-size: 0.85rem; font-weight: 600; color: #1a2e1a; margin-bottom: 0.1rem; }
.h-tc-role { font-size: 0.68rem; color: #44a641; }
.h-test-controls { display: flex; justify-content: center; gap: 0.65rem; margin-top: 1.75rem; }
.h-tc-btn {
  width: 40px; height: 40px; border-radius: 2px;
  background: #ffffff; border: 1px solid rgba(93,200,90,0.22);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #2a2a2a; transition: all 0.22s;
}
.h-tc-btn:hover { background: #f0f7f0; border-color: #44a641; color: #44a641; }
.h-tc-btn svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .h-mosques-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; padding: 4rem 0 3rem; min-height: auto; }
  .hero-right { display: none; } /* hide prayer panel — stacks weird below hero copy */
  .hero-desc { max-width: 100%; }
  .h-about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .h-about-mandala { display: none; }
  .h-services-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .h-about, .h-prayers, .h-mosques, .h-services, .h-donate, .h-testimonials { padding: 3rem 0; }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
  .h-prayer-band { grid-template-columns: 1fr auto; padding: 0.75rem 1.25rem; }
  .h-pb-centre { display: none; }
  .h-donate-grid { grid-template-columns: 1fr; }
  .h-mosques-grid { grid-template-columns: 1fr; }
  .h-stats-grid { grid-template-columns: 1fr 1fr; }
  .h-about-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .h-prayers-title, .h-mosques-title, .h-services-title, .h-test-title, .h-dc-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .h-stat-num { font-size: clamp(1.4rem, 4vw, 2rem); }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; max-width: 340px; }
  .hero-mosque-pills { flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .h-prayer-band { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; gap: 0.5rem; }
  .h-pb-arabic { font-size: 0.78rem; margin-bottom: 0.06rem; }
  .h-pb-meaning { display: none; }
  .h-pb-name { font-size: 0.85rem; font-weight: 600; }
  .h-pb-time { font-size: 0.9rem; font-weight: 600; letter-spacing: 0; }
  .h-pb-rakat { display: none; }
  .h-prayer-band.active-prayer::after { top: 0.3rem; right: 0.6rem; font-size: 0.44rem; padding: 0.08rem 0.3rem; }
  .h-test-card { width: 290px; }
  .hero-mosque-pills { gap: 0.4rem; }
  .h-stats-grid { grid-template-columns: 1fr 1fr; }
  .h-svc-item { grid-template-columns: 36px 1fr; }
  .h-svc-arrow { display: none; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.85rem; }
  .h-about, .h-prayers, .h-mosques, .h-services, .h-donate, .h-testimonials { padding: 2.5rem 0; }
  .h-stats-grid { grid-template-columns: 1fr 1fr; }
  .h-prayer-band { padding: 0.65rem 0.85rem; }
  .h-pb-time { font-size: 0.82rem; }
  .h-mc-name { font-size: 0.88rem; }
  .h-mc-j-time { font-size: 1rem; }
  .h-donate-card { padding: 1.5rem 1.25rem; }
  .hero-btns .btn { max-width: 100%; }
}

/* ── MOSQUE ATHAN/IQAMA TAB PANEL (hero right) ── */
.hp-mosque-tabs {
  width: 100%; margin-top: 1rem;
  background: #ffffff;
  border: 1px solid rgba(93,200,90,0.22);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,61,26,0.06);
}
.hp-tabs-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(93,200,90,0.1);
}
.hp-tabs-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #5a7a5a;
}
.hp-tabs-link {
  font-size: 0.6rem; font-weight: 700; color: #44a641;
  text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.hp-tabs-link:hover { color: #5DC85A; }

/* Tab buttons */
.hp-tabs {
  display: flex; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid rgba(93,200,90,0.1);
}
.hp-tabs::-webkit-scrollbar { display: none; }
.hp-tab {
  flex-shrink: 0; padding: 0.5rem 0.85rem;
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
  color: #5a7a5a; background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; transition: color 0.2s, border-color 0.2s;
}
.hp-tab:hover { color: #1a2e1a; }
.hp-tab.active { color: #44a641; border-bottom-color: #44a641; }

/* Tab content */
.hp-tab-content { padding: 0; }
.hp-tc-loading {
  padding: 1rem; text-align: center;
  font-size: 0.72rem; color: #5a7a5a;
}
.hp-tc-header {
  padding: 0.65rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(93,200,90,0.08);
  background: rgba(93,200,90,0.03);
}
.hp-tc-mosque { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: #1a2e1a; }
.hp-tc-area { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #44a641; margin-top: 0.1rem; }

/* Table rows */
.hp-tc-table { display: flex; flex-direction: column; }
.hp-tc-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(93,200,90,0.07);
  transition: background 0.2s;
}
.hp-tc-row:last-child { border-bottom: none; }
.hp-tc-row:hover { background: #f5f8f5; }
.hp-tc-head {
  background: rgba(93,200,90,0.04);
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #5a7a5a;
}
.hp-tc-head:hover { background: rgba(93,200,90,0.04); }
.hp-tc-prayer {
  font-family: var(--font-heading); font-size: 0.82rem;
  font-weight: 600; color: #1a2e1a;
}
.hp-tc-prayer em { font-style: normal; font-size: 0.72rem; color: #44a641; margin-left: 0.3rem; }
.hp-tc-athan {
  font-family: var(--font-heading); font-size: 0.85rem;
  font-weight: 600; color: #2a2a2a; text-align: center;
}
.hp-tc-iqama {
  font-family: var(--font-heading); font-size: 0.85rem;
  font-weight: 700; color: #44a641; text-align: right;
}
.hp-tc-current { background: rgba(93,200,90,0.06); }
.hp-tc-current .hp-tc-prayer { color: #44a641; }
.hp-tc-current .hp-tc-athan { color: #44a641; }
.hp-tc-jumuah { background: rgba(93,200,90,0.03); }

