/* ================================================================
   TALBIYAH — تلبية  |  Main Stylesheet
   Fonts: Amiri (AR headings) · Tajawal (AR body) · Poppins (EN)
   ================================================================ */

/* Google Fonts are loaded via a <link> in header.php (parallel fetch) — not @import, which would serialize behind this file. */

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
  --ink:        #1A1A2E;
  --teal:       #1B6B72;
  --teal-light: #2A9BA5;
  --gold:       #C8973A;
  --gold-light: #E4B96A;
  --sand:       #F5EDD8;
  --sand-dark:  #E8D9B5;
  --mist:       #EEF4F5;
  --white:      #FFFFFF;

  /* Light mode semantic tokens */
  --bg-main:    var(--mist);
  --bg-card:    var(--white);
  --bg-alt:     var(--sand);
  --text-main:  var(--ink);
  --text-mute:  rgba(26,26,46,.55);
  --text-gold:  var(--gold);
  --border:     var(--sand-dark);
  --shadow:     0 2px 16px rgba(27,107,114,.08);
  --shadow-md:  0 6px 32px rgba(27,107,114,.14);
  --shadow-lg:  0 12px 56px rgba(27,107,114,.18);

  /* Typography */
  --font-ar-head: 'Amiri', 'Georgia', serif;
  --font-ar-body: 'Tajawal', 'Arial', sans-serif;
  --font-en:      'Poppins', 'Inter', sans-serif;

  /* Layout */
  --radius:     12px;
  --radius-sm:  6px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --container:  1200px;
  --header-h:   110px;

  /* Transitions */
  --ease:       cubic-bezier(.4,0,.2,1);
  --dur:        .28s;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-main:    #14141F;
  --bg-card:    #1E1E32;
  --bg-alt:     #181828;
  --text-main:  #F5EDD8;
  --text-mute:  rgba(245,237,216,.55);
  --teal:       #2A9BA5;
  --teal-light: #3DBAC5;
  --gold:       #E4B96A;
  --gold-light: #F0CE8E;
  --border:     rgba(255,255,255,.1);
  --shadow:     0 2px 16px rgba(0,0,0,.35);
  --shadow-md:  0 6px 32px rgba(0,0,0,.45);
  --shadow-lg:  0 12px 56px rgba(0,0,0,.55);
}

/* ── Intro Splash (logo reveal on first visit) ────────────────────── */
.site-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity .75s ease, visibility .75s ease;
}
.site-splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
html.splash-skip .site-splash { display: none; }
body.splash-lock { overflow: hidden; }

/* Logo */
.site-splash-logo {
  position: relative;
  z-index: 1;
  width: min(200px, 50vw);
  opacity: 0;
  transform: scale(.75) translateY(12px);
  filter: drop-shadow(0 4px 18px rgba(27,107,114,.18));
  animation: splashReveal 1.0s cubic-bezier(.22,.68,0,1.2) .1s forwards;
}
.site-splash-text {
  font-family: var(--font-ar-head);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 700;
  color: var(--teal);
  opacity: 0;
  animation: splashReveal 1.0s cubic-bezier(.22,.68,0,1.2) .1s forwards;
}

/* Pulsing rings (teal on white) */
.site-splash-ring {
  position: absolute;
  width: 240px; height: 240px;
  border: 1.5px solid rgba(27,107,114,.25);
  border-radius: 50%;
  opacity: 0;
  animation: splashRing 2.2s ease-out .3s infinite;
}
.site-splash-ring-2 {
  width: 340px; height: 340px;
  border-color: rgba(200,151,58,.2);
  animation-delay: .8s;
}

/* Loading bar at bottom */
.site-splash-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 0 2px 2px 0;
  animation: splashBar 3s linear forwards;
}

