/* =============================================
   QuranClass — Stylesheet
   Colors: navy + light blue + green accent
   ============================================= */

:root {
  --navy:       #0d2137;
  --navy-mid:   #1a3a5c;
  --blue:       #2980b9;
  --blue-light: #5dade2;
  --blue-pale:  #eaf4fb;
  --green:      #1a6b45;
  --green-light:#27ae60;
  --gold:       #c9a227;
  --gold-light: #f0d060;
  --white:      #ffffff;
  /* Warm neutrals — cream-based instead of cool slate, for a welcoming feel */
  --gray-50:    #faf6ef;
  --gray-100:   #f2ebdf;
  --gray-200:   #e8ded0;
  --gray-400:   #a89e8c;
  --gray-600:   #6e6457;
  --text:       #2a2620;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(13,33,55,.08);
  --shadow-lg:  0 8px 40px rgba(13,33,55,.16);
  --transition: all .3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: .3px;
  text-align: center;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(41,128,185,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-navy-outline { background: transparent; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-navy-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.full-w { width: 100%; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease, background .3s ease, padding .3s ease, box-shadow .3s ease;
}
#navbar.nav-visible {
  transform: translateY(0);
  opacity: 1;
}
#navbar.scrolled {
  background: rgba(13,33,55,.96);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.logo-arabic { font-family: 'Amiri', serif; font-size: 28px; color: var(--gold-light); }
.logo-text   { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link { color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500; transition: var(--transition); }
.nav-link:hover { color: var(--white); }
.nav-link.nav-cta {
  background: var(--blue); color: var(--white);
  padding: 9px 22px; border-radius: 7px;
}
.nav-link.nav-cta:hover { background: var(--blue-light); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: var(--white);
  padding: 5px 13px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,.22); }
.lang-div { margin: 0 4px; opacity: .4; }
.lang-toggle.tr-active .lang-en { opacity: .45; }
.lang-toggle.en-active .lang-tr { opacity: .45; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* =============================================
   HERO
   ============================================= */
.hero {
  height: 100vh;
  width: 100vw;
  min-height: 640px;
  background:
    url('hero-bg-new.png') center 30% / cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
/* Gradient heavier on the left for text legibility, opens up on the right */
.hero-video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(100deg,
    rgba(4,10,20,.82) 0%,
    rgba(6,15,26,.60) 40%,
    rgba(6,15,26,.22) 68%,
    rgba(6,15,26,.04) 100%);
  z-index: 1;
}

.hero::before { display: none; }
.hero::after  { display: none; }
.hero-content {
  position: relative; z-index: 4;
  padding: 14vh 0 0 max(48px, 7vw);
  max-width: min(580px, 54vw);
  text-align: left;
}
.hero-bismillah {
  font-family: 'Amiri', serif;
  font-size: clamp(16px, 1.8vw, 22px);
  color: rgba(255,255,255,.38);
  direction: rtl;
  text-align: left;
  margin-bottom: 28px;
  letter-spacing: .5px;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: .9;
  margin-bottom: 0;
}
/* Arabic dua variant of the hero eyebrow — Amiri, RTL, no uppercase/tracking */
.hero-eyebrow-ar {
  font-family: 'Amiri', serif;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.95;
  direction: rtl;
  max-width: 32ch;
}
.hero-rule {
  width: 44px;
  height: 1.5px;
  background: var(--gold);
  margin: 16px 0 20px;
  opacity: .75;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 58px);
  color: rgba(255,255,255,.92);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -.3px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-title-accent {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 68px);
  color: var(--blue-light);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.5px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.btn-lg {
  padding: 11px 24px;
  font-size: 13px;
  letter-spacing: .4px;
}

/* Hero content entrance animation */
.hero-content .hero-bismillah,
.hero-content .hero-eyebrow,
.hero-content .hero-rule,
.hero-content .hero-title,
.hero-content .hero-ctas {
  opacity: 0;
  transform: translateY(28px);
}
.hero-content.is-visible .hero-bismillah { animation: heroFadeUp .7s ease .05s forwards; }
.hero-content.is-visible .hero-eyebrow   { animation: heroFadeUp .7s ease .2s  forwards; }
.hero-content.is-visible .hero-rule      { animation: heroFadeUp .6s ease .35s forwards; }
.hero-content.is-visible .hero-title     { animation: heroFadeUp .7s ease .48s forwards; }
.hero-content.is-visible .hero-ctas      { animation: heroFadeUp .7s ease .72s forwards; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator { display: none; }
.hero-scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scrollBounce 2.2s infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%      { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: var(--blue-pale); color: var(--blue);
  padding: 5px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 42px); color: var(--navy); margin-bottom: 14px; }
.section-subtitle { font-size: 16px; color: var(--gray-600); max-width: 540px; margin: 0 auto; }
.body-text { font-size: 15.5px; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }

/* =============================================
   ABOUT
   ============================================= */
.about {
  position: relative;
  background:
    linear-gradient(to bottom, rgba(250,246,239,.98) 0%, rgba(250,246,239,.96) 45%, rgba(250,246,239,.88) 100%),
    url("about-bg.jpg") center bottom / cover no-repeat;
}
.about .container { position: relative; z-index: 1; }
/* Darker body copy in About so it stays readable over the background image */
.about .body-text { color: #423a2c; }
/* Fixed-width portrait column sits snug against the text — no wasted gap */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 52px; align-items: start; }
.about-photo-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden; color: rgba(255,255,255,.3);
}
.about-photo-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(41,128,185,.2) 0%, transparent 65%);
}
.photo-arabic { font-family: 'Amiri', serif; font-size: 90px; color: rgba(255,255,255,.1); position: absolute; }
.photo-label  { position: relative; font-size: 13px; margin-top: 110px; }

