/* ================================================================
   ShiaJamaat.com — style.css
   Public-facing site stylesheet
   ================================================================ */

:root {
  --deep:        #0B2818;
  --mid-green:   #174D33;
  --green:       #1E6B44;
  --gold:        #B8924A;
  --gold-light:  #D4AD72;
  --cream:       #F4EFE6;
  --warm-white:  #FDFAF5;
  --charcoal:    #1A1A18;
  --body-text:   #3A3A36;
  --muted:       #7A7A74;
  --border:      #DDD8CE;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --tr:         0.2s ease;
  --max:        1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Banner ─────────────────────────────────────────────────── */
.site-banner {
  position: relative;
  padding: 0.7rem 3rem 0.7rem 1rem;
  font-size: 0.88rem;
  overflow: hidden;
}
.banner-announcement, .banner-info { background: var(--deep); color: #fff; }
.banner-success  { background: #0E3D26; color: #fff; }
.banner-urgent   { background: #7A2020; color: #fff; }

.banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.banner-icon  { font-size: 1rem; opacity: 0.8; flex-shrink: 0; }
.banner-text  { flex: 1; min-width: 160px; }
.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: background var(--tr);
}
.banner-cta:hover { background: rgba(255,255,255,0.1); }
.banner-close {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  padding: 0.25rem;
  transition: color var(--tr);
}
.banner-close:hover { color: #fff; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--deep);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.wordmark-icon {
  width: 28px; height: 28px;
  background: var(--gold);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}
.wordmark-icon::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1.5px solid var(--deep);
  border-radius: 1px;
}
.wordmark-text { display: flex; flex-direction: column; line-height: 1; gap: 1px; }
.w-shia {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.w-jamaat {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.primary-nav { display: flex; list-style: none; flex: 1; gap: 0; }
.primary-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
  transition: color var(--tr);
}
.primary-nav a:hover { color: #fff; }

.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown > a::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border: 4px solid transparent;
  border-top-color: rgba(255,255,255,0.45);
  margin-top: 3px;
  transition: border-top-color var(--tr);
}
.nav-dropdown:hover > a::after { border-top-color: #fff; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 0.4rem 0;
  list-style: none;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.83rem;
  color: var(--body-text);
  transition: background var(--tr);
}
.dropdown-menu a:hover { background: var(--cream); }

.header-right { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.btn-apply-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: var(--gold);
  color: var(--deep);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background var(--tr);
}
.btn-apply-header:hover { background: var(--gold-light); }

.mobile-toggle { display: none; color: rgba(255,255,255,0.8); font-size: 1.4rem; }

.mobile-nav {
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.75rem 1.5rem 1rem;
}
.mobile-nav a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-sub {
  padding-left: 1.1rem;
  font-size: 0.82rem;
}
.mobile-nav .mobile-apply {
  margin-top: 0.6rem;
  background: var(--gold);
  color: var(--deep);
  text-align: center;
  font-weight: 500;
  padding: 0.6rem;
  border-radius: var(--radius);
  border-bottom: none;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--deep);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 420px; height: 420px;
  border: 1px solid rgba(184,146,74,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: 20px; top: 20px;
  width: 280px; height: 280px;
  border: 1px solid rgba(184,146,74,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.6rem;
  background: var(--gold);
  color: var(--deep);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--tr);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  font-size: 0.88rem;
  transition: border-color var(--tr), color var(--tr);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

/* ── Services section ───────────────────────────────────────── */
.services-section { padding: 4.5rem 0; }
.section-header { margin-bottom: 2.5rem; }
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: #fff;
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background var(--tr);
}
.service-card:hover { background: var(--cream); }
.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.service-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background var(--tr);
}
.service-card:hover .service-icon { background: #fff; }
.fee-badge {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--green);
  background: rgba(30,107,68,0.09);
  padding: 0.18rem 0.5rem;
  border-radius: 20px;
  white-space: nowrap;
}
.fee-badge.fee-free { color: #27500A; background: rgba(39,80,10,0.1); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
}
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--green);
  transition: gap var(--tr);
  margin-top: 0.2rem;
}
.service-card:hover .service-card-link { gap: 0.5rem; }

/* ── Trust strip ────────────────────────────────────────────── */
.trust-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-icon { color: var(--gold); font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.trust-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.trust-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── About strip ────────────────────────────────────────────── */
.about-strip { padding: 4.5rem 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-inner p { font-size: 0.95rem; color: var(--body-text); margin-bottom: 1rem; line-height: 1.75; }
.about-inner p:last-of-type { margin-bottom: 1.5rem; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid var(--border);
  color: var(--charcoal);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color var(--tr), background var(--tr);
}
.btn-secondary:hover { border-color: var(--green); background: var(--cream); }
.about-disclaimer {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-disclaimer p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }
.about-disclaimer strong { color: var(--body-text); font-weight: 500; }

/* ── CTA section ────────────────────────────────────────────── */
.cta-section {
  background: var(--mid-green);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  left: -80px; bottom: -80px;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.35rem;
}
.cta-text p { font-size: 0.92rem; color: rgba(255,255,255,0.62); }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-primary-inv {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  background: #fff;
  color: var(--mid-green);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--tr);
}
.btn-primary-inv:hover { background: var(--cream); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  font-size: 0.88rem;
  transition: border-color var(--tr);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--deep);
  padding: 3rem 0 1.5rem;
  color: rgba(255,255,255,0.52);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .wordmark { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.82rem; line-height: 1.65; max-width: 220px; }
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.58); transition: color var(--tr); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.78rem; }
.footer-legal { display: flex; gap: 1.25rem; list-style: none; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.38); transition: color var(--tr); }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .primary-nav, .btn-apply-header { display: none; }
  .mobile-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 0 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions a { justify-content: center; }
}