/* Video (when admin sets one) */
.site-splash-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes splashReveal {
  0%   { opacity: 0; transform: scale(.75) translateY(12px); }
  60%  { opacity: 1; transform: scale(1.05) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes splashRing {
  0%   { opacity: 0; transform: scale(.6); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes splashBar {
  0%   { width: 0%; }
  100% { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-splash-logo,
  .site-splash-text  { animation: none; opacity: 1; transform: none; }
  .site-splash-ring  { animation: none; opacity: 0; }
  .site-splash-bar   { animation: none; width: 100%; }
}

/* ── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x: hidden;
}

/* Arabic font stack */
html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] button {
  font-family: var(--font-ar-body);
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5 {
  font-family: var(--font-ar-head);
}

/* English font stack */
html[dir="ltr"] body,
html[dir="ltr"] input,
html[dir="ltr"] textarea,
html[dir="ltr"] select,
html[dir="ltr"] button,
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5 {
  font-family: var(--font-en);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--teal-light); }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Typography scale ────────────────────────────────────────────── */
.display { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.25; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.35; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mute); }

.text-gold  { color: var(--gold); }
.text-teal  { color: var(--teal); }
.text-mute  { color: var(--text-mute); }
.text-sm    { font-size: .85rem; }
.text-xs    { font-size: .75rem; }
.uppercase  { text-transform: uppercase; letter-spacing: .12em; }
.fw-300     { font-weight: 300; }
.fw-500     { font-weight: 500; }
.fw-700     { font-weight: 700; }
.fw-900     { font-weight: 900; }

/* ── Layout helpers ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px)  { .container { padding: 0 2rem; } }
@media (min-width: 1200px) { .container { padding: 0 2.5rem; } }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  background: rgba(200,151,58,.1);
  border: 1px solid rgba(200,151,58,.25);
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-head h2 { margin-bottom: .75rem; }
.section-head p  { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── Grid ────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px)  { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px)  {
  .grid-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-4 { grid-template-columns: repeat(4,1fr); }
}
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1  { gap: .5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(200,151,58,.28);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,151,58,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 2px 10px rgba(27,107,114,.22);
}
.btn-teal:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(27,107,114,.3);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,107,114,.25);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-danger { background: #dc3545; color:#fff; border-color:#dc3545; box-shadow: 0 2px 10px rgba(220,53,69,.22); }
.btn-danger:hover {
  background:#b02a37; border-color:#b02a37; color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,53,69,.35);
}

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body  { padding: 1.5rem; }
.card-img   { width: 100%; height: 220px; object-fit: cover; }

/* ── Badges ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.badge-gold    { background: rgba(200,151,58,.15); color: var(--gold); border: 1px solid rgba(200,151,58,.3); }
.badge-teal    { background: rgba(27,107,114,.12); color: var(--teal); border: 1px solid rgba(27,107,114,.25); }
.badge-success { background: rgba(25,135,84,.12);  color: #198754; border: 1px solid rgba(25,135,84,.3); }
.badge-warning { background: rgba(255,193,7,.12);  color: #856404; border: 1px solid rgba(255,193,7,.3); }
.badge-danger  { background: rgba(220,53,69,.12);  color: #dc3545; border: 1px solid rgba(220,53,69,.3); }
.badge-primary { background: rgba(27,107,114,.12); color: var(--teal); border: 1px solid rgba(27,107,114,.3); }

/* ── Forms ───────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .45rem;
}
.form-label .req { color: #e74c3c; margin-inline-start: .2rem; }
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  /* 16px minimum — iOS Safari auto-zooms the page on focus for any input
     under 16px, which is jarring on a long form like registration. */
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,107,114,.15);
}
.form-control::placeholder { color: var(--text-mute); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { -webkit-appearance: none; appearance: none; }
.form-error { color: #e74c3c; font-size: .8rem; margin-top: .3rem; }
.form-grid  { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  padding: .75rem 0;
  border-bottom: 2px solid var(--border);
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── Alerts ──────────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border-inline-start: 4px solid transparent;
}
.alert-success { background: rgba(25,135,84,.1);  border-color: #198754; color: #0f5132; }
.alert-danger  { background: rgba(220,53,69,.1);  border-color: #dc3545; color: #842029; }
.alert-info    { background: rgba(27,107,114,.1); border-color: var(--teal); color: var(--teal); }
[data-theme="dark"] .alert-success { color: #75b798; }
[data-theme="dark"] .alert-danger  { color: #f1aeb5; }
@keyframes toastIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
.toast-auto { animation: toastIn .3s var(--ease); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
[data-theme="dark"] .alert-info    { color: var(--teal-light); }

/* ── Decorative SVG background ───────────────────────────────────── */
.deco-tawaf {
  position: absolute;
  opacity: .04;
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .deco-tawaf { opacity: .07; }

/* ── HEADER ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  transition: box-shadow var(--dur) var(--ease);
}
[data-theme="dark"] .site-header { background: #1a1a2e; box-shadow: 0 2px 20px rgba(0,0,0,.4); }

/* ── Top Bar ─────────────────────────────────────────────────────── */
.header-topbar {
  background: #0e3a3e;
  height: 36px;
  border-bottom: 1px solid rgba(200,151,58,.3);
}
[data-theme="dark"] .header-topbar { background: #081d1f; }

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* contact info (right in RTL) */
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
  font-family: var(--font-ar-body);
  direction: ltr;
}
.topbar-item i { color: #C8973A; font-size: .75rem; }
.topbar-item:hover { color: #C8973A; }

/* social + lang (left in RTL) */
.topbar-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.topbar-follow {
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-family: var(--font-ar-body);
}
.topbar-social {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}
.topbar-social:hover { color: #C8973A; }
.topbar-divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,.2);
  margin: 0 .25rem;
}
.topbar-lang {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  direction: ltr;
}
.tl-active { color: #C8973A; }
.tl-sep    { color: rgba(255,255,255,.35); }
.tl-link   { color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--dur) var(--ease); }
.tl-link:hover { color: #C8973A; }

/* ── Main Nav Bar ────────────────────────────────────────────────── */
.header-main { height: 90px; }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--dur) var(--ease);
}
.site-logo:hover { opacity: .85; }
.site-logo img { height: 74px; width: auto; max-width: 220px; object-fit: contain; }
.logo-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-family: var(--font-ar-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1B6B72;
  line-height: 1.1;
}
html[dir="ltr"] .logo-name { font-family: var(--font-en); font-size: 1.3rem; }
[data-theme="dark"] .logo-name { color: #C8973A; }
.logo-tagline {
  font-size: .65rem;
  letter-spacing: .06em;
  color: #888;
  font-family: var(--font-ar-body);
}
[data-theme="dark"] .logo-tagline { color: rgba(255,255,255,.5); }
html[dir="ltr"] .logo-tagline { font-family: var(--font-en); }

/* Nav links */
.site-nav { display: none; }
@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
  }
}
.site-nav a {
  color: #2d2d2d;
  font-size: .95rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  position: relative;
  text-decoration: none;
  font-family: var(--font-ar-body);
}
[data-theme="dark"] .site-nav a { color: rgba(255,255,255,.85); }
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%; right: 50%;
  height: 2px;
  background: #C8973A;
  border-radius: 2px;
  transition: left var(--dur) var(--ease), right var(--dur) var(--ease);
}
.site-nav a:hover::after,
.site-nav a.active::after { left: 1rem; right: 1rem; }
.site-nav a:hover  { color: #1B6B72; }
.site-nav a.active { color: #C8973A; font-weight: 700; }
[data-theme="dark"] .site-nav a:hover  { color: #C8973A; }

/* Right-side actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.btn-book {
  background: #C8973A;
  color: #fff;
  padding: .55rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  font-family: var(--font-ar-body);
  box-shadow: 0 2px 12px rgba(200,151,58,.4);
  transition: all var(--dur) var(--ease);
  display: none;
}
@media (min-width: 900px) { .btn-book { display: inline-flex; align-items: center; } }
.btn-book:hover {
  background: #b8832a;
  color: #fff;
  box-shadow: 0 4px 18px rgba(200,151,58,.55);
  transform: translateY(-1px);
}

/* Dark mode toggle */
.ctrl-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(27,107,114,.08);
  border: 1px solid rgba(27,107,114,.2);
  color: #1B6B72;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
  font-size: .95rem;
  display: none;
}
@media (min-width: 900px) { .ctrl-btn { display: flex; } }
.ctrl-btn:hover { background: #1B6B72; color: #fff; border-color: #1B6B72; }
[data-theme="dark"] .ctrl-btn { background: rgba(200,151,58,.1); border-color: rgba(200,151,58,.3); color: #C8973A; }
[data-theme="dark"] .ctrl-btn:hover { background: #C8973A; color: #fff; }

/* Hamburger */
.hamburger {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(27,107,114,.08);
  border: 1px solid rgba(27,107,114,.2);
  color: #1B6B72;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
[data-theme="dark"] .hamburger { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.hamburger:hover { background: #1B6B72; color: #fff; border-color: #1B6B72; }
.hamburger span {
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .hamburger { display: none; } }
@media (max-width: 899px) { .ctrl-btn, .hamburger { width: 44px; height: 44px; } }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  border-top: 3px solid #C8973A;
}
[data-theme="dark"] .mobile-nav { background: #1a1a2e; }
html[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.open { transform: translateX(0) !important; }
.mobile-nav a {
  color: #2d2d2d;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.1rem 2rem;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  font-family: var(--font-ar-body);
}
[data-theme="dark"] .mobile-nav a { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.08); }
.mobile-nav a:hover { color: #C8973A; background: rgba(200,151,58,.06); }
.mobile-btn-book {
  margin-top: 1.5rem;
  background: #C8973A !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  width: auto !important;
  padding: .7rem 2.5rem !important;
  border-bottom: none !important;
  box-shadow: 0 2px 12px rgba(200,151,58,.35);
}
.mobile-lang {
  margin-top: 1rem;
  padding: 0 2rem;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(27,107,114,.28) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(200,151,58,.1) 0%, transparent 60%);
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.88) 0%, rgba(26,26,46,.55) 60%, rgba(27,107,114,.25) 100%);
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .6;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold-light);
  opacity: .6;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
html[dir="rtl"] .hero h1 { font-family: var(--font-ar-head); }
.hero h1 .highlight { color: var(--gold); }
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,237,216,.75);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(245,237,216,.5);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}
.hero-scroll svg { width: 20px; height: 20px; }

/* Hero decorative tawaf SVG */
.hero-deco {
  position: absolute;
  inset-inline-end: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(60vw, 580px);
  opacity: .06;
  pointer-events: none;
  z-index: 1;
}
[data-theme="dark"] .hero-deco { opacity: .1; }

/* ── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar {
  background: var(--teal);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .25rem;
}
html[dir="rtl"] .stat-num { font-family: var(--font-ar-body); }
.stat-label {
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(245,237,216,.75);
}

/* ── SERVICES ────────────────────────────────────────────────────── */
.services { background: var(--bg-main); position: relative; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(27,107,114,.12), rgba(200,151,58,.12));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-card h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.service-card p  { font-size: .9rem; line-height: 1.6; }

/* ── PACKAGES ────────────────────────────────────────────────────── */
.packages-section { background: var(--bg-alt); position: relative; }
.pkg-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
  position: relative;
}
.pkg-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pkg-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-md);
}
.pkg-card-header {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a46 100%);
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
}
[data-theme="dark"] .pkg-card-header { background: linear-gradient(135deg, #0e0e1a, #1a1a2e); }
.pkg-badge {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  background: var(--gold);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pkg-name {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
html[dir="rtl"] .pkg-name { font-family: var(--font-ar-head); }
.pkg-duration {
  font-size: .82rem;
  color: rgba(245,237,216,.55);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.pkg-price-wrap {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: .35rem;
}
.pkg-price-from { font-size: .75rem; color: rgba(245,237,216,.55); margin-bottom: .35rem; }
.pkg-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
html[dir="rtl"] .pkg-price { font-family: var(--font-ar-body); }
.pkg-currency { font-size: .85rem; color: rgba(245,237,216,.55); margin-bottom: .4rem; }
.pkg-card-body { padding: 1.75rem; flex: 1; }
.pkg-img { width: 100%; height: 160px; object-fit: cover; }
.pkg-includes-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-mute);
  margin-bottom: .9rem;
}
.pkg-includes { display: flex; flex-direction: column; gap: .5rem; }
.pkg-include-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
}
.pkg-include-item .check {
  width: 20px; height: 20px;
  background: rgba(27,107,114,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  font-size: .7rem;
}
.pkg-card-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: .75rem;
}
.pkg-card-footer .btn { flex: 1; justify-content: center; }

/* ── GALLERY ─────────────────────────────────────────────────────── */
.gallery-section { background: var(--bg-main); }
.gallery-filters {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: .45rem 1.25rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mute);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  transition: all var(--dur) var(--ease);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: .75rem;
}
@media (min-width: 640px)  { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4,1fr); } }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title { color: var(--white); font-size: .85rem; font-weight: 600; }
.gallery-item.video-item .play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px;
  background: rgba(200,151,58,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
  transition: transform var(--dur) var(--ease);
}
.gallery-item.video-item:hover .play-btn { transform: translate(-50%,-50%) scale(1.15); }

/* ── CTA SECTION ─────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, #145459 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(245,237,216,.8); font-size: 1.1rem; max-width: 520px; margin: 0 auto 2rem; }

/* ── CONTACT ─────────────────────────────────────────────────────── */
.contact-section { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 42px; height: 42px;
  background: rgba(27,107,114,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-info-text { line-height: 1.5; }
.contact-info-text strong { display: block; font-weight: 600; font-size: .88rem; color: var(--text-main); }
.contact-info-text span  { font-size: .9rem; color: var(--text-mute); }
.contact-social { display: flex; gap: .75rem; margin-top: 1.75rem; }
.social-link {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mute);
  font-size: 1rem;
  transition: all var(--dur) var(--ease);
}
.social-link:hover { background: var(--teal); color: var(--white); border-color: var(--teal); transform: translateY(-2px); }
.contact-form { background: var(--bg-card); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }

/* ══════════════════════════════════════════════════════════════════
   صفحة الاستفتاء — Survey Page
══════════════════════════════════════════════════════════════════ */
.survey-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .survey-layout { grid-template-columns: 300px 1fr; }
}

.survey-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.survey-info-box {
  background: linear-gradient(135deg, #1B6B72, #0e3a3e);
  border-radius: var(--radius);
  padding: 2rem;
  color: #fff;
  text-align: center;
}
.survey-info-icon {
  width: 64px; height: 64px;
  background: rgba(200,151,58,.2);
  border: 2px solid rgba(200,151,58,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #C8973A;
  margin: 0 auto 1.25rem;
}
.survey-info-box h3 { color: #fff; margin-bottom: .75rem; font-size: 1.1rem; }
.survey-info-box p  { color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.85; }

.survey-tips {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.survey-tips h4 {
  font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-mute);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.survey-tips ul { display: flex; flex-direction: column; gap: .75rem; }
.survey-tips li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; color: var(--text-main);
}
.survey-tips li i { color: #1B6B72; font-size: .8rem; flex-shrink: 0; }

.survey-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* Coming soon placeholder */
.survey-coming-soon {
  text-align: center;
  padding: 4rem 2rem;
}
.survey-coming-icon {
  width: 80px; height: 80px;
  background: rgba(27,107,114,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #1B6B72;
  margin: 0 auto 1.5rem;
}
.survey-coming-soon h3 { margin-bottom: .75rem; }
.survey-coming-soon p  { color: var(--text-mute); }

/* ── زر واتساب العائم ───────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;            /* يسار الشاشة */
  z-index: 9990;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.2);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}

/* RTL: يمين الشاشة */
html[dir="rtl"] .whatsapp-float { left: auto; right: 2rem; }

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,.6), 0 4px 14px rgba(0,0,0,.25);
  animation: none;
  color: #fff;
}

/* tooltip نص يظهر عند التحويم */
.wa-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .35rem .75rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  transform: translateX(-50%) translateY(4px);
  font-family: var(--font-ar-body);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a2e;
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* نبضة خضراء دائمة */
@keyframes waPulse {
  0%  { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 4px 20px rgba(37,211,102,.35); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 4px 20px rgba(37,211,102,.35); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0),  0 4px 20px rgba(37,211,102,.35); }
}

/* ══════════════════════════════════════════════════════════════════
   صفحة من نحن — About Page
══════════════════════════════════════════════════════════════════ */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-page-grid { grid-template-columns: 1fr 1fr; }
}

.about-page-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(27,107,114,.15), rgba(200,151,58,.08));
  box-shadow: var(--shadow-lg);
}
.about-page-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(27,107,114,.2);
}
.about-badge-since {
  position: absolute;
  bottom: 1.5rem; inset-inline-start: 1.5rem;
  background: #C8973A; color: var(--ink);
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow-md);
}

.about-page-text h2 { margin: .75rem 0 1rem; }
.about-page-lead {
  font-style: italic;
  color: #1B6B72;
  font-size: 1.05rem;
  border-inline-start: 3px solid #C8973A;
  padding-inline-start: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
[data-theme="dark"] .about-page-lead { color: #3DBAC5; }

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (min-width: 640px) { .mvv-grid { grid-template-columns: repeat(3,1fr); } }

.mvv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mvv-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
}
.mvv-card h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.mvv-card p  { font-size: .9rem; line-height: 1.8; }

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3,1fr); } }

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--dur) var(--ease);
}
.why-card:hover { border-color: rgba(200,151,58,.4); box-shadow: var(--shadow-md); }
.why-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(27,107,114,.12), rgba(200,151,58,.08));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #1B6B72;
  margin-bottom: 1rem;
}
[data-theme="dark"] .why-icon { background: rgba(27,107,114,.2); color: #3DBAC5; }
.why-card h4 { font-size: .95rem; margin-bottom: .5rem; }
.why-card p  { font-size: .85rem; line-height: 1.75; }

/* ══════════════════════════════════════════════════════════════════
   صفحة الاستفسار — Inquiry Page
══════════════════════════════════════════════════════════════════ */
.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .inquiry-layout { grid-template-columns: 340px 1fr; }
}

