@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden; /* prevent horizontal scroll on mobile */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 250px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  padding-top: 92px; /* contact bar + navbar height */
}

main {
  padding-top: 0;
}

body::before {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: 0;
}

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
  padding: 0 1rem;
}

.section {
  padding: clamp(3.2rem, 8vw, 5.4rem) 0;
  position: relative;
}

.section > .container {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(159, 127, 71, 0.16);
  border-radius: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 24px rgba(122, 92, 46, 0.06), 0 0 0 1px rgba(255,255,255,0.5) inset;
}

:root {
  --glass-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(249, 246, 242, 0.62));
  --glass-border: 1px solid rgba(159, 127, 71, 0.24);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}

.section-intro {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-5);
  max-width: 70ch;
}

/* Mobile Menu Toggle — hidden on desktop */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 16px rgba(122, 92, 46, 0.15);
}

.hamburger {
  display: block;
  width: 22px;
  height: 14px;
  position: relative;
  margin: auto;
}

.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-dark);
  position: absolute;
  transition: all 300ms ease;
}

.hamburger::before {
  top: 0;
  transform: none;
}

.hamburger::after {
  bottom: 0;
  transform: none;
}

/* Middle line via box-shadow */
.hamburger {
  box-shadow: none;
}

.mobile-menu-toggle .hamburger {
  position: relative;
}

.mobile-menu-toggle .hamburger::before {
  top: 0;
  box-shadow: 0 6px 0 var(--text-dark); /* middle line */
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
  box-shadow: none;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Fixed top bar wrapper: contact + navbar, zero gap ── */
.fixed-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fixed-top-bar > * {
  margin: 0;
}

/* ── Contact bar — inside fixed wrapper ── */
.top-contact-bar {
  background: var(--color-bg);
  display: block;
}

.top-contact-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.35rem 1rem;
  width: 100%;
}

/* ── Floating WhatsApp button ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fa855);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 240ms ease, box-shadow 240ms ease;
  text-decoration: none;
}

/* Hide mobile navbar elements on larger screens */
.mobile-navbar,
.mob-contact {
  display: none;
}

/* Desktop navigation - hidden on mobile */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile navigation - hidden on desktop */
#mobileNav {
  display: none;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  /* Mobile Navigation - positioned as direct child of body */
  #mobileNav {
    display: block;
    position: fixed;
    right: 1rem;
    top: 100px;
    z-index: 999;
    background: var(--color-bg);
    width: auto;
    max-width: 350px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease;
    border: 1px solid rgba(159, 127, 71, 0.18);
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 8px 24px rgba(122, 92, 46, 0.12);
  }

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

/* Pulse ring animation */
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

  /* Hide desktop fixed-top-bar entirely */
  .fixed-top-bar { visibility: hidden; pointer-events: none; }

  /* Hide desktop logo inside header */
  .site-logo-outside { display: none !important; }

  /* Show mobile navbar */
  .mob-bar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--color-bg);
    box-shadow: 0 2px 12px rgba(122, 92, 46, 0.08);
  }

  /* Row 1: Contact bar */
  .mob-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.25rem 1rem;
    border-bottom: 1px solid rgba(159, 127, 71, 0.12);
  }

  .mob-contact .contact-pill { font-size: 0.72rem; }

  /* Clean Mobile Navbar */
  .mobile-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: var(--color-bg);
  }

  /* Hide desktop navbar on small screens */
  .fixed-top-bar { display: none; }
  .mob-contact { display: flex; }
  .mobile-navbar { display: flex; }

  .mobile-logo img {
    height: 60px;
    width: auto;
    display: block;
  }

  .mobile-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(159, 127, 71, 0.5);
    cursor: pointer;
    padding: 0;
    z-index: 100;
    position: relative;
  }

  .mobile-fee-btn {
    background: var(--gradient-gold);
    color: #fff8ee;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(122, 92, 46, 0.2);
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(0.6rem, 2.2vw, 0.75rem);
    padding: 0.4rem clamp(0.4rem, 2vw, 0.8rem);
    max-width: fit-content;
  }

  body { padding-top: 100px; }

  #mobileNav.mobile-active {
    max-height: 100vh;
    opacity: 1;
    pointer-events: all;
    overflow-y: auto;
  }

  /* Menu items — vertical layout for small screens */
  #mobileNav .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
    padding: 0.5rem;
  }

  #mobileNav .menu a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.8rem;
    border: none;
    font-size: 0.85rem;
    color: var(--text-dark);
    white-space: nowrap;
    background: transparent;
    border-radius: 6px;
    transition: background 200ms ease, color 200ms ease;
  }

  #mobileNav .menu a:hover {
    background: rgba(230, 201, 138, 0.12);
    color: var(--color-primary);
  }

  #mobileNav .nav-whatsapp-btn {
    width: 100% !important;
    justify-content: center !important;
    margin: 0.25rem 0 0 0 !important;
    padding: 0.6rem 0.8rem !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    display: block;
  }

}

