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

/* ============================================================
   Sama Al-Tameez Travel & Tourism — style.css
   Corporate-luxury travel identity. Dark navy + gold.
   Sections:  1 Tokens · 2 Base · 3 Type · 4 Layout · 5 Buttons
   6 Header · 7 Hero · 8 Page hero · 9 Cards/Grids · 10 About
   11 Vision · 12 Process · 13 Contact · 14 CTA · 15 Footer
   16 Back-to-top · 17 Reveal · 18 RTL · 19 Responsive
   ============================================================ */

@font-face {
  font-family: 'Muslimah';
  src: url('../font/Muslimah-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand (fixed) */
  --primary: #02254b;
  --gold: #e6b651;
  --gold-deep: #cfa23f;
  --gold-soft: rgba(var(--accent-rgb), 0.14);
  --white: #ffffff;
  --dark: #011a35;

  /* Fonts — Muslimah-Light for headings (falls back to Cairo for
     glyphs it doesn't cover, e.g. Arabic), Cairo for everything else */
  --font-heading: 'Muslimah', 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;

  /* Metrics */
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: 0.3s ease;
  --header-h: 72px;

  /* Header (dark in both themes once scrolled / on inner pages) */
  --header-scrolled: rgba(2, 37, 75, 0.92);
  --header-solid: var(--primary);
}

/* Dark theme (default) */
:root,
[data-theme="dark"] {
  --bg: #041a34;
  --bg-soft: #062446;
  --card: #082c56;
  --card-2: #0a3160;
  --heading: #ffffff;
  --text-main: #dce7f5;
  --text-muted: #9db3d2;
  --border: rgba(230, 182, 81, 0.24);
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
  --overlay: linear-gradient(180deg, rgba(2, 20, 43, 0.55) 0%, rgba(2, 20, 43, 0.82) 100%);

  /* Accent: gold on cards/body surfaces in dark mode */
  --accent: var(--gold);
  --accent-rgb: 230, 182, 81;
  --accent-hover: #f0c973;
  --on-accent: var(--primary);
}

/* Light theme */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f2f6fc;
  --card: #ffffff;
  --card-2: #f7faff;
  --heading: #02254b;
  --text-main: #26364d;
  --text-muted: #5c6f88;
  --border: rgba(2, 37, 75, 0.12);
  --border-soft: rgba(2, 37, 75, 0.08);
  --shadow: 0 24px 50px -28px rgba(2, 37, 75, 0.28);
  --overlay: linear-gradient(180deg, rgba(2, 20, 43, 0.5) 0%, rgba(2, 20, 43, 0.8) 100%);

  /* Accent: dark navy on cards/body surfaces in light mode (gold stays reserved for the always-dark header/hero/footer bands) */
  --accent: var(--primary);
  --accent-rgb: 2, 37, 75;
  --accent-hover: #0a3a72;
  --on-accent: #ffffff;
}

/* ---------- 2. Base / reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  transition: background var(--ease), color var(--ease);
}
body.lang-ar { font-weight: 400; }
body.menu-open { overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--primary); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--text-main); }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
body.lang-ar .eyebrow { letter-spacing: 1px; }
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.center .eyebrow { justify-content: center; }

.section-head p { color: var(--text-muted); font-size: 1.05rem; margin-top: 0.75rem; }
.section-head p + p { margin-top: 1rem; }

.lead { font-size: 1.12rem; color: var(--text-muted); }

/* Decorative gold flight arc (signature) */
.arc {
  display: block;
  width: 120px;
  height: 20px;
  margin-top: 1.25rem;
}
.center .arc { margin-inline: auto; }
.arc path { stroke: var(--accent); stroke-width: 1.4; fill: none; stroke-dasharray: 3 4; }
.arc circle { fill: var(--accent); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 999px;
  transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
body.lang-ar .btn { font-weight: 500; }

.btn-gold { background: var(--accent); color: var(--on-accent); }
.btn-gold:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), 0.6); }

.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }

.btn i { font-size: 18px; line-height: 1; }

