/* ============================================================
   IJT — Ibn Jarir Tours · Brand stylesheet
   Palette:  Midnight Navy  #0E1E4B  (from the IJT logo)
             Haram Gold     #C9A24B  (Kaaba door / minaret light)
             Ivory          #FAF7F1  (ihram white)
   Type:     Playfair Display (headings) · Manrope (body) · Amiri (Arabic)
   ============================================================ */

:root {
  --navy-950: #070F26;
  --navy-900: #0A1633;
  --navy-800: #0E1E4B;
  --navy-700: #16295E;
  --navy-600: #1F3573;

  --gold-600: #B08A3E;
  --gold-500: #C9A24B;
  --gold-400: #D9B96F;
  --gold-200: #EFDDB2;

  --ivory: #FAF7F1;
  --sand: #F3EDE1;
  --line: #E5DFD2;

  /* Madinah green — Gateway2Khair educational programme */
  --green-900: #0E2E25;
  --green-800: #143C30;
  --green-700: #1C4A3F;

  --ink: #1B2333;
  --muted: #5B6478;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", serif;

  --radius: 16px;
  --shadow-soft: 0 10px 30px rgba(10, 22, 51, 0.10);
  --shadow-lift: 0 18px 44px rgba(10, 22, 51, 0.16);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--navy-800);
  margin: 14px 0 12px;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.03rem;
}

.section-head { text-align: center; margin-bottom: 52px; }

.arabic { font-family: var(--font-arabic); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 8px 22px rgba(201, 162, 75, 0.38);
}
.btn-gold:hover { box-shadow: 0 12px 28px rgba(201, 162, 75, 0.5); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn-navy {
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-soft); }

.btn-outline-navy {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: var(--gold-400); font-weight: 700; }
.topbar-note { display: flex; align-items: center; gap: 8px; }
.topbar-note .dot { color: var(--gold-500); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy-800);
  box-shadow: 0 2px 18px rgba(7, 15, 38, 0.35);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: #fff; border-color: var(--gold-500); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -10%, #24377A 0%, transparent 60%),
    radial-gradient(900px 500px at 12% 8%, #17295F 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 96px 24px 210px;
  max-width: 860px;
  margin: 0 auto;
}
.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold-400);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 18px auto 34px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  margin-top: 54px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-400);
}
.hero-stat span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-stars,
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.hero-stars { top: 0; height: 60%; width: 100%; opacity: 0.9; }
.hero-skyline { bottom: -6px; width: 100%; }

/* ---------- Trust ribbon ---------- */

.ribbon {
  background: var(--navy-950);
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
  padding: 16px 0;
}
.ribbon .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 38px;
}
.ribbon-item {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.ribbon-item svg { width: 16px; height: 16px; flex: none; }

/* ---------- Generic section ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--sand); }

/* ---------- Packages ---------- */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.package {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.package-tier {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.package h3 {
  font-size: 1.42rem;
  color: var(--navy-800);
  margin-bottom: 4px;
}
.package-nights { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }

.package-price { margin-bottom: 20px; }
.package-price .from {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.package-price .amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy-800);
}
.package-price .pp { font-size: 0.9rem; color: var(--muted); }

.package ul {
  list-style: none;
  margin-bottom: 26px;
  flex: 1;
}
.package ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 6.5px 0;
}
.package ul li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--gold-600); }

.package-featured {
  background: linear-gradient(170deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-color: var(--gold-500);
  border-width: 1.5px;
  color: #fff;
}
.package-featured h3, .package-featured .package-price .amount { color: #fff; }
.package-featured .package-nights,
.package-featured .package-price .from,
.package-featured .package-price .pp { color: rgba(255, 255, 255, 0.68); }
.package-featured ul li { color: rgba(255, 255, 255, 0.9); }
.package-featured ul li svg { color: var(--gold-400); }
.package-featured .package-tier { color: var(--gold-400); }

.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(201, 162, 75, 0.4);
}

.packages-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 30px;
}

/* Group tours banner card */
.group-banner {
  margin-top: 34px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius);
  color: #fff;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}
.group-banner::after {
  content: "✈";
  position: absolute;
  right: -10px;
  bottom: -34px;
  font-size: 9rem;
  opacity: 0.07;
  transform: rotate(-18deg);
}
.group-banner h3 { font-size: 1.6rem; margin-bottom: 6px; }
.group-banner p { color: rgba(255, 255, 255, 0.78); max-width: 560px; }

/* ---------- Included grid ---------- */

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.included-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.included-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: grid;
  place-items: center;
  color: var(--gold-400);
}
.included-icon svg { width: 22px; height: 22px; }
.included-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; color: var(--navy-800); margin-bottom: 4px; }
.included-item p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Journey timeline ---------- */

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 42px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--navy-800));
}
.timeline-step { position: relative; padding: 0 0 38px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ivory);
  border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.18);
}
.timeline-step h4 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.timeline-step h4 span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: block;
  margin-bottom: 4px;
}
.timeline-step p { color: var(--muted); font-size: 0.95rem; max-width: 620px; }

/* ---------- Why IJT ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}
.why-card .arabic-word {
  font-family: var(--font-arabic);
  font-size: 1.9rem;
  color: var(--gold-600);
  display: block;
  margin-bottom: 10px;
}
.why-card h3 { font-size: 1.3rem; color: var(--navy-800); margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Community ---------- */

