/* ==========================================================================
   MUFAKKIR TUITION — Website Design System
   Midnight Navy / Heritage Gold / Warm Ivory. Light by default, navy reserved
   for hero, achievement and CTA moments. No illustrated figures — abstract
   morphing geometric shapes only, echoing the crest's linework.
   ========================================================================== */

:root {
  --navy: #0b1324;
  --navy-2: #16223b;
  --navy-3: #1f2f4d;
  --gold: #d4af37;
  --gold-dark: #b5922a;
  --gold-light: #f1e2ad;
  --ivory: #f7f5f0;
  --ivory-2: #efece3;
  --charcoal: #252a31;
  --grey-500: #6b7280;
  --grey-300: #d8d5cc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 19, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 19, 36, 0.16);
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: url('../assets/cursor-pen.svg') 7 7, auto;
}
.btn, .nav-toggle, .journey-step, .faq-q, input, textarea, select, label, .field-check {
  cursor: url('../assets/cursor-pen.svg') 7 7, pointer;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.2rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { color: var(--charcoal); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); display: inline-block; }
.on-dark .eyebrow { color: var(--gold); }

.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.section-head p { margin-top: 14px; font-size: 1.08rem; color: var(--grey-500); }
.on-dark .section-head p { color: rgba(255,255,255,0.7); }

.lede { font-size: 1.15rem; color: var(--grey-500); max-width: 620px; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-family: var(--sans);
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(212,175,55,0.35); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 26px rgba(11,19,36,0.25); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline.on-dark-btn { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline.on-dark-btn:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* ==================== STATUS BADGES ==================== */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; border: 1.5px solid transparent;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-live { background: rgba(58,122,84,0.1); color: #2f6b48; }
.status-live::before { background: #2f6b48; }
.status-developing { background: rgba(212,175,55,0.14); color: var(--gold-dark); }
.status-developing::before { background: var(--gold-dark); }
.status-future { background: rgba(107,114,128,0.1); color: var(--grey-500); }
.status-future::before { background: var(--grey-500); }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,19,36,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand .name { font-family: var(--sans); }
.brand .name strong { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em; color: var(--navy); }
.brand .name span { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; color: var(--gold-dark); margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.86rem; font-weight: 600; color: var(--charcoal); position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---- Nav dropdown (Tutoring) ---- */
.nav-item { position: relative; }
.nav-item .dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-item .dropdown-trigger::after { content: "\25BE"; font-size: 0.62rem; color: var(--grey-500); transition: transform 0.2s ease; }
.nav-item:hover .dropdown-trigger::after, .nav-item.open .dropdown-trigger::after { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 260px; max-width: 86vw;
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11,19,36,0.08);
  padding: 16px; display: grid; grid-template-columns: 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 90;
}
.nav-item:hover .nav-dropdown, .nav-item.open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-item { display: block; padding: 13px 16px; border-radius: 12px; transition: background 0.2s ease; }
.dropdown-item:hover, .dropdown-item.active { background: var(--ivory-2); }
.dropdown-item strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.dropdown-item span { display: none; }
.dropdown-cta {
  grid-column: 1 / -1; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(11,19,36,0.08);
  text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--gold-dark);
}
.dropdown-cta:hover { color: var(--navy); background: none; }

/* ==================== HERO (navy, morphing shapes) ==================== */
.hero {
  background:
    radial-gradient(circle at 84% 14%, rgba(212,175,55,0.16), transparent 46%),
    radial-gradient(circle at 6% 92%, rgba(212,175,55,0.1), transparent 40%),
    linear-gradient(160deg, var(--white) 0%, var(--ivory) 55%, var(--ivory-2) 100%);
  position: relative; overflow: hidden; padding: 120px 0 100px;
  border-bottom: 1px solid var(--grey-300);
}
.hero-grid { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 720px; margin: 0 auto; text-align: center; }
.hero-copy .hero-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark);
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(181,146,42,0.4); border-radius: 999px; padding: 7px 16px; margin-bottom: 22px;
}
.hero-copy .hero-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); }