/* Sidebar */
.inquiry-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.inq-info-box {
  background: linear-gradient(135deg, #1B6B72, #0e3a3e);
  border-radius: var(--radius);
  padding: 2rem;
  color: #fff;
  text-align: center;
}
.inq-info-icon {
  width: 64px; height: 64px;
  background: rgba(200,151,58,.2);
  border: 2px solid rgba(200,151,58,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #C8973A;
  margin: 0 auto 1.25rem;
}
.inq-info-box h3 { color: #fff; margin-bottom: .75rem; font-size: 1.1rem; }
.inq-info-box p  { color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.85; }

.inq-contact-ways {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.inq-contact-ways h4 {
  font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-mute);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.inq-way {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: opacity var(--dur) var(--ease);
}
.inq-way:last-child { border-bottom: none; padding-bottom: 0; }
.inq-way:hover { opacity: .8; }
.inq-way-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.inq-way div { display: flex; flex-direction: column; gap: 2px; }
.inq-way-label { font-size: .72rem; color: var(--text-mute); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.inq-way-val   { font-size: .88rem; color: var(--text-main); font-weight: 500; }

/* Form */
.inquiry-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* ── Status Toggle Button (packages table) ───────────────────────── */
.status-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  margin: 0;
  padding: .3rem .7rem;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
  cursor: pointer;
}
.status-toggle-btn:hover { opacity: .8; transform: scale(.97); }
.status-toggle-btn.active  { background: rgba(39,174,96,.12);  color: #27ae60; border: 1px solid rgba(39,174,96,.25); }
.status-toggle-btn.inactive{ background: rgba(189,195,199,.15); color: var(--text-mute); border: 1px solid var(--border); }

/* ══════════════════════════════════════════════════════════════════
   Toggle Switch — مفتاح تبديل الحالة
══════════════════════════════════════════════════════════════════ */
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  user-select: none;
}
.toggle-track {
  position: relative;
  display: inline-block;
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 99px;
  transition: background .2s ease;
  flex-shrink: 0;
}
.toggle-switch input { display: none; }
.toggle-switch input:checked + .toggle-track { background: #1B6B72; }
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.toggle-switch input:checked + .toggle-track .toggle-thumb { transform: translateX(20px); }
html[dir="rtl"] .toggle-thumb { left: auto; right: 3px; }
html[dir="rtl"] .toggle-switch input:checked + .toggle-track .toggle-thumb { transform: translateX(-20px); }
.toggle-label { font-size: .88rem; font-weight: 500; }

/* ══════════════════════════════════════════════════════════════════
   Admin — Survey Builder & Results
══════════════════════════════════════════════════════════════════ */

/* ── Question Block ─────────────────────────────────────────────── */
.survey-q-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .875rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.survey-q-block:hover {
  border-color: rgba(27,107,114,.35);
  box-shadow: 0 4px 18px rgba(27,107,114,.1);
}
/* الخط الجانبي الملوّن */
.survey-q-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #1B6B72 0%, #C8973A 100%);
}
html[dir="rtl"] .survey-q-block::before { left: auto; right: 0; }

.survey-q-header {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1.25rem .875rem 1.5rem;
  flex-wrap: wrap;
}
html[dir="rtl"] .survey-q-header { padding: .875rem 1.5rem .875rem 1.25rem; }

.survey-q-num {
  background: linear-gradient(135deg, #1B6B72, #0e3a3e);
  color: #fff;
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  margin-top: .3rem;
  box-shadow: 0 2px 8px rgba(27,107,114,.35);
}

/* ── Options area ────────────────────────────────────────────────── */
.survey-opts-wrap {
  border-top: 1px dashed var(--border);
  padding: .875rem 1.5rem 1.125rem;
  background: var(--bg-alt);
}
html[dir="rtl"] .survey-opts-wrap { padding: .875rem 1.5rem 1.125rem; }

.survey-opts-list { display: flex; flex-direction: column; gap: .45rem; }

.survey-opt-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .45rem .75rem;
  transition: border-color .15s;
}
.survey-opt-row:hover { border-color: rgba(200,151,58,.4); }
.survey-opt-row .fa-grip-vertical { cursor: grab; opacity: .45; }
.survey-opt-row .form-control {
  font-size: .875rem;
  padding: .35rem .6rem;
  height: auto;
}
.survey-opt-row .form-control:focus { border-color: #1B6B72; }

/* ── Result Bars (horizontal — used by dashboard nationality report) ── */
.survey-result-bars { display: flex; flex-direction: column; gap: .6rem; }

.result-bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr 72px;
  align-items: center;
  gap: .75rem;
  padding: .3rem 0;
}
@media (max-width: 640px) {
  .result-bar-row { grid-template-columns: 1fr 60px; grid-template-rows: auto auto; }
  .result-bar-label { grid-column: 1 / -1; }
}
.result-bar-label {
  font-size: .875rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-bar-track {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  height: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.result-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1B6B72 0%, #C8973A 100%);
  border-radius: 99px;
  transition: width 1s cubic-bezier(.4,0,.2,1);
  min-width: 3px;
}
[data-theme="dark"] .result-bar-fill { background: linear-gradient(90deg, #3DBAC5, #C8973A); }

.result-bar-pct {
  font-size: .82rem;
  font-weight: 700;
  color: #1B6B72;
  text-align: end;
  white-space: nowrap;
}
[data-theme="dark"] .result-bar-pct { color: #3DBAC5; }

.result-top-tag {
  font-size: .64rem;
  font-weight: 700;
  color: #C8973A;
  background: rgba(200,151,58,.12);
  border-radius: 99px;
  padding: .15rem .55rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
/* ── Result Table (report-style data table — survey question results) ── */
.result-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.result-table th {
  background: var(--bg-alt);
  color: var(--text-mute);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .65rem .9rem;
  text-align: inherit;
}
.result-table th:first-child { border-start-start-radius: var(--radius-sm); border-end-start-radius: var(--radius-sm); width: 40px; }
.result-table td {
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.result-table tbody tr:last-child td { border-bottom: none; }
.result-table tbody tr.is-top td { background: rgba(200,151,58,.06); }

.result-table-rank {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-mute);
  font-size: .68rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.result-table tbody tr.is-top .result-table-rank {
  background: linear-gradient(135deg, #F0C465, #C8973A);
  color: #fff;
}
.result-table-label { font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.result-table-count {
  font-weight: 700;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}
.result-table-pct-cell { min-width: 160px; }
.result-table-pct-row { display: flex; align-items: center; gap: .65rem; }
.result-table-pct-value {
  font-weight: 800;
  color: #1B6B72;
  min-width: 3em;
  text-align: end;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
[data-theme="dark"] .result-table-pct-value { color: #3DBAC5; }
.result-mini-bar {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
}
.result-mini-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #1B6B72, #C8973A);
  transition: width .6s ease;
  min-width: 2px;
}
[data-theme="dark"] .result-mini-bar-fill { background: linear-gradient(90deg, #3DBAC5, #C8973A); }
.result-table tbody tr.is-top .result-mini-bar-fill { background: linear-gradient(90deg, #F0C465, #C8973A); }

/* ── Question total badge ───────────────────────────────────────── */
.q-total-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: #1B6B72;
  background: rgba(27,107,114,.08);
  border-radius: 99px;
  padding: .3rem .75rem;
  white-space: nowrap;
}
[data-theme="dark"] .q-total-badge { color: #3DBAC5; background: rgba(61,186,197,.12); }

/* ── Insights banner (auto-generated key findings) ──────────────── */
.insights-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-inline-start: 4px solid #C8973A;
  border-radius: var(--radius);
  padding: .9rem 1.35rem;
  box-shadow: 0 1px 2px rgba(27,107,114,.05);
  flex-wrap: wrap;
}
.insights-banner-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F0C465, #C8973A);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(200,151,58,.35);
}
.insights-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.5rem;
}
.insights-list li {
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-mute);
  line-height: 1.4;
  position: relative;
  padding-inline-start: 1.5rem;
}
.insights-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
}
.insights-list li:first-child { padding-inline-start: 0; }
.insights-list li:first-child::before { display: none; }
.insight-figure {
  font-weight: 800;
  color: #C8973A;
  font-size: .95rem;
}

/* ── Response card (text answers) ───────────────────────────────── */
.response-text-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .875rem 1rem;
  position: relative;
  transition: border-color .15s;
}
.response-text-card:hover { border-color: rgba(27,107,114,.3); }
.response-text-card::before {
  content: '\201C';
  position: absolute;
  top: .5rem;
  font-size: 2rem;
  color: rgba(27,107,114,.18);
  font-family: Georgia, serif;
  line-height: 1;
}
html[dir="rtl"] .response-text-card::before { right: .75rem; }
html[dir="ltr"] .response-text-card::before { left: .75rem; }

/* ── Survey type badge ───────────────────────────────────────────── */
.q-type-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 20px;
  background: rgba(27,107,114,.1);
  color: #1B6B72;
}
[data-theme="dark"] .q-type-badge { background: rgba(61,186,197,.15); color: #3DBAC5; }

/* ── Empty questions placeholder ────────────────────────────────── */
#noQMsg {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-mute);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  margin-top: .5rem;
}
#noQMsg i { font-size: 2rem; display: block; margin-bottom: .75rem; opacity: .5; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(245,237,216,.75);
  padding: 4rem 0 0;
}
[data-theme="dark"] .site-footer { background: #0a0a14; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; } }
.footer-brand .logo-name { font-size: 2rem; }
.footer-brand-logo {
  height: 56px;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.footer-brand p { font-size: .9rem; margin-top: .75rem; max-width: 280px; color: rgba(245,237,216,.55); }
.footer-col h4 {
  color: var(--gold);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1.25rem;
  font-family: var(--font-ar-body);
}
html[dir="ltr"] .footer-col h4 { font-family: var(--font-en); }
.footer-links li + li { margin-top: .6rem; }
.footer-links a {
  color: rgba(245,237,216,.6);
  font-size: .9rem;
  transition: color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--gold-light); padding-inline-start: .35rem; }
.footer-contact-item { display: flex; gap: .75rem; margin-bottom: .75rem; align-items: center; }
.footer-contact-item span { font-size: .88rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,237,216,.6);
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: .82rem; color: rgba(245,237,216,.4); margin: 0; }

/* ══════════════════════════════════════════════════════════════════
   HOME PAGE ENHANCEMENTS
══════════════════════════════════════════════════════════════════ */

/* Standalone .eyebrow (used outside .section-head too) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  background: rgba(200,151,58,.1);
  border: 1px solid rgba(200,151,58,.25);
  padding: .28rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

/* Hero — animated entrance */
@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge    { animation: fade-slide-up .7s          ease both; }
.hero-eyebrow  { animation: fade-slide-up .8s  .12s    ease both; }
.hero h1       { animation: fade-slide-up .85s .25s    ease both; }
.hero p        { animation: fade-slide-up .85s .4s     ease both; }
.hero-ctas     { animation: fade-slide-up .85s .55s    ease both; }

/* Hero — enhanced bg */
.hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(27,107,114,.35) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 0% 0%,   rgba(200,151,58,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 100% 100%,rgba(27,107,114,.08) 0%, transparent 55%);
}

/* Hero badge (social-proof strip above eyebrow) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: .45rem 1.2rem .45rem .7rem;
  margin-bottom: 1.5rem;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(245,237,216,.85);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-green 2.2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0   rgba(74,222,128,.55); }
  55%      { box-shadow: 0 0 0 5px rgba(74,222,128,0);   }
}

/* Hero — slow tawaf rotation */
@keyframes tawaf-rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}
.hero-deco { animation: tawaf-rotate 90s linear infinite; }

/* Hero — floating stats card (desktop only) */
.hero-float-card { display: none; }
@media (min-width: 900px) {
  .hero-float-card {
    display: flex;
    position: absolute;
    bottom: 8rem;
    inset-inline-start: 2.5rem;
    z-index: 3;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: .9rem 1.25rem;
    align-items: center;
    gap: .85rem;
    animation: float-card 4s ease-in-out infinite;
  }
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-float-icon {
  width: 46px; height: 46px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.hero-float-text strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  font-family: 'Poppins','Inter',sans-serif;
}
.hero-float-text span {
  font-size: .7rem;
  color: rgba(245,237,216,.6);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Stats — icon row above number */
.stat-icon {
  font-size: 1.4rem;
  color: rgba(245,237,216,.35);
  margin-bottom: .35rem;
}
.stat-num-row {
  display: inline-flex;
  align-items: baseline;
  gap: .05rem;
  justify-content: center;
}
.stat-plus {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .05rem;
}
@media (min-width: 640px) {
  .stats-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 0;
  }
  .stat-item { flex: 1; position: relative; padding: 0 1rem; }
  .stat-item + .stat-item::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 12%; bottom: 12%;
    width: 1px;
    background: rgba(255,255,255,.14);
  }
}

/* Services — numeric watermark + refined icon */
.service-num {
  position: absolute;
  bottom: .75rem;
  inset-inline-end: 1rem;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--teal);
  opacity: .05;
  line-height: 1;
  font-family: 'Poppins','Inter',sans-serif;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
  user-select: none;
}
.service-card:hover .service-num { opacity: .1; }
.service-icon {
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(27,107,114,.2), rgba(200,151,58,.15));
  border-color: rgba(200,151,58,.28);
  transform: scale(1.08) rotate(-4deg);
}

/* About — feature list */
.about-features { display: flex; flex-direction: column; gap: .65rem; margin: 1.25rem 0 1.25rem; }
.about-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-main);
}
.about-feature-icon {
  width: 30px; height: 30px;
  background: rgba(27,107,114,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  font-size: .78rem;
}

/* About — highlighted quote */
.about-quote {
  background: linear-gradient(135deg, rgba(27,107,114,.06), rgba(200,151,58,.04));
  border: 1px solid rgba(200,151,58,.18);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: .9rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: .91rem;
  line-height: 1.9;
  color: var(--text-mute);
  font-style: italic;
}

/* Packages — subtle background decoration */
.packages-section { overflow: hidden; }
.packages-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 60% at 4% 50%,  rgba(200,151,58,.04), transparent 55%),
    radial-gradient(ellipse 40% 55% at 96% 30%,  rgba(27,107,114,.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.packages-section > .container { position: relative; z-index: 1; }

/* Gallery — featured first item spans 2 cols */
@media (min-width: 640px) {
  .gallery-item.gallery-featured { grid-column: span 2; aspect-ratio: 2/1; }
}

/* CTA — pulsing icon ring replacing emoji */
.cta-icon-ring {
  width: 84px; height: 84px;
  margin: 0 auto 1.5rem;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  animation: pulse-ring 3.5s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%,100% { box-shadow: 0 0 0 0   rgba(200,151,58,.28); }
  50%      { box-shadow: 0 0 0 16px rgba(200,151,58,0);  }
}

/* Section head — slightly larger h2 */
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.45rem); }

/* ══════════════════════════════════════════════════════════════════
   HERO — PREMIUM CENTERED REDESIGN
══════════════════════════════════════════════════════════════════ */

/* Hero: full-height centered layout */
.hero {
  justify-content: center;
  min-height: 100vh;
  /* dvh accounts for the mobile browser address bar so the CTA buttons
     and scroll hint aren't pushed below the fold on first load. */
  min-height: 100dvh;
}
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
html[dir="rtl"] .hero-content { direction: rtl; }

/* Eyebrow — centered */
.hero-eyebrow {
  justify-content: center;
  display: inline-flex;
}

/* Huge centered heading */
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
}
html[dir="rtl"] .hero h1 { font-family: var(--font-ar-head); }

/* Gold gradient highlight on the title */
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #b07520 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Gold divider line below heading */
.hero-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.75rem auto;
}

/* Subtitle centered */
.hero p {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

/* CTAs centered */
.hero-ctas { justify-content: center; }

/* Hide floating card & badge — too busy for minimal style */
.hero-float-card { display: none !important; }
.hero-badge { display: none !important; }

/* ── Mouse-style scroll indicator ──────────────────────────────── */
.hero-scroll-mouse {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  cursor: default;
}
.hero-mouse-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(245,237,216,.45);
  font-weight: 500;
}
.hero-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(245,237,216,.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.hero-mouse-wheel {
  width: 2px; height: 7px;
  background: rgba(245,237,216,.6);
  border-radius: 2px;
  animation: mouse-wheel 1.8s ease-in-out infinite;
}
@keyframes mouse-wheel {
  0%   { transform: translateY(0);   opacity: 1; }
  75%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 0; }
}

/* Remove old scroll arrow */
.hero-scroll { display: none; }

/* ── SECTION HEAD — minimal centered lines ──────────────────────── */
.section-head { position: relative; }
.section-head::after {
  content: '';
  display: block;
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ── HERO BG: overlay keeps text readable but lets image breathe ── */
.hero-img-overlay {
  background: linear-gradient(
    160deg,
    rgba(10,10,20,.82) 0%,
    rgba(10,10,20,.55) 45%,
    rgba(27,107,114,.22) 100%
  );
}

/* ══════════════════════════════════════════════════════════════════
   SERVICES SHOWCASE  (full-height, light bg like reference)
══════════════════════════════════════════════════════════════════ */
.svc-showcase {
  background: var(--sand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
[data-theme="dark"] .svc-showcase { background: var(--bg-alt); }

/* Decorative gold dot on side */
.svc-dot {
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  inset-inline-start: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(200,151,58,.18);
}

/* Eyebrow label */
.svc-showcase-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--text-mute);
  margin-bottom: 1.75rem;
}

/* Big centered heading */
.svc-showcase-heading {
  font-size: clamp(2.2rem, 6.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 3.5rem;
}
[data-theme="dark"] .svc-showcase-heading { color: var(--text-main); }
html[dir="rtl"] .svc-showcase-heading { font-family: var(--font-ar-head); }

/* Gold-highlighted word in the heading */
.svc-gold {
  color: var(--gold);
}

/* Row of circular service icons */
.svc-icons-row {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.svc-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  width: 110px;
}
.svc-icon-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mute);
  line-height: 1.3;
}
[data-theme="dark"] .svc-icon-label { color: var(--text-main); }
.svc-icon-circle {
  width: 66px; height: 66px;
  background: var(--white);
  border: 1.5px solid var(--sand-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--ink);
  cursor: default;
  transition: all .3s var(--ease);
  position: relative;
}
[data-theme="dark"] .svc-icon-circle {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-main);
}
.svc-icon-circle:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(27,107,114,.28);
}
/* ── SERVICES DETAIL (cards below showcase) ─────────────────────── */
.services-detail { background: var(--bg-main); }

