/* ============================================================
   DUROOB AL HARMAIN — PREMIUM REDESIGN v3
   Deep Navy + Gold. Rich section backgrounds. No flat white.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:         #0a1628;
  --navy-mid:     #0f2040;
  --navy-light:   #162a52;
  --navy-soft:    #1e3463;
  --navy-card:    #111e38;
  --gold:         #c9a84c;
  --gold-dark:    #a8872e;
  --gold-light:   #f5e9c8;
  --gold-soft:    #fdf6e3;
  --cream:        #faf8f4;
  --warm-gray:    #f2f0ec;
  --section-alt:  #f4f6fb;
  --white:        #ffffff;
  --gray-light:   #eef0f6;
  --gray:         #6b7385;
  --gray-dark:    #2c3347;
  --text:         #1a1f2e;
  --border:       #e2e6f0;
  --shadow-sm:    0 2px 12px rgba(10,22,40,0.07);
  --shadow:       0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg:    0 16px 52px rgba(10,22,40,0.16);
  --shadow-gold:  0 8px 32px rgba(201,168,76,0.30);
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    22px;
  --transition:   all 0.3s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text); background: #fff;
  line-height: 1.65; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.80);
  font-size: 12.5px; padding: 9px 0;
  border-bottom: 1px solid rgba(201,168,76,0.22);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar .top-left span { margin-right: 20px; display: inline-flex; align-items: center; gap: 6px; }
.top-bar .top-left span i { color: var(--gold); }
.top-bar .top-left a { color: rgba(255,255,255,0.80); transition: color .2s; }
.top-bar .top-left a:hover { color: var(--gold); }
.top-bar .top-right a {
  color: rgba(255,255,255,0.72); margin-left: 16px;
  display: inline-flex; align-items: center; gap: 5px; transition: var(--transition);
}
.top-bar .top-right a:hover { color: var(--gold); }

/* ===== HEADER ===== */
header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  position: sticky; top: 0; z-index: 999;
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo span, .logo .logo-text { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.logo span em, .logo .logo-text em { color: var(--gold); font-style: normal; }
nav { display: flex; align-items: center; }
nav ul { display: flex; gap: 2px; align-items: center; }
nav ul li a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-weight: 500; font-size: 14px; color: var(--gray-dark); transition: var(--transition); white-space: nowrap;
}
nav ul li a:hover, nav ul li a.active { background: var(--gold-soft); color: var(--navy); }
.nav-cta a { background: var(--navy) !important; color: #fff !important; padding: 10px 22px !important; border-radius: 30px !important; font-weight: 600 !important; }
.nav-cta a:hover { background: var(--navy-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; flex-shrink: 0; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--navy); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: 14.5px; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-navy, .btn-green { background: var(--navy); color: #fff; border-color: var(--navy); border-radius: 50px; }
.btn-navy:hover, .btn-green:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
/* White button for dark sections */
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--gold-soft); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 700px;
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/assets/images/images/ramadan-umrah-packages.webp') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(8,16,32,0.93) 0%, rgba(10,22,40,0.86) 45%, rgba(15,32,64,0.62) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero-inner { max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.45);
  padding: 7px 18px; border-radius: 30px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.badge {
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(6px);
}
.hero-inner h1 {
  font-family: 'Playfair Display', serif; font-size: 54px; font-weight: 800;
  line-height: 1.12; margin-bottom: 20px; letter-spacing: -0.5px;
  color: #fff;
}
.hero-inner h1 span { color: var(--gold); }
.hero-inner > p { font-size: 16px; opacity: 0.87; margin-bottom: 32px; line-height: 1.8; max-width: 520px; font-weight: 300; color: #fff; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* QUOTE FORM */
.hero-quote-section { margin-top: 18px; }
#toggleQuoteBtn {
  background: var(--gold); color: #fff; border: none; padding: 15px 38px; border-radius: 50px;
  font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px; min-height: 48px; box-shadow: 0 6px 28px rgba(201,168,76,0.45); transition: .25s;
}
#toggleQuoteBtn:hover { background: var(--gold-dark); transform: translateY(-2px); }
#quoteFormWrap { overflow: hidden; max-height: 0; width: min(980px, calc(100vw - 48px)); transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.3s ease; opacity: 0; margin-top: 0; }
#quoteFormWrap.open { max-height: 900px; opacity: 1; margin-top: 18px; }
.eq-form-card {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(24px);
  border-radius: 20px; box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  padding: 28px 30px 22px; border-top: 3px solid var(--gold);
  width: 100%;
}
.eq-form-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 18px; font-family: 'Playfair Display', serif; display: flex; align-items: center; gap: 8px; }
.eq-row { display: grid; gap: 11px; margin-bottom: 11px; }
.eq-row-1 { grid-template-columns: 2fr 1fr 1fr; }
.eq-row-2 { grid-template-columns: repeat(4, 1fr); }
.eq-row-3 { grid-template-columns: 1fr 1fr; }
.eq-row-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.eq-field { display: flex; flex-direction: column; gap: 4px; }
.eq-field label { font-size: 10.5px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.7px; }
.eq-field input, .eq-field select { width: 100%; padding: 10px 12px; border: 1.5px solid #dde3ee; border-radius: 10px; font-size: 13px; color: var(--gray-dark); background: #fff; transition: border-color .2s; box-sizing: border-box; }
.eq-field input:focus, .eq-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.eq-submit-btn { background: var(--navy); color: #fff; border: none; padding: 12px 30px; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: .2s; }
.eq-submit-btn:hover { background: var(--navy-light); }
.eq-note { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.eq-age-guide { margin: -2px 0 11px; padding: 8px 10px; border: 1px solid rgba(201,168,76,0.35); border-radius: 10px; background: #fdf8ed; color: #7a6122; font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.45; }
.eq-age-guide span { color: rgba(122,97,34,0.45); margin: 0 5px; }

@media (min-width: 769px) {
  .hero .container {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  /* Desktop hero: keep the text block intact, but centre the three CTA buttons
     inside a wider CTA row so the row looks balanced without affecting the
     collapsible quote form underneath. */
  .hero-inner {
    max-width: 960px;
  }

  .hero-inner h1 {
    max-width: 680px;
  }

  .hero-inner > p {
    max-width: 560px;
  }

  .hero-btns {
    flex-wrap: nowrap;
    justify-content: center;
    width: min(860px, calc(100vw - 96px));
  }

  .hero-btns .btn,
  .hero-btns #toggleQuoteBtn {
    width: 220px;
    height: 52px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-quote-section {
    width: min(1240px, calc(100vw - 96px));
    max-width: none;
  }

  #quoteFormWrap {
    width: 100%;
  }

  .eq-form-card {
    padding: 22px 28px 18px;
  }

  .eq-form-card h2,
  .eq-form-card h3 {
    margin-bottom: 14px;
  }

  .eq-form-card form {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px 12px;
    align-items: end;
  }

  .eq-row {
    display: contents;
    margin-bottom: 0;
  }

  .eq-row-1 .eq-field:nth-child(1) { grid-column: span 5; }
  .eq-row-1 .eq-field:nth-child(2) { grid-column: span 4; }
  .eq-row-1 .eq-field:nth-child(3) { grid-column: span 3; }

  .eq-age-guide { grid-column: 1 / -1; margin: -2px 0 0; }

  .eq-row-2 .eq-field:nth-child(1),
  .eq-row-2 .eq-field:nth-child(2),
  .eq-row-2 .eq-field:nth-child(3),
  .eq-row-2 .eq-field:nth-child(4) { grid-column: span 3; }

  .eq-row-3 .eq-field:nth-child(1) { grid-column: span 6; }
  .eq-row-3 .eq-field:nth-child(2) { grid-column: span 6; }

  .eq-recaptcha-wrap {
    grid-column: span 4;
    margin: 0 !important;
    align-self: end;
  }

  .eq-row-submit {
    grid-column: span 8;
    margin: 0;
    gap: 12px;
    flex-wrap: nowrap;
    align-self: end;
  }

  .eq-submit-btn {
    min-width: 220px;
    height: 48px;
    flex: 0 0 auto;
  }

  .eq-note {
    white-space: nowrap;
  }
}

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--navy-mid); border-bottom: 3px solid var(--gold); padding: 16px 0; }
.trust-bar .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #fff; }
.trust-item i { font-size: 20px; color: var(--gold); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; }
.trust-item span { font-size: 11.5px; opacity: 0.70; }

/* ===== SECTION BASE ===== */
section { padding: 84px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .tag {
  display: inline-block; background: var(--gold-soft); color: var(--gold-dark);
  padding: 6px 18px; border-radius: 30px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; border: 1px solid var(--gold-light);
}
/* Dark section tag */
.section-header .tag-dark {
  display: inline-block; background: rgba(201,168,76,0.15); color: var(--gold);
  padding: 6px 18px; border-radius: 30px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; border: 1px solid rgba(201,168,76,0.3);
}
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 12px; }
.section-header h2 span { color: var(--gold); }
.section-header h2.on-dark { color: #fff; }
.section-header p { color: var(--gray); font-size: 15px; max-width: 580px; margin: 0 auto; line-height: 1.8; }
.section-header p.on-dark { color: rgba(255,255,255,0.72); }
.gold-divider { width: 52px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 2px; }

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-tab { padding: 9px 22px; border: 2px solid var(--navy); background: transparent; color: var(--navy); border-radius: 30px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.filter-tab.active, .filter-tab:hover { background: var(--navy); color: #fff; }

/* ===== PACKAGES GRID ===== */
.packages-grid, .packages-list-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* ===== PACKAGE CARD ===== */
.pkg-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10,22,40,0.10);
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pkg-img {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.pkg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pkg-card:hover .pkg-img img { transform: scale(1.06); }
.pkg-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.60) 0%, transparent 55%); }
.pkg-img .pkg-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold); color: #fff; padding: 5px 13px; border-radius: 20px; font-size: 11.5px; font-weight: 700; }
.pkg-img .pkg-stars { position: absolute; bottom: 12px; right: 14px; z-index: 2; color: var(--gold); font-size: 13px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.pkg-body { padding: 20px 20px 12px; flex: 1; background: #fff; }
.pkg-body h3 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--navy); line-height: 1.4; }
.pkg-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; min-width: 0; }
.pkg-features span { background: var(--gold-soft); color: var(--gold-dark); padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--gold-light); white-space: nowrap; flex: 0 0 auto; }
.pkg-detail-list { padding: 0; margin: 0 0 12px; }
.pkg-detail-list li { font-size: 13px; color: var(--gray); padding: 3px 0; display: flex; gap: 8px; align-items: flex-start; }
.pkg-detail-list li i { color: var(--gold); width: 14px; flex-shrink: 0; margin-top: 3px; }
.pkg-more { color: var(--gold) !important; font-weight: 600; font-size: 11.5px !important; padding-left: 22px !important; list-style: none; }
.pkg-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--section-alt); margin-top: auto; }
.pkg-price { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.pkg-price small { font-size: 11px; color: var(--gray); font-weight: 400; display: block; margin-top: 3px; }
.pkg-actions { display: flex; gap: 8px; flex-wrap: nowrap; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.btn-pkg-detail,
.btn-pkg-wa { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; max-width: 160px; min-height: 44px; padding: 9px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .18s ease; white-space: nowrap; line-height: 1.1; }
.btn-pkg-detail { border: 1.5px solid var(--border); color: var(--navy); background: transparent; }
.btn-pkg-detail:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn-pkg-wa { gap: 6px; background: #25D366; color: #fff; border: 1.5px solid #25D366; }
.btn-pkg-wa:hover { opacity: .88; color: #fff; }

/* ===== WHY US — NAVY DARK BG ===== */
.why-us {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.why-us::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; position: relative; z-index: 1; }
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg); padding: 30px 22px;
  text-align: center; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.why-icon {
  width: 64px; height: 64px;
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.why-icon i { font-size: 22px; color: var(--gold); }
.why-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.65; }

/* ===== STATS ===== */
.stats-section {
  background: var(--navy-mid);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.stats-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 380px; height: 380px; background: rgba(201,168,76,0.04); border-radius: 50%; }
.stats-section::after  { content: ''; position: absolute; bottom: -60px; left: -60px; width: 280px; height: 280px; background: rgba(201,168,76,0.03); border-radius: 50%; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; position: relative; z-index: 1; }
.stat-item { border-right: 1px solid rgba(255,255,255,0.08); padding: 10px 0; }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 800; color: var(--gold); line-height: 1; display: block; }
.stat-item p { font-size: 14px; opacity: 0.70; margin-top: 8px; font-weight: 500; letter-spacing: 0.3px; }

/* ===== HOLY CITIES ===== */
.destinations-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.dest-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 260px; cursor: pointer; box-shadow: var(--shadow); display: block; transition: var(--transition); text-decoration: none; }
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dest-card:hover img { transform: scale(1.07); }
.dest-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,22,40,0.88)); color: #fff; padding: 30px 18px 16px; }
.dest-overlay .dest-icon { width: 32px; height: 32px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.dest-overlay .dest-icon i { font-size: 14px; color: #fff; }
.dest-overlay h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; font-family: 'Playfair Display', serif; }
.dest-overlay span { font-size: 12px; opacity: 0.78; }

/* ===== TESTIMONIALS — DARK WITH PATTERN ===== */
.testimonials {
  background: var(--navy-card);
  position: relative; overflow: hidden;
}
/* Subtle geometric pattern overlay */
.testimonials::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.02) 0%, transparent 40%);
}
.testimonials .container { position: relative; z-index: 1; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: var(--transition); backdrop-filter: blur(6px);
}
.review-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.30);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.30);
}
.stars { color: var(--gold); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.review-card > p { font-size: 14px; color: rgba(255,255,255,0.72); font-style: italic; line-height: 1.8; margin-bottom: 20px; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-light); border: 2px solid rgba(201,168,76,0.4); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.reviewer strong { font-size: 14px; color: #fff; display: block; font-weight: 700; }
.reviewer span { font-size: 12px; color: rgba(255,255,255,0.50); }

/* ===== FAQ — WARM LIGHT BG ===== */
.faq-section {
  background: var(--warm-gray);
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
}
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--navy); background: #fff; transition: var(--transition); gap: 12px; user-select: none; }
.faq-q:hover { background: var(--gold-soft); }
.faq-q i { transition: transform 0.3s ease; color: var(--gold); flex-shrink: 0; }
.faq-q.open { background: var(--navy); color: #fff; }
.faq-q.open i { transform: rotate(180deg); color: var(--gold); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; font-size: 14px; color: var(--gray-dark); line-height: 1.8; background: #fff; }
.faq-a.open { max-height: 800px; padding: 18px 22px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.faq-cat { padding: 9px 20px; border: 2px solid var(--navy); background: transparent; color: var(--navy); border-radius: 30px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.faq-cat.active, .faq-cat:hover { background: var(--navy); color: #fff; }

/* ===== CITIES — NAVY BG ===== */
.cities-section {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.cities-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.cities-section .container { position: relative; z-index: 1; }
.cities-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.city-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 180px; display: block; transition: var(--transition); box-shadow: var(--shadow); cursor: pointer; text-decoration: none; }
.city-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.city-card:hover img { transform: scale(1.08); }
.city-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.15) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 14px; color: #fff; }
.city-overlay strong { font-size: 15px; font-weight: 700; display: block; font-family: 'Playfair Display', serif; }
.city-overlay span { font-size: 11px; opacity: 0.75; margin-top: 2px; display: block; }
.city-arrow { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; background: rgba(255,255,255,0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; transition: var(--transition); }
.city-card:hover .city-arrow { background: var(--gold); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 84px 0; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.05) 0%, transparent 55%);
}
.cta-banner .container { position: relative; z-index: 1; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  background: url('/assets/images/images/pilgrims-performing-tawaf-kaaba.webp') center/cover no-repeat;
  padding: 64px 0; color: #fff; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,16,32,0.92), rgba(10,22,40,0.82)); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 13px; opacity: 0.72; }
.breadcrumb a { color: #fff; } .breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: 0.6; }
/* Legacy breadcrumb-section for inner pages */
.breadcrumb-section {
  position: relative;
  background: url('/assets/images/images/family-umrah-packages.webp') center/cover no-repeat;
  padding: 64px 0; color: #fff; overflow: hidden;
}
.breadcrumb-section::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,16,32,0.92), rgba(10,22,40,0.82)); }
.breadcrumb-section .container { position: relative; z-index: 1; }
.breadcrumb-section h1, .breadcrumb-section h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; margin-bottom: 8px; }

/* ===== FOOTER ===== */
footer { background: var(--navy); color: #fff; padding: 64px 0 0; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { font-size: 13.5px; opacity: 0.70; margin: 14px 0 18px; line-height: 1.75; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; }
.footer-logo em { color: var(--gold); font-style: normal; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,0.07); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; transition: var(--transition); }
.footer-social a:hover { background: var(--gold); }
footer h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 16px; color: #fff; letter-spacing: 0.4px; }
footer ul li { margin-bottom: 9px; }
footer ul li a { font-size: 13px; color: rgba(255,255,255,0.62); transition: var(--transition); }
footer ul li a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.68); margin-bottom: 10px; }
.footer-contact li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; font-size: 12.5px; color: rgba(255,255,255,0.40); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-newsletter input { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: #fff; font-size: 13px; margin-bottom: 8px; outline: none; box-sizing: border-box; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter input:focus { border-color: var(--gold); }
.footer-newsletter button { width: 100%; background: var(--gold); color: #fff; border: none; padding: 11px; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.footer-newsletter button:hover { background: var(--gold-dark); }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; color: var(--gray-dark); background: #fff; transition: border-color .2s; box-sizing: border-box; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== DETAIL / CONTACT GRIDS ===== */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.detail-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.detail-card-body { padding: 28px; }
.detail-card-header { background: var(--navy); color: #fff; padding: 24px 28px; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner h1 { font-size: 44px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .packages-grid, .packages-list-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .hero { min-height: 560px; }
  .hero-inner h1 { font-size: 34px; }
  .hero-inner > p { font-size: 14px; }
  .packages-grid, .packages-list-grid { grid-template-columns: 1fr; }
  .destinations-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .cities-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .eq-row-1 { grid-template-columns: 1fr 1fr; }
  .eq-row-2, .eq-row-3 { grid-template-columns: 1fr; }
  nav { display: none; }
  nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); }
  nav.open ul { flex-direction: column; width: 100%; }
  nav.open ul li a { padding: 12px 16px; }
  .hamburger { display: flex; }
  section { padding: 56px 0; }
  .section-header h2 { font-size: 28px; }
  .stat-item { border-right: none; }
}
@media (max-width: 480px) {
  .hero-inner h1 { font-size: 28px; }
  .cities-grid { grid-template-columns: repeat(2,1fr); }
  .destinations-grid { grid-template-columns: repeat(2,1fr); }
  .hero-btns { flex-direction: column; }
  .eq-row-1 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   v4 ADDITIONS — Mobile-first, curved cards, animations
   ============================================================ */

/* ===== FOOTER LOGO IMAGE ===== */
.footer-logo-img {
  height: 110px;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  display: block;
}

/* ===== NAV LOGO TEXT ===== */
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.logo-text em { color: var(--gold); font-style: normal; }
@media (max-width: 380px) {
  .logo-text { font-size: 16px; }
}

/* ===== ANIMATIONS — scroll reveal ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1);    }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0);     }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes floatUpDown {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
@keyframes rotateStar {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* Animate-on-scroll classes (JS adds .anim-visible) */
.anim { opacity: 0; }
.anim.anim-visible { animation-fill-mode: both; animation-duration: 0.65s; animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
.anim-fadeup   { }  .anim-fadeup.anim-visible   { animation-name: fadeUp;     }
.anim-fadein   { }  .anim-fadein.anim-visible   { animation-name: fadeIn;     }
.anim-scalein  { }  .anim-scalein.anim-visible  { animation-name: scaleIn;    }
.anim-left     { }  .anim-left.anim-visible     { animation-name: slideLeft;  }
.anim-right    { }  .anim-right.anim-visible    { animation-name: slideRight; }
.anim-delay-1  { animation-delay: 0.1s !important; }
.anim-delay-2  { animation-delay: 0.2s !important; }
.anim-delay-3  { animation-delay: 0.3s !important; }
.anim-delay-4  { animation-delay: 0.4s !important; }
.anim-delay-5  { animation-delay: 0.5s !important; }
.anim-delay-6  { animation-delay: 0.6s !important; }
.anim-delay-7  { animation-delay: 0.7s !important; }
.anim-delay-8  { animation-delay: 0.8s !important; }

/* Hero inner animate */
.hero-eyebrow { animation: fadeUp 0.7s ease 0.2s both; }
.hero-badges  { animation: fadeUp 0.7s ease 0.35s both; }
.hero-inner h1 { animation: fadeUp 0.8s ease 0.45s both; }
.hero-inner > p { animation: fadeUp 0.7s ease 0.6s both; }
.hero-btns    { animation: fadeUp 0.7s ease 0.75s both; }
.hero-quote-section { animation: fadeUp 0.7s ease 0.9s both; }

/* Trust bar items */
.trust-item { animation: fadeIn 0.5s ease both; }

/* Gold pulse on CTA buttons */
.btn-gold { animation: pulse 2.5s ease-in-out infinite; }
.btn-gold:hover { animation: none; }

/* Float animation for gold divider */
.gold-divider { animation: floatUpDown 3s ease-in-out infinite; }

/* Stats counter shimmer */
.stat-item .num {
  background: linear-gradient(90deg, var(--gold) 0%, #f5d98a 40%, var(--gold) 60%, #c9a84c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ===== MOBILE FIXES ===== */
/* Packages grid mobile */
@media (max-width: 768px) {
  .packages-grid, .packages-list-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .pkg-img { height: 200px !important; }
}
@media (max-width: 480px) {
  .pkg-img { height: 180px !important; }
}

/* Top bar mobile */
@media (max-width: 600px) {
  .top-bar .top-left a { font-size: 11.5px; }
  .top-bar .top-right a { font-size: 11.5px; margin-left: 10px; }
}

/* Hero mobile */
@media (max-width: 480px) {
  .hero { min-height: 520px; }
  .hero-inner h1 { font-size: 26px; line-height: 1.2; }
  .hero-inner > p { font-size: 13.5px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  #toggleQuoteBtn { width: 100%; justify-content: center; font-size: 14px; padding: 13px 20px; }
}

/* Quote form mobile */
@media (max-width: 640px) {
  .eq-row-1, .eq-row-2, .eq-row-3 { grid-template-columns: 1fr 1fr !important; }
  .eq-form-card { padding: 20px 16px 16px; }
}
@media (max-width: 380px) {
  .eq-row-1, .eq-row-2, .eq-row-3 { grid-template-columns: 1fr !important; }
}

/* Trust bar mobile */
@media (max-width: 600px) {
  .trust-bar .container {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    align-items: stretch;
    gap: 8px;
    overflow: visible;
    flex-wrap: initial;
    padding-bottom: 0;
  }
  .trust-item {
    width: 100%;
    min-width: 0;
    flex-shrink: 1;
    justify-content: flex-start;
  }
}

/* Why cards mobile */
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .why-card { padding: 20px 14px; }
  .why-icon { width: 48px; height: 48px; }
  .why-icon i { font-size: 18px; }
}

/* Stats mobile */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 20px; }
  .stat-item .num { font-size: 38px; }
}

/* Destinations mobile */
@media (max-width: 480px) {
  .destinations-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .dest-card { height: 200px; }
}

/* Testimonials mobile */
@media (max-width: 480px) {
  .testimonials-grid { grid-template-columns: 1fr !important; }
}

/* Cities mobile */
@media (max-width: 480px) {
  .cities-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .city-card { height: 150px; }
}

/* Nav mobile */
@media (max-width: 768px) {
  nav#main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 16px 16px; box-shadow: 0 12px 32px rgba(10,22,40,0.12); border-radius: 0 0 16px 16px; z-index: 1000; border-top: 3px solid var(--gold); }
  nav#main-nav.open { display: block !important; }
  nav#main-nav ul { flex-direction: column; gap: 0; }
  nav#main-nav ul li a { padding: 12px 16px; border-radius: 10px; display: block; font-size: 15px; }
  nav#main-nav ul li a:hover { background: var(--gold-soft); }
  .nav-cta a { background: var(--navy) !important; color: #fff !important; text-align: center; margin-top: 8px; }
  .hamburger { display: flex !important; }
}

/* Footer mobile */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }
}

/* Section header mobile */
@media (max-width: 480px) {
  .section-header h2 { font-size: 24px; }
  .section-header p  { font-size: 14px; }
  section { padding: 52px 0; }
}

/* Button mobile */
@media (max-width: 480px) {
  .btn { padding: 12px 22px; font-size: 14px; }
}

/* Filter tabs mobile scroll */
@media (max-width: 600px) {
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .filter-tab  { flex-shrink: 0; }
}

/* Detail grid + contact mobile */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .about-grid { grid-template-columns: 1fr !important; }
}

