@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Instrument+Sans:wght@300;400;500;600;700&family=Noto+Naskh+Arabic:wght@400;600;700&display=swap');

/* --- Reset & Base Variables --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --emerald: hsl(145, 45%, 20%);
  --emerald-mid: hsl(145, 40%, 28%);
  --emerald-light: hsl(145, 30%, 40%);
  --emerald-pale: hsl(140, 25%, 96%);
  --emerald-trans: rgba(28, 74, 46, 0.06);
  
  --gold: hsl(38, 55%, 51%);
  --gold-deep: hsl(38, 60%, 40%);
  --gold-pale: hsl(38, 60%, 95%);
  --gold-glow: rgba(200, 151, 58, 0.2);
  
  --ivory: hsl(38, 25%, 94%);
  --cream: hsl(38, 30%, 98%);
  --sand: hsl(38, 25%, 88%);
  
  --ink: hsl(30, 10%, 8%);
  --ink-soft: hsl(30, 8%, 18%);
  --muted: hsl(30, 6%, 45%);
  --light-line: hsl(38, 20%, 85%);
  --white: #ffffff;
  
  /* System Colors */
  --success: hsl(145, 50%, 35%);
  --success-bg: hsl(145, 40%, 95%);
  --success-border: hsl(145, 30%, 85%);
  --error: hsl(5, 65%, 45%);
  --error-bg: hsl(5, 50%, 97%);
  --error-border: hsl(5, 40%, 90%);
  
  /* System Properties */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(28, 74, 46, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  background-color: var(--cream);
  color: var(--ink-soft);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: 72px;
}

/* --- Selection --- */
::selection {
  background-color: var(--emerald-trans);
  color: var(--emerald);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 5px;
  border: 2px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* --- Nav bar --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 72px;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(221, 213, 192, 0.5);
  transition: var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.nav-logo-img:hover {
  transform: rotate(5deg) scale(1.05);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--gold-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(28, 74, 46, 0.05);
}

.nav-links a.active {
  color: var(--emerald);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--emerald);
  border-radius: 2px;
}

.nav-cta {
  background: var(--emerald) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(28, 74, 46, 0.15);
  margin-left: 10px;
}

.nav-cta:hover {
  background: var(--emerald-mid) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 74, 46, 0.25);
}

.nav-cta.active::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 26px;
  color: var(--ink);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* --- Layout System --- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--emerald);
}

h2.sh {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

h2.sh em {
  font-style: italic;
  font-weight: 400;
  color: var(--emerald);
}

.sec-p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 30px;
}

.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald);
  color: var(--white);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(28, 74, 46, 0.2);
}

.btn-p:hover {
  background: var(--emerald-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(28, 74, 46, 0.3);
}

.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1.5px solid var(--light-line);
  transition: var(--transition-smooth);
}

.btn-s:hover {
  border-color: var(--gold);
  background: var(--cream);
  transform: translateY(-2px);
}

/* --- Hero Inner Page --- */
.ih {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.ih::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 151, 58, 0.15), transparent 70%);
  pointer-events: none;
}

.ih-eye {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-pale);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.ih-eye::before, .ih-eye::after {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold-pale);
}

h1.ihh {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

h1.ihh em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-pale);
}

.ih-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Body --- */
.cb {
  padding: 80px 0;
}

.cw {
  max-width: 800px;
  margin: 0 auto;
}

.cw h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.5px;
}

.cw h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
}

.cw p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 20px;
}

.cw ul, .cw ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.cw li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 8px;
}

.cw strong {
  color: var(--ink);
  font-weight: 700;
}

/* Blocks */
.qb {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 30px;
  margin: 36px 0;
  box-shadow: var(--shadow-sm);
}

.qb p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}

.qb cite {
  font-size: 12px;
  color: var(--gold-deep);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: 12px;
}

.ib {
  background: var(--emerald-pale);
  border: 1px solid rgba(28, 74, 46, 0.15);
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 28px;
  margin: 32px 0;
}

.ib p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}