/* ── REGISTER PAGE ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a46 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(245,237,216,.7); font-size: 1rem; }
.register-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
}
.register-form-wrap .card { border: none; box-shadow: var(--shadow-md); }
.success-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 560px;
  margin: 3rem auto;
}
.success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(27,107,114,.15), rgba(200,151,58,.1));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
}
.pilgrim-no-display {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: .08em;
  background: rgba(27,107,114,.08);
  border: 2px dashed rgba(27,107,114,.3);
  padding: .75rem 2rem;
  border-radius: var(--radius);
  margin: 1.25rem 0;
  display: inline-block;
}

/* ── PACKAGES PAGE ───────────────────────────────────────────────── */
.packages-page { padding: 3rem 0 5rem; }

/* ── PACKAGE SINGLE ──────────────────────────────────────────────── */
.pkg-single { padding: 3rem 0 5rem; }
.pkg-single-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pkg-single-grid { grid-template-columns: 1.4fr 1fr; } }
.pkg-single-img { border-radius: var(--radius-lg); overflow: hidden; max-height: 420px; }
.pkg-single-img img { width: 100%; height: 100%; object-fit: cover; }
.pkg-single-info .pkg-price { font-size: 2.8rem; }
.pkg-single-description { color: var(--text-mute); line-height: 1.9; margin: 1.5rem 0; }
.includes-list { display: flex; flex-direction: column; gap: .65rem; margin: 1rem 0 2rem; }