/* ================================================================
   INNER PAGE COMPONENTS
   ================================================================ */

/* ── Active nav link ────────────────────────────────────────── */
.primary-nav .nav-active { color: #fff !important; }
.dropdown-menu .nav-active { background: var(--cream); }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--deep);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 300px; height: 300px;
  border: 1px solid rgba(184,146,74,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .hero-label { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.75rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero .lead {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  max-width: 540px;
  line-height: 1.75;
}
.page-hero .hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  list-style: none;   /* removes ol numbers */
  padding: 0;         /* removes ol default indent */
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumb li        { display: inline-flex; align-items: center; }
.breadcrumb a         { color: var(--green); }
.breadcrumb a:hover   { text-decoration: underline; }
.breadcrumb .sep      { color: var(--border); user-select: none; }
.breadcrumb .current  { color: var(--body-text); }

/* ── Page body layout ───────────────────────────────────────── */
.page-body { padding: 3.5rem 0; }
.page-body .container { display: grid; grid-template-columns: 1fr 320px; gap: 3.5rem; align-items: start; }
.page-body.full-width .container { display: block; }

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 2rem 0 0.75rem;
  line-height: 1.2;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 1.5rem 0 0.5rem;
}
.page-content p {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}
.page-content p:last-child { margin-bottom: 0; }
.page-content ul, .page-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.page-content li {
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── Sidebar (inner pages) ──────────────────────────────────── */
.page-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Fee box ────────────────────────────────────────────────── */
.fee-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fee-box-head {
  background: var(--deep);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fee-box-head h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}
.fee-box-body { padding: 1.1rem 1.25rem; }
.fee-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.fee-amount span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.fee-note { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin-top: 0.6rem; }
.fee-note + .fee-note { margin-top: 0.3rem; }

/* ── Apply card (sidebar) ───────────────────────────────────── */
.apply-card {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.apply-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}
.apply-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.apply-card .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  background: var(--gold);
  color: var(--deep);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  width: 100%;
  justify-content: center;
  transition: background var(--tr);
}
.apply-card .btn-gold:hover { background: var(--gold-light); }

/* ── Process steps ──────────────────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; margin: 1.5rem 0; }
.step {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 32px; height: 32px;
  background: var(--deep);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.step-body h4 {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.step-body p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── Checklist ──────────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li {
  display: flex;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.55;
  align-items: flex-start;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--green-light, #E8F3ED);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%231E6B44' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Info / warning boxes ───────────────────────────────────── */
.info-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.7;
}
.info-box strong { color: var(--charcoal); }
.warning-box {
  background: #FEF3CD;
  border-left: 3px solid #D4A017;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  color: #5A3E00;
  line-height: 1.7;
}

/* ── Talaaq types ───────────────────────────────────────────── */
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 1rem 0; }
.type-card { background: #fff; padding: 1.25rem; }
.type-card h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.4rem; }
.type-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── FAQ accordion (central page + service pages) ────────────── */
.faq-page { padding: 4rem 0; }
.faq-jump-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.faq-jump-bar a {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--body-text);
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.faq-jump-bar a:hover { background: var(--cream); border-color: var(--green); color: var(--green); }

.faq-service-section { margin-bottom: 3rem; }
.faq-service-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--deep);
  display: inline-block;
}
.faq-category-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 1.5rem 0 0.5rem;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 2.5rem 1rem 0;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  position: relative;
  line-height: 1.5;
  transition: color var(--tr);
}
.faq-question:hover { color: var(--green); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
  transition: transform var(--tr);
}
.faq-item.open .faq-question::after { content: '−'; }
/* CLOSED state — must be explicit, no inheritance from other rules */
.faq-answer {
  max-height: 0 !important;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq-item.open .faq-answer {
  max-height: 1200px !important;
}
.faq-answer-inner {
  padding: 0.1rem 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--body-text);
}
.faq-answer-inner p { margin-bottom: 0.6rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul, .faq-answer-inner ol { padding-left: 1.3rem; margin-top: 0.4rem; }
.faq-answer-inner li { margin-bottom: 0.35rem; }

/* ── Apply hub ──────────────────────────────────────────────── */
.apply-hub { padding: 4rem 0; }
.apply-hub-intro { max-width: 600px; margin-bottom: 2.5rem; }
.apply-hub-intro p { font-size: 0.95rem; color: var(--body-text); line-height: 1.75; }
.apply-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.apply-card-item {
  background: #fff;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background var(--tr);
}
.apply-card-item:hover { background: var(--cream); }
.apply-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.apply-card-item h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--charcoal); line-height: 1.2; }
.apply-card-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.apply-card-btns { display: flex; gap: 0.5rem; margin-top: 0.4rem; flex-wrap: wrap; }
.btn-apply-now {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background var(--tr);
}
.btn-apply-now:hover { background: var(--mid-green); }
.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  color: var(--body-text);
  border-radius: var(--radius);
  font-size: 0.8rem;
  transition: border-color var(--tr), color var(--tr);
}
.btn-learn:hover { border-color: var(--green); color: var(--green); }

/* ── Responsive (inner pages) ───────────────────────────────── */
@media (max-width: 960px) {
  .page-body .container { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-body { padding: 2rem 0; }
  .apply-grid { grid-template-columns: 1fr; }
  .faq-jump-bar { gap: 0.4rem; }
}