/* Breadcrumb mobile */
@media (max-width: 480px) {
  .breadcrumb-section h1, .page-hero h1 { font-size: 26px; }
}

/* reCAPTCHA responsive */
.g-recaptcha { transform-origin: left top; }
@media (max-width: 380px) {
  .g-recaptcha { transform: scale(0.88); }
}

/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */

/* Submit Button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 28px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,22,40,0.25);
}
.btn-submit:active { transform: translateY(0); }

/* Contact Method Cards */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-method {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.contact-method i {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}
.contact-method h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-method a {
  display: block;
  font-size: 13.5px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 6px;
  word-break: break-all;
}
.contact-method a:hover { color: var(--navy); }
.contact-method p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

/* Contact Form Title */
.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

/* Contact Info Box (sidebar) */
.contact-info-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  border-top: 3px solid var(--gold);
}
.contact-info-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info-box h3 i { color: var(--gold); }

/* Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.hours-table th {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding: 6px 10px 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hours-table td {
  padding: 7px 10px 7px 0;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tr:first-child td { font-weight: 600; color: var(--navy); }
.open-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

/* Social Links */
.social-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
  color: #fff;
}
.sc-fb { background: #1877F2; }
.sc-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sc-wa { background: #25D366; }
.sc-yt { background: #FF0000; }
.sc-tt { background: #010101; }
.social-contact a:hover { opacity: 0.88; transform: translateX(4px); }

/* Enquiry Card */
.enquiry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  border-top: 3px solid var(--gold);
}
.enquiry-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.enquiry-card h3 i { color: var(--gold); }

/* Form Note */
.form-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 10px;
  text-align: center;
}

/* ===== CONTACT PAGE RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-methods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contact-methods { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-method { padding: 18px 12px; }
  .contact-method i { font-size: 22px; }
  .enquiry-card { padding: 22px 16px; }
  .contact-form-title { font-size: 18px; }
}

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */

/* About Grid — image box + text side by side */
.about-img-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 60%, rgba(201,168,76,0.15) 0%, transparent 65%);
}
.about-img-box i {
  font-size: 100px;
  color: var(--gold);
  opacity: 0.85;
  position: relative;
  z-index: 1;
  text-shadow: 0 8px 32px rgba(201,168,76,0.4);
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}
.about-text h2 span { color: var(--gold); }
.about-text p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* Checklist */
.about-checklist {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-dark);
  font-weight: 500;
}
.about-checklist li i {
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

/* Cert Badges */
.cert-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-light);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12.5px;
}
.cert-badge i { color: var(--gold); }
.cert-badge strong { font-weight: 700; }