/* ── CONTACT PAGE ────────────────────────────────────────────────── */
.contact-page { padding: 3rem 0 5rem; }

/* ── LIGHTBOX ────────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; }
.lightbox-inner img { border-radius: var(--radius); max-height: 80vh; width: 100%; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: -2.5rem; inset-inline-end: 0;
  color: var(--white);
  font-size: 1.5rem;
  background: none; border: none; cursor: pointer;
  opacity: .7;
}
.lightbox-close:hover { opacity: 1; }

/* ── BREADCRUMB ──────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .82rem;
  color: rgba(245,237,216,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(245,237,216,.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .4; }

/* ── ADMIN LAYOUT ────────────────────────────────────────────────── */
.admin-body {
  font-family: var(--font-ar-body);
  background: var(--bg-main);
}
html[dir="ltr"] .admin-body { font-family: var(--font-en); }

/* ══════════════════════════════════════════════════════════════════
   ADMIN PANEL — Redesigned Layout
══════════════════════════════════════════════════════════════════ */
.admin-layout { display: flex; min-height: 100vh; }

/* ── Sidebar ────────────────────────────────────────────────────── */
.admin-sidebar {
  width: 265px;
  background: #0f1923;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0; bottom: 0;
  inset-inline-start: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform .3s var(--ease);
  box-shadow: 4px 0 24px rgba(0,0,0,.25);
}
[data-theme="dark"] .admin-sidebar { background: #080d12; }

/* خط علوي بتدرج teal→gold */
.admin-sidebar::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #1B6B72 0%, #C8973A 100%);
  flex-shrink: 0;
}