.about-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.credentials-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.credential { display: flex; align-items: center; gap: 14px; }
.cred-icon { font-size: 26px; }
.credential strong { display: block; font-size: 14px; color: var(--navy); }
.credential p { font-size: 12px; color: var(--gray-600); margin-top: 2px; }

.about-right { padding-top: 8px; }
.about-right .section-tag { display: inline-block; margin-bottom: 14px; }
.about-right .section-title { text-align: left; }

/* Hadith quote */
.hadith {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 4px 0 28px;
  box-shadow: var(--shadow);
}
.hadith-ar { font-family: 'Amiri', serif; font-size: 24px; color: var(--navy); direction: rtl; text-align: right; line-height: 1.8; margin-bottom: 10px; }
.hadith-tr { font-size: 14.5px; color: var(--gray-600); font-style: italic; }

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 22px;
  position: relative;
  transition: var(--transition);
}
.service-card:hover { border-color: var(--blue-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.featured {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: none; color: var(--white);
}
.service-card.featured h3,
.service-card.featured p { color: rgba(255,255,255,.9); }
.service-card.featured .service-list li { color: rgba(255,255,255,.7); }
.service-card.featured .service-list li::before { color: var(--blue-light); }
.service-card.featured .service-link { color: var(--blue-light); }

.service-badge {
  position: absolute; top: -12px; left: 18px;
  background: var(--blue); color: var(--white);
  padding: 3px 12px; border-radius: 10px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.service-icon { font-size: 34px; margin-bottom: 14px; }
.service-icon-ar { font-family: 'Amiri', serif; color: var(--gold); font-size: 42px; direction: rtl; line-height: 1; letter-spacing: 3px; }
.service-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.service-card p  { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; margin-bottom: 18px; }
.service-list { margin-bottom: 22px; }
.service-list li {
  font-size: 13px; color: var(--gray-600);
  padding: 3px 0 3px 18px; position: relative;
}
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green-light); font-weight: 700; }
.service-link { font-size: 14px; font-weight: 600; color: var(--blue); transition: var(--transition); }
.service-link:hover { color: var(--navy); }

/* =============================================
   PRICING
   ============================================= */
.pricing { background: var(--gray-50); }

/* =============================================
   PRICING TEASER (index page strip)
   ============================================= */
.pricing-teaser { background: var(--gray-50); }
.pricing-teaser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 16px;
  overflow: visible;
}
.pt-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative;
  transition: var(--transition);
}
.pt-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-lg); }
.pt-card-featured {
  background: linear-gradient(140deg, var(--navy), var(--navy-mid));
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
}
.pt-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white);
  padding: 3px 14px; border-radius: 10px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}
.pt-price {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  color: var(--navy);
}
.pt-card-featured .pt-price { color: var(--white); }
.pt-label { font-size: 13px; color: var(--gray-600); }
.pt-card-featured .pt-label { color: rgba(255,255,255,.7); }