/* Mission / Vision / Values */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mission-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  border-bottom: 3px solid var(--gold);
  transition: var(--transition);
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.mission-card i {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.mission-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.mission-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.8;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.2));
}
.tl-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 32px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -44px;
  top: 2px;
  width: 34px;
  height: 34px;
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  z-index: 1;
  flex-shrink: 0;
}
.tl-item span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  border: 1px solid var(--gold-light);
}
.tl-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.tl-item p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.75;
}

/* ===== ABOUT PAGE RESPONSIVE ===== */
@media (max-width: 768px) {
  .mission-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-img-box { min-height: 220px; }
  .about-img-box i { font-size: 72px; }
  .about-text h2 { font-size: 26px; }
}
@media (max-width: 480px) {
  .cert-badges { gap: 8px; }
  .cert-badge { font-size: 11.5px; padding: 6px 12px; }
  .timeline { padding-left: 24px; }
  .tl-item { padding-left: 20px; }
  .tl-dot { left: -36px; width: 28px; height: 28px; font-size: 11px; }
  .mission-card { padding: 24px 18px; }
}

/* ============================================================
   v6 FIXES — H2 visibility, FAQ page, footer, contact-box
   ============================================================ */

/* ===== FIX: H2 ON DARK SECTIONS — ensure always visible ===== */
/* Any section with dark background — h2 must be white */
.why-us .section-header h2,
.testimonials .section-header h2,
.cities-section .section-header h2,
.cta-banner h2,
.stats-section h2 {
  color: #fff !important;
}
/* Ensure span gold still shows in dark h2 */
.why-us .section-header h2 span,
.testimonials .section-header h2 span,
.cities-section .section-header h2 span,
.cta-banner h2 span {
  color: var(--gold) !important;
}