.admin-sidebar-logo {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.admin-sidebar-logo img {
  height: 36px;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.admin-sidebar-logo .logo-name  { font-size: 1.15rem; color: #fff; font-weight: 700; }
.admin-sidebar-logo .logo-tagline {
  font-size: .56rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(200,151,58,.7); display: block; margin-top: .1rem;
}

.admin-nav { padding: .75rem 0; flex: 1; }
.admin-nav-group { margin-bottom: 1.25rem; }
.admin-nav-group-title {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255,255,255,.22);
  padding: 0 1.25rem .45rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.admin-nav-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.06);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.25rem;
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  font-weight: 400;
  transition: all .18s ease;
  position: relative;
  border-radius: 0 6px 6px 0;
  margin-inline-end: .75rem;
}
html[dir="rtl"] .admin-nav a { border-radius: 6px 0 0 6px; margin-inline-end: 0; margin-inline-start: .75rem; }

.admin-nav a .icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  background: rgba(255,255,255,.06);
  transition: all .18s ease;
  flex-shrink: 0;
}

.admin-nav a:hover {
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
}
.admin-nav a:hover .icon { background: rgba(27,107,114,.3); color: #5fcbd3; }

.admin-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(27,107,114,.35) 0%, rgba(27,107,114,.1) 100%);
  font-weight: 600;
}
.admin-nav a.active .icon {
  background: linear-gradient(135deg, #1B6B72, #0e3a3e);
  color: #fff;
  box-shadow: 0 3px 10px rgba(27,107,114,.45);
}
.admin-nav a.active::after {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 15%; bottom: 15%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #C8973A;
}
html[dir="rtl"] .admin-nav a.active::after { inset-inline-start: auto; inset-inline-end: 0; border-radius: 3px 0 0 3px; }

.admin-nav .badge-count {
  margin-inline-start: auto;
  background: #e74c3c;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 50px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(231,76,60,.4);
}

.admin-sidebar-footer {
  padding: .875rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.admin-sidebar-footer a {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.35);
  font-size: .83rem;
  transition: color .18s ease;
  padding: .35rem 0;
}
.admin-sidebar-footer a:hover { color: #e74c3c; }
.admin-sidebar-footer a i { font-size: .9rem; }

/* ── Main Content ───────────────────────────────────────────────── */
.admin-main {
  margin-inline-start: 265px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-main);
}

/* ── Top bar ────────────────────────────────────────────────────── */
.admin-topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 1.75rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(0,0,0,.04);
}
.admin-topbar-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-main);
}
.admin-topbar-actions { display: flex; gap: .6rem; align-items: center; }
.admin-user {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-mute);
  padding: .35rem .75rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.admin-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #1B6B72, #C8973A);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  flex-shrink: 0;
}
.admin-content { padding: 1.75rem; flex: 1; }