/* =============================================
   PACKAGE CALCULATOR
   ============================================= */
.pkg-calc-section { background: var(--gray-50); }
.pkg-collapsed { display: none !important; }

.pkg-calc {
  max-width: 640px;
  margin: 0 auto;
}

/* Block */
.pkg-block { padding: 40px 0; }
.pkg-block + .pkg-block { border-top: 1px solid var(--gray-200); }

/* Block header "01 ──────────" */
.pkg-block-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.pkg-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  flex-shrink: 0;
}
.pkg-rule {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* Question text */
.pkg-question {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}
.pkg-hint {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Pills container */
.pkg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ── TYPE PILLS — large horizontal cards ─────── */
.pkg-pills-type {
  flex-direction: column;
  gap: 12px;
}
.pkg-pill-type {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color .22s, background .22s, color .22s, box-shadow .22s, transform .22s;
  font-family: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.pkg-pill-type:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.pkg-pill-type.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(13,33,55,.22);
  transform: translateX(4px);
}
.pkg-pill-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}
.pkg-pill-ar {
  font-family: 'Amiri', serif;
  font-size: 36px;
  color: inherit;
}
.pkg-pill-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.pkg-pill-type.selected .pkg-pill-label { color: var(--white); }
.pkg-pill-type-desc {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 3px;
  font-weight: 400;
}
.pkg-pill-type.selected .pkg-pill-type-desc { color: rgba(255,255,255,.65); }

/* ── GROUP PILLS — large comfy pills ────────── */
.pkg-pill-group {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .2s, background .2s, color .2s, transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.pkg-pill-group:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(41,128,185,.15);
}
.pkg-pill-group.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13,33,55,.22);
}

/* ── PACKAGE PILLS — cards in a grid ─────────── */
.pkg-pills-pkg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
}
@media (min-width: 540px) {
  .pkg-pills-pkg { grid-template-columns: repeat(4, 1fr); }
}
.pkg-pill-pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 12px 20px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: border-color .22s, background .22s, color .22s, transform .22s, box-shadow .22s;
  -webkit-tap-highlight-color: transparent;
}
.pkg-pill-pkg:hover {
  border-color: var(--blue-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pkg-pill-pkg.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(13,33,55,.24);
}
.pkg-pill-main {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.pkg-pill-pkg.selected .pkg-pill-main { color: var(--white); }
.pkg-pill-sub {
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 400;
}
.pkg-pill-pkg.selected .pkg-pill-sub { color: rgba(255,255,255,.6); }
.pkg-pill-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-mid);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.pkg-pill-badge-gold { background: var(--gold); }
.pkg-pill-pkg.selected .pkg-pill-badge { background: rgba(255,255,255,.25); color: var(--white); }

/* Submit */
.pkg-submit-wrap { padding: 36px 0 4px; }
.pkg-submit-btn {
  width: 100%;
  padding: 22px 32px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .22s, transform .22s, box-shadow .22s;
}
.pkg-submit-btn:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(41,128,185,.3);
}
.pkg-submit-btn:active { transform: translateY(0); }

/* Result */
.pkg-result-wrap { padding: 8px 0 0; }
.pkg-result-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 44px 44px;
  text-align: center;
  color: var(--white);
}
.pkg-result-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.38);
  margin-bottom: 18px;
}
.pkg-result-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.pkg-result-price {
  font-family: 'Playfair Display', serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
}
.pkg-result-unit {
  font-size: 20px;
  color: rgba(255,255,255,.35);
}
.pkg-result-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin: 22px 0 32px;
  font-size: 15px;
  color: rgba(255,255,255,.6);
}
.pkg-detail-dot { color: rgba(255,255,255,.2); }
.pkg-result-cta { display: block; width: 100%; padding: 18px; font-size: 16px; }

@media (max-width: 520px) {
  .pkg-result-card { padding: 36px 24px 32px; }
  .pkg-result-price { font-size: 58px; }
  .pkg-pill-type { padding: 18px 20px; gap: 14px; }
  .pkg-pill-icon { font-size: 26px; width: 36px; }
}

/* =============================================
   PAGE HERO (pricing.html)
   ============================================= */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3f6a 100%);
  padding: 140px 24px 70px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(41,128,185,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,162,39,.08) 0%, transparent 50%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.pricing-page-body { background: var(--gray-50); }
.pricing-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}