/* ===== FAQ PAGE — missing styles ===== */
.faq-group {
  margin-bottom: 36px;
}
.faq-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.faq-section-title i {
  color: var(--gold);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* FAQ item active state fix */
.faq-item.active .faq-q {
  background: var(--navy);
  color: #fff;
}
.faq-item.active .faq-q i {
  transform: rotate(180deg);
  color: var(--gold);
}
/* faq-a: support BOTH JS approaches (display:block and max-height) */
.faq-a {
  display: none;
  padding: 0 22px;
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.8;
  background: #fff;
}
.faq-a.open,
.faq-a[style*="display: block"],
.faq-a[style*="display:block"] {
  display: block !important;
  padding: 18px 22px !important;
  max-height: none !important;
}
/* Override old max-height approach to use display instead */
.faq-q.open + .faq-a {
  display: block;
  padding: 18px 22px;
}

/* ===== CONTACT BOX (FAQ page bottom) ===== */
.contact-box {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.10) 0%, transparent 65%);
}
.contact-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.contact-box p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.contact-box-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER FIX — ensure footer always renders ===== */
footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* Fix footer logo image path — fallback text shows if image 404s */
.footer-logo-img {
  max-height: 90px;
  width: auto;
  border-radius: 10px;
}

/* ===== FIX: hide-mobile class used in top bar nav ===== */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
}