/* ── Stat Cards ─────────────────────────────────────────────────── */
.stat-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; margin-bottom: 1.75rem; }
@media (min-width: 900px) { .stat-cards { grid-template-columns: repeat(4,1fr); } }

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(27,107,114,.05), 0 8px 22px rgba(27,107,114,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; inset-inline-end: 0;
  width: 60px; height: 60px;
  border-radius: 50%;
  opacity: .06;
  transform: translate(20px, -20px);
  background: currentColor;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(27,107,114,.14); }

.stat-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.stat-card-icon.teal  { background: linear-gradient(135deg,rgba(27,107,114,.2),rgba(27,107,114,.08)); color: #1B6B72; box-shadow: 0 4px 14px rgba(27,107,114,.2); }
.stat-card-icon.gold  { background: linear-gradient(135deg,rgba(200,151,58,.2),rgba(200,151,58,.08)); color: #C8973A; box-shadow: 0 4px 14px rgba(200,151,58,.2); }
.stat-card-icon.green { background: linear-gradient(135deg,rgba(25,135,84,.2),rgba(25,135,84,.08)); color: #198754; box-shadow: 0 4px 14px rgba(25,135,84,.2); }
.stat-card-icon.red   { background: linear-gradient(135deg,rgba(220,53,69,.2),rgba(220,53,69,.08)); color: #dc3545; box-shadow: 0 4px 14px rgba(220,53,69,.2); }
.stat-card-icon.purple{ background: linear-gradient(135deg,rgba(111,66,193,.2),rgba(111,66,193,.08)); color: #6f42c1; box-shadow: 0 4px 14px rgba(111,66,193,.2); }

.stat-card-value { font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: .25rem; color: var(--text-main); }
.stat-card-label { font-size: .78rem; color: var(--text-mute); font-weight: 500; }

/* ── Survey list cards ──────────────────────────────────────────── */
.survey-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
  box-shadow: 0 1px 2px rgba(27,107,114,.04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.survey-card:hover { box-shadow: 0 10px 30px rgba(27,107,114,.1); transform: translateY(-2px); }
.survey-card.is-active { border-inline-start-color: #1B6B72; }

.survey-card-main { display: flex; gap: 1rem; flex: 1; min-width: 240px; }
.survey-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--text-mute);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.survey-card.is-active .survey-card-icon {
  background: linear-gradient(135deg, rgba(27,107,114,.2), rgba(27,107,114,.08));
  color: #1B6B72;
  box-shadow: 0 4px 14px rgba(27,107,114,.18);
}

.survey-status-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--text-mute);
  white-space: nowrap;
}
.survey-status-badge.active { background: rgba(39,174,96,.12); color: #27ae60; }
.survey-status-badge i { font-size: .45rem; }

.survey-meta-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.survey-meta-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: var(--text-mute);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .3rem .75rem;
  white-space: nowrap;
}
.survey-meta-chip strong { color: var(--text-main); font-weight: 700; }

.survey-card-actions {
  display: flex; flex-direction: column; gap: .5rem;
  min-width: 160px; flex-shrink: 0;
}
.survey-card-actions .btn { width: 100%; justify-content: center; }
.survey-result-count {
  background: #C8973A; color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 20px;
  margin-inline-start: .3rem;
}
.survey-card-icon-actions { display: flex; gap: .4rem; }
.survey-card-icon-actions .btn { flex: 1; }

/* ── Admin Table ────────────────────────────────────────────────── */
.admin-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-light) transparent;
}
.admin-table-wrap::-webkit-scrollbar { height: 8px; }
.admin-table-wrap::-webkit-scrollbar-track { background: transparent; }
.admin-table-wrap::-webkit-scrollbar-thumb { background: rgba(27,107,114,.35); border-radius: 99px; }
.admin-table-wrap::-webkit-scrollbar-thumb:hover { background: rgba(27,107,114,.55); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.admin-table th {
  background: var(--bg-alt);
  color: var(--text-mute);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .8rem 1.1rem;
  text-align: inherit;
  white-space: nowrap;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1;
}
.admin-table td {
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  transition: background .12s ease;
}
.admin-table tbody tr:hover td { background: rgba(27,107,114,.04); }
.admin-table tbody tr:last-child td { border-bottom: none; }

/* Colour-coded pill select — used for inline status changes so the state reads
   at a glance instead of looking like a plain unstyled form control. */
.status-pill-select {
  appearance: none; -webkit-appearance: none;
  border-radius: 50px !important;
  font-weight: 700 !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - .6rem) center;
  background-size: 9px 6px;
  padding-inline-end: 1.8rem !important;
}
.status-pill-select.st-pending   { background-color: rgba(255,193,7,.22)  !important; color: #856404;    border-color: rgba(255,193,7,.5)  !important; }
.status-pill-select.st-confirmed { background-color: rgba(27,107,114,.16) !important; color: var(--teal); border-color: rgba(27,107,114,.45) !important; }
.status-pill-select.st-paid      { background-color: rgba(25,135,84,.18)  !important; color: #198754;    border-color: rgba(25,135,84,.5)  !important; }
.status-pill-select.st-cancelled { background-color: rgba(220,53,69,.16)  !important; color: #dc3545;    border-color: rgba(220,53,69,.5)  !important; }

/* ── Admin Card ─────────────────────────────────────────────────── */
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(27,107,114,.05), 0 10px 28px rgba(27,107,114,.06);
  transition: box-shadow .2s ease;
}
.admin-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  gap: 1rem;
}
.admin-card-header h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.admin-card-body { padding: 1.5rem; }

/* Search & filter bar */
.table-toolbar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.search-input-wrap { position: relative; flex: 1; min-width: 200px; }
.search-input-wrap .search-icon {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  inset-inline-start: .75rem;
  color: var(--text-mute);
  font-size: .9rem;
}
.search-input { padding-inline-start: 2.2rem; }

/* Status pill selector */
.status-select { max-width: 160px; }

/* Pagination */
.pagination {
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.page-link {
  min-width: 36px; height: 36px;
  padding: 0 .75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-mute);
  font-size: .85rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.page-link:hover, .page-link.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* Media upload zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--teal);
  background: rgba(27,107,114,.04);
}
.upload-zone .upload-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-mute); }
.upload-zone p { margin: 0; }
.upload-zone input[type="file"] { display: none; }