/* ── Logo — absolute inside header-row, left-aligned ── */
.site-logo-outside {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  position: absolute !important;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%) !important;
  z-index: 2;
  text-decoration: none;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-logo-outside img {
  height: 85px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(122, 92, 46, 0.22));
}

/* Header row: logo left, nav pill centred */
.header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative !important;
  padding: 0.3rem 0;
  margin: 0;
}

/* Hide old helpers */
.header-contact,
.header-left,
.site-header-wrap { display: contents; }

.contact-links {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.contact-links .contact-pill + .contact-pill::before {
  content: "";
  width: 1px;
  height: 15px;
  background: rgba(159, 127, 71, 0.35);
  display: inline-block;
  margin-right: 0.05rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 0.1rem 0.1rem;
  transition: color 180ms ease, text-shadow 180ms ease;
  letter-spacing: 0.01em;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-pill svg {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
  flex: 0 0 auto;
  opacity: 0.95;
}

.contact-pill span {
  line-height: 1;
}

.contact-pill:hover {
  color: var(--color-primary);
  text-shadow: 0 0 14px rgba(200, 169, 106, 0.22);
}

.site-header {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 40;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  margin-top: -8px;
  transition: all 200ms ease;
}

.site-header > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 1rem;
}

.nav {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-pill {
  width: fit-content;
  max-width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 127, 71, 0.42);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(249, 246, 242, 0.44));
  box-shadow: 0 16px 36px rgba(122, 92, 46, 0.16), 0 0 0 1px rgba(230, 201, 138, 0.2) inset,
    0 0 24px rgba(200, 169, 106, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: static;
  z-index: 31;
  transition: all 200ms ease;
}

.nav-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.54rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #1fa855 0%, #25d366 58%, #52e18b 100%);
  color: #051408;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
  font-size: 0.95rem;
}

.nav-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.34);
}

.nav-whatsapp-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  transition: all 200ms ease;
}

.menu a {
  color: var(--text-soft);
  font-weight: 500;
  transition: color 220ms ease, transform 220ms ease;
  padding: 0.45rem 0.72rem;
  border-radius: 0;
  font-size: 0.93rem;
  position: relative;
  white-space: nowrap;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.12rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms ease;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--text-dark);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 220ms ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #fff8ee;
  box-shadow: 0 10px 24px rgba(122, 92, 46, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(122, 92, 46, 0.34);
}

.btn-outline {
  border-color: rgba(159, 127, 71, 0.35);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(230, 201, 138, 0.2);
}

/* ── Hero ── */
.hero {
  background: var(--color-bg);
  border-bottom: 1px solid rgba(159, 127, 71, 0.12);
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Clean ambient glow — no pattern, just warmth */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.13) 0%, rgba(230, 201, 138, 0.06) 45%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(159, 127, 71, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem);
  width: min(100% - 2rem, 780px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 100%;
}

/* Arabic Bismillah */
.hero-bismillah {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  direction: rtl;
  line-height: 1.7;
  opacity: 0.9;
}

/* Ornamental divider */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 2rem;
  width: 160px;
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(159,127,71,0.4));
}

.hero-divider::after {
  background: linear-gradient(to left, transparent, rgba(159,127,71,0.4));
}

.hero-divider-diamond {
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.65;
}

.eyebrow {
  display: inline-block;
  border: 1px solid rgba(159, 127, 71, 0.3);
  background: rgba(230, 201, 138, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.08;
  text-wrap: balance;
  color: var(--text-dark);
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin: 0 auto 2.6rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

/* Stats — minimal glass strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(159, 127, 71, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(159, 127, 71, 0.08);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.stat-item {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.1rem 0.8rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.stat-item span {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.hero-visual { display: none; }

/* ── Quran Verse Banner — section-sized dark statement ── */
.verse-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 8vw, 5.4rem) 0;
}