/* Free trial + single lesson highlight */
.pricing-highlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 880px; width: 100%; margin: 0 auto 36px;
}
.ph-item {
  text-align: center;
  background: var(--white); border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 28px 24px;
}
.ph-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold);
}
.ph-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy); margin: 6px 0 8px; }
.ph-item p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

/* On-brand 8-point star symbol (matches background pattern) */
.brand-star { width: 30px; height: 30px; fill: none; stroke-width: 1.4; }
.ph-item .brand-star { stroke: var(--gold); margin: 0 auto 12px; }
.pe-card .brand-star { stroke: var(--blue); margin-bottom: 12px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 880px; width: 100%; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  position: relative;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.pricing-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  background: linear-gradient(140deg, var(--navy), var(--navy-mid));
  border-color: transparent;
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured .plan-name,
.pricing-card.featured .plan-price,
.pricing-card.featured .plan-desc,
.pricing-card.featured .plan-features li { color: rgba(255,255,255,.88); }

.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white);
  padding: 4px 16px; border-radius: 12px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}
.plan-badge-green { background: var(--green-light); }
.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.pricing-card.featured .plan-name { color: var(--white); border-color: rgba(255,255,255,.15); }

/* Price moved to a subtle footer row */
.plan-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.pricing-card.featured .plan-price-row { border-color: rgba(255,255,255,.15); }

/* Per-lesson rate — the focal point */
.plan-per-lesson { display: flex; align-items: baseline; gap: 4px; }
.ppl-num {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: -.2px;
}
.pricing-card.featured .ppl-num { color: rgba(255,255,255,.7); }
.ppl-unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: lowercase;
}
.pricing-card.featured .ppl-unit { color: rgba(255,255,255,.45); }

/* Total + savings — secondary, right-aligned */
.plan-total-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: right;
}
.plan-total-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
}
.pricing-card.featured .plan-total-label { color: rgba(255,255,255,.35); }
.plan-total-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
}
.pricing-card.featured .plan-total-num { color: rgba(255,255,255,.4); }

/* Savings — subtle inline note */
.plan-save-badge {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-400);
}
.pricing-card.featured .plan-save-badge {
  color: rgba(255,255,255,.35);
  background: none;
}

.plan-features { margin-bottom: 0; flex: 1; }
.plan-features li {
  font-size: 14px; color: var(--gray-600);
  padding: 9px 0 9px 26px; position: relative;
  border-bottom: 1px solid var(--gray-100);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cg%20fill%3D%27%23c9a227%27%3E%3Crect%20x%3D%277%27%20y%3D%277%27%20width%3D%2710%27%20height%3D%2710%27%2F%3E%3Crect%20x%3D%277%27%20y%3D%277%27%20width%3D%2710%27%20height%3D%2710%27%20transform%3D%27rotate(45%2012%2012)%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;
}
.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,.12); }
.pricing-card .btn { width: 100%; }

/* Group + loyalty */
.pricing-extra {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 880px; width: 100%; margin: 40px auto 0;
}
.pe-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius); padding: 26px;
}
.pe-card:hover { box-shadow: var(--shadow); }
.pe-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue);
  margin-bottom: 8px;
}
.pe-card h4 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.pe-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; }

.pricing-note { text-align: center; margin-top: 30px; font-size: 13px; color: var(--gray-400); max-width: 760px; width: 100%; margin-left: auto; margin-right: auto; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--white); }
.video-carousel, .reviews-carousel { position: relative; padding: 0 6px; }
.video-carousel { margin-bottom: 56px; }
.vc-viewport { overflow: hidden; }
.vc-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  touch-action: pan-y;
}
.vc-track .video-card,
.vc-track .review-card { flex: 0 0 calc((100% - 48px) / 3); }
.vc-arrow {
  position: absolute; top: calc(50% - 22px);
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1; padding-bottom: 4px;
  color: var(--white);
  background: var(--navy);
  border: none; border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: .92;
}
.vc-arrow:hover { background: var(--navy-mid); transform: translateY(-50%) scale(1.08); opacity: 1; }
.vc-prev { left: -10px; }
.vc-next { right: -10px; }
.video-card { text-align: center; }
.video-frame {
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame video {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.video-frame-soon {
  display: flex; align-items: center; justify-content: center;
}
.video-soon-label {
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px; border-radius: 999px;
}
.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  cursor: pointer; transition: var(--transition); position: relative; overflow: hidden;
}
.video-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(41,128,185,.3) 0%, transparent 60%);
}
.video-thumb:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.play-btn {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--navy);
  position: relative; z-index: 1;
  transition: var(--transition);
}
.video-thumb:hover .play-btn { transform: scale(1.1); background: var(--white); }
.video-tag { font-size: 12px; color: rgba(255,255,255,.6); position: relative; z-index: 1; }
.video-cap  { margin-top: 12px; font-size: 13.5px; color: var(--gray-600); font-style: italic; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--gray-50); border-radius: var(--radius); padding: 28px; transition: var(--transition); display: flex; flex-direction: column; }
.review-author { margin-top: auto; }
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--gray-600); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.review-author strong { display: block; font-size: 14px; color: var(--navy); }
.review-author span  { font-size: 12px; color: var(--gray-400); }