/* Media grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.1rem;
}
.media-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.media-thumb:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb-actions {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,.75);
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  transition: opacity var(--dur) var(--ease);
}
.media-thumb:hover .media-thumb-actions { opacity: 1; }
/* Touch devices have no hover — keep actions reachable */
@media (hover: none) {
  .media-thumb-actions { opacity: 1; background: linear-gradient(0deg, rgba(26,26,46,.75) 0%, rgba(26,26,46,0) 45%); align-items: flex-end; padding-bottom: .5rem; }
}

/* Reusable settings media preview (hero image/video) with inline delete */
.media-preview-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16/6;
  background: var(--ink);
  transition: opacity var(--dur) var(--ease);
}
.media-preview-card img,
.media-preview-card video {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.media-preview-card img { opacity: .6; }
.media-preview-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(10,10,20,.82) 0%, rgba(10,10,20,.55) 45%, rgba(27,107,114,.22) 100%);
}
.media-preview-badge {
  position: absolute; top: .75rem; inset-inline-start: .75rem;
  background: rgba(25,135,84,.9); color: #fff;
  font-size: .72rem; padding: .25rem .6rem; border-radius: 4px; font-weight: 600;
}
.media-preview-delete {
  position: absolute; top: .75rem; inset-inline-end: .75rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(220,53,69,.92); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem;
  box-shadow: var(--shadow-md);
  transition: all var(--dur) var(--ease);
}
.media-preview-delete:hover { background: #dc3545; transform: scale(1.08); }
.media-preview-card.marked-for-delete img,
.media-preview-card.marked-for-delete video { opacity: .18; filter: grayscale(1); }
.media-preview-card.marked-for-delete .media-preview-overlay { display: none; }
.media-preview-card.marked-for-delete .media-preview-badge { display: none; }
.media-preview-card.marked-for-delete .media-preview-delete { background: var(--teal); }
.media-preview-undo-label {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center; text-align: center; padding: 1rem;
  color: #fff; font-size: .85rem; font-weight: 600;
}
.media-preview-card.marked-for-delete .media-preview-undo-label { display: flex; }

/* Sidebar mobile toggle */
.admin-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
  padding: .25rem;
}
@media (max-width: 900px) {
  .admin-sidebar-toggle { display: flex; }
  .admin-sidebar { transform: translateX(-100%); }
  html[dir="rtl"] .admin-sidebar { transform: translateX(100%); }
  .admin-sidebar.open { transform: translateX(0) !important; }
  .admin-main { margin-inline-start: 0; }
  .admin-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;
    display: none;
  }
  .admin-overlay.active { display: block; }
}

/* ── LOGIN PAGE ──────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 30% 100%, rgba(27,107,114,.2) 0%, transparent 70%),
    var(--ink);
  padding: 2rem 1rem;
}
[data-theme="dark"] .login-page { background: radial-gradient(ellipse 80% 60% at 30% 100%, rgba(27,107,114,.15) 0%, transparent 70%), #0e0e1a; }
.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo .logo-name { font-size: 2.2rem; color: var(--gold); }
.login-logo .logo-tagline { font-size: .68rem; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; margin-top: .3rem; }
.login-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.75rem;
  color: var(--text-mute);
}

/* ── PILGRIM DETAIL ──────────────────────────────────────────────── */
.pilgrim-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .pilgrim-detail-grid { grid-template-columns: 260px 1fr; } }
.pilgrim-photo-card { text-align: center; padding: 2rem 1.5rem; }
.pilgrim-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--teal);
}
.pilgrim-photo-placeholder {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 3rem;
  color: #fff;
}
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: .75rem;
}
.detail-item label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mute);
  display: block;
  margin-bottom: .2rem;
}
.detail-item span { font-size: .95rem; color: var(--text-main); }
.detail-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

/* ── UTILITIES ───────────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-start   { text-align: start; }
.text-end     { text-align: end; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-0  { padding: 0; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.ms-auto { margin-inline-start: auto; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.img-placeholder {
  width: 100%;
  background: linear-gradient(135deg, rgba(27,107,114,.1), rgba(200,151,58,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 2.5rem;
}
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-mute);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .4; }
.empty-state p { max-width: 300px; margin: 0 auto; }

/* ── SCROLL BAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ── PRINT STYLES (Pilgrim Card) ─────────────────────────────────── */
@media print {
  body { background: #fff !important; }
  .no-print { display: none !important; }
  .print-card { page-break-inside: avoid; }
}