/* Custom Table */
.ptable {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-line);
}

.ptable th {
  background: var(--emerald);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ptable td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-line);
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--white);
}

.ptable tr:last-child td {
  border-bottom: none;
}

.ptable tr:nth-child(even) td {
  background: var(--cream);
}

/* Call to Action Bar */
.cta-bar {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 64px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.cta-bar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-bar p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 100px;
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  background: var(--white);
  color: var(--emerald);
  transform: translateY(-2px);
}

/* --- Steps / Timeline (Standard) --- */
.sl {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.step-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(28, 74, 46, 0.15);
}

.step-b {
  flex-grow: 1;
}

.step-b h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-b p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 !important;
  line-height: 1.65;
}

.step-ar {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 20px;
  color: var(--gold-deep);
  display: block;
  margin-top: 10px;
  line-height: 1.8;
}

/* --- Interactive Stepper Component --- */
.interactive-stepper {
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 36px 0;
  box-shadow: var(--shadow-md);
}

.stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--light-line);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.stepper-progress {
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 1px;
}

.stepper-indicator-bar {
  display: flex;
  gap: 8px;
  flex-grow: 1;
  max-width: 250px;
  margin-left: 20px;
  height: 6px;
  background: var(--ivory);
  border-radius: 10px;
  overflow: hidden;
}

.stepper-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stepper-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: none; /* Firefox */
}

.stepper-tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.stepper-tab-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--light-line);
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.stepper-tab-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.stepper-tab-btn.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.stepper-content-area {
  min-height: 240px;
  position: relative;
}

.stepper-slide {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.stepper-slide.active {
  display: block;
}

.stepper-slide-num {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-deep);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.stepper-slide-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.stepper-slide-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}

.stepper-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  border-top: 1px solid var(--light-line);
  padding-top: 20px;
}

.stepper-btn {
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--light-line);
  background: var(--white);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.stepper-btn:hover:not(:disabled) {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-pale);
}

.stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper-btn-next {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.stepper-btn-next:hover:not(:disabled) {
  background: var(--emerald-mid);
  color: var(--white);
  border-color: var(--emerald-mid);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Hero Homepage Upgrade --- */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
}

.hero-geo {
  position: absolute;
  right: -50px;
  top: 10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(200, 151, 58, 0.15);
  background: radial-gradient(circle at 60% 40%, rgba(200, 151, 58, 0.06), transparent 70%);
  animation: geopulse 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-geo::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(28, 74, 46, 0.08);
}

.hero-geo::after {
  content: '';
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  border: 1px solid rgba(200, 151, 58, 0.08);
}

@keyframes geopulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(3deg); }
}

.hero-ar {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 16px;
  color: var(--gold-deep);
  margin-bottom: 24px;
  opacity: 0.85;
  font-weight: 600;
}

.hero-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 20px;
}

.hero-eye::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--emerald);
}

h1.hh {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 24px;
  letter-spacing: -1.8px;
}

h1.hh em {
  font-style: italic;
  font-weight: 400;
  color: var(--emerald);
}

.hero-sub {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.hs {
  padding: 0 32px;
  border-right: 1px solid var(--light-line);
}

.hs:first-child {
  padding-left: 0;
}

.hs:last-child {
  border-right: none;
}

.hs-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.hs-lab {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* --- Sections --- */
.pillars-sec, .blog-sec, .quiz-sec, .stories-sec, .comm-sec {
  padding: 96px 0;
}

/* --- Pillars Grid --- */
.pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pc {
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.pc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.pc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pc:hover::after {
  opacity: 1;
}

.pc-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}

.pc-ar {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 20px;
  color: var(--gold-deep);
  align-self: flex-end;
  margin-bottom: 8px;
}

.pc-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.pc-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pc-arr {
  margin-top: auto;
  align-self: flex-start;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--emerald-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--emerald);
  transition: var(--transition-smooth);
}

.pc:hover .pc-arr {
  background: var(--emerald);
  color: var(--white);
  transform: translateX(4px);
}

/* Accent Card (Dark Version) */
.pc-dk {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  border-color: transparent;
}

.pc-dk:hover {
  border-color: transparent;
}

.pc-dk .pc-num {
  color: rgba(255, 255, 255, 0.08);
}

.pc-dk .pc-name {
  color: var(--white);
}

.pc-dk .pc-sub {
  color: rgba(255, 255, 255, 0.6);
}

.pc-dk .pc-arr {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.pc-dk:hover .pc-arr {
  background: var(--white);
  color: var(--emerald);
}

/* --- Shahada Highlight Box --- */
.shahada-sec {
  padding: 0 0 96px 0;
}

.sh-box {
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--gold-pale), #f5ebd5);
  border: 1px solid rgba(200, 151, 58, 0.35);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sh-box::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 24px solid rgba(200, 151, 58, 0.05);
  pointer-events: none;
}

.sh-eye {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sh-eye::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--gold-deep);
}