/* =============================================
   BOOKING
   ============================================= */
.booking {
  background:
    linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)),
    url("floral-bg.png") center / cover;
}
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }

/* Calendar */
.cal-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cal-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--navy); }
.cal-nav {
  background: none; border: 1px solid var(--gray-200);
  width: 36px; height: 36px; border-radius: 8px;
  cursor: pointer; font-size: 20px; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); line-height: 1;
}
.cal-nav:hover { background: var(--blue-pale); border-color: var(--blue); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 8px; }
.cal-weekdays span { text-align: center; font-size: 11px; font-weight: 700; color: var(--gray-400); padding: 6px 0; text-transform: uppercase; letter-spacing: .5px; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  cursor: default; transition: var(--transition); color: var(--text); position: relative;
}
.cal-day.past    { color: var(--gray-200); }
.cal-day.avail   { color: var(--blue); font-weight: 600; cursor: pointer; }
.cal-day.avail:hover { background: var(--blue-pale); }
.cal-day.avail::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; background: var(--green-light); border-radius: 50%;
}
.cal-day.today    { border: 2px solid var(--blue); }
.cal-day.selected { background: var(--navy) !important; color: var(--white) !important; }
.cal-day.selected::after { background: var(--blue-light); }

/* Slots */
.booking-right { display: flex; flex-direction: column; gap: 20px; }
.slots-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); min-height: 80px; }
.slots-prompt { color: var(--gray-400); font-size: 14px; text-align: center; padding: 16px 0; }
.slots-date { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  padding: 10px 6px; text-align: center;
  border: 1px solid var(--gray-200); border-radius: 8px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  color: var(--navy); transition: var(--transition);
}
.slot:hover    { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.slot.selected { background: var(--blue); border-color: var(--blue); color: var(--white); }
.slot.booked   { background: var(--gray-100); color: var(--gray-400); cursor: not-allowed; border-color: transparent; }

/* Form */
.booking-form { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.booking-form h3 { font-size: 20px; color: var(--navy); margin-bottom: 20px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .6px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--gray-200); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--text); background: var(--gray-50);
  transition: var(--transition); outline: none; resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(41,128,185,.1); }
.booking-summary {
  background: var(--blue-pale); border-radius: 8px;
  padding: 11px 14px; margin-bottom: 16px;
  font-size: 14px; color: var(--navy);
}