.hero-visual { display: flex; justify-content: center; }
.medallion { position: relative; width: 240px; height: 240px; margin: 0 auto 30px; }
.medallion::before {
  content: ""; position: absolute; inset: -50px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.28), transparent 70%);
  animation: pulseRing 8s ease-in-out infinite;
}
.medallion .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(181,146,42,0.45); }
.medallion .ring.r1 { inset: 0; animation: spinSlow 55s linear infinite; }
.medallion .ring.r2 { inset: 32px; border-color: rgba(181,146,42,0.3); animation: spinSlow 75s linear infinite reverse; }
.medallion .ring.r3 { inset: 64px; border-style: dashed; border-color: rgba(181,146,42,0.55); animation: spinSlow 38s linear infinite, pulseRing 7s ease-in-out infinite; }
.medallion-crest-wrap { position: absolute; top: 50%; left: 50%; width: 118px; transform: translate(-50%, -50%); }
.medallion-crest {
  width: 100%; display: block; animation: floatY 7s ease-in-out infinite;
  filter: drop-shadow(0 14px 26px rgba(11,19,36,0.18));
}
.orbit-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-dark); box-shadow: 0 0 12px rgba(212,175,55,0.7); }
.orbit-dot.d1 { top: 6%; left: 74%; animation: floatY 5s ease-in-out infinite; }
.orbit-dot.d2 { top: 72%; left: 10%; animation: floatY 6s ease-in-out infinite reverse; animation-delay: 1s; }
.orbit-dot.d3 { top: 52%; left: 90%; animation: floatY 6.5s ease-in-out infinite; animation-delay: 2s; }
.orbit-dot.d4 { top: 88%; left: 56%; animation: floatY 5.5s ease-in-out infinite reverse; animation-delay: 0.6s; }
@keyframes pulseRing { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } }
.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-decor .morph-shape {
  position: absolute; border: 1.5px solid rgba(181,146,42,0.4);
  animation: morphBorder 14s ease-in-out infinite, spinSlow 40s linear infinite;
}
.hero-decor .morph-fill {
  position: absolute; background: radial-gradient(circle at 35% 30%, rgba(212,175,55,0.22), rgba(212,175,55,0) 70%);
  animation: morphBorder 11s ease-in-out infinite reverse, floatY 9s ease-in-out infinite;
}
.hero-decor .crest-watermark {
  position: absolute; opacity: 0.05; animation: spinSlow 90s linear infinite;
}
.hero-decor .morph-shape.s2 { animation: morphBorder 9s ease-in-out infinite, spinSlow 26s linear infinite reverse; }
.hero-decor .morph-shape.s3 { animation: morphBorder 17s ease-in-out infinite reverse, floatX 12s ease-in-out infinite; }
.hero-decor .morph-fill.f2 { animation: morphBorder 13s ease-in-out infinite, floatX 8s ease-in-out infinite reverse; }
.hero-decor .morph-line {
  position: absolute; border: 1px solid rgba(181,146,42,0.3);
  animation: morphBorder 21s ease-in-out infinite, spinSlow 60s linear infinite;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-crest { width: 76px; height: 84px; margin: 0 auto 28px; animation: floatY 6s ease-in-out infinite; }
.hero h1 { color: var(--navy); font-size: 3.6rem; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-dark); }
.hero .lead { color: var(--grey-500); font-size: 1.2rem; max-width: 600px; margin: 0 auto 14px; }
.hero .meaning-line { color: var(--gold-dark); font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero-facts { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.hero-facts div { text-align: left; display: flex; align-items: center; gap: 10px; }
.hero-facts .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); flex-shrink: 0; }
.hero-facts span { color: var(--charcoal); font-size: 0.88rem; }

@keyframes morphBorder {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
  33%      { border-radius: 58% 42% 40% 60% / 60% 55% 45% 40%; }
  66%      { border-radius: 65% 35% 55% 45% / 40% 60% 40% 60%; }
}
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawLine { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }

/* ==================== REUSABLE MORPH BLOB LAYER ==================== */
/* Drop <div class="blob-layer">...</div> as the first child of any
   position:relative section to add subtle animated morph shapes behind
   the content. Use .on-navy for shapes tuned to sit on the navy sections. */