/* WhatsApp button */
.btn-whatsapp { background: var(--accent); color: var(--on-accent); }
.btn-whatsapp:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), 0.6); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--ease), border-color var(--ease), backdrop-filter var(--ease), box-shadow var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
.site-header.scrolled {
  background: var(--header-scrolled);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(230, 182, 81, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
}

/* Logo */
.brand { display: flex; align-items: center; }
.brand-logo { height: 45px; width: auto; object-fit: contain; display: block; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: center; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links li {
  list-style: none;
  background: transparent;
  border: none;
  box-shadow: none;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 8px 6px;
  font-size: 0.96rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  border: none;
  box-shadow: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--ease);
}
body.lang-ar .nav-links a { font-size: 1rem; }
.nav-links a:hover,
.nav-links a.active,
.nav-links a:focus-visible {
  color: var(--gold);
  background: transparent;
  border-bottom: none;
  text-decoration: none;
  outline: none;
}

/* Header controls */
.header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 182, 81, 0.4);
  color: var(--gold);
  transition: background var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 8px 20px -8px rgba(230, 182, 81, 0.6);
  transform: translateY(-1px);
}
.icon-btn:hover i { color: var(--primary); }
.header-actions i, .menu-toggle i { color: var(--gold); font-size: 16px; line-height: 1; }

/* Theme toggle icon swap */
#themeToggle .icon-sun { display: none; }
#themeToggle .icon-moon { display: block; }
#themeToggle.is-dark .icon-sun { display: block; }
#themeToggle.is-dark .icon-moon { display: none; }

/* Hamburger (icon swap, mirrors the theme toggle above) */
.menu-toggle { display: none; }
.menu-toggle .icon-menu-close { display: none; }
.menu-toggle.open .icon-menu-open { display: none; }
.menu-toggle.open .icon-menu-close { display: block; }

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark) url("../img/hero.avif") center / cover no-repeat;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(2, 37, 75, 0.397), rgba(2, 37, 75, 0.89));
  z-index: -1;
}

.hero-grid {
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero-content { max-width: 640px; color: #fff; text-align: center; }
.hero-content .hero-buttons { justify-content: center; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 0.4rem; }
.hero-desc { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; max-width: 560px; margin-inline: auto; margin-bottom: 2.2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero buttons always keep the gold treatment, regardless of light/dark theme */
.hero-buttons .btn-gold { background: var(--gold); color: var(--primary); }
.hero-buttons .btn-gold:hover { background: #f0c973; }
.hero-buttons .btn-outline { border-color: var(--gold); color: var(--gold); }
.hero-buttons .btn-outline:hover { background: var(--gold); color: var(--primary); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  inset-block-end: 26px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.8;
  animation: bob 2s ease-in-out infinite;
}
.scroll-cue i { font-size: 20px; line-height: 1; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: calc(var(--header-h) + 4rem) 4.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/hero-bg.svg") center / cover no-repeat;
  opacity: 0.9;
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(2, 37, 75, 0.478), rgba(1, 27, 53, 0.927));
  z-index: 1;
}

/* Per-page hero background images */
.hero-about .page-hero-bg { background-image: url("../img/about1.avif"); opacity: 1; }
.hero-services .page-hero-bg { background-image: url("../img/ser.avif"); opacity: 1; }
.hero-values .page-hero-bg { background-image: url("../img/value.avif"); opacity: 1; }
.hero-vision .page-hero-bg { background-image: url("../img/rsal.avif"); opacity: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, 0.82); max-width: 620px; margin: 1rem auto 0; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--gold); justify-content: center; }
.page-hero .eyebrow::before { background: var(--gold); }

/* Breadcrumb-ish coordinate label */
.page-hero .coords {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 1.4rem;
  text-transform: uppercase;
}

/* ---------- 9. Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Service card */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(165deg, var(--card-2), var(--card));
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 20px;
  padding: 2.85rem 1.8rem 2.3rem;
  transition: transform var(--ease), border-color var(--ease);
}
.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.55);
}

/* Corner serial number — a quiet, elegant stamp, independent of the centered content below */
.svc-top {
  position: absolute;
  inset-block-start: 1.2rem;
  inset-inline-end: 1.4rem;
}
.svc-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.85;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* Icon badge */
.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  margin-bottom: 1.3rem;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}
.svc-icon i { font-size: 24px; line-height: 1; color: var(--accent); }
.svc-card:hover .svc-icon {
  background: rgba(var(--accent-rgb), 0.16);
  border-color: rgba(var(--accent-rgb), 0.55);
  transform: translateY(-3px);
}

.svc-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.22rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.6;
  text-align: center;
}
.svc-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  max-width: 240px;
}
[dir="rtl"] .svc-card h3,
[dir="rtl"] .svc-card p { direction: rtl; }
[dir="ltr"] .svc-card h3,
[dir="ltr"] .svc-card p { direction: ltr; }

/* "View all services" CTA under the homepage quick-services grid */
.svc-more { text-align: center; margin-top: 2.6rem; }