.booking-success { background: var(--white); border-radius: var(--radius-lg); padding: 48px 28px; text-align: center; box-shadow: var(--shadow); }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.booking-success h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.booking-success p  { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info .section-title { text-align: left; margin-bottom: 14px; }
.contact-info > .body-text { margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { font-size: 26px; }
.ci-icon-wa { display: inline-flex; align-items: center; }
.ci-icon-wa svg { display: block; }
.contact-item strong { display: block; font-size: 13px; color: var(--navy); font-weight: 700; margin-bottom: 3px; }
.contact-item p { font-size: 14px; color: var(--gray-600); }
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px; }
.contact-item a { color: var(--blue); transition: var(--transition); }
.contact-item a:hover { color: var(--navy); }
.contact-note { margin-top: 16px; font-size: 13px; color: var(--gray-600); text-align: center; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 60px 0 28px;
  position: relative;
  overflow: hidden;
}
/* Soft wavy "water" motif in the bottom-left corner — matching gold, stays in the background */
.footer::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 680px; height: 240px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='680' height='240' viewBox='0 0 680 240'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-linecap='round'%3E%3Cpath d='M-30,120 q30,-16 60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0' stroke-width='1.4' opacity='.45'/%3E%3Cpath d='M-60,150 q30,-16 60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0' stroke-width='1.6' opacity='.6'/%3E%3Cpath d='M-30,180 q30,-16 60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0' stroke-width='1.8' opacity='.75'/%3E%3Cpath d='M-60,210 q30,-16 60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0 t60,0' stroke-width='2' opacity='.9'/%3E%3C/g%3E%3C/svg%3E") left bottom / contain no-repeat;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.footer .container { position: relative; z-index: 1; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 36px;
  padding-bottom: 36px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-arabic { font-family: 'Amiri', serif; font-size: 30px; color: var(--gold-light); }
.footer-brand .logo-text   { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--white); margin-left: 8px; }
.footer-brand p { font-size: 14px; margin-top: 12px; max-width: 250px; line-height: 1.6; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 13px; }
.footer-arabic { font-family: 'Amiri', serif; font-size: 20px; color: rgba(255,255,255,.35); direction: rtl; }
/* Footer ayah (Al-Baqarah 32) */
.footer-ayah { text-align: center; max-width: 660px; margin: 4px auto 26px; }
.footer-ayah-ar { font-family: 'Amiri', serif; font-size: 22px; color: var(--gold-light); direction: rtl; line-height: 1.95; margin-bottom: 12px; }
.footer-ayah-tr { font-size: 13.5px; color: rgba(255,255,255,.62); font-style: italic; line-height: 1.7; margin-bottom: 8px; }
.footer-ayah-ref { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */

/* ---- Tablet wide (≤1100px) ---- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about-left    { max-width: 420px; margin: 0 auto; }
  .about-right   { text-align: center; }
  .about-right .section-title { text-align: center; }
  .about-right .body-text { text-align: left; }
  .about-right .btn { display: block; width: fit-content; margin: 0 auto; }
  .hadith { text-align: right; }
}

/* ---- Tablet / large phone (≤820px) ---- */
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  /* Navbar → hamburger */
  .nav-menu {
    display: none;
    position: fixed; inset: 0;
    background: var(--navy);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 36px; z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link { font-size: 22px; }
  .hamburger { display: flex; }

  /* Hero — tablet: centre-align on narrow screens */
  .hero { justify-content: center; align-items: center; height: 100svh; min-height: 560px; }
  .hero-content { padding: 92px 32px 48px; max-width: 100%; text-align: center; }
  .hero-bismillah { text-align: center; }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }

  /* Page hero (pricing.html) */
  .page-hero { padding: 110px 20px 50px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing (pricing.html) */
  .pricing-grid      { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-highlight { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-extra     { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  /* Pricing teaser (index.html) */
  .pricing-teaser-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .pt-card-featured { transform: none; }

  /* Testimonials */
  .video-carousel, .reviews-carousel { max-width: 460px; margin: 0 auto 40px; padding: 0; }
  .reviews-carousel { margin-bottom: 0; }
  .vc-track .video-card,
  .vc-track .review-card { flex: 0 0 100%; }
  .vc-prev { left: 4px; }
  .vc-next { right: 4px; }
  .vc-arrow { width: 40px; height: 40px; font-size: 24px; opacity: .85; }

  /* Booking */
  .booking-grid { grid-template-columns: 1fr; }
  .cal-wrap     { padding: 20px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info .section-title { text-align: center; }
  .contact-items { align-items: center; text-align: center; }
  .contact-item  { flex-direction: column; align-items: center; gap: 8px; }

  /* Footer */
  .footer-top    { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links  { justify-content: center; }

  /* Calculator */
  .pkg-question { font-size: 20px; }
  .pkg-block    { padding: 32px 0; }
  .pkg-result-price { font-size: 64px; }
}

/* ---- Phone (≤520px) ---- */
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .section   { padding: 50px 0; }
  .section-header { margin-bottom: 32px; }

  /* Hero */
  .hero          { min-height: 520px; }
  .hero-content  { padding: 84px 20px 44px; }
  .hero-ctas     { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 300px; }
  .hero-video-overlay {
    background: rgba(4,10,20,.82);
  }

  /* Services → single column */
  .services-grid { grid-template-columns: 1fr; }

  /* Booking slots */
  .slots-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact form */
  .contact-form { padding: 22px 16px; }

  /* Footer */
  .footer { padding: 44px 0 24px; }
  .footer-brand p { max-width: 100%; }

  /* Calculator */
  .pkg-question         { font-size: 17px; }
  .pkg-block            { padding: 22px 0; }
  .pkg-hint             { font-size: 12px; }
  .pkg-pill-label       { font-size: 15px; }
  .pkg-pill-type-desc   { font-size: 11.5px; }
  .pkg-pill-group       { padding: 13px 20px; font-size: 14px; }
  .pkg-pill-pkg         { padding: 18px 8px 16px; }
  .pkg-pill-main        { font-size: 14px; }
  .pkg-submit-btn       { font-size: 17px; padding: 18px 20px; }
  .pkg-result-card      { padding: 32px 20px 28px; }
  .pkg-result-price     { font-size: 52px; }
  .pkg-result-eyebrow   { font-size: 11px; letter-spacing: 1.5px; }
  .pkg-result-details   { font-size: 13px; }
}

/* ---- Very small (≤380px) ---- */
@media (max-width: 380px) {
  .hero-title { font-size: 32px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .pricing-grid { max-width: 100%; }
  .cal-day { font-size: 11px; padding: 4px 0; }

  /* Calculator — tight squeeze */
  .pkg-pill-type   { padding: 14px 14px; gap: 10px; }
  .pkg-pill-icon   { font-size: 22px; width: 28px; }
  .pkg-pill-ar     { font-size: 28px; }
  .pkg-pill-label  { font-size: 14px; }
  .pkg-pill-type-desc { font-size: 11px; }
  .pkg-pill-group  { padding: 11px 16px; font-size: 13px; }
  .pkg-result-price { font-size: 44px; }
  .pkg-result-card  { padding: 26px 16px 22px; }
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1200;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.6); }
.wa-float::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.7); opacity: 0;  }
}
@media (max-width: 520px) {
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* =============================================
   INTRO OVERLAY ANIMATION
   ============================================= */
#introOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10000;
  background: #060f1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.1s ease;
}
#introOverlay.is-exiting {
  opacity: 0;
  pointer-events: none;
}

/* Layered radial glows for depth */
.intro-bg-radials {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 25%, rgba(13,33,55,.95) 0%, transparent 65%),
    radial-gradient(ellipse 55% 65% at 80% 75%, rgba(10,28,50,.85) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(201,162,39,.055) 0%, transparent 70%);
}