.verse-banner-bg {
  position: absolute;
  inset: 0;
  background: #110d07;
  border-radius: 1.4rem;
}

/* Top edge — sharp gold hairline */
.verse-banner-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  border-radius: 1.4rem 1.4rem 0 0;
  background: linear-gradient(90deg, transparent 0%, rgba(200,169,106,0.6) 30%, rgba(230,201,138,0.9) 50%, rgba(200,169,106,0.6) 70%, transparent 100%);
}

/* Bottom edge */
.verse-banner-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  border-radius: 0 0 1.4rem 1.4rem;
  background: linear-gradient(90deg, transparent 0%, rgba(200,169,106,0.6) 30%, rgba(230,201,138,0.9) 50%, rgba(200,169,106,0.6) 70%, transparent 100%);
}

.verse-banner-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--container-max));
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  background: #110d07;
  border-radius: 1.4rem;
  border: 1px solid rgba(200, 169, 106, 0.14);
  box-shadow: 0 2px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(200,169,106,0.08) inset;
}

/* Surah label — top eyebrow */
.verse-source {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 169, 106, 0.5);
  margin-bottom: 2rem;
  order: -1;
}

/* Arabic — the hero of this section */
.verse-arabic {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.8vw, 2.6rem);
  color: rgba(250, 242, 225, 0.96);
  line-height: 2;
  direction: rtl;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* Gold on مُبَارَكٌ */
.verse-arabic span {
  background: linear-gradient(135deg, #e6c98a 0%, #c8a96a 50%, #9f7f47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Horizontal rule */
.verse-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem auto;
  width: 100%;
  max-width: 400px;
}

.verse-sep::before,
.verse-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(200, 169, 106, 0.18);
}

.verse-sep-dot {
  width: 3px;
  height: 3px;
  background: rgba(200, 169, 106, 0.45);
  border-radius: 50%;
  flex-shrink: 0;
}

/* English translation */
.verse-translation {
  font-size: clamp(0.88rem, 1.7vw, 0.98rem);
  color: rgba(200, 185, 160, 0.5);
  font-style: italic;
  line-height: 1.85;
  max-width: 56ch;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* Hide old ornament */
.verse-ornament { display: none; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy,
.about-image {
  position: relative;
}

/* Stats row inside about */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(159, 127, 71, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(159, 127, 71, 0.08);
  margin-top: 1.8rem;
}

.about-stat {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem 0.8rem;
  text-align: center;
}

.about-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.about-stat span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── About image ── */
.about-image {
  position: relative;
}

.about-image-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 360px;
  box-shadow:
    0 1px 2px rgba(122, 92, 46, 0.04),
    0 8px 24px rgba(122, 92, 46, 0.1),
    0 32px 64px rgba(122, 92, 46, 0.12);
  transition: box-shadow 500ms ease, transform 500ms ease;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: saturate(0.92) contrast(1.04);
  transition: filter 500ms ease;
}

.about-image-wrap:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(122, 92, 46, 0.06),
    0 16px 36px rgba(122, 92, 46, 0.14),
    0 48px 80px rgba(122, 92, 46, 0.16);
}

.about-image-wrap:hover img {
  filter: saturate(1.0) contrast(1.05);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(159, 127, 71, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all 240ms ease;
}

.card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text);
}

.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card li {
  margin: 0.65rem 0;
  padding-left: 1.4rem;
  position: relative;
  color: var(--color-text-muted);
}

.card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(122, 92, 46, 0.1);
  border-color: rgba(159, 127, 71, 0.3);
  background: rgba(255, 255, 255, 0.38);
}

.pricing-card h3 {
  font-size: 1.2rem;
}