/* ===== FIX: FAQ categories scrollable on mobile ===== */
@media (max-width: 600px) {
  .faq-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .faq-cat { flex-shrink: 0; }
  .contact-box { padding: 28px 20px; }
  .contact-box h3 { font-size: 20px; }
}

/* ===== FIX: package detail list checks ===== */
.pkg-detail-list li i.fa-check {
  color: var(--gold);
  width: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== FIX: section-header p margin when on-dark ===== */
.section-header p.on-dark {
  margin-top: 12px;
}

/* ===== FIX: nav sticky z-index over page hero ===== */
header {
  z-index: 1000 !important;
}

/* ============================================================
   v7 MOBILE RESPONSIVENESS + VISUAL BALANCE PATCH
   Scope: public pages only. Removes horizontal mobile scrolling,
   balances CTAs/badges, compacts why-cards, and standardises buttons.
   ============================================================ */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

.container {
  width: 100%;
}

/* Consistent primary/secondary button geometry */
.btn,
.btn-submit,
.eq-submit-btn,
#toggleQuoteBtn,
.filter-toggle-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width:200px;
  max-width:210px;
}

.fpanel-clear {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn,
.btn-submit,
.eq-submit-btn,
#toggleQuoteBtn {
  line-height: 1.2;
}

/* CTA pairs should look balanced instead of one long and one short. */
.hero-btns .btn,
.hero-btns #toggleQuoteBtn,
.cta-banner .btn,
.contact-box-btns .btn {
  min-width: 200px;
  max-width: 220px;
}