.blob-layer { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob-layer .b {
  position: absolute; border-radius: 46% 54% 62% 38% / 48% 42% 58% 52%;
  background: radial-gradient(circle at 35% 30%, rgba(212,175,55,0.16), rgba(212,175,55,0) 72%);
  animation: morphBorder 15s ease-in-out infinite, floatY 10s ease-in-out infinite;
}
.blob-layer .b.outline {
  background: transparent; border: 1.5px solid rgba(212,175,55,0.22);
  animation: morphBorder 19s ease-in-out infinite reverse, spinSlow 50s linear infinite;
}
.blob-layer .b.b2 { animation-delay: -4s, -2s; }
.blob-layer .b.b3 { animation-delay: -8s, -5s; }
.blob-layer.on-navy .b { background: radial-gradient(circle at 35% 30%, rgba(212,175,55,0.22), rgba(212,175,55,0) 72%); }
.blob-layer.on-navy .b.outline { border-color: rgba(212,175,55,0.3); }
section.rel, .page-hero, .cta-band, .journey-band, .site-footer, .family-strip { position: relative; overflow: hidden; }
section.rel > .container, .page-hero > .container, .journey-band > .container,
.site-footer > .container, .cta-band > * { position: relative; z-index: 1; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

/* ==================== TRUST STRIP ==================== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.trust-item { text-align: center; }
.trust-item .icn {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ivory-2); border: 1.5px solid var(--grey-300);
  display: flex; align-items: center; justify-content: center; color: var(--gold-dark); font-size: 1.3rem;
}
.trust-item h4 { font-size: 1rem; margin-bottom: 6px; }
.trust-item p { font-size: 0.88rem; color: var(--grey-500); }

/* ==================== DIFFERENCE (comparison) ==================== */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.compare-card { border-radius: 20px; padding: 36px; }
.compare-card.old { background: var(--ivory-2); border: 1.5px dashed var(--grey-300); }
.compare-card.mufakkir { background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.compare-card.mufakkir::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.28), transparent 70%);
}
.compare-card h4 { margin-bottom: 18px; font-size: 1.1rem; }
.compare-card.mufakkir h4 { color: var(--gold); }
.compare-card ul { display: grid; gap: 12px; position: relative; z-index: 1; }
.compare-card li { display: flex; gap: 10px; font-size: 0.94rem; align-items: flex-start; }
.compare-card.old li::before { content: "—"; color: var(--grey-500); flex-shrink: 0; }
.compare-card.mufakkir li::before { content: "✓"; color: var(--gold); flex-shrink: 0; font-weight: 700; }
.compare-card.mufakkir p, .compare-card.mufakkir li { color: rgba(255,255,255,0.88); }

/* ==================== JOURNEY STEPPER ==================== */
.journey-band { background: var(--navy); position: relative; overflow: hidden; }
.journey-stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; margin-top: 20px; }
.journey-stepper::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), rgba(212,175,55,0.5), transparent);
}
.journey-step { position: relative; text-align: center; cursor: default; }
.journey-step .node {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--navy); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.2rem; color: var(--gold); font-weight: 700;
  position: relative; z-index: 1; transition: transform 0.3s ease, background 0.3s ease;
}
.journey-step:hover .node { transform: scale(1.12); background: var(--gold); color: var(--navy); }
.journey-step .age { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.journey-step h4 { color: var(--white); margin-bottom: 10px; }
.journey-step p { font-size: 0.86rem; color: rgba(255,255,255,0.68); }
.journey-note { text-align: center; margin-top: 50px; }
.journey-note strong { display: block; color: var(--white); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.journey-note span { color: var(--gold); font-size: 0.9rem; }

/* ==================== FAMILY / ECOSYSTEM CARDS ==================== */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.family-card {
  background: var(--white); border: 1.5px solid var(--grey-300); border-radius: 18px;
  padding: 30px 26px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.family-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.family-card .mark { width: 34px; height: 38px; margin-bottom: 18px; opacity: 0.9; }
.family-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.family-card .strand { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 14px; display: block; }
.family-card p { font-size: 0.86rem; color: var(--grey-500); margin: 14px 0 16px; }
.family-card.lockup { text-align: center; padding: 28px 22px; display: flex; flex-direction: column; align-items: center; }
.lockup-head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.family-card.lockup .mark { width: 40px; height: 46px; margin: 0; opacity: 1; flex-shrink: 0; }
.lockup-name { text-align: center; }
.lockup-name strong { display: block; font-family: var(--sans); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em; color: var(--navy); line-height: 1.2; }
.lockup-name span { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; color: var(--gold-dark); margin-top: 2px; }
.lockup-rule { width: 70%; height: 1px; background: var(--gold-light); margin: 18px 0 4px; position: relative; }
.lockup-rule::after { content: "\25C6"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--white); padding: 0 8px; color: var(--gold); font-size: 0.6rem; }
.family-card.lockup p { font-family: var(--serif); color: var(--charcoal); font-size: 0.92rem; margin: 14px 0 0; }
.family-note { text-align: center; margin-top: 34px; font-family: var(--serif); font-style: italic; color: var(--gold-dark); }

/* ==================== VALUES (5-card) ==================== */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card {
  border: 1.5px solid var(--grey-300); border-radius: 16px; padding: 26px 16px; text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--white); }
.value-card .ar { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.value-card .en { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }

/* ==================== TAFAKKUR METHOD (7-step) ==================== */
.method-row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 40px 0 50px; }
.method-node { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; min-width: 90px; }
.method-node .circle {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy);
  font-family: var(--serif); transition: 0.25s ease;
}
.method-node:hover .circle { background: var(--navy); color: var(--gold); }
.method-node span { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey-500); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.method-card { background: var(--white); border: 1.5px solid var(--grey-300); border-radius: 16px; padding: 28px; }
.method-card h4 { margin-bottom: 10px; font-size: 1rem; }
.method-card p { font-size: 0.88rem; color: var(--grey-500); }