.sh-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.sh-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 32px;
}

.sh-note {
  font-size: 13.5px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--emerald);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 35px rgba(28, 74, 46, 0.25);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  border: 4px solid var(--white);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.sh-badge .b1 {
  font-size: 32px;
  color: var(--white);
  line-height: 1;
}

.sh-badge .b2 {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.sh-badge .b3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.sh-badge .b4 {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* --- Quiz Grid hub --- */
.quiz-sec {
  background: var(--ivory);
  border-top: 1px solid rgba(221, 213, 192, 0.5);
  border-bottom: 1px solid rgba(221, 213, 192, 0.5);
}

.qg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.qc {
  background: var(--white);
  border: 1.5px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.qc:hover {
  transform: translateY(-6px);
  border-color: var(--emerald);
  box-shadow: var(--shadow-lg);
}

.qi {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.qi-g { background: var(--emerald-pale); color: var(--emerald); }
.qi-go { background: var(--gold-pale); color: var(--gold-deep); }
.qi-i { background: var(--cream); color: var(--ink); }

.qc-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.qc-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.qc-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emerald);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.qc:hover .qc-cta {
  color: var(--emerald-mid);
  gap: 10px;
}

/* --- Revert Stories Section --- */
.sg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.sc {
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.sc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.sc-q {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  line-height: 1;
  color: var(--sand);
  margin-bottom: -10px;
  margin-top: -10px;
  display: block;
}

.sc-text {
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 28px;
  flex-grow: 1;
}

.sc-auth {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--cream);
  padding-top: 18px;
}

.sc-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--emerald-trans);
}

.sc-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.sc-org {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* --- Community Section --- */
.comm-sec {
  background: var(--emerald);
  color: var(--white);
}

.comm-in {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.comm-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.comm-h em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-pale);
}

.comm-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 36px;
}

.chans {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chan {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.chan:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  transform: translateX(6px);
}

.chan-ico {
  font-size: 22px;
}

.chan-n {
  font-weight: 600;
  font-size: 15px;
}

.chan-s {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* AMAU Academy Box */
.amau-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.amau-lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.amau-h {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.amau-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 24px;
}

.amau-lnk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 100px;
  transition: var(--transition-smooth);
}

.amau-lnk:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

/* --- FAQ Collapsible Accordions --- */
.faq-sec {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--light-line);
}

.faq-grid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--emerald);
}

.faq-q {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.faq-q::after {
  content: '+';
  font-family: 'Instrument Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.faq-item.open {
  border-color: var(--emerald);
  box-shadow: var(--shadow-sm);
}

.faq-item.open .faq-q::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.open .faq-a {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
}

.faq-a-inner {
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* --- Testimonial Slider System --- */
.testimonial-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 48px;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-slide {
  min-width: 100%;
  padding: 10px 15px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: var(--emerald);
  transform: scale(1.3);
}

/* --- Blog Page Grid --- */
.bg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.bc {
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.bc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.bc-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.bc-tag::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--emerald);
}

.bc-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.bc-exc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.bc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--cream);
}