/* Floating ambient particles */
.intro-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.intro-stars i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(201,162,39,.65);
  animation: introStarFloat linear infinite;
}
.intro-stars i:nth-child(1) { width:3px; height:3px; left:8%;  top:18%; animation-duration:7s;   animation-delay:0s; }
.intro-stars i:nth-child(2) { width:2px; height:2px; left:79%; top:12%; animation-duration:5.5s; animation-delay:1.1s; }
.intro-stars i:nth-child(3) { width:4px; height:4px; left:63%; top:76%; animation-duration:8s;   animation-delay:0.5s; }
.intro-stars i:nth-child(4) { width:2px; height:2px; left:28%; top:82%; animation-duration:6.2s; animation-delay:1.9s; }
.intro-stars i:nth-child(5) { width:3px; height:3px; left:87%; top:48%; animation-duration:7.5s; animation-delay:0.8s; }
.intro-stars i:nth-child(6) { width:2px; height:2px; left:14%; top:62%; animation-duration:5.2s; animation-delay:1.7s; }
.intro-stars i:nth-child(7) { width:2px; height:2px; left:45%; top:8%;  animation-duration:6.8s; animation-delay:0.3s; }
.intro-stars i:nth-child(8) { width:3px; height:3px; left:55%; top:90%; animation-duration:9s;   animation-delay:2.2s; }
@keyframes introStarFloat {
  0%,100% { transform: translateY(0) scale(1);    opacity: .25; }
  50%      { transform: translateY(-18px) scale(1.4); opacity: .8; }
}

/* Content wrapper */
.intro-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  padding: 28px 24px;
  text-align: center;
}

/* ---- Verse block ---- */
.intro-verse-block {
  transition: opacity .85s ease, transform .85s ease;
}
.intro-verse-block.is-fading {
  opacity: 0;
  transform: translateY(-18px);
}