.mini-label {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.highlight {
  position: relative;
  z-index: 2;
}

.highlight h3 {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.highlight ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlight li {
  margin: 0.8rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--color-text-muted);
}

.highlight li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.course-item {
  background: rgba(230, 201, 138, 0.1);
  border: 1px solid rgba(159, 127, 71, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  text-align: center;
  color: var(--color-text);
  font-weight: 500;
  transition: all 200ms ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.course-item:hover {
  background: rgba(230, 201, 138, 0.2);
  border-color: rgba(159, 127, 71, 0.4);
  transform: translateY(-2px);
}

/* ── Journey / Start Section ── */
.journey-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.journey-header .section-title {
  margin-bottom: 0.6rem;
}

.journey-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.journey-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(159, 127, 71, 0.18);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 380ms ease;
}

.journey-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(122, 92, 46, 0.1);
}

.journey-card-inner {
  padding: 2rem 1.8rem;
  border-top: 2px solid rgba(200, 169, 106, 0.45);
}

.journey-glyph {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  opacity: 0.45;
  margin-bottom: 1.1rem;
  line-height: 1;
  direction: rtl;
}

.journey-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 0 0 0.65rem;
}

.journey-card p {
  font-size: 0.91rem;
  color: var(--color-text-muted);
  line-height: 1.72;
  margin: 0;
}

.journey-step,
.journey-icon { display: none; }

/* ── Why Join Section — full-width text only ── */
.why-join-section { background: transparent; }


.why-join-top {
  margin-bottom: 1.8rem;
  text-align: center;
}

.why-join-top .section-title {
  margin-bottom: 0;
}

.why-join-top .section-title em {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-join-text {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
}

.why-join-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin: 0 0 0.9rem;
}

.why-join-cta {
  margin-top: 1.8rem;
  display: inline-flex;
}

/* hide old two-col layout */
.why-join-body,
.why-join-grid,
.why-join-copy,
.why-join-divider,
.why-join-features,
.why-join-pillars,
.why-pillar,
.why-pillar-num { display: none; }

/* ── Feature Band — Features + Courses ── */
.feature-band { background: transparent; }

.fb-block {
  margin-bottom: 0;
}

.fb-heading {
  margin-bottom: 2rem;
}

.fb-heading .section-title {
  margin-bottom: 0;
}

.fb-heading .eyebrow {
  margin-bottom: 0.6rem;
}

/* Gold hairline divider between features and courses */
.fb-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,106,0.35) 30%, rgba(200,169,106,0.35) 70%, transparent);
  margin: 3rem 0;
}

/* ── Features — standalone marquee ticker ── */
.features-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  overflow: hidden;
  background: transparent;
}

.features-section-heading {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.features-section-heading .section-title {
  margin: 0;
}

/* Mask edges so items fade in/out */
.features-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.features-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: featureScroll 28s linear infinite;
}

.features-track:hover {
  animation-play-state: paused;
}

@keyframes featureScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ft-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 2rem;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-soft);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 300ms ease;
}

.ft-item:hover {
  color: var(--text-dark);
}

/* Gold diamond separator */
.ft-dot {
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ── Courses Section ── */
.courses-section { background: transparent; }

.courses-heading {
  margin-bottom: 2.4rem;
}

.courses-heading .section-title {
  margin-bottom: 0;
}

.courses-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.course-card {
  position: relative;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(159, 127, 71, 0.16);
  border-radius: 1.1rem;
  overflow: hidden;
  cursor: default;
  transition: transform 380ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 380ms ease,
              border-color 380ms ease,
              background 380ms ease;
}

.course-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(200, 169, 106, 0.32);
  box-shadow: 0 16px 40px rgba(122, 92, 46, 0.1);
}

/* Gold top line — always visible, brightens on hover */
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0.4;
  transition: opacity 380ms ease;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card-inner {
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card-top {
  position: relative;
  margin-bottom: 0.9rem;
}

/* Arabic watermark — top-right, large, faint */
.course-card-ar {
  position: absolute;
  top: -0.6rem;
  right: -0.4rem;
  font-family: var(--font-heading);
  font-size: 3.8rem;
  color: rgba(200, 169, 106, 0.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  direction: rtl;
  transition: color 380ms ease;
}

.course-card:hover .course-card-ar {
  color: rgba(200, 169, 106, 0.18);
}

.course-card-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  position: relative;
  z-index: 1;
  margin: 0;
}

.course-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1.2rem;
  flex: 1;
}

/* Animated underline link — always visible */
.course-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 1;
  transform: translateX(0);
  transition: color 200ms ease;
  font-family: var(--font-body);
}