.bc-read {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emerald);
}

.bc-date {
  font-size: 12.5px;
  color: var(--muted);
}

/* --- Zakat Calculator Card --- */
.calc-box {
  background: var(--white);
  border: 1.5px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}

.calc-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--cream);
  padding-bottom: 12px;
}

.cr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.cr label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}

.cr input {
  padding: 14px 18px;
  border: 1.5px solid var(--light-line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: var(--transition-smooth);
  background: var(--cream);
}

.cr input:focus {
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(28, 74, 46, 0.08);
}

.calc-res {
  background: var(--emerald-pale);
  border: 1px solid rgba(28, 74, 46, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.calc-res .amt {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}

.calc-res p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* --- Contact & Session Booking --- */
.contact-wrap {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding: 80px 32px;
}

.cf {
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.cf h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.cf-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.fg label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.fg input, .fg textarea, .fg select {
  padding: 14px 18px;
  border: 1.5px solid var(--light-line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: var(--transition-smooth);
  background: var(--cream);
  width: 100%;
}

.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(28, 74, 46, 0.08);
}

.fg textarea {
  min-height: 140px;
  resize: vertical;
}

.fg select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b6055' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--emerald);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(28, 74, 46, 0.15);
}

.submit-btn:hover:not(:disabled) {
  background: var(--emerald-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 74, 46, 0.25);
}

.submit-btn:disabled {
  background: var(--muted);
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.form-success {
  display: none;
  padding: 18px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-md);
  color: var(--success);
  font-size: 14.5px;
  margin-top: 18px;
  line-height: 1.6;
  animation: fadeIn 0.4s ease forwards;
}

.form-error {
  display: none;
  padding: 16px;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: var(--radius-md);
  color: var(--error);
  font-size: 14.5px;
  margin-top: 18px;
  animation: fadeIn 0.4s ease forwards;
}

.ci-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ci {
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.ci:hover {
  transform: translateY(-2px);
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}

.ci h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.ci p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.ci a {
  color: var(--emerald);
  font-weight: 700;
  text-decoration: none;
}

.ci-green {
  background: var(--emerald-pale);
  border-color: rgba(28, 74, 46, 0.15);
}

.ci-green h4 {
  color: var(--emerald);
}

/* --- Interactive Quiz Pages --- */
.quiz-hero {
  background: var(--emerald);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.quiz-hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 151, 58, 0.12), transparent 70%);
  pointer-events: none;
}

.qh-eye {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-pale);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.qh-eye::before, .qh-eye::after {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold-pale);
}

h1.qh {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

h1.qh em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.qh-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

.quiz-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px;
}

/* Quiz Progress */
.progress-bar {
  background: var(--sand);
  border-radius: 100px;
  height: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.progress-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

/* Question Card */
.q-card {
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.q-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

.q-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 28px;
}

.q-arabic {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 26px;
  color: var(--gold-deep);
  display: block;
  text-align: center;
  margin: -10px 0 24px;
  padding: 20px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  line-height: 1.8;
  border: 1px dashed rgba(200, 151, 58, 0.3);
}

.q-root {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 36px;
  color: var(--gold-deep);
  text-align: center;
  display: block;
  padding: 20px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  letter-spacing: 6px;
  border: 1px dashed rgba(200, 151, 58, 0.3);
}

.q-transliteration {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  margin-top: -12px;
  margin-bottom: 24px;
}

.q-hint {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
  background: var(--gold-pale);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

/* Quiz Option Buttons */
.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--light-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--white);
  transition: var(--transition-smooth);
  text-align: left;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-soft);
  width: 100%;
}

.opt:hover:not([disabled]) {
  border-color: var(--emerald);
  background: var(--emerald-trans);
  transform: translateX(4px);
}