/* Why-choose mini grid */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.mini-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  transition: transform var(--ease), border-color var(--ease);
}
.mini-box:hover { border-color: var(--accent); transform: translateY(-8px); }
[dir="rtl"] .mini-box { direction: rtl; text-align: right; justify-content: flex-start; }
[dir="ltr"] .mini-box { direction: ltr; text-align: left; justify-content: flex-start; }
.mini-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.mini-box span:last-child { font-size: 1rem; color: var(--heading); font-weight: 400; }
body.lang-ar .mini-box span:last-child { font-weight: 500; }

/* Value cards (values page) now reuse the .svc-card design directly — see section 9 above */

/* ---------- 10. About ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-split .about-text p { color: var(--text-muted); margin-bottom: 1.1rem; }
.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-visual img,
.about-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* Travel Experience: feature cards (replaces the old split image + checklist layout) */
.exp-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.3rem;
  margin-top: 1rem;
}
.exp-feature-card {
  flex: 1 1 300px;
  max-width: 340px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.5rem;
  transition: transform var(--ease), border-color var(--ease);
}
.exp-feature-card:hover { border-color: var(--accent); transform: translateY(-8px); }
.exp-feature-card i { font-size: 16px; line-height: 1; color: var(--accent); flex-shrink: 0; }
.exp-feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- 11. Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.vm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.6rem;
  position: relative;
  transition: transform var(--ease), border-color var(--ease);
}
.vm-card:hover { border-color: var(--accent); transform: translateY(-8px); }
.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  margin-bottom: 1.4rem;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}
.vm-icon i { font-size: 24px; line-height: 1; color: var(--accent); }
.vm-card:hover .vm-icon {
  background: rgba(var(--accent-rgb), 0.16);
  border-color: rgba(var(--accent-rgb), 0.55);
  transform: translateY(-3px);
}
.vm-card h2 { font-size: 1.9rem; margin-bottom: 0.9rem; }
.vm-card p { color: var(--text-muted); }

/* Approach points */
.approach-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.approach-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  transition: transform var(--ease), border-color var(--ease);
}
.approach-item:hover { border-color: var(--accent); transform: translateY(-8px); }
.approach-item i { font-size: 17px; line-height: 1; color: var(--accent); flex-shrink: 0; }
.approach-item span { color: var(--heading); font-size: 0.98rem; }

/* ---------- 12. Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  inset-block-start: 28px;
  inset-inline: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px);
  opacity: 0.5;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 0.4rem;
}
.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  background: var(--bg);
  border: 2px solid var(--accent);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: background var(--ease), color var(--ease);
}
.step:hover .step-dot { background: var(--accent); color: var(--on-accent); }
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.6;
  text-align: center;
}
.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
}

/* ---------- 13. Contact ---------- */
.contact-section { padding-block: 70px 90px; }
.contact-page-header.section-head { margin-bottom: 60px; }
.map-section-header.section-head { margin-top: 90px; margin-bottom: 34px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 44px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 10px 0 80px;
}
.contact-actions .btn { height: 52px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 135px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 34px 32px;
  transition: transform var(--ease), border-color var(--ease);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-8px); }