.course-card-link:hover {
  color: var(--gold-dark);
}

/* Staggered reveal */
.courses-showcase .course-card:nth-child(1) { animation-delay: 0ms; }
.courses-showcase .course-card:nth-child(2) { animation-delay: 80ms; }
.courses-showcase .course-card:nth-child(3) { animation-delay: 160ms; }
.courses-showcase .course-card:nth-child(4) { animation-delay: 240ms; }
.courses-showcase .course-card:nth-child(5) { animation-delay: 320ms; }
.courses-showcase .course-card:nth-child(6) { animation-delay: 400ms; }

/* hide old elements */
.feature-band, .fb-block, .fb-heading, .fb-divider,
.features-grid, .feature-tile, .feature-tile-icon, .feature-tile-text,
.split, .highlight, .courses, .course-item,
.course-card-front, .course-card-back, .course-card-hint { display: none; }

.feature-band {
  background: transparent;
}

.cta-section {
  background: transparent;
}

.cta-box {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(159, 127, 71, 0.2);
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 24px rgba(122, 92, 46, 0.06), 0 0 0 1px rgba(255,255,255,0.45) inset;
}

.cta-box h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.cta-box p {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.site-footer {
  background: linear-gradient(135deg, rgba(245, 239, 232, 0.8), rgba(249, 246, 242, 0.6));
  border-top: 1px solid rgba(159, 127, 71, 0.2);
  color: var(--color-text-muted);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-section h5 {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-logo h3 {
  margin: 0;
  font-size: 1.3rem;
}

.footer-description {
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.contact-item:hover {
  color: var(--color-primary);
}

.contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 200ms ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(159, 127, 71, 0.2);
  color: var(--color-primary);
  text-decoration: none;
  overflow: hidden;
  transition: all 200ms ease;
}

.social-links a:hover {
  background: var(--gradient-gold);
  color: #fff8ee;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122, 92, 46, 0.25);
}

.social-links i {
  font-size: 18px;
  line-height: 1;
}

.footer-cta {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(159, 127, 71, 0.15);
  text-align: center;
}

.footer-cta h5 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer-cta .btn {
  width: 100%;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid rgba(159, 127, 71, 0.15);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-bottom-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 200ms ease;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .social-links a {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .social-links i {
    font-size: 16px !important;
  }
}

/* ── Course Modal ── */
.course-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 13, 5, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 320ms ease;
}

.course-modal-overlay.is-open {
  opacity: 1;
}

.course-modal-overlay[hidden] {
  display: none;
}

.course-modal {
  position: relative;
  background: var(--color-bg);
  border: 1px solid rgba(159, 127, 71, 0.22);
  border-radius: 1.4rem;
  max-width: 520px;
  width: 100%;
  padding: 2.8rem 2.4rem 2.4rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1);
}

.course-modal-overlay.is-open .course-modal {
  transform: translateY(0) scale(1);
}

.course-modal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
}

.course-modal-ar {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 8rem;
  color: rgba(200, 169, 106, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  direction: rtl;
}

.course-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(159, 127, 71, 0.2);
  background: rgba(255,255,255,0.5);
  color: var(--text-soft);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, color 200ms ease;
}

.course-modal-close:hover {
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
}

.course-modal-body {
  position: relative;
  z-index: 1;
}

.course-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text-dark);
  margin: 0 0 1.2rem;
  line-height: 1.2;
}

.course-modal-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.82;
  margin: 0 0 2rem;
}

.course-modal-cta {
  display: inline-flex;
}

/* ── Features marquee icon ── */
.ft-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 169, 106, 0.12);
  border: 1px solid rgba(200, 169, 106, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 300ms ease;
}

.ft-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
}

.ft-item:hover .ft-icon {
  background: rgba(200, 169, 106, 0.24);
}

.ft-sep {
  font-size: 0.5rem;
  color: var(--color-primary);
  opacity: 0.4;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

.ft-dot { display: none; }

/* ── WhatsApp button variant ── */
.btn-whatsapp {
  background: linear-gradient(120deg, #1fa855 0%, #25d366 58%, #52e18b 100%);
  color: #051408;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
  gap: 0.45rem;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.38);
}

/* ── FAQ Accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(159, 127, 71, 0.16);
}

.faq-item {
  background: rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(159, 127, 71, 0.12);
  transition: background 260ms ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.28);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
  transition: color 260ms ease;
}

/* Remove default marker */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

/* Plus / minus icon */
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 300ms ease, color 260ms ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 1.6rem 1.4rem;
  animation: faqOpen 280ms ease forwards;
}