/* Fix centre alignment of hero buttons and quote button. */
.hero-btns {
  align-items: center;
}

/* Package cards: avoid CTA overflow on narrow devices. */
.pkg-actions,
.pkg-footer {
  min-width: 0;
}

/* Defensive: images/iframes/forms must never force horizontal overflow. */
img,
iframe,
video,
form,
input,
select,
textarea,
button {
  max-width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto !important;
    text-align: center;
  }

  .hero .container {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .hero-inner {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero-eyebrow {
    width: 100%;
    max-width: 336px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 14px;
    padding-right: 14px;
    line-height: 1.45;
  }

  .hero-badges {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 336px;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
    justify-items: stretch;
  }

  .hero-badges .badge,
  .badge {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero-inner h1 {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-size: 29px !important;
    line-height: 1.16 !important;
  }

  .hero-inner > p {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14.5px !important;
    line-height: 1.72;
  }

  .hero-btns {
    width: 100%;
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    gap: 12px;
  }

  .hero-btns .btn,
  #toggleQuoteBtn,
  .eq-submit-btn {
    width: 100% !important;
    max-width: 336px;
    min-height: 52px;
    margin-left: auto;
    margin-right: auto;
    padding: 13px 18px !important;
    white-space: normal;
  }

  .hero-quote-section {
    width: 100%;
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px;
  }

  .eq-row-submit {
    justify-content: center;
  }

  .eq-note {
    justify-content: center;
    text-align: center;
  }

  /* NO horizontal trust bar on mobile. */
  .trust-bar {
    padding: 12px 0;
  }

  .trust-bar .container {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    justify-content: stretch;
    overflow: visible !important;
    flex-wrap: initial !important;
    padding-bottom: 0 !important;
  }

  .trust-item {
    width: 100%;
    min-width: 0;
    flex-shrink: 1;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 13px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
  }

  .trust-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
  }

  .trust-item strong {
    font-size: 11.7px;
    line-height: 1.2;
  }

  .trust-item span {
    display: none;
  }

  /* NO horizontal package category tabs. */
  .filter-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible !important;
    flex-wrap: initial !important;
    justify-content: stretch !important;
    padding-bottom: 0 !important;
  }

  .filter-tabs .filter-tab {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    white-space: normal;
  }

  .filter-tabs .filter-tab:first-child {
    grid-column: 1 / -1;
  }

  /* Package filter panel on packages.php: wrap, no x-scroll. */
  .filter-toggle-bar .container {
    align-items: stretch !important;
  }

  .filter-toggle-bar .container > div:last-child {
    width: 100%;
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .filter-toggle-btn,
  .fpanel-clear {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .filter-toggle-btn .filter-badge {
    flex: 0 0 auto;
  }

  .fpanel-pills {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fpanel-pills .fpill {
    width: 100%;
    min-height: 40px;
    justify-content: center;
    white-space: normal;
    line-height: 1.15;
  }

  .fpanel-pills .fpill:first-child {
    grid-column: 1 / -1;
  }

  .fpanel-group,
  .fpanel-group:nth-child(odd) {
    width: 100%;
    min-width: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    border-right: none !important;
  }

  .fpanel-group-budget,
  .price-range-wrap,
  .price-range-labels {
    min-width: 0 !important;
    width: 100%;
  }

  .budget-display {
    display: inline-block;
    margin-top: 4px;
    margin-left: 0;
    white-space: normal;
  }

  /* Why cards become compact horizontal full-width cards. */
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .why-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 14px 16px !important;
    border-radius: 18px;
    min-height: 98px;
  }

  .why-icon {
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
  }

  .why-icon i {
    font-size: 18px !important;
  }

  .why-card h4 {
    font-size: 13.8px;
    margin: 0 0 3px;
    line-height: 1.25;
  }

  .why-card p {
    font-size: 12.2px;
    line-height: 1.45;
    margin: 0;
  }

  /* CTA buttons in dark banner: same width/height, central aligned. */
  .cta-banner .btn,
  .contact-box-btns .btn {
    width: 270px;
    max-width: 100%;
    min-height: 52px;
    padding: 13px 18px !important;
    white-space: normal;
  }

  .cta-banner [style*="display:flex"],
  .contact-box-btns {
    align-items: center;
    justify-content: center !important;
  }

  /* Package detail mobile hero: avoid loose separate rating/number and oversized title. */
  .pkg-detail-hero h1,
  .breadcrumb-section h1,
  .page-hero h1 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .pkg-detail-hero h1 {
    font-size: 24px !important;
    line-height: 1.18 !important;
  }

  .pkg-detail-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    justify-content: stretch !important;
  }

  .pkg-detail-trust-grid span {
    justify-content: center;
    min-width: 0;
    min-height: 38px;
    border-radius: 12px;
    padding: 7px 8px;
    background: rgba(255,255,255,0.14);
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }

  .pkg-detail-trust-grid span:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .pkg-footer {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .pkg-footer .btn,
  .pkg-footer .btn-navy {
    width: 100%;
    min-height: 46px;
  }

  .pkg-price {
    text-align: center;
  }

  /* Contact cards and page boxes: no overflow. */
  .contact-methods {
    grid-template-columns: 1fr !important;
  }

  .contact-method a {
    word-break: break-word;
  }

  .contact-grid,
  .about-grid,
  .detail-grid {
    min-width: 0;
  }

  /* FAQ categories should wrap instead of scroll. */
  .faq-cats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible !important;
    flex-wrap: initial !important;
    justify-content: stretch !important;
    padding-bottom: 0 !important;
  }

  .faq-cat {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-eyebrow,
  .hero-badges,
  .hero-btns,
  .hero-quote-section,
  #toggleQuoteBtn,
  .filter-tabs {
    max-width: 100%;
  }

  .hero-inner h1 {
    font-size: 27px !important;
  }

  .hero-inner > p {
    font-size: 14px !important;
  }

  .trust-bar .container,
  .pkg-detail-trust-grid,
  .fpanel-pills,
  .faq-cats {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 92px;
    padding: 13px 14px !important;
  }
}

/* v7.1: inline-grid and city-page mobile overrides */
@media (max-width: 768px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .why-card {
    text-align: left !important;
    display: flex !important;
  }

  section [style*="display:flex"][style*="flex-wrap:wrap"]:has(.filter-tab) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    overflow: visible !important;
  }

  section [style*="display:flex"][style*="flex-wrap:wrap"]:has(.filter-tab) .filter-tab:first-child {
    grid-column: 1 / -1;
  }

  section [style*="display:flex"][style*="justify-content:center"]:has(.btn),
  section [style*="display:flex"][style*="flex-wrap:wrap"]:has(.btn) {
    justify-content: center !important;
    align-items: center !important;
  }

  section [style*="display:flex"][style*="justify-content:center"]:has(.btn) .btn,
  section [style*="display:flex"][style*="flex-wrap:wrap"]:has(.btn) .btn {
    width: 270px;
    max-width: 100%;
    min-height: 52px;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  section [style*="display:flex"][style*="flex-wrap:wrap"]:has(.filter-tab) {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   v8 MOBILE CORRECTIONS — no clipped form, equal CTA buttons,
   no unbalanced odd trust item on homepage/packages.
   ============================================================ */

/* The expandable homepage quote form was inheriting white text from the dark hero. */
.eq-form-card,
.eq-form-card * {
  color: var(--text);
}
.eq-form-card h2,
.eq-form-card h3 {
  color: var(--navy) !important;
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.eq-form-card h2 i,
.eq-form-card h3 i {
  color: var(--gold) !important;
}
.eq-form-card .eq-field label {
  color: var(--gray) !important;
}
.eq-form-card input,
.eq-form-card select,
.eq-form-card textarea {
  color: var(--gray-dark) !important;
}

/* Open form must not be clipped by a fixed max-height. */
#quoteFormWrap.open {
  max-height: 1200px !important;
  overflow: visible !important;
}

/* Reusable balanced CTA pair class added to public pages. */
.duroob-cta-pair {
  align-items: center;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  /* Let the expanded homepage form push the section down instead of clipping. */
  .hero {
    overflow: visible !important;
  }
  .hero .container,
  .hero-inner,
  .hero-quote-section,
  #quoteFormWrap,
  .eq-form-card {
    max-width: 100%;
    min-width: 0;
  }
  #quoteFormWrap {
    width: 100% !important;
  }
  #quoteFormWrap.open {
    max-height: 2600px !important;
  }
  .eq-form-card {
    width: 100%;
    padding: 20px 16px 18px !important;
  }
  .eq-form-card h2,
  .eq-form-card h3 {
    font-size: 17px !important;
  }
  .eq-row-1,
  .eq-row-2,
  .eq-row-3 {
    grid-template-columns: 1fr !important;
  }
  .eq-age-guide {
    font-size: 11px;
    text-align: left;
  }
  .eq-row-submit {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
  }
  .eq-submit-btn {
    width: 100% !important;
    min-height: 52px;
    justify-content: center;
    margin: 0 auto;
  }
  .g-recaptcha {
    max-width: 100%;
    overflow: hidden;
  }

  /* Every main two-button CTA pair should be visually equal on mobile. */
  .duroob-cta-pair {
    width: 100% !important;
    max-width: 336px;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    justify-content: center !important;
    align-items: stretch !important;
  }
  .duroob-cta-pair .btn,
  .breadcrumb-section .duroob-cta-pair .btn,
  .page-hero .duroob-cta-pair .btn,
  .pkg-page-cta .duroob-cta-pair .btn,
  .cta-banner .duroob-cta-pair .btn {
    width: 100% !important;
    max-width: 336px !important;
    min-height: 52px !important;
    padding: 13px 16px !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
  }

  /* Fallback for page heroes that still have inline flex wrappers without a class. */
  .breadcrumb-section .container > div[style*="display:flex"] .btn,
  .cta-banner .container > div[style*="display:flex"] .btn {
    width: 100% !important;
    max-width: 336px !important;
    min-height: 52px !important;
    justify-content: center !important;
  }
  .breadcrumb-section .container > div[style*="display:flex"],
  .cta-banner .container > div[style*="display:flex"] {
    max-width: 336px;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: stretch !important;
  }

  /* Trust bars: every item is a full-width, left-aligned row on mobile. */
  .trust-bar .container {
    grid-template-columns: 1fr !important;
  }
  .trust-item {
    width: 100% !important;
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

@media (max-width: 420px) {
  .duroob-cta-pair,
  .duroob-cta-pair .btn,
  .breadcrumb-section .container > div[style*="display:flex"],
  .breadcrumb-section .container > div[style*="display:flex"] .btn,
  .cta-banner .container > div[style*="display:flex"],
  .cta-banner .container > div[style*="display:flex"] .btn {
    max-width: 100% !important;
  }
}

/* ============================================================
   v9 FIX — homepage enquiry submit button contrast.
   The form card text reset was overriding button text colour.
   ============================================================ */
.eq-form-card .eq-submit-btn,
.eq-form-card button.eq-submit-btn,
#quoteFormWrap .eq-submit-btn {
  background: var(--navy) !important;
  color: #ffffff !important;
  border: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.eq-form-card .eq-submit-btn *,
.eq-form-card button.eq-submit-btn *,
#quoteFormWrap .eq-submit-btn * {
  color: #ffffff !important;
  opacity: 1 !important;
}
.eq-form-card .eq-submit-btn:hover,
#quoteFormWrap .eq-submit-btn:hover {
  background: var(--navy-light) !important;
  color: #ffffff !important;
}