/* ==================== ROOTS / MASJID SECTION ==================== */
.roots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.roots-list { display: grid; gap: 16px; margin-top: 22px; }
.roots-list div { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; }
.roots-list .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--navy); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 800; margin-top: 2px; }
.roots-quote { background: var(--ivory-2); border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; padding: 26px 28px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--navy); }

/* ==================== CTA BAND ==================== */
.cta-band {
  background: var(--navy); border-radius: 28px; padding: 64px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute;
  background: radial-gradient(circle, rgba(212,175,55,0.25), transparent 70%);
  animation: floatY 10s ease-in-out infinite, morphBorder 13s ease-in-out infinite;
}
.cta-band::before { width: 260px; height: 260px; top: -100px; right: -80px; }
.cta-band::after { width: 180px; height: 180px; bottom: -80px; left: -60px; animation-delay: 2s, -6s; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 30px; position: relative; }
.cta-band .hero-actions { position: relative; margin-bottom: 0; }

/* ==================== PAGE HERO (inner pages, ivory) ==================== */
.page-hero { padding: 66px 0 56px; }
.breadcrumb { font-size: 0.8rem; color: var(--grey-500); margin-bottom: 14px; font-weight: 600; }
.breadcrumb span { color: var(--gold-dark); }
.page-hero h1 { font-size: 2.7rem; margin-bottom: 14px; max-width: 760px; }
.page-hero p.lede { font-size: 1.05rem; }

/* ==================== GENERIC CARD GRIDS ==================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.info-card { background: var(--white); border: 1.5px solid var(--grey-300); border-radius: 16px; padding: 28px; }
.info-card h4 { margin-bottom: 10px; }
.info-card p { font-size: 0.9rem; color: var(--grey-500); }
.info-card .num { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--serif); margin-bottom: 16px; }

.subject-card { background: var(--white); border: 1.5px solid var(--grey-300); border-radius: 16px; padding: 26px; text-align: center; transition: transform 0.2s ease, border-color 0.2s ease; }
.subject-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.subject-card .icn { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px; background: var(--ivory-2); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); font-weight: 700; }
.subject-card h4 { margin-bottom: 8px; font-size: 1rem; }
.subject-card p { font-size: 0.85rem; color: var(--grey-500); }

/* ==================== GOOGLE REVIEWS ==================== */
.reviews-badge {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin: -14px auto 40px; text-align: center;
}
.reviews-badge .stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 2px; }
.reviews-badge .score { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.reviews-badge a { font-size: 0.85rem; font-weight: 700; color: var(--gold-dark); }
.reviews-badge a:hover { color: var(--navy); text-decoration: underline; }

.reviews-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.review-card {
  background: var(--white); border: 1.5px solid var(--grey-300); border-radius: 18px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  flex: 1 1 300px; max-width: 360px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.review-card .stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.review-card p { font-size: 0.88rem; color: var(--charcoal); flex-grow: 1; }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; }
.review-card .avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ivory-2);
  color: var(--gold-dark); font-family: var(--serif); font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-card .who strong { display: block; font-size: 0.85rem; color: var(--navy); }
.review-card .who span { font-size: 0.72rem; color: var(--grey-500); }

/* ==================== TIMELINE (weekend structure etc.) ==================== */
.timeline { display: grid; gap: 22px; }
.timeline-item { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--grey-300); }
.timeline-item strong { color: var(--navy); font-family: var(--serif); }
.timeline-item p { font-size: 0.9rem; color: var(--grey-500); }