.community {
  background:
    radial-gradient(900px 400px at 85% 0%, #1D3170 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
}
.community .section-title { color: #fff; }
.community .section-sub { color: rgba(255, 255, 255, 0.7); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.social-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, 0.08);
}
.social-card .platform {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.social-card .handle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 8px 0 14px;
}
.social-card .metrics {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}
.social-card .metrics strong { color: #fff; display: block; font-size: 1.15rem; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  text-align: left;
}
.faq-q .chev {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  color: var(--gold-600);
  transition: transform 0.25s ease;
  font-size: 0.85rem;
}
.faq-item.open .chev { transform: rotate(180deg); background: var(--gold-500); color: var(--navy-900); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background:
    radial-gradient(700px 300px at 50% -40%, #23377C 0%, transparent 70%),
    var(--navy-800);
  border-radius: 22px;
  padding: 62px 40px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: var(--shadow-lift);
}
.cta-banner .arabic { font-size: 1.7rem; color: var(--gold-400); display: block; margin-bottom: 14px; }
.cta-banner h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.cta-banner p { color: rgba(255, 255, 255, 0.75); margin-bottom: 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.5rem; color: var(--navy-800); margin-bottom: 18px; }
.contact-line {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-of-type { border-bottom: none; }
.contact-line .ci {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--navy-800);
  color: var(--gold-400);
  display: grid;
  place-items: center;
}
.contact-line .ci svg { width: 20px; height: 20px; }
.contact-line strong { display: block; color: var(--navy-800); font-size: 0.95rem; }
.contact-line span, .contact-line a { color: var(--muted); font-size: 0.92rem; }
.contact-line a:hover { color: var(--gold-600); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-soft);
}
.contact-form h3 { font-size: 1.35rem; color: var(--navy-800); margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--ivory);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer .brand-mark { width: 58px; height: 58px; }
.footer-about p { font-size: 0.9rem; margin-top: 16px; max-width: 300px; }
.footer h5 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer ul a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.92rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--gold-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.payment-badges { display: flex; gap: 8px; }
.payment-badges span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Booking modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 38, 0.72);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: #fff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(7, 15, 38, 0.5);
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: 26px 30px;
  border-radius: 20px 20px 0 0;
  position: relative;
}
.modal-head h3 { font-size: 1.35rem; margin-bottom: 3px; }
.modal-head p { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.25); }

.modal-body { padding: 28px 30px 30px; }

.modal-summary {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.modal-summary strong { color: var(--navy-800); }
.modal-summary .price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--gold-600); }

.pay-options { display: grid; gap: 12px; margin-top: 22px; }
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 14px;
}
.secure-note svg { width: 14px; height: 14px; color: var(--gold-600); }

/* ---------- Floating WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal animation ---------- */

/* Animations only apply once JS has tagged <html class="js"> —
   without JS, all content stays visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Madinah programme (Gateway2Khair) ---------- */

.section-green {
  background:
    radial-gradient(900px 420px at 82% -5%, #1E5546 0%, transparent 60%),
    radial-gradient(700px 380px at 8% 100%, #17453A 0%, transparent 55%),
    linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 100%);
  color: #fff;
}
.section-green .section-title { color: #fff; }
.section-green .section-sub { color: rgba(255, 255, 255, 0.72); }
.section-green .section-eyebrow { color: var(--gold-400); }

.program-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.program-main { padding: 44px 42px; }
.program-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.program-main h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 14px;
}
.program-main > p { color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; margin-bottom: 24px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.chip svg { width: 14px; height: 14px; color: var(--gold-400); flex: none; }

.program-side {
  background: linear-gradient(165deg, rgba(201, 162, 75, 0.18), rgba(201, 162, 75, 0.05));
  border-left: 1px solid rgba(201, 162, 75, 0.35);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.program-price-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.program-price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.05;
}
.program-price-sub { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

.program-meta { display: grid; gap: 11px; }
.program-meta span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}
.program-meta svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold-400); }

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.track-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 30px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.track-card:hover { border-color: var(--gold-500); transform: translateY(-4px); }
.tk-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 162, 75, 0.16);
  border: 1px solid rgba(201, 162, 75, 0.4);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  margin-bottom: 16px;
}
.tk-icon svg { width: 21px; height: 21px; }
.track-card h4 { font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin-bottom: 9px; }
.track-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 14px; }
.track-card small {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* Sponsorship banner */
.sponsor-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  border-radius: 22px;
  padding: 44px 46px;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  box-shadow: 0 18px 46px rgba(201, 162, 75, 0.35);
}
.sponsor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sponsor-kicker svg { width: 15px; height: 15px; }
.sponsor-banner h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.sponsor-banner p { max-width: 560px; font-size: 0.96rem; }
.sponsor-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sponsor-actions small { font-size: 0.78rem; opacity: 0.8; }

/* ---------- Brotherhood retreats ---------- */

.retreat-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: center;
}
.retreat-date {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-600);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.retreat-date svg { width: 15px; height: 15px; }
.retreat-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--navy-800);
  margin: 20px 0 14px;
}
.retreat-copy p { color: var(--muted); font-size: 0.98rem; margin-bottom: 14px; }
.retreat-note { font-weight: 700; color: var(--gold-600) !important; }
.retreat-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.retreat-activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.activity {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-800);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.activity:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.activity svg { width: 22px; height: 22px; color: var(--gold-600); }
.activity small { font-weight: 500; color: var(--muted); font-size: 0.73rem; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    display: none;
    box-shadow: 0 18px 30px rgba(7, 15, 38, 0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .program-card { grid-template-columns: 1fr; }
  .program-side { border-left: none; border-top: 1px solid rgba(201, 162, 75, 0.35); }
  .retreat-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero-inner { padding: 68px 20px 170px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .topbar .container { justify-content: center; }
  .topbar-note { display: none; }
  .group-banner { padding: 32px 26px; }
  .retreat-activities { grid-template-columns: 1fr 1fr; }
  .program-main, .program-side { padding: 32px 26px; }
  .sponsor-banner { padding: 34px 28px; }
}
