﻿/* ── Page variables ── */
:root {
  --teal:    #0F7B96;
  --teal-dk: #0a5e76;
  --green:   #059669;
  --text:    #1e293b;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --bg-alt:  #f8fafc;
}


/* ── Hero ── */
.faq-hero {
  background: linear-gradient(135deg, #0a3d4d 0%, #0F7B96 60%, #1a95b5 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}
.faq-hero .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.faq-hero .breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.faq-hero .breadcrumb a:hover { color: #fff; }
.faq-hero .breadcrumb span { margin: 0 0.4rem; }
.faq-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  line-height: 1.15;
}
.faq-hero .hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}
.faq-hero .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Shared section titles ── */
.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-desc {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* ── How It Works ── */
.how-section {
  padding: 5rem 0 4.5rem;
  background: #fff;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.step-card:hover {
  box-shadow: 0 12px 40px rgba(15,123,150,0.12);
  transform: translateY(-4px);
}
.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--teal);
  opacity: 0.18;
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: 'Poppins', sans-serif;
}
.step-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-dk));
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.step-connector { display: none; }
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── Shahada highlight card ── */
.shahada-card {
  max-width: 700px;
  margin: 3rem auto 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dk));
  border-radius: 1.25rem;
  padding: 2.25rem 2.5rem;
  text-align: center;
  color: #fff;
}
.shahada-card .arabic-text {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.9rem;
  line-height: 2;
  direction: rtl;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.01em;
}
.shahada-card .translation {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.shahada-card .shahada-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: 1.25rem;
  margin-bottom: 0;
  line-height: 1.5;
}
.shahada-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'Poppins', sans-serif;
}
.shahada-play-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.04);
}
.shahada-play-btn .play-icon {
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shahada-play-btn .play-icon svg { fill: var(--teal); }
.shahada-play-btn.playing .play-icon svg.icon-play { display: none; }
.shahada-play-btn:not(.playing) .play-icon svg.icon-pause { display: none; }

/* ── FAQ Accordion ── */
.faq-section {
  padding: 5rem 0 5.5rem;
  background: var(--bg-alt);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin-bottom: 0.875rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open {
  box-shadow: 0 4px 20px rgba(15,123,150,0.1);
  border-color: rgba(15,123,150,0.3);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}
.faq-trigger:focus-visible {
  outline: 3px solid rgba(15,123,150,0.4);
  outline-offset: -3px;
  border-radius: 0.875rem;
}
.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}
.faq-chevron {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
}
.faq-item.open .faq-chevron {
  background: var(--teal);
  transform: rotate(180deg);
}
.faq-chevron svg { stroke: var(--muted); transition: stroke 0.2s; }
.faq-item.open .faq-chevron svg { stroke: #fff; }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-body-inner {
  padding: 0 1.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}
.faq-body-inner strong { color: var(--text); }

/* ── CTA ── */
.faq-cta {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #0a3d4d, var(--teal));
  text-align: center;
  color: #fff;
}
.faq-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.faq-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.faq-cta .cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.faq-cta .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.faq-cta .cta-btn-secondary {
  display: inline-block;
  margin-left: 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Container ── */
.faq-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}