[dir="rtl"] .contact-card { direction: rtl; text-align: right; }
[dir="ltr"] .contact-card { direction: ltr; text-align: left; }
.contact-card .ci {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}
.contact-card .ci i { font-size: 24px; line-height: 1; color: var(--accent); }
.contact-card:hover .ci {
  background: rgba(var(--accent-rgb), 0.16);
  border-color: rgba(var(--accent-rgb), 0.55);
  transform: translateY(-3px);
}
.contact-card .cc { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.contact-card .cc-label { display: block; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.contact-card .cc-value { display: block; color: var(--heading); font-size: 1rem; line-height: 1.5; word-break: break-word; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--dark);
}
.cta-band-bg { display: none; }
.cta-band::after { display: none; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 620px; margin: 1rem auto 2rem; font-size: 1.08rem; }

/* Light mode: swap the dark navy CTA band for a clean white one (all pages) */
[data-theme="light"] .cta-band { background: #ffffff; }
[data-theme="light"] .cta-band h2 { color: var(--primary); }
[data-theme="light"] .cta-band p { color: rgba(2, 37, 75, 0.75); }

/* index.html's home CTA specifically uses a soft light-blue background instead of white */
[data-theme="light"] .cta-band.home-cta { background: #f2f6fc; }

/* index.html's home CTA specifically uses a deep navy background in dark mode */
[data-theme="dark"] .cta-band.home-cta { background: #062446; }

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 4rem 0;
  border-top: 1px solid rgba(230, 182, 81, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo { height: 104px; width: auto; max-width: 100%; display: block; object-fit: contain; margin-bottom: 0.2rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.65); margin-top: 1rem; font-size: 0.95rem; max-width: 340px; }
.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
body.lang-ar .footer-col h4 { letter-spacing: 1px; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a, .footer-col li { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; transition: color var(--ease), padding-inline-start var(--ease); }
.footer-col a:hover { color: var(--gold); padding-inline-start: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { font-size: 15px; line-height: 1; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 16. Back to top ---------- */
.back-to-top {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-end: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  box-shadow: 0 12px 30px -10px rgba(var(--accent-rgb), 0.6);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-3px); }
.back-to-top i { font-size: 18px; line-height: 1; }

/* ---------- 17. Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 18. RTL adjustments ---------- */
[dir="rtl"] .eyebrow::before { }

/* ---------- 19. Responsive ---------- */
@media (max-width: 900px) {
  /* Lighter blur on mobile GPUs to avoid scroll jank */
  .site-header.scrolled {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  /* Mobile nav */
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset-block-start: 0;
    inset-inline-end: 0;
    height: 100vh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    background: var(--header-solid);
    border-inline-start: 1px solid rgba(230, 182, 81, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }
  [dir="rtl"] .nav-links { transform: translateX(-100%); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    padding: 0.95rem 0;
    font-size: 1.05rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav-links a:hover,
  .nav-links a.active,
  .nav-links a:focus-visible {
    background: transparent;
  }

  .grid-3, .mini-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .approach-points { grid-template-columns: repeat(2, 1fr); }

  .about-split { grid-template-columns: 1fr; gap: 2.2rem; }
  .about-split .about-visual { order: -1; min-height: 280px; width: 100%; margin-inline: 0; }
  .about-split .about-text { width: 100%; padding-inline: 0; margin-inline: 0; }
  .vm-grid { grid-template-columns: 1fr; }

  /* Stacked cards on mobile (vertical timeline breaks the text into a
     56px grid column, wrapping the description letter-by-letter) */
  .timeline { grid-template-columns: 1fr; gap: 1.25rem; }
  .timeline::before { display: none; content: none; }
  .step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    text-align: start;
    padding: 1.6rem 1.35rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
  }
  .step-dot { margin: 0 0 1.1rem; }
  .step h3,
  .step p {
    width: 100%;
    text-align: start;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
}

@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .header-inner { padding-inline: 18px; }
  .grid-3, .mini-grid, .approach-points, .contact-cards { grid-template-columns: 1fr; }
  .exp-feature-card { flex: 1 1 100%; max-width: 100%; }
  [dir="rtl"] .exp-feature-card { direction: rtl; text-align: right; justify-content: flex-start; }
  [dir="rtl"] .exp-feature-card h3 { text-align: right; width: 100%; }
  [dir="ltr"] .exp-feature-card { direction: ltr; text-align: left; justify-content: flex-start; }
  [dir="ltr"] .exp-feature-card h3 { text-align: left; width: 100%; }
  .hero h1 { font-size: clamp(36px, 9.5vw, 48px); line-height: 1.22; margin-bottom: 0.5rem; }
  .hero-desc { font-size: 14px; line-height: 1.8; max-width: 92%; margin-inline: auto; margin-bottom: 1.5rem; }
  .hero-buttons { flex-direction: row; justify-content: center; gap: 12px; }
  .hero-buttons .btn {
    flex: 0 1 auto;
    width: auto;
    min-width: 150px;
    height: 48px;
    min-height: 48px;
    padding: 0 20px;
    font-size: 14px;
  }
  .contact-section { padding-block: 55px 70px; }
  .contact-page-header.section-head { margin-bottom: 38px; }
  .contact-cards { gap: 20px; margin-bottom: 32px; }
  .contact-card { padding: 26px 22px; min-height: 120px; gap: 18px; }
  .map-section-header.section-head { margin-top: 65px; margin-bottom: 26px; }
  .contact-actions { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 60px; }
  .contact-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: start; }
  .footer-logo { margin-inline-start: 0; margin-inline-end: auto; }
  .footer-brand p { margin-inline-start: 0; margin-inline-end: auto; }
  .footer-col ul { justify-items: start; }
  .footer-contact li { justify-content: flex-start; }
  .footer-bottom { text-align: start; }
  .brand-logo { height: 42px; }
  .footer-logo { height: 78px; }
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-block: calc(var(--header-h) + 2rem) 3rem;
  }
  .header-actions .icon-btn { width: 38px; height: 38px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 38px; }
  .hero-desc { font-size: 13.5px; line-height: 1.75; }
  .hero-buttons .btn { min-width: 140px; height: 46px; min-height: 46px; font-size: 13.5px; padding: 0 16px; }
}

@media (max-width: 360px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; max-width: 260px; }
}