.faq-answer p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.78;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  animation: none;
}

.reveal-up.revealed {
  animation: revealUp 600ms ease forwards;
}

/* Animations */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Tablet (769px-1100px): full navbar, just smaller */
@media (min-width: 769px) and (max-width: 1100px) {
  .mobile-menu-toggle { display: none; }
  .site-logo-outside img { height: 80px; }
  .nav-pill { padding: 0.4rem 0.5rem; }
  .menu a { font-size: 0.78rem; padding: 0.35rem 0.45rem; }
  .nav-whatsapp-btn { font-size: 0.78rem; padding: 0.4rem 0.6rem; }
  .header-row { min-height: 48px; }
  .top-contact-inner { font-size: 0.82rem; padding: 0.25rem 1rem; }
  .contact-pill { font-size: 0.8rem; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-showcase { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stats { max-width: 100%; }
  .hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
  .split { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile (768px and below) — content-only rules (navbar handled above) */
@media (max-width: 768px) {

  /* ── WhatsApp float ── */
  .whatsapp-float {
    display: flex !important;
    bottom: 1.4rem;
    right: 1.2rem;
    width: 52px;
    height: 52px;
    z-index: 200;
  }

  /* ── Content sections ── */
  .hero-grid { padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(1.5rem, 5vw, 3rem); }
  .hero h1 { font-size: clamp(2.2rem, 7vw, 3rem); }
  .hero-stats { max-width: 100%; }
  .hero-actions { flex-wrap: wrap; justify-content: center; }

  .verse-arabic { font-size: clamp(1.2rem, 4vw, 1.7rem); line-height: 1.9; }
  .verse-translation { font-size: 0.88rem; }
  .verse-banner-inner { padding: 2rem 1.2rem; }

  .journey-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .courses-showcase { grid-template-columns: 1fr; }
  .course-card { height: auto; }
  .why-join-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .course-card-link { opacity: 1 !important; transform: translateX(0) !important; }
  .about-image-wrap { height: 220px; }
  .about-stats { margin-top: 1.2rem; }
  .section > .container { border-radius: 0.8rem; padding: clamp(1rem, 3vw, 1.5rem); }
  .cta-box { padding: 2rem 1.2rem; }

  /* ── Footer ── */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .footer-description { max-width: 100%; }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .social-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .social-links a {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
  }

  .social-links i {
    font-size: 16px;
  }
}
/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .container { width: calc(100% - 1rem); }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 0.5rem; }
  .stat-item { padding: 0.6rem 0.8rem; }
  .stat-item strong { font-size: 1rem; }
  .eyebrow { font-size: 0.78rem; padding: 0.25rem 0.6rem; }
  .card { padding: 1.2rem; }
  .card h3 { font-size: 1.1rem; margin: 0 0 0.8rem; }
  .social-links a { width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; overflow: hidden !important; flex-shrink: 0 !important; }
  .social-links i { font-size: 14px !important; }
}

/* iPhone XS Max and similar large phones (414px - 428px) */
@media (max-width: 428px) {
  .mobile-logo img { height: 55px; }
  .social-links a { width: 34px !important; height: 34px !important; min-width: 34px !important; overflow: hidden !important; flex-shrink: 0 !important; }
  .social-links i { font-size: 15px !important; }
  .cta-box { padding: 1.5rem 1rem; }
  .cta-box h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-showcase { grid-template-columns: 1fr; }
  .faq-question { padding: 0.9rem 1.2rem; font-size: 0.92rem; }
  .faq-answer { padding: 0 1.2rem 1rem; }
  .mobile-contact-bar { gap: 0.5rem; }
  .mobile-contact-bar .contact-pill { font-size: 0.7rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .journey-card-inner { padding: 1.4rem 1.2rem; }
  .course-card-inner { padding: 1.2rem; }
  .verse-banner-inner { padding: 1.5rem 1rem; }
  .verse-arabic { font-size: clamp(1.1rem, 5vw, 1.5rem); }
}