.opt-letter {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--light-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.opt:hover .opt-letter {
  border-color: var(--emerald);
  color: var(--emerald);
}

.opt.correct {
  border-color: var(--success);
  background: var(--success-bg);
}

.opt.correct .opt-letter {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.opt.wrong {
  border-color: var(--error);
  background: var(--error-bg);
}

.opt.wrong .opt-letter {
  background: var(--error);
  border-color: var(--error);
  color: var(--white);
}

.opt.missed {
  border-color: var(--success);
  background: var(--success-bg);
  opacity: 0.75;
}

/* Feedback Box */
.feedback {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.7;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.feedback.correct {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
}

.feedback.wrong {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error);
}

/* Next / Action Button */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.btn-next {
  background: var(--emerald);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: none;
  box-shadow: 0 4px 15px rgba(28, 74, 46, 0.15);
}

.btn-next:hover {
  background: var(--emerald-mid);
  transform: translateY(-1px);
}

/* Results Window */
.results {
  display: none;
  background: var(--white);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.5s ease forwards;
}

.results-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.results-score {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}

.results-label {
  font-size: 15px;
  color: var(--muted);
  margin: 8px 0 28px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.results-msg {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 36px;
  line-height: 1.5;
  padding: 0 16px;
}

.results-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-retry {
  background: var(--emerald);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-retry:hover {
  background: var(--emerald-mid);
  transform: translateY(-2px);
}

.score-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.sb-item {
  background: var(--cream);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.sb-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.sb-lab {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Email Signup Band --- */
.email-band {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.email-band::after {
  content: '☽';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 180px;
  opacity: 0.04;
  color: var(--white);
  line-height: 1;
  pointer-events: none;
}

.eb-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  padding: 0 32px;
}

.eb-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.eb-h em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-pale);
}

.eb-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 24px;
}

.eb-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}

.eb-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--gold);
}

.eb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eb-row {
  display: flex;
  gap: 12px;
}

.eb-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: var(--transition-smooth);
}

.eb-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.eb-form input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.eb-form button {
  padding: 16px 28px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(200, 151, 58, 0.2);
}

.eb-form button:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 151, 58, 0.3);
}

.eb-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

.eb-success {
  display: none;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.95);
  font-size: 14.5px;
  line-height: 1.6;
  animation: fadeIn 0.4s ease forwards;
}

/* --- Footer --- */
footer {
  background: var(--ink);
  padding: 88px 0 48px;
  color: rgba(255, 255, 255, 0.7);
}

.ft {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: start;
  padding: 0 32px;
}

.fb {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.ft-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  max-width: 240px;
}

.fc h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.fc a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.fc a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.fbot {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-left: 32px;
  padding-right: 32px;
}

.fcopy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.3);
}

.fmoon {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  nav {
    padding: 0 4%;
  }
  .wrap, .contact-wrap, .comm-in, .ft, .eb-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .pg, .qg, .sg {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }
  .ft > div:first-child {
    grid-column: span 3;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }
  nav {
    height: 64px;
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--light-line);
    padding: 24px 20px;
    gap: 12px;
    z-index: 999;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .nav-links.open .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }
  
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  h1.hh {
    font-size: clamp(34px, 8vw, 48px);
    letter-spacing: -1px;
  }
  .hero-sub {
    margin-bottom: 30px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hs {
    padding: 0;
    border-right: none;
  }
  
  .pg, .qg, .sg, .bg, .contact-wrap, .comm-in, .ft, .eb-inner {
    grid-template-columns: 1fr;
  }
  
  .ft > div:first-child {
    grid-column: span 1;
  }
  
  .sh-box {
    grid-template-columns: 1fr;
    padding: 44px 28px;
    gap: 32px;
  }
  .sh-badge {
    display: none;
  }
  
  .eb-row {
    flex-direction: column;
  }
  .eb-inner {
    gap: 40px;
  }
  
  .interactive-stepper {
    padding: 20px;
  }
  .stepper-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .stepper-indicator-bar {
    margin-left: 0;
    width: 100%;
    max-width: none;
  }
  .stepper-slide-title {
    font-size: 20px;
  }
  
  .cf {
    padding: 28px 20px;
  }
  .results {
    padding: 40px 20px;
  }
  .score-breakdown {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