/* Top ornament */
.intro-ornament {
  opacity: 0;
  margin-bottom: 40px;
  transition: opacity 1s ease;
}
.intro-ornament.is-visible { opacity: 1; }

/* Arabic text wrap + reveal */
.intro-arabic-wrap {
  position: relative;
  margin-bottom: 18px;
  overflow: hidden;
}
.intro-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(24px, 4.2vw, 44px);
  color: #f0d060;
  direction: rtl;
  text-align: center;
  line-height: 2;
  letter-spacing: .4px;
  text-shadow: 0 0 48px rgba(240,208,96,.28), 0 2px 6px rgba(0,0,0,.6);
  /* hidden: clipped from left (reveals RTL) */
  clip-path: inset(0 0 0 100%);
}
.intro-arabic.is-revealing {
  animation: revealRTL 3.8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes revealRTL {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0%);   }
}

/* Shimmer glow that sweeps with the reveal */

/* Pen / cursor */
.intro-pen {
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 2px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
}
.intro-pen-ar {
  right: 0;
  background: linear-gradient(to bottom, transparent 0%, #f0d060 30%, #f0d060 70%, transparent 100%);
  box-shadow: 0 0 14px rgba(240,208,96,.95), 0 0 28px rgba(240,208,96,.5);
}
.intro-pen-ar.is-active {
  animation: penMoveAR 3.8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes penMoveAR {
  0%   { right: 0%;    opacity: 1; }
  96%  { opacity: 1; }
  100% { right: 100%;  opacity: 0; }
}

/* Expanding divider */
.intro-divider {
  height: 1px;
  width: 0;
  background: linear-gradient(to right, transparent, rgba(201,162,39,.5), transparent);
  margin: 18px auto;
  transition: width 1s ease;
}
.intro-divider.is-expanded { width: 300px; }

/* Translation wrap + reveal */
.intro-trans-wrap {
  position: relative;
  margin-bottom: 18px;
  overflow: hidden;
}
.intro-trans {
  font-family: 'Playfair Display', serif;
  font-size: clamp(14px, 1.9vw, 19px);
  color: rgba(255,255,255,.78);
  font-style: italic;
  line-height: 1.85;
  letter-spacing: .3px;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
  clip-path: inset(0 100% 0 0);
}
.intro-trans.is-revealing {
  animation: revealLTR 3.8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes revealLTR {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0);   }
}

.intro-pen-en {
  left: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.75) 30%, rgba(255,255,255,.75) 70%, transparent 100%);
  box-shadow: 0 0 12px rgba(255,255,255,.55), 0 0 24px rgba(255,255,255,.25);
}
.intro-pen-en.is-active {
  animation: penMoveEN 3.8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes penMoveEN {
  0%   { left: 0%;    opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 100%;  opacity: 0; }
}

/* Reference */
.intro-ref {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(201,162,39,.75);
  letter-spacing: 2.2px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .8s ease;
}
.intro-ref.is-visible { opacity: 1; }

/* ---- Word highlights ---- */
.verse-hl {
  background: linear-gradient(rgba(255,228,0,.58), rgba(255,228,0,.58)) no-repeat left 50%;
  background-size: 0% 92%;
  padding: 1px 3px;
  border-radius: 2px;
  transition: background-size 1.5s ease, box-shadow 1.5s ease;
}
.verse-hl.is-lit {
  background-size: 100% 92%;
  box-shadow: 0 0 18px rgba(255,215,0,.55), 0 0 36px rgba(255,200,0,.25);
}

/* ---- Brand block ---- */
/* ---- Corner brand mark ---- */
.intro-corner-brand {
  position: absolute;
  top: 28px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: cornerFadeIn .9s ease .6s forwards;
  pointer-events: none;
}
@keyframes cornerFadeIn {
  to { opacity: 1; }
}
.intro-corner-brand svg {
  width: 28px;
  height: auto;
  opacity: .45;
}
.intro-corner-name {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,.3);
  letter-spacing: 1.2px;
}
.intro-corner-name em {
  font-style: normal;
  color: rgba(201,162,39,.4);
}

/* Responsive */
@media (max-width: 520px) {
  .intro-ornament { margin-bottom: 28px; }
  .intro-divider.is-expanded { width: 200px; }
  .intro-brand-name { letter-spacing: 2px; }
}

/* =============================================
   REDUCED MOTION (accessibility)
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
  #introOverlay { display: none !important; }
}