/* ==================== FAQ ACCORDION ==================== */
.faq-item { border-bottom: 1px solid var(--grey-300); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; cursor: pointer; font-weight: 600; color: var(--navy); font-family: var(--serif); font-size: 1.05rem; }
.faq-q .plus { font-size: 1.3rem; color: var(--gold-dark); transition: transform 0.25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { padding: 0 4px 22px; font-size: 0.92rem; color: var(--grey-500); }

/* ==================== SAFEGUARDING CALLOUT ==================== */
.safeguard-banner { background: var(--navy); border-radius: 20px; padding: 34px 38px; display: flex; align-items: center; gap: 24px; color: var(--white); }
.safeguard-banner .icn { width: 54px; height: 54px; border-radius: 50%; background: rgba(212,175,55,0.16); border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.4rem; flex-shrink: 0; }
.safeguard-banner h4 { color: var(--white); margin-bottom: 4px; }
.safeguard-banner p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin: 0; }

/* ==================== FORMS ==================== */
.form-wrap { background: var(--white); border: 1.5px solid var(--grey-300); border-radius: 22px; padding: 42px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--grey-300); border-radius: 10px;
  font-family: var(--sans); font-size: 0.92rem; color: var(--charcoal); background: var(--ivory);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; color: var(--grey-500); margin-bottom: 22px; }
.field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold-dark); }
.field .error { color: #b3423f; font-size: 0.76rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3423f; }
.field.invalid .error { display: block; }
.form-success { display: none; text-align: center; padding: 50px 20px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(212,175,55,0.16); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 18px; }

.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-tile { background: var(--white); border: 1.5px solid var(--grey-300); border-radius: 14px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.contact-tile .icn { width: 40px; height: 40px; border-radius: 10px; background: var(--ivory-2); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-tile h4 { font-size: 0.94rem; margin-bottom: 3px; }
.contact-tile p { font-size: 0.86rem; color: var(--grey-500); }
.map-panel { height: 260px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--ivory-2), var(--grey-300)); border: 1.5px solid var(--grey-300); }
.map-panel iframe { display: block; }

/* ==================== WHATSAPP LINK ==================== */
.whatsapp-link { display: inline-flex; align-items: center; gap: 7px; }
.whatsapp-link svg { width: 16px; height: 16px; flex-shrink: 0; fill: #25D366; }
.contact-tile .whatsapp-link svg { width: 18px; height: 18px; }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.68); padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand .name strong { color: var(--white); }
.footer-brand p { font-size: 0.86rem; margin: 16px 0 18px; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-grid h4 { color: var(--white); font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 11px; font-size: 0.86rem; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.78rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .hero-decor .morph-shape, .hero-decor .morph-fill, .hero-decor .morph-line, .hero-decor .crest-watermark,
  .hero-crest, .medallion::before, .medallion .ring, .medallion-crest, .orbit-dot,
  .cta-band::before, .cta-band::after, .blob-layer .b, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy h1, .hero-copy .lead, .hero-copy .meaning-line { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-copy .hero-actions, .hero-copy .hero-facts { justify-content: center; }
  .hero-visual { order: -1; }
  .medallion { width: 240px; height: 240px; }
  .medallion-crest-wrap { width: 88px; }
  .trust-grid, .family-grid, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .journey-stepper { grid-template-columns: repeat(2, 1fr); }
  .journey-stepper::before { display: none; }
  .compare-grid, .roots-grid, .grid-2, .grid-3, .method-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 84px; left: 0; right: 0; background: var(--ivory); flex-direction: column; padding: 24px; gap: 18px; box-shadow: var(--shadow-lg); z-index: 60; align-items: stretch; }
  .nav-item { width: 100%; }
  .nav-item .dropdown-trigger { width: 100%; justify-content: space-between; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    width: 100%; max-width: none; grid-template-columns: 1fr; padding: 10px 0 0 4px; gap: 10px;
    display: none;
  }
  .nav-item.open .nav-dropdown { display: grid; }
  .dropdown-item { padding: 8px 10px; }
  .trust-grid, .family-grid, .grid-4, .grid-5, .values-grid, .method-row { grid-template-columns: 1fr 1fr; }
  .method-row { gap: 20px 10px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .safeguard-banner { flex-direction: column; text-align: center; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}
