/* ============================================================
   ROOT VARIABLES – DARK MODE (default)
   ============================================================ */
:root {
  --bg-primary: #111111;
  --bg-secondary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-overlay: rgba(0, 0, 0, 0.55);
  --text-primary: #f0ece3;
  --text-secondary: #b8a98a;
  --curve-bg:rgba(10, 8, 6, 0.96);
  --text-muted: #7a7060;
  --gold: #c9a84c;
  --blure: #d9a44125;
  --blure-border: #d6a5495b;
  --gold-light: #e2c47a;
  --gold-dark: #9e7a2e;
  --border: rgba(201, 168, 76, 0.25);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.18);
  --navbar-bg: rgba(17, 17, 17, 0.98);
  --navbar-text: rgba(255, 255, 255, 0.88);
  --navbar-text-muted: rgba(255, 255, 255, 0.648);
  --navbar-border: rgba(255, 255, 255, 0.06);
  --navbar-divider: rgba(255, 255, 255, 0.25);
  --navbar-icon-hover-bg: rgba(255, 255, 255, 0.08);
  --btn-text: #111;
  --input-bg: #252525;
  --input-border: rgba(201, 168, 76, 0.3);
  --toggle-icon: "☀️";
  --light-effect-color: #c9a84c;
  --light-effect-intensity: 0.2;
  --hero-title-color: #fff;
  --hero-desc-color: rgba(255, 255, 255, 0.92);
  --hero-overlay: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.26) 45%,
    rgba(0, 0, 0, 0.7) 100%
  );
  --hero-frame-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --card-bg-gradient: linear-gradient(
    145deg,
    rgba(17, 17, 17, 0.96),
    rgba(12, 12, 12, 0.98)
  );
  --card-border-subtle: rgba(255, 255, 255, 0.04);
  --card-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
  --badge-alert: #e53935;
  --gold-rgba: 201, 168, 76;
  --focus-ring: rgba(201, 168, 76, 0.25);
  --btn-icon-bg: rgba(255, 255, 255, 0.95);
  --hero-bubble-bg: rgba(240, 240, 240, 0.92);
  --hero-bubble-bg-hover: rgba(255, 255, 255, 0.98);
  --hero-bubble-text: #1a1a1a;
  --hero-bubble-border: rgba(80, 80, 80, 0.4);
  --hero-bubble-avatar-border: rgba(255, 255, 255, 0.5);
  --small-title-color: #b48329;
  --small-title-icon: #d9a441;
  /* Services stack cards (#servicesBookStack) — dark */
  --services-stack-card-bg: linear-gradient(
    155deg,
    #2e2a26 0%,
    #252220 48%,
    #1e1c1a 100%
  );
  --services-stack-card-title: #f5f0e8;
  --services-stack-card-desc: #c9bc9f;
  --services-stack-card-border: rgba(201, 168, 76, 0.28);
  --services-stack-inner-highlight: rgba(255, 255, 255, 0.07);
  --services-stack-card-shadow:
    0 2px 0 var(--services-stack-inner-highlight) inset,
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 6px 16px rgba(0, 0, 0, 0.32);
  --services-stack-card-shadow-active:
    0 2px 0 rgba(255, 255, 255, 0.1) inset,
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 10px 24px rgba(0, 0, 0, 0.38);
  --services-stack-link: var(--gold-light);
  --services-stack-link-hover: #f5e0b0;
  --services-stack-media-bg: #1a1816;
  --services-stack-media-radius: 12px;
  /* Services book stack (header + sticky scene) — dark */
  --services-book-scene-bg: transparent;
  --services-book-scene-glow: none;
  --services-book-title-color: var(--gold-light);
  --services-book-progress-color: var(--text-muted);
  --services-book-hint-color: var(--text-muted);
  /* Login / booking / sign-up shared card */
  --login-card-bg: linear-gradient(120deg, #1d1a17 0%, #121212 45%, #171717 100%);
  --login-media-panel-bg: #1a1714;
  --login-subtitle-color: rgba(255, 255, 255, 0.62);
  --login-label-on-card-color: rgba(255, 255, 255, 0.78);
  --login-field-bg: rgba(255, 255, 255, 0.02);
  --login-field-border: rgba(255, 255, 255, 0.28);
  --login-placeholder-color: rgba(255, 255, 255, 0.42);
  --login-input-addon-color: rgba(255, 255, 255, 0.58);
  --login-register-muted: rgba(255, 255, 255, 0.45);
  --login-media-content-border: rgba(255, 255, 255, 0.2);
  --login-media-heading-color: #fff;
  --login-media-tagline-color: rgba(255, 255, 255, 0.8);
  --login-media-contact-color: rgb(255, 255, 255);
  --login-media-icon-color: rgba(255, 255, 255, 0.9);
  /* OTP full-page */
  --otp-page-bg:
    radial-gradient(
      circle at 4% 48%,
      rgba(var(--gold-rgba), 0.22) 0%,
      rgba(var(--gold-rgba), 0) 32%
    ),
    radial-gradient(
      circle at 96% 50%,
      rgba(var(--gold-rgba), 0.16) 0%,
      rgba(var(--gold-rgba), 0) 34%
    ),
    linear-gradient(120deg, #1f2024 0%, #17181b 50%, #232428 100%);
  --otp-body-color: #f5f2ed;
  --otp-card-bg: linear-gradient(180deg, #141519 0%, #111215 100%);
  --otp-card-border: rgba(255, 255, 255, 0.14);
  --otp-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 26px 60px rgba(0, 0, 0, 0.48);
  --otp-title-color: #f4f2ef;
  --otp-subtitle-color: rgba(255, 255, 255, 0.62);
  --otp-phone-mask-color: rgba(255, 255, 255, 0.72);
  --otp-input-bg: #ececec;
  --otp-input-text: #222;
  --otp-input-placeholder: rgba(0, 0, 0, 0.45);
  --otp-input-focus-ring: rgba(var(--gold-rgba), 0.45);
  --otp-input-focus-bg: #fff;
  --otp-status-color: rgba(255, 255, 255, 0.32);
  --otp-timer-color: var(--gold);
  --otp-confirm-gradient: linear-gradient(180deg, #d6b560 0%, #c7a246 100%);
  --otp-confirm-shadow: rgba(var(--gold-rgba), 0.28);
  --otp-confirm-icon-bg: rgba(255, 255, 255, 0.94);
  --otp-confirm-icon-color: #b88f32;
  --otp-resend-color: var(--gold);
  --otp-resend-hover: var(--gold-light);
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */
[data-theme="light"] {
  --bg-primary: #f8f4ee;
  --bg-secondary: #efe9df;
  --bg-card: #ffffff;
  --bg-overlay: rgba(255, 248, 235, 0.75);
  --text-primary: #1a1510;
  --text-secondary: #5a4a2e;
  --text-muted: #9a8a6a;
  --curve-bg:rgba(248, 244, 238, 0.98);
  --gold: #b8860b;
  --blure: #d9a44125;
  --blure-border: #d9a4415b;
  --gold-light: #d4a017;
  --gold-dark: #8b6508;
  --border: rgba(184, 134, 11, 0.3);
  --shadow: 0 8px 40px rgba(100, 80, 30, 0.15);
  --shadow-gold: 0 4px 24px rgba(184, 134, 11, 0.2);
  --navbar-bg: rgba(248, 244, 238, 0.98);
  --navbar-text: #1a1510;
  --navbar-text-muted: rgba(26, 21, 16, 0.65);
  --navbar-border: rgba(0, 0, 0, 0.08);
  --navbar-divider: rgba(0, 0, 0, 0.22);
  --navbar-icon-hover-bg: rgba(0, 0, 0, 0.06);
  --btn-text: #fff;
  --input-bg: #fff;
  --input-border: rgba(184, 134, 11, 0.4);
  --toggle-icon: "🌙";
  --light-effect-color: #d49e1745;
  --light-effect-intensity: 0.35;
  --hero-title-color: #1a1510;
  --hero-desc-color: rgba(26, 21, 16, 0.9);
  --hero-overlay: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.12) 45%,
    rgba(0, 0, 0, 0.6) 100%
  );
  --hero-frame-shadow: 0 24px 80px rgba(248, 244, 238, 0.98);
  --card-bg-gradient: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 244, 238, 0.98)
  );
  --card-border-subtle: rgba(0, 0, 0, 0.06);
  --card-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  --badge-alert: #e53935;
  --gold-rgba: 184, 134, 11;
  --focus-ring: rgba(184, 134, 11, 0.3);
  --btn-icon-bg: rgba(255, 255, 255, 0.95);
  --hero-bubble-bg: rgba(255, 255, 255, 0.95);
  --hero-bubble-bg-hover: rgba(255, 255, 255, 0.98);
  --hero-bubble-text: #1a1510;
  --hero-bubble-border: rgba(0, 0, 0, 0.12);
  --hero-bubble-avatar-border: rgba(0, 0, 0, 0.15);
  --small-title-color: #b48329;
  --small-title-icon: #d9a441;
  /* Services stack cards — light */
  --services-stack-card-bg: linear-gradient(
    155deg,
    #ffffff 0%,
    #fffefb 45%,
    #faf6f0 100%
  );
  --services-stack-card-title: #1a1510;
  --services-stack-card-desc: #5c4f3d;
  --services-stack-card-border: rgba(0, 0, 0, 0.08);
  --services-stack-inner-highlight: rgba(255, 255, 255, 0.98);
  --services-stack-card-shadow:
    0 2px 0 var(--services-stack-inner-highlight) inset,
    0 18px 40px rgba(90, 70, 40, 0.1),
    0 6px 14px rgba(0, 0, 0, 0.06);
  --services-stack-card-shadow-active:
    0 2px 0 #ffffff inset,
    0 26px 50px rgba(90, 70, 40, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.08);
  --services-stack-link: var(--gold-dark);
  --services-stack-link-hover: var(--gold-light);
  --services-stack-media-bg: #efe9df;
  --services-stack-media-radius: 12px;
  /* Services book stack — light */
  --services-book-scene-bg: transparent;
  --services-book-scene-glow: none;
  --services-book-title-color: var(--gold-dark);
  --services-book-progress-color: var(--text-muted);
  --services-book-hint-color: var(--text-muted);
  --login-card-bg: linear-gradient(120deg, #ffffff 0%, #faf8f5 45%, #f5f0e8 100%);
  --login-media-panel-bg: #efe9df;
  --login-subtitle-color: var(--text-muted);
  --login-label-on-card-color: var(--text-secondary);
  --login-field-bg: var(--input-bg);
  --login-field-border: var(--input-border);
  --login-placeholder-color: color-mix(in oklab, var(--text-primary) 45%, transparent);
  --login-input-addon-color: var(--text-muted);
  --login-register-muted: var(--text-muted);
  --login-media-content-border: rgba(0, 0, 0, 0.12);
  --login-media-heading-color: var(--text-primary);
  --login-media-tagline-color: color-mix(in oklab, var(--text-primary) 72%, transparent);
  --login-media-contact-color: var(--text-primary);
  --login-media-icon-color: var(--gold-dark);
  --otp-page-bg:
    radial-gradient(
      circle at 4% 48%,
      rgba(var(--gold-rgba), 0.18) 0%,
      rgba(var(--gold-rgba), 0) 32%
    ),
    radial-gradient(
      circle at 96% 50%,
      rgba(var(--gold-rgba), 0.14) 0%,
      rgba(var(--gold-rgba), 0) 34%
    ),
    linear-gradient(120deg, #f8f4ee 0%, #efe9df 50%, #f5f0e8 100%);
  --otp-body-color: var(--text-primary);
  --otp-card-bg: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  --otp-card-border: var(--card-border-subtle);
  --otp-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 26px 60px rgba(90, 70, 40, 0.12);
  --otp-title-color: var(--text-primary);
  --otp-subtitle-color: var(--text-secondary);
  --otp-phone-mask-color: var(--text-primary);
  --otp-input-bg: #fff;
  --otp-input-text: var(--text-primary);
  --otp-input-placeholder: color-mix(in oklab, var(--text-primary) 42%, transparent);
  --otp-input-focus-ring: rgba(var(--gold-rgba), 0.35);
  --otp-input-focus-bg: #fff;
  --otp-status-color: var(--text-muted);
  --otp-timer-color: var(--gold-dark);
  --otp-confirm-gradient: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  --otp-confirm-shadow: rgba(var(--gold-rgba), 0.22);
  --otp-confirm-icon-bg: rgba(255, 255, 255, 0.98);
  --otp-confirm-icon-color: var(--gold-dark);
  --otp-resend-color: var(--gold-dark);
  --otp-resend-hover: var(--gold-light);
}

/* ============================================================
   LENIS REQUIRED
   ============================================================ */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  overflow-x: clip;
}

body {
  font-family:
    "Cairo",
    "Tajawal",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: transparent;
  color: var(--text-primary);
  overflow-x: clip;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
  line-height: 1.7;
  max-width: 100vw;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-enabled,
  html.custom-cursor-enabled body,
  html.custom-cursor-enabled body * {
    cursor: none !important;
  }

  .custom-cursor-dot,
  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
    will-change: transform, opacity;
    transition:
      opacity 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .custom-cursor-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 0 2px rgba(255, 255, 255, 0.22),
      0 0 12px rgba(255, 255, 255, 0.4);
    mix-blend-mode: difference;
  }

  .custom-cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.28),
      0 0 20px rgba(255, 255, 255, 0.25),
      0 0 42px rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(1.5px);
    mix-blend-mode: difference;
  }

  /* Large ring only on links & buttons; no glow on interactive targets */
  html.custom-cursor-expanded .custom-cursor-ring {
    width: 92px;
    height: 92px;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: none;
    box-shadow: none;
  }

  html.custom-cursor-expanded .custom-cursor-dot {
    box-shadow: none;
  }

  html.custom-cursor-on-link .custom-cursor-dot,
  html.custom-cursor-on-link .custom-cursor-ring {
    mix-blend-mode: normal;
  }

  html.custom-cursor-on-link .custom-cursor-dot {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d4af37' d='M3 2.5v18.9c0 .5.6.8 1 .5l4.7-3 3 4.6c.2.3.6.4.9.2l2.2-1.4c.3-.2.4-.6.2-.9l-3-4.6h6c.4 0 .8-.4.8-.8v-2.5c0-.3-.2-.6-.5-.7L4 1.9c-.5-.2-1 .1-1 .6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-shadow: none;
  }

  html.custom-cursor-on-link .custom-cursor-ring {
    border-color: var(--gold-light);
    background: rgba(var(--gold-rgba), 0.14);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html.custom-cursor-expanded.custom-cursor-on-link .custom-cursor-ring {
    border-color: rgba(var(--gold-rgba), 0.5);
    background: rgba(var(--gold-rgba), 0.09);
    box-shadow: none;
  }

  html.custom-cursor-visible .custom-cursor-dot,
  html.custom-cursor-visible .custom-cursor-ring {
    opacity: 1;
  }
}

/* Smooth theme transition – key elements that use theme variables */
.navbar-custom,
.page-bg,
.footer,
.about-main-card,
.booking-card,
.service-book-card-inner,
.why-choose-card,
.result-card-inner,
.result-info,
.team-card-oval .team-card-inner,
.testimonial-card,
.counter-item,
.hero-cta-wrap,
.btn-gold,
.btn-outline-gold,
.btn-hero-browse,
.form-control-custom,
.booking-input-wrap input,
.booking-input-wrap select,
#themeToggle,
.theme-toggle-menu,
.footer-social a,
#scrollTop,
.navbar-cta-btn,
.hero-bubble {
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;

}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  position: relative;
}
.section-title span {
  color: var(--gold);
}
.section-subtitle {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0.6rem auto 1.2rem;
  border-radius: 2px;
}
.text-center {
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--btn-text) !important;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
  display: inline-block;
  padding: 0.65rem 1.8rem;
  background: transparent;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--btn-text) !important;
  transform: translateY(-2px);
}
.btn-gold:focus-visible,
.btn-outline-gold:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
#themeToggle,
.theme-toggle {
  background: transparent;
  border: none;
  color: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
#themeToggle:hover,
.theme-toggle:hover {
  background: var(--navbar-icon-hover-bg);
  color: var(--gold);
  transform: rotate(15deg) scale(1.05);
}
#themeToggle:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   NAVBAR (two-row, dark/light mode, gold accents, RTL)
   ============================================================ */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* border-bottom: 1px solid var(--navbar-border); */
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.3s ease;
  overflow-x: clip;
  overflow-y: visible;
  contain: layout;
  isolation: isolate;
  /* background: #000; */
}
.navbar-custom * {
  box-sizing: border-box;
}
.navbar-custom.scrolled {
  box-shadow: var(--shadow);
}
.navbar-inner {
  max-width: min(1400px, 100vw);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
  box-sizing: border-box;
  /* background: #000; */
}
/* Top row */
.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0.65rem 0; */
  /* min-height: 52px; */
  /* gap: 0.75rem; */
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.navbar-top-right {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  max-width: 100%;
}
.navbar-top-left {
  display: flex;
  align-items: center;
  gap: 0rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
}
.navbar-brand-custom {
  display: inline-flex;
  align-items: center;
  /* gap: 0.5rem; */
  color: inherit;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

.navbar-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.95;
  margin-right: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (max-width: 1199px) {
  .navbar-tagline {
    display: none;
  }
  .navbar-links {
    gap: 0.1rem 0.35rem;
  }
  .nav-link-custom {
    font-size: 0.88rem;
    padding: 0.4rem 0.5rem !important;
  }
  .navbar-cta-btn {
    padding: 0.5rem 1rem 0.5rem 0.85rem;
    font-size: 0.85rem;
  }
  .navbar-cta-icon {
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }
}
.navbar-login {
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.navbar-login:hover {
  opacity: 0.9;
}
.navbar-divider {
  width: 1px;
  height: 20px;
  background: var(--navbar-divider);
  flex-shrink: 0;
}
.navbar-icon {
  color: var(--navbar-text-muted);
  font-size: 1.05rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition:
    color 0.2s,
    background 0.2s;
}
.navbar-icon:hover {
  color: var(--navbar-text);
  background: var(--navbar-icon-hover-bg);
}
.navbar-icon-btn {
  background: none;
  border: none;
  color: var(--navbar-text-muted);
  font-size: 1.05rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.navbar-icon-btn:hover {
  color: var(--navbar-text);
  background: var(--navbar-icon-hover-bg);
}
.navbar-lang-dir-toggle {
  width: auto;
  min-width: 48px;
  padding: 0 9px;
  gap: 5px;
}
.lang-dir-label {
  font-size: 0.9rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
.navbar-icon-bell {
  position: relative;
}
.navbar-icon-cart {
  position: relative;
  overflow: visible;
  z-index: 10051; /* Keep cart icon above flying quantity */
}
.navbar-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  padding: 0 3px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  /* border: 2px solid var(--navbar-bg); */
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
  transform-origin: 70% 30%;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    filter 0.28s ease;
}
.navbar-icon-cart:hover .navbar-cart-count {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 18px rgba(229, 57, 53, 0.45);
  filter: saturate(1.1);
  animation: cartBadgeBounce 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar-icon-cart:hover i {
  transform: translateY(-1px) scale(1.08);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar-icon-cart i {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--badge-alert);
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
}
@keyframes cartBadgeBounce {
  0% {
    transform: scale(1) translateY(0);
  }
  45% {
    transform: scale(1.22) translateY(-4px);
  }
  100% {
    transform: scale(1.12) translateY(-2px);
  }
}
/* Bottom row */
.navbar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0 0.5rem;
  /* gap: 0.75rem; */
  flex-wrap: wrap;
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
}
.navbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.navbar-links li {
  min-width: 0;
  flex-shrink: 0;
}
.nav-item-dropdown {
  position: relative;
}
.nav-link-custom {
  color: var(--navbar-text) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem !important;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--gold) !important;
}
.nav-link-custom:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.nav-dropdown-arrow {
  font-size: 0.6rem;
  opacity: 0.8;
  transition: transform 0.25s ease;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  background: var(--card-bg-gradient);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  z-index: 20;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0s linear 0.24s;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.nav-item-dropdown:hover .nav-dropdown-arrow,
.nav-item-dropdown:focus-within .nav-dropdown-arrow,
.nav-item-dropdown.is-open .nav-dropdown-arrow {
  transform: rotate(0deg);
  transform: translateY(2px);
}
.nav-dropdown-menu li + li {
  margin-top: 0.2rem;
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--text-primary) !important;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: var(--gold) !important;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  transform: translateX(-2px);
}
.nav-dropdown-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.nav-dropdown-subitem {
  position: relative;
}
.nav-subdropdown-arrow {
  margin-inline-start: auto;
  font-size: 0.62rem;
  opacity: 0.8;
  transition: transform 0.25s ease;
}
.nav-dropdown-submenu {
  position: absolute;
  top: 0;
  right: calc(100% + 0.45rem);
  min-width: 200px;
  margin: 0;
  padding: 0.55rem;
  list-style: none;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  background: var(--card-bg-gradient);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}
.nav-dropdown-subitem:hover > .nav-dropdown-submenu,
.nav-dropdown-subitem:focus-within > .nav-dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.nav-dropdown-subitem:hover > .nav-dropdown-link .nav-subdropdown-arrow,
.nav-dropdown-subitem:focus-within > .nav-dropdown-link .nav-subdropdown-arrow {
  transform: rotate(90deg);
}
.navbar-cta-wrap {
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
}
.navbar-search-inline {
  width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transform: scaleX(0);
  transform-origin: right center;
  transition:
    width 0.42s cubic-bezier(0.22, 0.7, 0.2, 1),
    opacity 0.28s ease,
    transform 0.42s cubic-bezier(0.22, 0.7, 0.2, 1),
    visibility 0s linear 0.42s;
}
.navbar-search-inline.is-open {
  width: min(340px, 38vw);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scaleX(1);
  transition-delay: 0s;
  border-radius: 20px !important;
}
.navbar-search-form {
  width: 100%;
}
.navbar-search-input {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  overflow: hidden;
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  color: var(--navbar-text);
  padding: 0 1rem;
  outline: none;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
    border-radius: 20px !important;
}
.navbar-search-input::placeholder {
  color: var(--navbar-text-muted);
}
.navbar-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent);
  
}
.navbar-search-toggle{
  font-size: 1.2rem !important;
}
.navbar-search-toggle.is-active {
  color: var(--navbar-text);
  background: var(--navbar-icon-hover-bg);
  
}
.navbar-search-mobile {
  display: none;
}
.navbar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem 0.6rem 1rem;
  background: linear-gradient(
    135deg,
    var(--gold-light) 0%,
    var(--gold) 50%,
    var(--gold-dark) 100%
  );
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease,
    color 0.5s ease;
  box-shadow: var(--shadow-gold);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.navbar-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 0;
}
.navbar-cta-btn > * {
  position: relative;
  z-index: 1;
}
.about-cart {
  margin: auto;
  text-align: center;
  /* width: 100%; */
}
.navbar-cta-btn:hover {
  filter: none;
  box-shadow: var(--shadow-gold);
  color: var(--gold-dark) !important;
}
.navbar-cta-btn:hover::before,
.navbar-cta-btn:focus-visible::before {
  transform: scaleX(1);
}
.navbar-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--btn-icon-bg);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transform: rotate(45deg);
  transition:
    transform 0.5s ease,
    background-color 0.5s ease,
    color 0.5s ease;
}
.navbar-cta-btn:hover .navbar-cta-icon,
.navbar-cta-btn:focus-visible .navbar-cta-icon {
  transform: rotate(0deg);
  background: var(--gold);
  color: #fff;
}
.navbar-mobile {
  padding: 0.6rem 0 0;
  border-top: 0;
  transform-origin: top center;
  transform: scaleY(0.96) translateY(-8px);
  opacity: 0;
  max-height: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-x: visible;
  overflow-y: hidden;
  /* width: min(270px, calc(100vw - 1.25rem)); */
  /* max-width: min(270px, calc(100vw - 1.25rem)) !important; */
  margin-inline-start: auto;
  -webkit-overflow-scrolling: touch !important;
  transition:
    max-height 0.46s cubic-bezier(0.22, 0.7, 0.2, 1),
    opacity 0.3s ease,
    transform 0.42s cubic-bezier(0.22, 0.7, 0.2, 1),
    visibility 0s linear 0.46s;
    background-color: transparent !important;
    width: 100% !important;

}
.navbar-mobile.is-open {
  transform: scaleY(1) translateY(0);
  opacity: 1;
  max-height: 90vh;
  visibility: visible;
  width: 100% !important;
  pointer-events: auto;
  overflow-y: auto;
  transition:
    max-height 0.46s cubic-bezier(0.22, 0.7, 0.2, 1),
    opacity 0.3s ease,
    transform 0.42s cubic-bezier(0.22, 0.7, 0.2, 1),
    visibility 0s;
}
.navbar-mobile .nav-link-custom {
  padding: 0.5rem 0 !important;
}

.navbar-mobile-panel {
  padding: 1rem 0.95rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  width: 100% !important;
  /* background:
    linear-gradient(180deg, rgba(42, 42, 42, 0.92) 0%, rgba(33, 33, 33, 0.86) 100%); */
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(var(--gold-rgba), 0.08);
}
.navbar-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-mobile-item + .navbar-mobile-item {
  margin-top: 0.18rem;
}
.navbar-mobile-link,
.navbar-mobile-subtoggle,
.navbar-mobile-sublink {
  color: var(--text-primary) !important;
  text-decoration: none;
}
.navbar-mobile-link,
.navbar-mobile-subtoggle {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.3rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: right;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}
.navbar-mobile-link:hover,
.navbar-mobile-link.is-active,
.navbar-mobile-subtoggle:hover,
.navbar-mobile-item.is-open > .navbar-mobile-subtoggle {
  color: var(--gold) !important;
  background: var(--navbar-icon-hover-bg);
}
.navbar-mobile-subtoggle i {
  font-size: 0.72rem;
  transition: transform 0.3s ease;
}
.navbar-mobile-item.is-open > .navbar-mobile-subtoggle i,
.navbar-mobile-submenu .has-children.is-open > .navbar-mobile-subtoggle i {
  transform: rotate(180deg);
}
.navbar-mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0.15rem 0 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    padding-top 0.25s ease;
}
.navbar-mobile-item.is-open > .navbar-mobile-submenu,
.navbar-mobile-submenu .has-children.is-open > .navbar-mobile-submenu {
  max-height: 280px;
  opacity: 1;
  padding-top: 0.2rem;
}
.navbar-mobile-subtoggle-nested {
  padding-inline: 0.3rem 1.25rem;
  font-size: 0.92rem;
  min-height: 38px;
}
.navbar-mobile-submenu-nested {
  padding-inline-end: 1.25rem;
}
.navbar-mobile-sublink {
  display: block;
  padding: 0.52rem 0.3rem 0.52rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.navbar-mobile-sublink:hover {
  color: var(--gold) !important;
  transform: translateX(-2px);
}

/* Mobile menu: login + theme + book now (visible only on md/sm) */
.navbar-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.85rem;
  margin-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.navbar-mobile-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.navbar-mobile-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
  font-size: 0.88rem;
}
.navbar-mobile-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.35rem 0 0;
  min-height: 44px;
  transition: opacity 0.2s;
}
.navbar-mobile-login:hover {
  opacity: 0.9;
  color: var(--gold) !important;
}
.navbar-mobile-login i {
  font-size: 1.1rem;
}
.navbar-mobile-cta {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem !important;
  font-size: 0.95rem;
}
.theme-toggle-menu {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--navbar-text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  border-radius: 100%;
  transition:
    background 0.2s,
    color 0.2s;
  min-height: 44px;
}
.theme-toggle-menu:hover {
  background: var(--navbar-icon-hover-bg);
  transition: all 0.3s ease;
}
.theme-toggle-menu .theme-icon {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}
.theme-toggle-label {
  flex: 1;
}

@media (min-width: 992px) {
  .navbar-mobile-actions {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .navbar-inner {
    padding: 0 1rem;
  }
  .navbar-desktop-only,
  .navbar-divider-desktop {
    display: none !important;
  }
  .navbar-bottom .navbar-links {
    display: none;
  }
  .navbar-bottom {
    display: none;
  }
  .navbar-search-mobile {
    display: block;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top center;
    transition:
      max-height 0.4s cubic-bezier(0.22, 0.7, 0.2, 1),
      opacity 0.24s ease,
      transform 0.4s cubic-bezier(0.22, 0.7, 0.2, 1);
  }
  .navbar-search-mobile.is-open {
    max-height: 84px;
    opacity: 1;
    transform: scaleY(1);
  }
  .navbar-search-mobile .navbar-search-form {
    padding: 0.25rem 0 0.5rem;
  }
  .navbar-search-mobile .navbar-search-input {
    height: 40px;
  }
  .navbar-cta-btn {
    padding: 0.55rem 1rem 0.55rem 0.9rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 770px) {
  .navbar-inner {
    padding: 0 0.875rem;
  }
  .navbar-top {
    padding: 0.5rem 0;
    min-height: 48px;
    /* background-color: #111 !important; */
    width: 100% !important;
  }
  .navbar-top-left {
    gap: 0.25rem;
  }
  .navbar-icon,
  .navbar-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .navbar-cta-btn {
    padding: 0.5rem 0.9rem 0.5rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.4rem;
    height: 44px !important;
  }
  .navbar-cta-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .navbar-cta-icon {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }
  .navbar-toggler-custom {
    width: 44px;
    height: 44px;
    padding: 0.5rem 0.65rem;
    justify-content: center;
  }
  .navbar-toggler-custom span {
    width: 20px;
  }
  .navbar-mobile {
    padding: 0.6rem 0 0;
   
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
   
    /* height: 90px !important; */
  }
  .navbar-mobile.is-open {
    max-height: 90vh;
    overflow-y: auto;
  }
  .navbar-mobile-panel {
    padding: 0.95rem 0.85rem 0.85rem;
    background-color: var(--navbar-bg) !important;
    backdrop-filter: blur(10px) !important;
    width: 100% !important;
    border-radius: 0px 0px 30px 30px !important;
    border-top: 0px !important;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1) !important;
  }
  .navbar-mobile-link,
  .navbar-mobile-subtoggle {
    font-size: 0.95rem;
    min-height: 40px;
    
  }
  .navbar-mobile-sublink {
    font-size: 0.86rem;
  }

  /* Keep equal spacing between all main sections on small screens */
  body > section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

}
@media (max-width: 575px) {
  .navbar-inner {
    padding: 0 0.75rem;
    background-color: transparent !important;
    width: 100% !important;
    height: 90px !important;
  }

  .navbar-cta-wrap {
    margin-right: 0.5rem;
  }
  .navbar-cta-text {
    max-width: 95px;
  }
}
@media (max-width: 380px) {
  .navbar-cta-text {
    max-width: 75px;
  }
}

/* ============================================================
   HERO SECTION (راما ... جمالك يبدأ من الداخل)
   ============================================================ */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(110px + 1.5rem) 1rem 3rem;
  background: transparent;
  /* background: #000; */
  /* background-color: #01579b; */
}
.hero-frame {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(83vh - 110px - 3rem);
  /* Stadium / pill-shaped frame like the reference (~80–100px corners) */
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--hero-frame-shadow);
  animation: heroFrameIn 0.8s ease both;
  /* background-color: red; */

  margin-top: -15px;
}
.hero-bg-stack {
  position: absolute;
  inset: 0;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}
.hero-bg-stack .hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  filter: brightness(0.78) contrast(1.02);
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s ease;
}
#heroBg {
  background-image: url("https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?w=1600&q=80");
}
.hero-bg-cross {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
[data-theme="light"] .hero-bg {
  filter: brightness(0.85) contrast(1.02);
}
.hero-frame:hover .hero-bg {
  filter: brightness(0.82) contrast(1.02);
}
[data-theme="light"] .hero-frame:hover .hero-bg {
  filter: brightness(0.9) contrast(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-bubble-cycle{
    height: 180px;
    /* background-color: green !important; */
}
/* Single background layer – entire site */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-primary);
  /* background-color: blue; */
  transition: background-color 0.4s ease;
  /* background-color: #01579b; */
}
/* Global Five.js moving light layer – above background, under content (entire site) */
.global-light-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* background-color: #01579b; */
}
.global-light-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Keep all sections above the global light layer */
body > section {
  position: relative;
  z-index: 1;
}
/* Hero frame (has its own bg/overlay) – light layer was moved to global */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: calc(100vh - 6.875rem - 3rem);
  text-align: center;
}
.hero-inner .hero-container {
  position: relative;
  width: 100% !important;
  padding-bottom: 15rem;
  flex: 1 1 auto !important;
  min-height: 0;
  height: 100% !important;
  max-width: 100% !important;
  align-self: stretch;
}
.hero-text-wrap {
  max-width: 820px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 3;
}
.hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.8s ease both;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.85;
  margin: 0;
  animation: fadeInUp 0.9s ease 0.15s both;
}

/* Hero headline: per-character evaporate / materialize (driven by script.js) */
.hero-title.hero-text-anim-active,
.hero-desc.hero-text-anim-active {
  animation: none;
}
.hero-char {
  display: inline-block;
  white-space: pre;
}
/* Arabic (and similar): one span per word so letters stay joined / shaped correctly */
.hero-char.hero-char--word {
  white-space: nowrap;
}
.hero-char--out {
  animation: heroCharEvaporate 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--hc, 0) * 18ms);
}
.hero-char--in {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(0.2em) scale(0.96);
}
.hero-char--in.hero-char--in-run {
  animation: heroCharMaterialize 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--hc, 0) * 22ms);
}
@keyframes heroCharEvaporate {
  to {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-0.45em) scale(0.85);
  }
}
@keyframes heroCharMaterialize {
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-char--out,
  .hero-char--in,
  .hero-char--in.hero-char--in-run {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
    animation-delay: 0s !important;
  }
}
[data-theme="light"] .hero-char--in {
  filter: blur(6px);
}

/* Arc slider pills – dark glass, vertical layout (positions via script.js) */
.hero-bubbles-wrap {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: min(23.125rem, 36vw);
  min-height: 15.625rem;
  max-height: 25rem;
  gap: 4.375rem;
  pointer-events: none;
  z-index: 4;
  /* background-color: red; */
  transform: rotate(-180deg);

}
.hero-bubble {
  position: absolute;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0.7rem 0.42rem 0.8rem;
  width: 3.35rem;
  min-width: 3.35rem;
  max-width: 3.35rem;
  min-height: 7.25rem;
  background: rgba(22, 21, 12, 0.059);
  backdrop-filter: blur(2px);
  /* Tall capsule: rounded ends like the reference (~50px) */
  border-radius: 50px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  text-align: right;
  text-decoration: none;
  pointer-events: auto;
  will-change: transform, left, top;
  letter-spacing: 0.01em;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.hero-bubble:hover {
  background: rgba(34, 24, 18, 0.9);
  border-color: rgba(201, 168, 76, 0.45);
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}
.hero-bubble.is-active {
  background: rgba(38, 28, 20, 0.92);
  border-color: rgba(201, 168, 76, 0.72);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(201, 168, 76, 0.28);
}
.hero-bubble-avatar {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hero-bubble.is-active .hero-bubble-avatar {
  border-color: rgba(226, 196, 122, 0.85);
}
/* Vertical Arabic along the pill (reference: text runs top-to-bottom) */
.hero-bubble-label {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  line-height: 1.35;
  max-height: 5.4rem;
  word-break: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Copied to .hero-desc via JS — never show inside the pill */
.hero-bubble .hero-bubble-label-desc {
  display: none !important;
}

/* CTA – dark semicircular "notch" tab (Browse more) */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s ease 0.5s both;
  position: absolute;
  bottom: 0;
  right: 34%;
  transform: translateX(50%);
  width: min(28.125rem, 90vw);
  padding: 0.95rem 1.35rem 1.2rem;
  padding-bottom: 4.375rem !important;
  background: var(--curve-bg);
  height: 12.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  z-index: 28;
  /* Fallback until script.js sets scaled path (matches former inline path at 450×200) */
  clip-path: path(
    "M 0,120 C 40,115 70,100 95,80 C 120,60 145,40 180,30 C 194,25 209,24 225,24 C 241,24 256,25 270,30 C 305,40 330,60 355,80 C 380,100 410,115 450,120 L 450,160 L 0,160 L 0,120 Z"
  );
}.hero-cta-icon-above {
  color: var(--gold);
  font-size: 1.15rem;
  opacity: 0.95;
  line-height: 1;
}
.hero-cta-icon-above i {
  display: block;
}
.hero-cta-wrap .hero-badge {
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.5s ease-in-out;
  transform-origin: center;
}
.hero-cta-wrap:hover .hero-badge {
  transform: rotate(-720deg);
}
.btn-hero-browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.75rem;
  height: full;
  /* padding-top: 30px; */
  /* background: rgba(28, 22, 18, 0.95); */
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  /* border: 1px solid rgba(201, 168, 76, 0.38); */
  transition: all 0.1s ease;
  background-color: transparent !important;
}
.btn-hero-browse:hover {
  /* transform: translateY(-2px); */
  cursor: pointer;
  background-color: transparent !important;

}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  right: 50%;
  transform: translateX(50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: fadeInUp 1s ease 1s both;
}
.hero-scroll-hint i {
  font-size: 0.9rem;
  animation: bounceDown 2s ease infinite;
}

@keyframes heroFrameIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Hero responsive tuning (keeps large-screen defaults untouched) */
@media (max-width: 3500px) and (min-width: 1050px) {
  .hero-inner {
    min-height: calc(100vh - 6.875rem - 3rem);
    /* padding: 2.6rem 1rem 5rem; */
  }

  .hero-bubbles-wrap {
    bottom: 0 !important;
    height: min(37.5rem, 42vw);
    min-height: 25rem;

  }
  .hero-bubble {
    width: 3.15rem;
    min-width: 3.15rem;
    max-width: 3.15rem;
    min-height: 6.9rem;
    padding: 0.65rem 0.4rem 0.74rem;
    font-size: 0.6rem;
    /* background-color: red; */
  
  }
  .hero-text-wrap{
    height: 10.375rem !important;
    margin-top:3rem !important;
    
  }
 
  .hero-cta-wrap {
    bottom: 0px !important;
    right: 28% !important;
    margin-bottom: -4.7rem !important;
    width: min(26.25rem, 88vw);
    height: 11.5625rem;
    /* padding-bottom: 3.875rem !important; */
    right: 33% !important;
    /* transform: translateX(50%); */

  }
}

/* Hero responsive tuning (keeps large-screen defaults untouched) */
@media (max-width: 1050px) {
  .hero-inner {
    min-height: calc(92vh - 6.875rem - 3rem);
    /* padding: 2.6rem 1rem 5rem; */
  }

  .hero-bubbles-wrap {
    bottom: 0 !important;
    height: min(37.5rem, 42vw);
    min-height: 25rem;
    /* background-color: #01579b; */
  }
  .hero-bubble {
    width: 3.15rem;
    min-width: 3.15rem;
    max-width: 3.15rem;
    min-height: 6.9rem;
    padding: 0.65rem 0.4rem 0.74rem;
    font-size: 0.6rem;
    /* background-color: red; */
    padding-bottom: 0;
  }
  .hero-text-wrap{
    height: 16.625rem !important;
    margin-top:3rem !important;
    /* padding-bottom: 2rem !important; */
    /* background-color: #01579b !important; */
  }
  .hero-title {
    font-size: clamp(6rem, 12vw, 8rem) !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-desc {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    line-height: 1.65 !important;
  }
  .hero-bubble-avatar {
    width: 1.9rem;
    height: 1.9rem;
    min-width: 1.9rem;
    transform: scale(1.2)!important;

  }
  .hero-bubble-label {
    max-height: 5rem;
  }
  .hero-cta-wrap {
    bottom: 0 !important;
    right: 28% !important;
    margin-bottom: -4.5rem !important;
    width: min(26.25rem, 88vw);
    height: 11.5625rem;
    padding-bottom: 3.875rem !important;
  }
}

@media (max-width: 970px) {
  .hero-section {
    padding: calc(110px + 1.2rem) 0.8rem 2.6rem;
  }
  .hero-frame {
    border-radius: 30px;
  }

  .hero-inner .hero-container {
    padding-bottom: 12rem;
  }
  .hero-bubbles-wrap {
    bottom: 0 !important;
    height: min(19.6875rem, 45vw);
    min-height: 13.4375rem;
  }
  .hero-bubble {
    width: 2.95rem;
    min-width: 2.95rem;
    max-width: 2.95rem;
    min-height: 6.45rem;
    font-size: 0.58rem;
  }
  .hero-bubble-label {
    max-height: 4.65rem;
  }
  .hero-text-wrap{
    height: 14.125rem !important;
    margin-top:3rem !important;
    /* padding-bottom: 2rem !important; */
    /* background-color: #01579b !important; */
  }
  .hero-title {
    font-size: clamp(3rem, 6vw, 2rem) !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-desc {
    font-size: clamp(1rem, 3vw, 1.5rem) !important;
    line-height: 1.65 !important;
  }
  .hero-cta-wrap {
    bottom: 0 !important;
    width: min(24.6875rem, 88vw);
    height: 10.75rem;
    margin-bottom: -4.5rem !important;
    right: 23% !important;
    padding-bottom: 3.5625rem !important;
  }
  .btn-hero-browse {
    font-size: 0.88rem;
    padding: 0.52rem 1.5rem;
  }
}

@media (max-width: 760px) {
  .hero-section {
    /* padding: calc(110px + 0.8rem) 0.7rem 2.2rem !important; */
    min-height: calc(88vh - 110px - 2rem) !important;
    /* background-color: #01579b !important; */
  }
  .hero-frame {
    border-radius: 24px;
    height: 100% !important;
  }
  .hero-inner {
    min-height: calc(85vh ) !important;
  }
  .hero-inner .hero-container {
    padding-bottom: 10.8rem !important;
  }
  .hero-text-wrap {
    max-width: 92%;
    /* margin-bottom: 1.45rem !important; */
    margin-top:3rem !important;
    height: 100px !important;
    /* background-color: #01579b !important; */
  }
  .hero-desc {
    line-height: 1.75;
  }
  .hero-bubbles-wrap {
    bottom: 0 !important;
    height: min(18.125rem, 52vw) !important;
    /* background-color: #01579b; */
    min-height: 12.1875rem;
    gap: 2.5rem !important;
  }
  .hero-bubble {
    width: 2.7rem;
    min-width: 2.7rem;
    max-width: 2.7rem;
    min-height: 6rem;
    border-radius: 44px;
    padding: 0.58rem 0.34rem 0.65rem;
    font-size: 0.53rem;
  }
  .hero-bubble-avatar {
    width: 1.7rem;
    height: 1.7rem;
    min-width: 1.7rem;
  }
  .hero-bubble-label {
    max-height: 4.25rem;
  }
  .hero-cta-wrap {
    bottom: 0 !important;
    width: min(22.5rem, 90vw);
    height: 9.625rem;
    right: 20% !important;
    padding: 0.78rem 1rem 0.9rem;
    padding-bottom: 3rem !important;
  }
  .hero-cta-wrap .hero-badge {
    width: 28px !important;
    height: auto;
  }
  .btn-hero-browse {
    font-size: 0.84rem !important;
    padding: 0.46rem 1.28rem !important;
  }
  .hero-section {
    padding: calc(110px + 1rem) 0.75rem 2rem;
  }
  .hero-frame {
    min-height: auto;
    border-radius: clamp(22px, 5.5vw, 32px);
  }
  .hero-inner {
    min-height: auto;
  }
  .hero-inner .hero-container {
    padding-bottom: 10rem;
  }
  .hero-bubbles-wrap {
    bottom: 0;
    height: min(16.75rem, 45vw);
    min-height: 11.125rem;
  }
  .hero-bubble {
    width: 3.05rem;
    min-width: 3.05rem;
    max-width: 3.05rem;
    min-height: 6.5rem;
    font-size: 0.54rem;
    padding: 0.55rem 0.35rem 0.65rem;
    border-radius: 42px;
  }
  .hero-bubble-avatar {
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
  }
  .hero-bubble-label {
    max-height: 4.6rem;
  }
  .hero-bubble-cycle {
    height: 8rem;
  }
  .hero-cta-wrap {
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 540px) {
  .hero-section {
    min-height: calc(60vh - 110px - 2rem) !important;
  }
 
  .hero-bubbles-wrap {
    bottom: 0;
    height: min(14.5rem, 52vw);
    min-height: 9.875rem;
  }
  .hero-bubble {
    width: 2.72rem;
    min-width: 2.72rem;
    max-width: 2.72rem;
    min-height: 5.95rem;
    font-size: 0.48rem;
    padding: 0.47rem 0.27rem 0.54rem;
    border-radius: 38px;
    gap: 0.4rem;
  }
  .hero-bubble-avatar {
    width: 1.52rem;
    height: 1.52rem;
    min-width: 1.52rem;
  }
  .hero-bubble-label {
    max-height: 3.95rem;
  }
  .hero-bubble-cycle {
    height: 6.75rem;
  }
  .hero-cta-wrap {
    bottom: 0;
    right: 50%;
    transform: translateX(50%) scale(0.9);
    transform-origin: 50% 0;
    width: min(26.875rem, 94vw) !important;
    height: 11.125rem;
    /* padding-bottom: 3.25rem !important; */
    margin-bottom: -5.8rem !important;
  }
  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.35rem);
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: clamp(0.8rem, 3.2vw, 0.95rem);
    line-height: 1.75;
  }
  .hero-bubble-cycle {
    height: 8rem !important;
  }
  .btn-hero-browse {
    padding: 0.65rem 1.35rem;
    font-size: 0.86rem;
  }
  .hero-frame {
    border-radius: 20px;
    margin-top: -6px !important;

  }
  .hero-text-wrap{
    height: 100px !important;
    margin-top:8.5rem !important;
    /* padding-bottom: 2rem !important; */
    /* background-color: #01579b !important; */
  }

  .hero-inner .hero-container {
    padding-bottom: 9.7rem !important;
  }
  .hero-title {
    font-size: clamp(3rem, 9vw, 4rem) !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-desc {
    font-size: clamp(0.78rem, 2.9vw, 0.9rem);
    line-height: 1.65 !important;
  }
  .hero-bubbles-wrap {
    bottom: 0 !important;
    height: min(15.9375rem, 60vw);
    height: 15.625rem !important;
    /* background-color: #01579b; */
    gap: 1.875rem !important;
    --hero-mobile-orbit-factor: 0.39;
    --hero-mobile-orbit-cap: 330;
    --hero-mobile-orbit-floor: 132;
  }
  .hero-bubble {
    width: 2.34rem !important;
    min-width: 2.34rem;
    max-width: 2.34rem;
    height: 8rem !important;
    border-radius: 38px !important;
    padding: 0.5rem 0.28rem 0.55rem !important;
    font-size: 0.48rem !important;
    /* background-color: red; */
    /* margin:  50px 20px !important; */
  }
  .hero-bubble-avatar {
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
    border-width: 1.5px !important;
  }
  .hero-bubble-label {
    max-height: 3.8rem !important;
    line-height: 1.2 !important ;
  }
  .hero-cta-wrap {
    bottom: 0 !important;
    width: 24.375rem !important;
    /* height: 136px !important; */
    padding-bottom: 2.375rem !important;
    right: 1% !important;
    transform: scale(0.8) !important;
  }
  .hero-cta-wrap .hero-badge {
    width: 50px;
  }
  .btn-hero-browse {
    font-size: 0.78rem;
    padding: 0.4rem 1.05rem;
  }
}

@media (max-width: 400px) {
  .hero-section {
    min-height: calc(78vh - 110px - 2rem) !important;
  }
 
  .hero-title {
    font-size: clamp(2.3rem, 11vw, 3rem) !important;
    margin-bottom: 1rem !important;
  }
  .hero-desc {
    font-size: clamp(0.72rem, 3.3vw, 0.82rem) !important;
    line-height: 1.55 !important;
  }
  .hero-bubbles-wrap {
    bottom: 0 !important;
    height: 13.4375rem !important;
    --hero-mobile-orbit-factor: 0.42;
    --hero-mobile-orbit-cap: 320;
    --hero-mobile-orbit-floor: 136;
  }
  .hero-bubble {
    width: 2.08rem !important;
    min-width: 2.08rem !important;
    max-width: 2.08rem !important;
    height: 7rem !important;
    border-radius: 34px !important;
    padding: 0.42rem 0.22rem 0.46rem !important;
    font-size: 0.42rem !important;
  }
  .hero-bubble-avatar {
    width: 1.28rem !important;
    height: 1.28rem !important;
    min-width: 1.28rem !important;
  }
  .hero-bubble-label {
    max-height: 3.2rem !important;
    line-height: 1.12 !important;
  }
  .hero-cta-wrap {
    bottom: 0 !important;
    width: min(19.5rem, 95vw) !important;
    right: 50% !important;
    padding-bottom: 1.875rem !important;
    margin-bottom: -6.3rem !important;
    transform: translateX(50%) scale(0.72) !important;
  }
  .hero-cta-wrap .hero-badge {
    width: 40px !important;
  }
  .btn-hero-browse {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.9rem !important;
  }
}

/* Anchor hero bubbles + CTA to bottom of hero-container */
.hero-bubbles-wrap,
.hero-cta-wrap {
  bottom: 0 !important;
}


/* ============================================================
   ABOUT / INTRO SECTION (center card + side ovals)
   ============================================================ */
.about-section {
  padding: 5.5rem 0 5rem ;
  background: transparent;
  position: relative;
}
@media (max-width: 540px) {
  .about-section {
    padding: 0 ;
  }
}
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
 
  opacity: 0.2;
  pointer-events: none;
}
.about-layout {
  position: relative;
  z-index: 1;

  
}
.about-main-card {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 2.5rem 2.3rem 2.2rem;
  box-shadow: none;
  position: relative;
  text-align: center;
  margin: auto;
}
.about-main-card::before {
  display: none;
}
.about-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;

  margin: auto;
  margin-bottom: 0.75rem;
}
.about-card-badge i {
  font-size: 0.75rem;
}
.about-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}
.about-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.about-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.about-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-card-intro p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.about-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0.9rem;
}
.about-card-cta {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  margin: auto;
  text-align: center;
}
.about-card-footer {
  margin-left: 0;
}
.about-card-btn {
  padding-inline: 2rem;
}
.about-oval-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-oval {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 2 / 3;
  border-radius: 999px;
  padding: 6px;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(var(--gold-rgba), 0.5),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 100%,
      rgba(var(--gold-rgba), 0.4),
      transparent 55%
    );
  box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-border-subtle);
}
.about-oval img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  border-radius: inherit;
}
.about-oval-leaf {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 120px;
  height: 52px;
  font-size: 1rem;
  color: var(--gold);
}
.about-oval-leaf-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
 
  padding: 2px;
  color: #fff;
  font-size: 1rem;
}

.about-oval-leaf-bottom {
  bottom: -56px;
  left: 25%;
  transform: translateX(-50%);
  transform: rotate(180deg) !important;
}
.about-oval-leaf-top {
  top: -56px;
  left: 50%;
  transform: translateX(-50%) ;

}


@media (max-width: 900px) { 
  .about-oval {
    width: 100%;
    max-width: 180px;
   
  }
  .about-oval-leaf {
    width: 100px;
    height: 52px;
    font-size: 0.8rem;
  }
  .about-oval-leaf-bottom {
    bottom: -56px;
    left: 25%;
    transform: translateX(-50%);
  }
  .about-oval-leaf-top {
    top: -56px;
    left: 48%;
    transform: translateX(-50%) ;
  
  }
}

@media (max-width: 540px) { 
  .about-oval-leaf {
    width: 90px;
    height: 38px;
    font-size: 0.8rem;
  }
  .about-oval-leaf-bottom {
    bottom: -45px;
    left: 25%;
    transform: translateX(-50%);
  }
  .about-oval-leaf-top {
    top: -45px;
    left: 50%;
    transform: translateX(-50%) ;
  
  }
}
/* ============================================================
   PAGE BREADCRUMB
   ============================================================ */


.page-breadcrumb-nav {
  width: fit-content;
  max-width: min(100%, 920px);
  padding: 0.45rem 0.9rem;
  /* border: 1px solid var(--navbar-border); */
  border-radius: 999px;
  /* background: color-mix(in oklab, var(--navbar-bg) 86%, transparent); */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-x: auto;
}

.page-breadcrumb-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.25rem;
  column-gap: 0.35rem;
  color: var(--text-secondary);
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  white-space: normal;
  
}

.page-breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
  color: var(--gold);
}

.page-breadcrumb-list .page-breadcrumb-sep {
  display: flex;
  align-items: center;
  list-style: none;
  color: var(--gold);
  line-height: 1;
  pointer-events: none;
}

.page-breadcrumb-list .page-breadcrumb-sep i {
  font-size: 1em;
  line-height: 1;
  color: inherit;
}

.page-breadcrumb-list a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.page-breadcrumb-list a:hover {
  opacity: 0.8;
}

.page-breadcrumb-list .breadcrumb-item.active {
  color: var(--text-primary);
}



/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-section {
  position: relative;
  z-index: 2;
  padding: clamp(1rem, 2.5vw, 2rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.login-card-wrapper {
  width: min(100%, 1080px);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--card-border-subtle);
  background: var(--login-card-bg);
  box-shadow: var(--card-shadow);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.login-media-side {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  background: var(--login-media-panel-bg);
  transition: background-color 0.35s ease;
}

.login-media-image-wrap {
  flex: 1;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.login-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-media-content {
  position: absolute;
  right: 0.75rem;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 1rem 0.95rem;
  border-radius: 14px;
  background: var(--blure);
  /* border: 1px solid var(--login-media-content-border); */
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-media-content .navbar-brand-custom {
  align-items: center !important;
  text-align: center;
  width: 100%;
}

.login-media-brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
}



.login-media-content .navbar-tagline {
  margin-right: 0;
  margin-top: 0.16rem;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--login-media-tagline-color);
}

.login-media-contact {
  margin-top: 0.45rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.login-media-contact li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--login-media-contact-color);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.login-media-contact i {
  color: var(--login-media-icon-color);
  width: 12px;
  text-align: center;
  font-size: 0.72rem;
}

.login-form-side {
  height: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-header {
  margin-bottom: 1.2rem;
  text-align: center;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.72rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.08em;
}

.login-title {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
}

.login-subtitle {
  margin: 0.2rem 0 0;
  color: var(--login-subtitle-color);
  font-size: 0.76rem;
}

.login-form .form-label-custom {
  font-size: 0.74rem;
  color: var(--login-label-on-card-color);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.login-input,
.login-input:focus {
  background: var(--login-field-bg);
  border: 1px solid var(--login-field-border);
  color: var(--text-primary);
  min-height: 42px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.82rem;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.login-input::placeholder {
  color: var(--login-placeholder-color);
  font-size: 0.78rem;
}

.login-input-group {
  border-radius: 8px;
  overflow: hidden;
}

.login-input-group .input-group-text {
  background: transparent;
  border: 1px solid var(--login-field-border);
  border-left: 0;
  color: var(--login-input-addon-color);
  font-size: 0.72rem;
}

/* Join-us / CV file upload drop zone */
.join-cv-upload-wrap {
  position: relative;
}

.join-cv-upload-input:focus-visible + .join-cv-upload {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.join-cv-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  min-height: 138px;
  margin: 0;
  padding: 1.2rem 1rem;
  background: #1a1a1a;
  border: 2px dashed rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.join-cv-upload:hover {
  border-color: var(--gold-light, #d4a017);
}

.join-cv-upload--drag {
  border-color: var(--gold-light, #d4a017);
  background: rgba(212, 160, 23, 0.08);
}

.join-cv-upload-icon {
  font-size: 2.1rem;
  color: var(--gold-light, #d4a017);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.join-cv-upload-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.4;
}

.join-cv-upload-types,
.join-cv-upload-limit {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
}

.join-cv-upload-filename {
  display: none;
  color: var(--gold-light, #d4a017);
  font-size: 0.72rem;
  margin-top: 0.25rem;
  max-width: 100%;
  word-break: break-word;
}

.join-cv-upload-filename:not(:empty) {
  display: block;
}

[data-theme="light"] .login-form-side .join-cv-upload {
  background: var(--login-field-bg);
  border-color: rgba(0, 0, 0, 0.22);
}

[data-theme="light"] .login-form-side .join-cv-upload-title {
  color: var(--text-primary);
}

[data-theme="light"] .login-form-side .join-cv-upload-types,
[data-theme="light"] .login-form-side .join-cv-upload-limit {
  color: var(--text-muted);
}

[data-theme="light"] .login-form-side .join-cv-upload--drag {
  background: color-mix(in oklab, var(--gold-light) 12%, var(--login-field-bg));
}

.login-submit-btn {
  margin-top: 0.35rem;
  width: fit-content;
  min-width: 132px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--gold-light) 0%,
    var(--gold) 50%,
    var(--gold-dark) 100%
  );
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.48rem 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.login-submit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  transform: rotate(45deg);
}

.login-register-text {
  margin-top: 0.85rem;
  color: var(--login-register-muted);
  font-size: 0.72rem;
  text-align: center;
}

.login-register-text a {
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .login-media-side {
    min-height: 280px;
  }

  .login-media-image-wrap {
    min-height: 260px;
  }
}

@media (max-width: 767.98px) {
  .login-card-wrapper {
    border-radius: 16px;
  }

  .login-media-side {
    min-height: auto;
  }

  .login-media-image-wrap {
    min-height: 220px;
  }

  .login-media-content {
    right: 0.55rem;
    left: 0.55rem;
    bottom: 0.55rem;
    padding: 0.8rem 0.75rem;
    border-radius: 12px;
  }

  .login-form-side {
    padding: 1rem 0.95rem 1.2rem;
  }

  .login-submit-btn {
    width: 100%;
  }
}

/* ============================================================
  SERVICE DETAILS PAGE
   ============================================================ */
.service-details-breadcrumb {
  --breadcrumb-top-offset: clamp(6.6rem, 9vw, 8.7rem);
  --breadcrumb-bottom-space: clamp(0.2rem, 1vw, 0.55rem);
}

.service-details-breadcrumb .container {
  flex-direction: column;
  gap: 0.55rem;
}

.service-details-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.1vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gold);
  text-align: center;
}

.service-details-breadcrumb .page-breadcrumb-nav {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.service-details-breadcrumb .page-breadcrumb-list {
  gap: 0.2rem;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  color: var(--service-details-breadcrumb-color, var(--text-primary));
}

.service-details-breadcrumb .page-breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
  content: "«";
  color: var(
    --service-details-breadcrumb-divider,
    color-mix(in oklab, var(--text-primary) 82%, transparent)
  );
  float: none;
  padding-inline: 0.42rem;
}

.service-details-breadcrumb .page-breadcrumb-list a,
.service-details-breadcrumb .page-breadcrumb-list .breadcrumb-item.active {
  color: var(--service-details-breadcrumb-color, var(--text-primary));
}

.service-details-section {
  --service-details-breadcrumb-color: var(--text-primary);
  --service-details-breadcrumb-divider: color-mix(
    in oklab,
    var(--text-primary) 82%,
    transparent
  );
  --service-details-image-shadow: var(--card-shadow);
  --service-details-card-bg: var(--card-bg-gradient);
  --service-details-card-border: var(--card-border-subtle);
  --service-details-card-title: var(--text-primary);
  --service-details-card-text: var(--text-secondary);
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(2.5rem, 6vw, 4.2rem);
}

.service-details-content-wrap {
  width: min(100%, 920px);
  margin: 0 auto;
}

.service-details-image-box {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  box-shadow: var(--service-details-image-shadow);
}

.service-details-image-box img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6.8;
  object-fit: cover;
}

.service-details-card {
  margin: 0 0 2rem;
  padding: clamp(1.1rem, 2vw, 1.45rem) clamp(1.25rem, 2.8vw, 1.9rem);
  border-radius: 18px;
  background: var(--service-details-card-bg);
  border: 1px solid var(--service-details-card-border);
}

.service-details-card h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.02rem, 1.65vw, 1.2rem);
  font-weight: 700;
  color: var(--service-details-card-title);
  text-align: start;
}

.service-details-card p {
  margin: 0;
  color: var(--service-details-card-text);
  line-height: 1.95;
  font-size: clamp(0.83rem, 1.15vw, 0.95rem);
  text-align: start;
}

.service-details-card-last {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .service-details-breadcrumb {
    --breadcrumb-top-offset: clamp(5.4rem, 16vw, 6.4rem);
    --breadcrumb-bottom-space: 0.28rem;
  }

  .service-details-title {
    font-size: clamp(1.28rem, 6.2vw, 1.58rem);
  }

  .service-details-content-wrap {
    width: min(100%, 96%);
  }

  .service-details-image-box {
    border-radius: 16px;
  }

  .service-details-card {
    border-radius: 14px;
    padding: 0.9rem 0.9rem 1rem;
  }

  .service-details-card p {
    line-height: 1.85;
  }
}

/* ============================================================
   SERVICES – sticky scroll track + stacked cards (wheel steps)
   Theme: inherits [data-theme] via global variables
   ============================================================ */

.services-section {
  padding: 0;
  background: var(--services-book-scene-bg, transparent);
}

/* ─── Services page: two-column grid cards (compact RTL layout) ─── */
.services-section--grid {
  padding: 0;
  background: transparent;
}

.services-grid-wrap {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

@media (max-width: 767.98px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.services-grid-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  flex-wrap: wrap;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 20px;
  background: var(--bg-card, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(201, 168, 76, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .services-grid-card {
    flex-wrap: nowrap;
  }
}

.services-grid-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.28);
}

.services-grid-card-main {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-grid-card-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.services-grid-card-title {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 700;
  color: var(--text-primary, #fff);
  line-height: 1.45;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.services-grid-card-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(212, 175, 55, 0.35),
    rgba(201, 168, 76, 0.12)
  );
  color: var(--gold-light, #d4af37);
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.services-grid-card-desc {
  flex: 1 1 220px;
  margin: 0;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary, rgba(255, 255, 255, 0.62));
  align-self: center;
  line-clamp: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* md: 3/1 split inside each card, small: stacked 1/1 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid-card {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    align-items: center;
  }

  .services-grid-card-main {
    min-width: 0;
  }

  .services-grid-card-desc {
    min-width: 0;
  }
}

.services-grid-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light, #d4af37);
  text-decoration: none;
  width: fit-content;
  transition: color 0.25s ease;
}

.services-grid-card-more i {
  font-size: 0.85em;
  transition: transform 0.3s ease;
}

.services-grid-card-more:hover {
  color: var(--gold-hover, #e8c547);
}

.services-grid-card-more:hover i {
  transform: translateX(-5px);
}

/* Stagger scroll-reveal per card */
.services-grid .services-grid-card.reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.services-grid .services-grid-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.services-grid .services-grid-card.reveal:nth-child(3) {
  transition-delay: 0.15s;
}
.services-grid .services-grid-card.reveal:nth-child(4) {
  transition-delay: 0.2s;
}
.services-grid .services-grid-card.reveal:nth-child(5) {
  transition-delay: 0.25s;
}
.services-grid .services-grid-card.reveal:nth-child(6) {
  transition-delay: 0.3s;
}
.services-grid .services-grid-card.reveal:nth-child(7) {
  transition-delay: 0.35s;
}
.services-grid .services-grid-card.reveal:nth-child(8) {
  transition-delay: 0.4s;
}
.services-grid .services-grid-card.reveal:nth-child(9) {
  transition-delay: 0.45s;
}
.services-grid .services-grid-card.reveal:nth-child(10) {
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .services-grid-card {
    transition: none;
  }
  .services-grid-card:hover {
    transform: none;
  }
  .services-grid-card-more i {
    transition: none;
  }
  .services-grid .services-grid-card.reveal:nth-child(n) {
    transition-delay: 0s !important;
  }
}

/* Extra document height: N viewports ⇒ (N−1) scroll “steps” while sticky pins */
.services-book-track {
  --stack-card-count: 5;
  position: relative;
  z-index: 1;
  min-height: calc(var(--stack-card-count, 5) * 100vh);
  min-height: calc(var(--stack-card-count, 5) * 100dvh);
  /* margin-bottom: -200px; */
}
.read-more-services{
  /* background-color: #01579b; */
  height: 200px;
  z-index: 99999;
  position: absolute;
  bottom: -20px;
  width: 100%;
  left: 0;
  right: 0;


}
@media (max-width: 1030px) {
  .read-more-services{
    /* background-color: #01579b; */
    height: 0px;
    z-index: 99999;
    position: absolute;
    bottom: 400px;
    width: 100%;
    left: 0;
    right: 0;

  
  }
}
@media (max-width: 800px) {
  .read-more-services{
    /* background-color: #01579b; */
    height: 0px;
    z-index: 99999;
    position: absolute;
    bottom: 100px;
    width: 100%;
    left: 0;
    right: 0;

  
  }
  .read-more-services .about-card-cta {
    margin-top: 0.9rem;
  }
}
@media (max-width: 550px) {
  .read-more-services{
    /* background-color: #01579b; */
    height: 0px;
    z-index: 99999;
    position: absolute;
    bottom: 200px;
    width: 100%;
    left: 0;
    right: 0;

  
  }
  .read-more-services .about-card-cta {
    margin-top: 1.2rem;
  }
}
.services-book-section.services-book-sticky-scene {
  /* Local aliases — map to theme variables (:root / [data-theme]) */
  --book-paper: var(--bg-card);
  --book-ink: var(--text-primary);
  --book-ink-muted: var(--text-secondary);
  --book-accent: var(--services-stack-link);
  --book-hint: var(--services-book-hint-color);
  --book-media-bg: var(--services-stack-media-bg);
  --book-transition: 0.68s ease-in-out;

  position: sticky;
  top: 80px;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: max(5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem)) max(0.75rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-left, 0px));
  overflow-x: hidden;
  overflow-y: hidden;
  background: var(--services-book-scene-bg);
  background-image: var(--services-book-scene-glow);
}

.services-book-track.services-book--reduced,
.services-book-section.services-book--reduced {
  min-height: 0;
}

.services-book-section.services-book--reduced {
  position: relative;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: visible;
}

@media (max-width: 767.98px) {
  .services-book-section.services-book-sticky-scene {
    padding-top: max(3.75rem, calc(env(safe-area-inset-top, 0px) + 3rem));
    padding-left: max(0.65rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    justify-content: flex-start;
  }

  .services-book-header {
    margin-bottom: 0.75rem !important;
  }

  .services-book-title {
    font-size: clamp(1.05rem, 4.2vw, 1.45rem);
    line-height: 1.3;
  }
}
.services-book-header .services-book-hint {
  color: var(--book-hint) !important;
}

.services-book-viewport {
  flex: 0 1 auto;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  box-sizing: border-box;
  
}

.services-book-footer {
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  background: var(--bg-primary);
}

.services-book-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 800;
  color: var(--services-book-title-color);
  letter-spacing: 0.02em;
}

.services-book-title-icon {
  display: inline-flex;
  color: var(--small-title-icon);
  font-size: 1.05em;
}

.services-book-progress {
  color: var(--services-book-progress-color) !important;
}

/* Single shared rectangle: every card fills this box exactly */
.services-book-stack-wrap {
  /* Stack inherits --services-stack-* from :root / [data-theme="light"] */
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: clamp(380px, 62vh, 560px);
  margin-inline: auto;
  margin-top: 80px;
  /* overflow: hidden; */
  isolation: isolate;
  perspective: 1200px;
  transform-style: preserve-3d;
}

@media (max-width: 767.98px) {
  .services-book-stack-wrap {
    /* Shorter stack on phones: text + image share viewport without forcing scroll */
    height: clamp(300px, min(58vh, 520px), 560px);
    margin-bottom: 0.25rem;
  }

  .services-book-sticky-scene .service-book-card-inner {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    padding: clamp(0.75rem, 3vw, 1.15rem);
  
  }

  .services-book-sticky-scene .service-book-card-inner > .row {
    min-height: 0;
    flex: 1 1 auto;
    --bs-gutter-y: 0.75rem;
  }

  /* Image on top, text below (DOM order: text then image) */
  .service-book-card-inner > .row.flex-column.flex-md-row > .col-12.col-md-6:nth-child(1) {
    order: 2;
  }
  .service-book-card-inner > .row.flex-column.flex-md-row > .col-12.col-md-6:nth-child(2) {
    order: 1;
  }

  .services-book-sticky-scene .service-book-card-title {
    font-size: clamp(0.98rem, 3.8vw, 1.22rem);
    margin-bottom: 0.4rem;
    line-height: 1.32;
  }

  .services-book-sticky-scene .service-book-card-desc {
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
  }

  .services-book-sticky-scene .service-book-card-link {
    font-size: 0.82rem;
  }

  .services-book-sticky-scene .service-book-media {
    min-height: 0;
    max-height: none;
    flex-shrink: 0;
  }

  .services-book-sticky-scene .service-book-media img {
    min-height: 160px;
    max-height: min(38vh, 240px);
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 575.98px) {
  .services-book-stack-wrap {
    height: clamp(280px, min(56vh, 480px), 520px);
  }

  .services-book-sticky-scene .service-book-card-inner > .row {
    --bs-gutter-y: 0.65rem;
  }

  .services-book-sticky-scene .service-book-media img {
    min-height: 140px;
    max-height: min(34vh, 210px);
  }

  .services-book-sticky-scene .service-book-card-title {
    font-size: clamp(0.92rem, 4vw, 1.1rem);
  }

  .services-book-sticky-scene .service-book-card-desc {
    font-size: 0.78rem;
    line-height: 1.6;
  }
}


.service-book-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition:
    box-shadow var(--book-transition);
  will-change: transform, opacity;
  opacity: 1;
  filter: none;
  pointer-events: none;
}
@media (min-width: 800px) {
  .service-book-card {
    height: 100%;
  }}
/* Scroll-driven stack: ahead = next pages; behind = covered (depth optional) */

/* Alternate entry: odd slides from bottom-left → up, even from bottom-right → up */
.service-book-card.is-ahead:nth-of-type(odd) {
  pointer-events: none;
}

.service-book-card.is-ahead:nth-of-type(even) {
  pointer-events: none;
}

.service-book-card.is-behind {
  pointer-events: none;
}

.service-book-card.is-active,
.service-book-card.active {
  pointer-events: auto;
}

.services-book-sticky-scene .service-book-card-inner {
  background: var(--services-stack-card-bg);
  border-radius: 16px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  /* border: 1px solid var(--services-stack-card-border); */
  box-shadow: var(--services-stack-card-shadow);
height: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .services-book-sticky-scene .service-book-card-inner {
    height: 300px !important;
  }

  .services-book-sticky-scene .service-book-media {
    min-height: 0;
    max-height: 255px;
  }

  .services-book-sticky-scene .service-book-media img {
    width: 100%;
    height: 255px;
    min-height: 0;
    max-height: 255px;
    object-fit: cover;
  }
}

.services-book-sticky-scene .service-book-card.is-active .service-book-card-inner,
.services-book-sticky-scene .service-book-card.active .service-book-card-inner {
  box-shadow: var(--services-stack-card-shadow-active);
}

/* Flex column layouts inside fixed-height stack: allow children to shrink / scroll */
.services-book-sticky-scene .min-h-0 {
  min-height: 0;
}

.service-book-card-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--book-ink);
  line-height: 1.35;
}

.service-book-card-desc {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--book-ink-muted);
}

.services-book-sticky-scene .service-book-card-title {
  color: var(--services-stack-card-title);
}

.services-book-sticky-scene .service-book-card-desc {
  color: var(--services-stack-card-desc);
}

.service-book-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--book-accent);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.services-book-sticky-scene .service-book-card-link {
  color: var(--services-stack-link);
}

.service-book-card-link:hover {
  color: var(--gold);
  gap: 0.55rem;
}

.services-book-sticky-scene .service-book-card-link:hover {
  color: var(--services-stack-link-hover);
}

.service-book-media {
  background: var(--book-media-bg);
  min-height: 300px;
  max-height: 400px;
}

.service-book-media img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--services-stack-media-radius);
}

@media (min-width: 1051px) and (max-width: 1199px) {
  .service-book-media img {
    max-height: none;
    min-height: 200px;
  }
}

/* Reduced motion / fallback: vertical list */
.services-book-section.services-book--reduced .services-book-stack-wrap {
  height: auto;
  overflow: visible;
  perspective: none;
}

.services-book-section.services-book--reduced .service-book-card {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  pointer-events: auto;
  margin-bottom: 1.25rem;
  transition: none;
}

.services-book-section.services-book--reduced .service-book-card:last-child {
  margin-bottom: 0;
}

.services-book-section.services-book--reduced .service-book-card-inner {
  height: auto;
  background: var(--bg-card);
  border-color: var(--card-border-subtle);
  box-shadow: var(--card-shadow);
}

.services-book-section.services-book--reduced .service-book-card-title {
  color: var(--text-primary);
}

.services-book-section.services-book--reduced .service-book-card-desc {
  color: var(--text-secondary);
}

/* ============================================================
   RESULTS SECTION – before / after
   ============================================================ */
/* ============================================================
   WHY CHOOSE US – three cards, glow, sequential scroll reveal
   ============================================================ */
.why-choose-section {
  position: relative;
  padding: 4rem 1rem 0 !important;
  background:transparent;
  overflow: hidden;
  
}

@media (min-width: 1200px) {
  .why-choose-section {
    min-height: 30vh;
    padding: 6rem 1rem 3rem !important;
  }
}

@media (max-width: 540px) {
  .why-choose-section {
    padding: 1rem 0.8rem 0 !important;
  }
}
.why-choose-section::before {
  content: "";
  position: absolute;
  inset: 0;
 
  pointer-events: none;
}

[data-theme="light"] .why-choose-section::before {
  background: radial-gradient(
    ellipse 85% 55% at 50% 42%,
    rgba(197, 157, 95, 0.1) 0%,
    transparent 58%
  );
}

.why-choose-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: #c59d5f;
  text-align: center;
  line-height: 1.35;
}

.why-choose-heading__icon {
  font-size: 0.95em;
  opacity: 0.95;
}

/* LTR column order so stagger matches visual left → right (cards stay RTL inside) */
.why-choose-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.35rem);
  max-width: 1120px;
  margin-inline: auto;
  direction: ltr;
  
}

.why-choose__item {
  opacity: 0;
  transform: translateY(1.65rem);
  transition:
    opacity 0.72s ease-out,
    transform 0.72s ease-out;
  will-change: opacity, transform;
}

.why-choose__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-choose-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 100%;
  padding: 1.35rem 1.2rem;
  border-radius: 20px 40px;
  direction: rtl;
  text-align: right;
  background: rgba(30, 30, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.204);
  /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); */
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

[data-theme="light"] .why-choose-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08); */
}

.why-choose-card:hover {
  /* transform: scale(1.02); */
  border-color: rgba(197, 157, 95, 0.45);
  background: rgba(0, 0, 0, 0.03);
  transition: all 0.35s ease;
  /* box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(197, 157, 95, 0.12); */
}

[data-theme="light"] .why-choose-card:hover {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(197, 157, 95, 0.2);
}

.why-choose-card__icon-wrap {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.28rem;
  color: #fff;
  background: linear-gradient(145deg, #d4b06a, #9a7238);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.why-choose-card__body {
  flex: 1;
  min-width: 0;
}

.why-choose-card__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
}

.why-choose-card__text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(240, 236, 227, 0.72);
}

[data-theme="light"] .why-choose-card__text {
  color: rgba(26, 21, 16, 0.72);
}

@media (max-width: 991.98px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-choose__item {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .why-choose-card:hover {
    transform: none;
  }
}

/* ============================================================
   RESULTS SECTION – before / after
   ============================================================ */
.results-section {
  padding: 5.5rem 0 5rem;
  background: transparent;
}
@media (max-width: 540px) {
  .results-section {
    padding: 0 !important;
    margin-top: -6rem !important;
  }
}
.results-header {
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.results-subtitle {
  margin-top: 0.75rem;
}

/* ─── Results carousel (3-up, center active) ───────────────────── */
.results-carousel-bootstrap {
  max-width: 1500px;
  margin-inline: auto;
}
.results-slider-container {
  position: relative;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  padding-inline: 0;
  --slider-gap: clamp(1.8rem, 5.8vw, 4.8rem);
  --result-slide-image-h: 380px;
  --result-slide-scale-active: 1.3;
  --result-slide-scale-side: 0.7;
  --result-slide-side-offset-y: 140px;

}
.results-slider-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--slider-gap);
  min-height: calc(
    var(--result-slide-image-h) * var(--result-slide-scale-active) + 4.25rem
  );
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* GPU-friendly horizontal shift (values set in script.js) */
  transition: transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
  direction: ltr;
}
@media (prefers-reduced-motion: reduce) {
  .results-slider-track {
    transition: none;
  }
}
.results-slider-track.no-transition {
  transition: none !important;
}
.results-slider-item {
  flex: 0 0 calc(33.333% - var(--slider-gap) * 0.67);
  min-width: 0;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.52;
  z-index: 1;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    filter 0.55s ease;
}
.results-slider-item .result-card-inner {
  width: 100%;
  transform: translateY(var(--result-slide-side-offset-y)) scale(var(--result-slide-scale-side));
  transform-origin: center center;
  transition:
    transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.65s ease,
    border-color 0.65s ease;
  border: 1px solid transparent;
}
.results-slider-item:not(.is-active) {
  cursor: pointer;
  /* padding-top: 180px; */
}
.results-slider-item.is-active {
  opacity: 1;
  z-index: 3;
  cursor: default;
  /* margin-bottom: 180px; */
}
.results-slider-item.is-active .result-card-inner {
  transform: translateY(0) scale(var(--result-slide-scale-active));
}
.results-slider-item:not(.is-active) .result-card-inner {
  filter: saturate(0.88) brightness(0.86);
}

.result-card {
  display: flex;
  justify-content: center;
}
.result-card-inner {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top center,
      rgba(var(--gold-rgba), 0.3),
      var(--bg-secondary) 55%
    ),
    var(--bg-primary);
  /* box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-border-subtle); */
}
.results-slider-item.is-active .result-card-inner {
  max-width: none;
}
.result-card-top-labels {
  position: absolute;
  top: 0.7rem;
  inset-inline: 0.75rem;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}
.result-label {
  padding: 0.24rem 0.68rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #cec1c1a5;
  color: var(--bg-primary);
}
.result-image-wrap {
  position: relative;
  display: block;
  height: 420px;
}
.results-slider-item .result-image-wrap {
  height: 380px;
}
.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-image-before {
  z-index: 1;
  filter: brightness(90%);
}
.ba-image-after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.58);
  z-index: 2;
}
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;

  color: #2f2f2f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.74rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  cursor: grab;
  z-index: 3;
}

/* Keep slider centered before first user interaction. */
.ba-comparison:not(.ba-interactive) .ba-image-after {
  clip-path: inset(0 50% 0 0) !important;
}
.ba-comparison:not(.ba-interactive) .ba-divider-line {
  left: 50% !important;
}
.ba-comparison:not(.ba-interactive) .ba-handle-btn {
  left: 50% !important;
}
.result-handle-btn{
  background: rgba(255, 255, 255, 0.225);
  backdrop-filter: blur(6px);
}
.ba-handle-btn:active {
  cursor: grabbing;
  /* box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); */
}
.result-info {
  padding: 0.95rem 1.2rem 1rem;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.result-info-overlay {
  position: absolute;
  right: 0.65rem;
  left: 0.65rem;
  bottom: 0.6rem;
  z-index: 3;
  border-radius: 14px;
  background:#D9A44144;
  backdrop-filter: blur(6px);
  padding: 20px !important;

}
.result-treatment {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.28rem;
}
.result-meta {
  font-size: 0.82rem;
  color: #f6f6f6;
}
.result-sessions i {
  margin-left: 0.25rem;
}
.results-footer {
  margin-top: 2.2rem;
}
.results-more-btn {
  padding-inline: 2.3rem;
}

@media (max-width: 991px) {
  .results-slider-container {
    --result-slide-image-h: 340px;
    --result-slide-scale-active: 1.14;
    --result-slide-scale-side: 0.72;
    --result-slide-side-offset-y: 56px;
    padding-block: clamp(1.85rem, 4.5vw, 3rem);
    --slider-gap: clamp(0.9rem, 2.6vw, 1.5rem);
  }
  .results-slider-item {
    flex-basis: calc(40% - var(--slider-gap) * 0.5);
  }
  .results-slider-item .result-card-inner {
    transform: translateY(var(--result-slide-side-offset-y)) scale(var(--result-slide-scale-side));
  }
  .results-slider-item.is-active .result-card-inner {
    transform: translateY(0) scale(var(--result-slide-scale-active));
  }
  .results-slider-item .result-image-wrap {
    height: 340px;
  }
}

@media (max-width: 575px) {
  .results-slider-container {
    --result-slide-image-h: 200px;
    --result-slide-scale-active: 1.26;
    --result-slide-scale-side: 0.52;
    --result-slide-side-offset-y: 162px;
    padding-block: clamp(1.6rem, 5vw, 2.2rem);
    --slider-gap: clamp(0rem, 0.2vw, 0.05rem);
  }
  .result-card-inner {
    max-width: 100%;
  }
  .results-slider-item {
    flex: 0 0 calc(41% - var(--slider-gap) * 0.2);
    max-width: none;
    min-width: 0;
  }
  .results-slider-item .result-card-inner {
    transform: translateY(var(--result-slide-side-offset-y)) scale(var(--result-slide-scale-side));
    transform-origin: center center;
  }
  .results-slider-item.is-active .result-card-inner {
    transform: translateY(0) scale(var(--result-slide-scale-active));
    min-width: 2cqmin;
  }
  .results-slider-item:not(.is-active) {
    opacity: 0.5;
  }
  .results-slider-item.is-active {
    opacity: 1;
  }
  .result-image-wrap {
    height: 252px;
  }
  .results-slider-item .result-image-wrap {
    height: 220px;
  }
  .result-label {
    font-size: 0.66rem;
    padding: 0.16rem 0.46rem;
  }
  .result-info-overlay {
    right: 0.5rem;
    left: 0.5rem;
    bottom: 0.45rem;
    padding: 10px 9px !important;
  }
  .result-treatment {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }
  .result-meta {
    font-size: 0.68rem;
  }
  .results-slider-item .ba-handle-btn {
    width: 36px;
    height: 36px;
    font-size: 0.56rem;
  }
}

/* شاشات ضيقة جدًا: الجانب أنحف بصريًا والوسط ما زال بارز */
@media (max-width: 400px) {
  .results-slider-container {
    --result-slide-image-h: 205px;
    --result-slide-scale-active: 1.22;
    --result-slide-scale-side: 0.48;
    --result-slide-side-offset-y: 100px;
    --slider-gap: clamp(0rem, 0.18vw, 0.05rem);
    padding-block: clamp(1.65rem, 5.4vw, 2.35rem);
  }
  .results-slider-item {
    flex: 0 0 calc(42% - var(--slider-gap) * 0.45);
  }
  .results-slider-item .result-card-inner {
    transform: translateY(var(--result-slide-side-offset-y)) scale(var(--result-slide-scale-side));
  }
  .results-slider-item.is-active .result-card-inner {
    transform: translateY(0) scale(var(--result-slide-scale-active));
    min-width: 190px;
  }
  .results-slider-item .result-image-wrap {
    height: 205px;
  }
  .result-treatment {
    font-size: 0.6rem;
  }
  .result-meta {
    font-size: 0.64rem;
  }
}

.ba-image-after {
  clip-path: inset(0 50% 0 0);
}
.ba-divider-line {
  left: 50%;
}
.ba-handle-btn {
  left: 50%;
}
/* ============================================================
   TEAM SECTION – doctors showcase
   ============================================================ */
.team-section {
  padding: 5.5rem 0 5rem;
  background: transparent;
}
.team-title-main {
  font-size: 1.9rem;
}
.team-cards-row {
  margin-bottom: 2.5rem;
}
.team-card-oval {
  display: flex;
  justify-content: center;
  /* padding: 18px 16px 26px;  */
  padding: 5px;
  border: 1px solid #B48329;
  border-radius: 999px;
  width: min(100%, 235px);
  max-width: 235px;
  height: auto;
  min-height: 0;
  margin-inline: auto;
}
.team-card-inner {
  position: relative;
  width: 100%;
  margin: auto;

  aspect-ratio: 2 / 3;
  border-radius: 999px;
  
  box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-border-subtle);
  border: 2px solid #FFFFFF1A;
  overflow: hidden;
}

.team-card-inner img{
  width: 100%;
  height: 100%;
  object-fit: cover;

}
.team-card-logo {
  position: relative;
  font-size: 0.72rem;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.team-card-photo {
  position: relative;
  height: 100%;
  width: 100%;
  /* aspect-ratio: 1 / 1; */

  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #01579b; */
  overflow: hidden;
}
.team-card-photo img {

  border-radius: 20px;
  width: auto;
  object-fit:cover;
}
.team-card-ribbon {
  position: relative;
  margin-top: 0.4rem;
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: center;
}
.team-card-ribbon span {
  position: relative;
  display: inline-block;
  padding: 0.35rem 1.6rem;
  border-radius:20px 0 20px 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--btn-text);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}
.team-card-role {
  position: relative;
  text-align: center;
  font-size: 1rem;
  color: var(--text-primary);
}
.team-card-caption {
  text-align: center;
  margin-top: 0.8rem;
  width: min(100%, 235px);
  margin-inline: auto;
  padding-inline: 0.2rem;
}
.team-card-caption-name {
  font-size: clamp(0.9rem, 2.8vw, 1.3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}
.team-card-caption-role {
  font-size: clamp(0.68rem, 1.9vw, 0.8rem);
  color: var(--gold);
} 
.team-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.team-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: var(--shadow-gold); */
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.team-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

@media (max-width: 760px) {
  .team-cards-row {
    margin-bottom: 2rem;
  }
  .team-card-oval {
    width: min(100%, 210px);
    max-width: 210px;
    padding: 4px;
  }
  .team-card-caption {
    width: min(100%, 210px);
    margin-top: 0.65rem;
  }
}

@media (max-width: 540px) {
  .team-section {
    padding:  0 !important;
  }
  .team-cards-row {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 1rem;
  }
  .team-card-oval {
    width: min(100%, 176px);
    max-width: 176px;
  }
  .team-card-caption {
    width: min(100%, 176px);
    margin-top: 0.55rem;
  }
}

@media (max-width: 400px) {
  .team-cards-row {
    --bs-gutter-x: 0.65rem;
  }
  .team-card-oval {
    width: min(100%, 156px);
    max-width: 156px;
    padding: 3px;
  }
  .team-card-caption {
    width: min(100%, 156px);
  }
}

/* Doctor page – title & role centered below the image card + fluid layout */
.team-section-doctors {
  padding-inline: clamp(0.65rem, 3vw, 1rem);
}
.team-section-doctors .team-card-oval {
  width: 100%;
  max-width: min(235px, 100%);
  height: auto;
  min-height: 0;
  margin-inline: auto;
}
.team-section-doctors .team-card-inner {
  height: auto;
  aspect-ratio: 2 / 3;
}
.team-section-doctors .team-card-caption {
  width: 100%;
  max-width: min(235px, 100%);
  margin-top: 0.85rem;
  margin-inline: auto;
  padding: 0 0.35rem;
  text-align: center;
}
.team-section-doctors .team-card-caption-name {
  font-size: clamp(0.85rem, 2.6vw, 1.25rem);
  line-height: 1.3;
  color: var(--text-primary);
}
.team-section-doctors .team-card-caption-role {
  font-size: clamp(0.65rem, 1.9vw, 0.82rem);
  margin-top: 0.25rem;
  color: var(--gold);
}
.team-section-doctors .team-nav {
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding-bottom: 0.5rem;
}
@media (max-width: 575.98px) {
  .team-section-doctors {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }
  .team-section-doctors .team-card-oval {
    max-width: min(200px, 100%);
  }
  .team-section-doctors .team-card-caption {
    max-width: min(200px, 100%);
    margin-top: 0.65rem;
  }
}

/* ============================================================
   OFFERS SECTION – latest offers slider
   ============================================================ */
.offers-section {
  padding: 5.5rem 0 5rem;
  background: transparent;
  position: relative;
}
.offers-section .container {
  background: transparent;
}
.offers-wrap {
  position: relative;
  background: transparent;
  border-radius: 20px;
}

/* Homepage #offers: show 1 / 2 / 3 cards; advance one card per step */
.offers-carousel {
  --offers-carousel-gap: clamp(0.85rem, 2vw, 1.25rem);
}
.offers-carousel-viewport {
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
  padding: 0.35rem 0.05rem 0.15rem;
  -webkit-overflow-scrolling: touch;
}
.offers-carousel-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--offers-carousel-gap);
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.offers-carousel-cell {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .offers-carousel-cell {
    flex: 0 0 calc((100% - var(--offers-carousel-gap)) / 2);
  }
}
@media (min-width: 992px) {
  .offers-carousel-cell {
    flex: 0 0 calc((100% - (2 * var(--offers-carousel-gap))) / 3);
  }
}
.team-loop-carousel .offers-carousel-cell a {
  width: 100%;
}
@media (min-width: 992px) {
  .team-loop-carousel .offers-carousel-cell {
    flex: 0 0 calc((100% - (3 * var(--offers-carousel-gap))) / 4);
  }
}
.offers-carousel .offer-card {
  width: 100%;
  max-width: none;
}
.offers-nav-btn.is-disabled,
.offers-nav-btn:disabled {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .offers-carousel-track {
    transition-duration: 0.01ms;
  }
}

/* Devices page – responsive grid (no horizontal track / no cell overlap) */
.devices-grid {
  --devices-gap: clamp(0.85rem, 2vw, 1.25rem);
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--devices-gap);
  width: 100%;
  max-width: 100%;
  overflow: visible;
  margin-inline: auto;
  padding: 0.35rem 0.1rem 0.15rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .devices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .devices-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.devices-grid .offer-card {
  min-width: 0;
  width: 100%;
  max-width: none;
}
.team-nav-btn.is-active {
  background: var(--gold) !important;
  color: #111;
  border-color: var(--gold);
  font-weight: 700;
}
.devices-pagination.team-nav {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.offers-track,
#offersTrack {
  --offers-gap: 1.25rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--offers-gap);
  padding: 0.35rem 0.2rem 0.2rem;
  background: none;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}
@media (min-width: 768px) {
  .offers-track,
  #offersTrack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .offers-track,
  #offersTrack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.offers-track::-webkit-scrollbar,
#offersTrack::-webkit-scrollbar {
  display: none;
  background: transparent;
}
.offers-track::-webkit-scrollbar-track,
#offersTrack::-webkit-scrollbar-track {
  background: transparent;
}
.offers-track::-webkit-scrollbar-thumb,
#offersTrack::-webkit-scrollbar-thumb {
  background: transparent;
}
/* Force no painted box on the slider track (overrides theme / Bootstrap) */
#offersTrack {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  scrollbar-color: transparent transparent;
  -webkit-tap-highlight-color: transparent;
}

/* Small screens: single-column grid */
@media (max-width: 767.98px) {
  .offers-track,
  #offersTrack {
    grid-template-columns: 1fr;
  }
  .offers-track .offer-card,
  #offersTrack .offer-card {
    width: 100%;
    max-width: 100%;
  }
}
.offer-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 260px;
  /* box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-border-subtle); */
  border: 1px solid var(--card-border-subtle);
  /* background: var(--bg-secondary); */
}
.offer-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* filter: brightness(0.7) saturate(1.05); */
  transform: scale(1.02);
}
[data-theme="light"] .offer-media {
  filter: brightness(0.85) saturate(1.02);
}
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(var(--gold-rgba), 0.25),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.offer-glass {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--blure);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
  /* height: 100%; */
}
.offer-card:hover .offer-glass,
.offer-card:focus-within .offer-glass {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
@media (hover: none) {
  .offer-glass {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}
/* [data-theme="light"] .offer-glass {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
} */
.offer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(var(--gold-rgba), 0.16);
  border: 1px solid rgba(var(--gold-rgba), 0.28);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.offer-kicker-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--gold-rgba), 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}
.offer-title {
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  line-height: 1.35;
}
.offer-meta {
  font-size: 0.85rem;
  opacity: 0.92;
  color: rgba(255, 255, 255, 0.82);
}
[data-theme="light"] .offer-meta {
  color: var(--text-secondary);
  opacity: 1;
}
.offer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.95;
  border: 1px solid #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
/* [data-theme="light"] .offer-cta {
  color: var(--text-primary);
} */
.offer-cta i {
  color: var(--gold-light);
}
.offer-card:hover .offer-media {
  transform: scale(1.06);
  filter: brightness(0.78) saturate(1.1);
  transition:
    transform 0.6s ease,
    filter 0.4s ease;
}
.offers-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.offers-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(var(--gold-rgba), 0.18);
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.offers-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
@media (max-width: 991px) {
  .offers-section {
    padding: 4.25rem 0 4rem;
  }
  .offers-track,
  #offersTrack {
    --offers-gap: 1rem;
    padding: 0.25rem 0.1rem 1rem;
  }
  .offer-card {
    min-height: 250px;
    border-radius: 18px;
  }
  .offer-glass {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
  }
  .offer-title {
    font-size: 0.96rem;
  }
  .offer-meta {
    font-size: 0.8rem;
  }
}
@media (max-width: 575px) {
  .offers-section {
    padding: 2.5rem 1rem 0 !important;
  }
  .offers-track,
  #offersTrack {
    --offers-gap: 0.85rem;
    padding: 0.2rem 0.05rem 0.85rem;
  }
  .offer-card {
    min-height: 230px;
    border-radius: 16px;
  }
  .offer-glass {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 0.72rem 0.75rem;
    border-radius: 12px;
  }
  .offer-kicker {
    gap: 0.35rem;
    padding: 0.2rem 0.58rem;
    font-size: 0.75rem;
    margin-bottom: 0.52rem;
  }
  .offer-kicker-icon {
    width: 22px;
    height: 22px;
  }
  .offer-title {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
  }
  .offer-meta {
    font-size: 0.76rem;
  }
  .offer-cta {
    margin-top: 0.65rem;
    gap: 0.45rem;
    font-size: 0.84rem;
  }
  .offers-nav {
    gap: 0.55rem;
    margin-top: 0.55rem;
  }
  .offers-nav-btn {
    width: 36px;
    height: 36px;
  }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.offer-details-section {
  padding-top: clamp(0.2rem, 1vw, 0.55rem);
}
.offer-details-card {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: clamp(0.65rem, 1.2vw, 0.95rem);
  max-width: 1140px;
  margin-inline: auto;
  border-radius: 22px;
  padding: clamp(0.8rem, 1.35vw, 1rem);
  background: var(--card-bg-gradient);
  border: 1px solid var(--card-border-subtle);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border-top: 2px solid var(--blure);
  border-bottom: 2px solid var(--blure);
}
.offer-details-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(var(--gold-rgba), 0.2),
      transparent 54%
    ),
    linear-gradient(160deg, rgba(255, 255, 255, 0.02), transparent 48%);
}
.offer-details-media {
  position: relative;
  z-index: 1;
  flex: 0 0 clamp(50%, 52%, 54%);
  min-height: clamp(200px, 24vw, 250px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgba), 0.22);
}
.offer-details-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.offer-details-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: clamp(0.3rem, 1vw, 0.7rem);
}
.offer-details-title {
  margin: 0 0 0.28rem;
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-primary);
}
.offer-details-subtitle {
  margin: 0 0 0.45rem;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.offer-details-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}
.offer-details-rate-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color:var(--gold);
  background: transparent;
  border-right: 1px   solid var(--gold);
  border-left: 1px   solid var(--gold);
  border-radius: 50%;
  padding: 0.12rem 0.45rem;
}
.offer-details-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color:#FF991F;
  font-size: 0.78rem;
}
.offer-details-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}
.offer-details-price-discount {
  font-size: 0.63rem;
  font-weight: 800;
  color: #bf4141;
  background: #fff;
  border-radius: 5px;
  padding: 0.08rem 0.33rem;
}
.offer-details-price-old {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.2px;
}
.offer-details-price-new {
  font-size: clamp(1.2rem, 2.3vw, 1.95rem);
  font-weight: 900;
  color: var(--gold);
}
.offer-details-size-wrap {
  margin-bottom: 0.75rem;
}
.offer-details-label {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.73rem;
  color: var(--text-muted);
}
.offer-details-select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 100%;
  height: 34px;
  border-radius: 8px;
  padding-inline: 0.75rem 2rem;
  border: 1px solid rgba(var(--gold-rgba), 0.28);
  background:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%),
    color-mix(in srgb, var(--bg-secondary) 94%, transparent);
  background-position:
    left 0.8rem center,
    left 0.45rem center,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
  color: var(--text-primary);
  font-size: 0.78rem;
  outline: none;
}
.offer-details-select:focus {
  border-color: rgba(var(--gold-rgba), 0.6);
  box-shadow: 0 0 0 0.18rem rgba(var(--gold-rgba), 0.14);
}
.offer-details-size-wrap .select2-container {
  width: 100% !important;
}
.offer-details-size-wrap .select2-container--default .select2-selection--single {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(var(--gold-rgba), 0.28);
  background: color-mix(in srgb, var(--bg-secondary) 94%, transparent);
}
.offer-details-size-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 34px;
  padding-right: 0.72rem;
  padding-left: 2rem;
  font-size: 0.78rem;
  color: var(--text-primary);
}
.offer-details-size-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  left: 8px;
  right: auto;
  height: 100%;
}
.offer-details-size-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: var(--gold) transparent transparent transparent;
}
.offer-details-size-wrap .select2-dropdown {
  border-color: rgba(var(--gold-rgba), 0.3);
}
.offer-details-actions {
  display: flex;
  align-items: center;
  direction: ltr;
  gap: 0.55rem;
}
.offer-details-cart-btn {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #b37529 0%, var(--gold) 100%);
  color: #1f1a12;
  border: 1px solid rgba(var(--gold-rgba), 0.45);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.offer-details-cart-btn:hover {
  transform: translateY(-1px);
  color: #1f1a12;
  box-shadow: var(--shadow-gold);
}
.offer-details-cart-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.62rem;
}
.offer-details-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}
.offer-details-qty-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: color-mix(in srgb, var(--bg-secondary) 88%, #000 12%);
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1;
}
.offer-details-add-btn {
  padding: 0;
}
.offer-details-qty-value {
  min-width: 18px;
  text-align: center;
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 700;
}
@media (max-width: 991px) {
  .offer-details-card {
    gap: 0.65rem;
    border-radius: 18px;
  }
  .offer-details-media {
    flex-basis: 47%;
    min-height: 210px;
  }
  .offer-details-title {
    font-size: 0.95rem;
  }
  .offer-details-price-new {
    font-size: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  .offer-details-card {
    flex-direction: column-reverse;
    padding: 0.8rem;
  }
  .offer-details-media {
    min-height: 205px;
    flex-basis: auto;
  }
  .offer-details-content {
    padding: 0.15rem 0.1rem 0.1rem;
  }
  .offer-details-select {
    max-width: 100%;
  }
  .offer-details-actions {
    justify-content: space-between;
  }
}
@media (max-width: 480px) {
  .offer-details-section {
    padding-inline: 0.6rem !important;
  }
  .offer-details-media {
    min-height: 180px;
  }
  .offer-details-title {
    font-size: 0.95rem;
  }
  .offer-details-subtitle {
    font-size: 0.79rem;
  }
  .offer-details-cart-btn {
    flex: 1 1 auto;
    padding-inline: 0.8rem;
    font-size: 0.82rem;
  }
}

.testimonials-section {
  padding: 4rem 0 3rem;
  background: transparent;
  position: relative;
}
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 12% 6% auto;
  height: 320px;
  background: radial-gradient(
    circle at center,
    rgba(var(--gold-rgba), 0.14) 0%,
    rgba(var(--gold-rgba), 0.06) 42%,
    transparent 75%
  );
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}
.testimonials-section > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 540px) {
  .testimonials-section {
    padding: 2rem 1rem 1rem !important;
  }
}

/* ─── Testimonials: scroll-driven horizontal strip (sticky + translateX) ─── */
.horizontal-scroll-section .horizontal-scroll-track {
  position: relative;
  z-index: 1;
  /* min-height completed in JS: 100dvh + horizontal overflow */
  min-height: 100dvh;
  max-width: 1400px;
  margin: 0 auto;
}
.horizontal-scroll-section .horizontal-scroll-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.15rem 0 0.4rem;
  box-sizing: border-box;
}
.horizontal-scroll-section .horizontal-scroll-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}
.horizontal-scroll-section .horizontal-scroll-viewport::before,
.horizontal-scroll-section .horizontal-scroll-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(72px, 14vw, 170px);
  pointer-events: none;
  z-index: 5;
  opacity: 1;
}
.horizontal-scroll-section .horizontal-scroll-viewport::before {
  left: 0;
  background:
    radial-gradient(130% 90% at 0% 50%, rgba(var(--gold-rgba), 0.22), transparent 62%),
    linear-gradient(
      to right,
      color-mix(in srgb, var(--bg-primary) 92%, transparent) 0%,
      color-mix(in srgb, var(--bg-primary) 74%, transparent) 52%,
      transparent 100%
    );
  /* filter: blur(12px); */
}
.horizontal-scroll-section .horizontal-scroll-viewport::after {
  right: 0;
  background:
    radial-gradient(130% 90% at 100% 50%, rgba(var(--gold-rgba), 0.22), transparent 62%),
    linear-gradient(
      to left,
      color-mix(in srgb, var(--bg-primary) 92%, transparent) 0%,
      color-mix(in srgb, var(--bg-primary) 74%, transparent) 52%,
      transparent 100%
    );
  filter: blur(12px);
}
.horizontal-scroll-section .horizontal-scroll-move {
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  /* Stable transform math; visual RTL order via row-reverse below */
  direction: ltr;
}
.horizontal-scroll-section .horizontal-scroll-row {
  margin-inline: 0;
  flex-wrap: nowrap !important;
}
.horizontal-scroll-section .horizontal-scroll-item {
  flex-shrink: 0;
}
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-track,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-track {
  min-height: 0 !important;
}
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-sticky,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-sticky {
  position: relative;
  min-height: 0;
  padding: 0;
}
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-viewport,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-viewport {
  overflow: visible;
}
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-viewport::before,
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-viewport::after,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-viewport::before,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-viewport::after {
  display: none;
}
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-move,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-move {
  will-change: auto;
  transform: none !important;
}
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-row,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-row {
  flex-wrap: wrap !important;
  flex-direction: row;
}
.horizontal-scroll-section.horizontal-scroll--reduced .horizontal-scroll-item,
.horizontal-scroll-section.horizontal-scroll--stacked .horizontal-scroll-item {
  flex-shrink: 1;
}
@media (max-width: 767.98px) {
  .horizontal-scroll-section .horizontal-scroll-sticky {
    padding-top: 0;
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
  }
  .horizontal-scroll-section .horizontal-scroll-viewport::before,
  .horizontal-scroll-section .horizontal-scroll-viewport::after {
    width: clamp(40px, 12vw, 78px);
    filter: blur(8px);
  }
}
.testimonial-card {
  background:
    linear-gradient(
      160deg,
      rgba(var(--gold-rgba), 0.07) 0%,
      color-mix(in srgb, var(--bg-card) 96%, transparent) 34%,
      var(--bg-card) 100%
    ),
    var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--border) 85%, rgba(var(--gold-rgba), 0.28));
  border-radius: 30px 30px 30px 0;
  padding: 2rem;
  height: 100%;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  position: relative;
  overflow: hidden;
  /* box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08); */
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card::after ,.services-grid-card::after {
  content: "";
  position: absolute;
  inset: auto -16% -46% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--gold-rgba), 0.2) 0%,
    rgba(var(--gold-rgba), 0.08) 35%,
    transparent 72%
  );
  pointer-events: none;
}
.testimonial-card:hover {


  border-color: var(--gold);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.95rem;
  text-shadow: 0 0 10px rgba(var(--gold-rgba), 0.3);
}
.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}
.testimonial-text {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--gold) 88%, #fff 12%);
  box-shadow:
    0 0 0 3px rgba(var(--gold-rgba), 0.14),
    0 8px 16px rgba(0, 0, 0, 0.2);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.testimonial-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Keep testimonials static (no horizontal slider behavior) */
#testimonials .horizontal-scroll-track {
  min-height: 0 !important;
}
#testimonials .horizontal-scroll-sticky {
  position: relative;
  min-height: 0;
  padding: 0;
}
#testimonials .horizontal-scroll-viewport {
  overflow: visible;
}
#testimonials .horizontal-scroll-viewport::before,
#testimonials .horizontal-scroll-viewport::after {
  display: none;
}
#testimonials .horizontal-scroll-move {
  transform: none !important;
  will-change: auto;
}
#testimonials .horizontal-scroll-row {
  flex-wrap: wrap !important;
  justify-content: center;
}
#testimonials .horizontal-scroll-item {
  flex-shrink: 1;
}

/* ============================================================
   BOOKING / CONTACT SECTION
   ============================================================ */
.booking-section {
  padding: 5.5rem 0 5rem;
  background: transparent;
}

.booking-layout {
  position: relative;
  z-index: 1;
}
.booking-card {
  background:
    radial-gradient(
      circle at top center,
      rgba(var(--gold-rgba), 0.3),
      var(--bg-secondary) 55%
    ),
    var(--bg-primary);
  border-radius: 26px;
  padding: 2.2rem 2.5rem 2.4rem;
  box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-border-subtle);
  border: 1px solid var(--card-border-subtle);
}
.booking-card-header {
  margin-bottom: 1.7rem;
}
.booking-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.booking-card-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}
.booking-card-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.booking-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}
.booking-input-wrap {
  position: relative;
}
.booking-input-wrap input,
.booking-input-wrap select {
  width: 100%;
  background: var(--input-bg);
  border-radius: 999px;
  border: 1px solid var(--input-border);
  padding: 0.75rem 2.5rem 0.75rem 1.1rem;
  color: var(--text-primary);
  font-size: 0.86rem;
  outline: none;
}
.booking-input-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.select2-container--default .select2-selection--single {
  background: var(--input-bg);
  border-radius: 999px;
  border: 1px solid var(--input-border);
  height: auto;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below
  .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above
  .select2-selection--single {
  border-radius: 999px !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--text-primary);
  line-height: 1.4;
  padding: 0.65rem 2.5rem 0.65rem 1.1rem;
  font-size: 0.86rem;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 50%;
  left: 12px;
  right: auto;
  transform: translateY(-50%);
}
.select2-dropdown {
  background-color: var(--bg-card);
  border: 1px solid var(--input-border);
}
.select2-search--dropdown .select2-search__field {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}
.select2-results__option {
  font-size: 0.86rem;
  color: var(--text-primary);
}
.select2-results__option--highlighted[aria-selected] {
  background-color: var(--gold);
  color: var(--btn-text);
}
.booking-input-wrap input::placeholder {
  color: var(--text-muted);
}
.booking-input-wrap i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}
/* Select2 يوفّر سهمًا خاصًا؛ نخفي أيقونة الحقل لتفادي التكرار */
.booking-input-wrap:has(.select2-container) > i {
  display: none;
}
.booking-card-btn {
  margin-top: 1.2rem;
  width: 100%;
  padding: 0.85rem 1rem;
}
.form-label-custom {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}
.form-control-custom {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
  font-family: inherit;
}
.form-control-custom:focus,
.booking-input-wrap input:focus,
.booking-input-wrap select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.form-control-custom:focus-visible,
.booking-input-wrap input:focus-visible,
.booking-input-wrap select:focus-visible {
  outline: none;
}
.form-control-custom::placeholder {
  color: var(--text-muted);
}
select.form-control-custom option {
  background: var(--bg-card);
  color: var(--text-primary);
}
.booking-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.booking-info-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(
    135deg,
    rgba(var(--gold-rgba), 0.15),
    rgba(var(--gold-rgba), 0.05)
  );
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.booking-info-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.booking-info-text span {
  color: var(--text-muted);
  font-size: 0.82rem;
}


@media (max-width: 540px) {
  .booking-section {
    padding: 5rem 1.4rem 0 !important;
  }
  .booking-card {
   
    padding: 1.2rem 1.5rem 1.4rem;
   
  }
}

/* ============================================================
   FOOTER (matches reference design)
   ============================================================ */
.footer {
  background: transparent;
  /* border-top: 1px solid var(--border); */
  padding: 8rem 0 4rem 0;

  position: relative;
  color: var(--text-primary);
}
@media (max-width: 540px) {
  .footer {
    padding: 5rem 1.4rem 0 !important;
  }
}
.footer-main {
  align-items: flex-start;
}
.footer-col-right {
  text-align: right;
}
.footer-logo-wrap {
  margin-bottom: 0.9rem;
}
.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #f7f0d4, #d1a94b);
  color: #1b1307;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.7);
}
.footer-logo-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.footer-logo-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer-logo-title-ar {
  margin-right: 0.4rem;
  color: var(--gold);
  font-weight: 800;
}
.footer-logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.footer-hero-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.6rem 0 1.2rem;
  max-width: 420px;
}
.footer-hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--btn-text);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  border: none;
}
.footer-hero-cta:hover {
  filter: brightness(1.08);
}
.footer-heading {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.footer-heading-contact {
  margin-bottom: 1.2rem;
}
.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.45rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-links-simple a::before {
  content: none;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}
.footer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
}
.footer-contact-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border-top: 1px solid var(--blure-border);
  border-bottom: 1px solid var(--blure-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg-card);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--btn-text);
  border-color: var(--gold);
}
.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-text {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-bottom-text span {
  color: var(--gold);
}
@media (max-width: 991px) {
  .footer-col-right {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 767px) {
  .footer {
    padding: 8rem 0 4rem 0;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 2.2rem;
  left: 2.2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-gold);
  scale: 1.2;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#scrollTop:hover {
  transform: translateY(-3px) scale(1.1);
}

/* ============================================================
   SECTION REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  animation: revealFloatLeftRight 4s ease-in-out infinite;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
  animation: revealFloatLeftRight 4s ease-in-out infinite;
  animation-delay: 1s;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealFloatLeftRight {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(0) translateY(-40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left.visible,
  .reveal-right.visible {
    animation: none;
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pulse-badge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--gold-rgba), 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(var(--gold-rgba), 0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ============================================================
   COUNTER ANIMATION
   ============================================================ */
.counter-section {
  padding: 3.5rem 0 3rem;
  background: transparent;
}

.counter-item {
  text-align: center;
  padding: 1.2rem 0.5rem;
  color: var(--text-primary);
}
.counter-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 0 auto 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gold-rgba), 0.12);
  color: var(--gold);
  font-size: 1.25rem;
}
.counter-top-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.counter-subtext {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============================================================
   RESPONSIVE — Counter: 1050 / 970 / 760 / 540 / 400px
   ============================================================ */
@media (max-width: 1050px) {
  .counter-section {
    padding: 3.1rem 0 2.8rem;
  }
  .counter-item {
    padding: 1rem 0.45rem;
  }
  .counter-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
  .counter-top-text {
    font-size: 0.95rem;
  }
  .counter-subtext {
    font-size: 0.8rem;
  }
}

@media (max-width: 970px) {
  .counter-section {
    padding: 2.9rem 0 2.6rem;
  }
  .counter-item {
    padding: 0.95rem 0.4rem;
  }
  .counter-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.62rem;
    font-size: 1.08rem;
  }
  .counter-top-text {
    font-size: 0.92rem;
  }
  .counter-subtext {
    font-size: 0.78rem;
  }
}

@media (max-width: 760px) {
  .counter-section {
    padding: 2.55rem 0 2.25rem;
  }
  .counter-item {
    padding: 0.82rem 0.35rem;
  }
  .counter-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.55rem;
    font-size: 0.98rem;
  }
  .counter-top-text {
    font-size: 0.88rem;
  }
  .counter-subtext {
    font-size: 0.75rem;
  }
}

@media (max-width: 540px) {
  .counter-section {
    padding: 2.2rem 0 1.95rem;
  }
  .counter-item {
    padding: 0.72rem 0.3rem;
  }
  .counter-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.48rem;
    font-size: 0.9rem;
  }
  .counter-top-text {
    font-size: 0.82rem;
  }
  .counter-subtext {
    font-size: 0.72rem;
  }
}

@media (max-width: 400px) {
  .counter-section {
    padding: 1.95rem 0 1.75rem;
  }
  .counter-item {
    padding: 0.62rem 0.25rem;
  }
  .counter-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 0.42rem;
    font-size: 0.82rem;
  }
  .counter-top-text {
    font-size: 0.76rem;
  }
  .counter-subtext {
    font-size: 0.68rem;
  }
}



/* ============================================================
   NAVBAR TOGGLER CUSTOM
   ============================================================ */
.navbar-toggler-custom {
  background: transparent;
  border-top: 1px solid var(--blure-border) !important;
  border-bottom: 1px solid var(--blure-border) !important;
  border-left: 0px solid var(--blure-border) !important;
  border-right: 0px solid var(--blure-border) !important;
  border-radius: 50%;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  align-self: center;
  background-color: var(--blure);
  backdrop-filter: blur(10px) !important;
}
.navbar-toggler-custom span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

.navbar-toggler-custom[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler-custom[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar-toggler-custom[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  animation: pulse-badge 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.small-title {
  color: var(--small-title-color);
}
.small-title i {
  color: var(--small-title-icon);
}

/* ============================================================
   PREMIUM SPLASH SCREEN – Letter Assembly
   ============================================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* let main site show behind curtains */
  color: var(--text-primary);
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

.splash-screen--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s ease-in-out,
    visibility 0.5s ease-in-out;
}

/* Content wrapper – fades out before curtain */
.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.32s ease-in-out;
}

.splash-screen--content-out .splash-content {
  opacity: 0;
  pointer-events: none;
}

.splash-logo-wrap {
  position: relative;
  text-align: center;
  padding: 2.4rem 3rem;
  border-radius: 999px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.splash-logo-glow {
  position: absolute;
  inset: -35%;
  border-radius: inherit;
  opacity: 0.9;
  filter: blur(18px);
  z-index: -1;
}

.splash-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
}

.splash-logo-icon {
  width: 54px;
  height: 54px;
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: radial-gradient(circle at 30% 0%, #f7f0d4, #d1a94b); */
  /* color: #1b1307; */
  /* box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.65); */
  opacity: 0;
}

.splash-screen--letters-assemble .splash-logo-icon {
  animation: splash-icon-in 0.4s ease-out 0.05s forwards;
}

.splash-logo-icon i {
  font-size: 1.5rem;
}

.splash-logo-letters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.08em;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.splash-letter {
  display: inline-block;
  opacity: 0;
  transform: translateX(-36px) scale(0.88);
  will-change: transform, opacity;
}

.splash-screen--letters-assemble .splash-letter:nth-child(1) {
  animation: splash-letter-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) 0.08s
    forwards;
}
.splash-screen--letters-assemble .splash-letter:nth-child(2) {
  animation: splash-letter-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) 0.2s
    forwards;
}
.splash-screen--letters-assemble .splash-letter:nth-child(3) {
  animation: splash-letter-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) 0.32s
    forwards;
}
.splash-screen--letters-assemble .splash-letter:nth-child(4) {
  animation: splash-letter-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) 0.44s
    forwards;
}

.splash-logo-tagline {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
}

/* Driven by script.js: per-character heroCharMaterialize (same as hero title) */
.splash-logo-tagline.hero-text-anim-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo-tagline {
    opacity: 1;
  }
}

/* Curtain panels – slight overlap at center hides subpixel seam */
.splash-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 3px);
  background: var(--bg-primary);
  /* box-shadow: 0 0 40px rgba(0, 0, 0, 0.9); */
  z-index: 1;
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.splash-curtain-left {
  left: 0;
  right: auto;
  transform: translateX(0);
}

.splash-curtain-right {
  right: 0;
  left: auto;
  transform: translateX(0);
}

.splash-screen--curtain-open .splash-curtain-left {
  transform: translateX(-100%);
}

.splash-screen--curtain-open .splash-curtain-right {
  transform: translateX(100%);
}

@keyframes splash-icon-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splash-letter-in {
  0% {
    opacity: 0;
    transform: translateX(-36px) scale(0.88);
  }
  60% {
    opacity: 1;
    transform: translateX(2px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes splash-logo-pulse {
  0%,
  100% {
    box-shadow:
      0 0 40px rgba(0, 0, 0, 0.8),
      0 0 80px rgba(201, 168, 76, 0.4);
  }
  50% {
    box-shadow:
      0 0 50px rgba(0, 0, 0, 0.85),
      0 0 140px rgba(201, 168, 76, 0.5);
  }
}

@media (max-width: 575px) {
  .splash-logo-wrap {
    padding: 1.6rem 1.9rem;
    border-radius: 26px;
  }
  .splash-logo-letters {
    font-size: 1.4rem;
    letter-spacing: 0.22em;
  }
  .splash-logo-icon {
    width: 46px;
    height: 46px;
  }
  .splash-logo-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
  }
}


/* 
.fa-arrow-left{
  rotate: 90deg;
} */



.wave-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: rgba(255,255,255,0.08);
  border-radius: 64px;
  backdrop-filter: blur(2px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.1);
  padding: 30px 20px 50px 20px;
  transition: all 0.3s ease;
}

.wave-art {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.wave-shape {
  width: 90%;
  max-width: 850px;
  height: 380px;
  background: linear-gradient(135deg, #1e88e5, #6ab0ff, #29b6f6);
  box-shadow: 0 20px 35px -10px rgba(0,0,0,0.4), inset 0 1px 3px rgba(255,255,255,0.5);
  cursor: pointer;
  will-change: clip-path;
  position: relative;
  z-index: 2;
  border-radius: 20px;
}

.wave-shape::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  border-radius: inherit;
}

.wave-inner-text {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  font-weight: bold;
  text-shadow: 0 2px 10px #01579b;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  width: fit-content;
  margin: 0 auto;
  padding: 8px 20px;
  border-radius: 60px;
  font-size: 1rem;
  pointer-events: none;
  z-index: 3;
  font-family: monospace;
  letter-spacing: 1px;
}

@media (max-width: 720px) {
  .wave-shape {
      height: 280px;
  }

}

.wave-shape {
  transition: clip-path 0.25s ease-out, transform 0.1s;
}
.wave-shape:active {
  transform: scale(0.99);
}



.device-cta{
  border: none !important;
}

/* Photo Gallery */
.photo-gallery-section {
  position: relative;
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-bottom: clamp(2.2rem, 5vw, 3.6rem);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 14px);
  padding: clamp(12px, 1.8vw, 18px);
  border-radius: 0;
  /* background:
    radial-gradient(
      56% 140% at 50% 0%,
      rgba(199, 160, 70, 0.11) 0%,
      rgba(199, 160, 70, 0) 72%
    ),
    linear-gradient(95deg, #1a1e26 0%, #232936 52%, #181c24 100%); */
  border: 0;
}

.photo-strip-card {
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  max-height: 220px;
  cursor: grab;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.photo-strip-card:active {
  cursor: grabbing;
}

.photo-strip-card.is-dragging {
  opacity: 0.45;
  transform: scale(0.97);
}

.photo-strip-card.drop-target {
  box-shadow: 0 0 0 2px rgba(212, 176, 89, 0.6) inset;
}

.photo-strip-card--stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(180deg, var(--blure) 0%, var(--bg-card) 100%);
  color: var(--gold);
}

.photo-strip-icon {
  font-size: clamp(2.2rem, 2.35vw, 2.15rem);
  line-height: 1;
}

.photo-strip-value {
  font-size: clamp(1.95rem, 2.6vw, 2.25rem);
  line-height: 1;
  font-weight: 700;
}

.photo-strip-label {
  color: var(--text-secondary);
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
}

.photo-strip-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 10px 8px 14px;
  }

  .photo-strip-card {
    min-height: 162px;
    border-radius: 18px;
  }

  .photo-strip-value {
    font-size: 2.55rem;
  }

  .photo-strip-label {
    font-size: 1.05rem;
  }

  .photo-strip-card--stat:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 170px;
  }
}

/* ============================================================
   RESULTS PAGE ONLY (isolated from index.html)
   ============================================================ */
body.results-page .results-gallery-section {
  padding-top: clamp(2.2rem, 4vw, 3rem) !important;
  padding-bottom: clamp(2.2rem, 4vw, 3rem) !important;
}

body.results-page .results-gallery-section .container {
  max-width: 1240px;
}

body.results-page .results-gallery-section .results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.15rem);
  align-items: stretch;
}

body.results-page .results-gallery-section .result-card,
body.results-page .results-gallery-section .result-card-side,
body.results-page .results-gallery-section .result-card-main {
  transform: none !important;
  opacity: 1 !important;
  display: block;
}

body.results-page .results-gallery-section .result-card-inner {
  max-width: none;
  border-radius: 18px;
  overflow: hidden;
  background: #d3b085;
  box-shadow: none;
  border: 0;
}

body.results-page .results-gallery-section .result-image-wrap {
  height: clamp(320px, 34vw, 390px);
}

body.results-page .results-gallery-section .result-card-top-labels {
  top: 0.6rem;
  inset-inline: 0.6rem;
}

body.results-page .results-gallery-section .result-label {
  background: rgba(255, 255, 255, 0.88);
  color: #2a2118;
  border-radius: 6px;
  font-size: 0.68rem;
  padding: 0.18rem 0.55rem;
}

body.results-page .results-gallery-section .ba-divider-line {
  width: 1.5px;
  background: rgba(255, 255, 255, 0.72);
}

body.results-page .results-gallery-section .result-handle-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.72);
  color: #3a2d20;
  font-size: 0.6rem;
  backdrop-filter: blur(4px);
}

body.results-page .results-gallery-section .result-info-overlay {
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  border-radius: 12px;
  background: rgba(198, 158, 112, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.65rem 0.8rem 0.75rem;
  gap: 0.15rem;
}

body.results-page .results-gallery-section .result-treatment {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

body.results-page .results-gallery-section .result-meta {
  font-size: 0.72rem;
}

body.results-page .results-gallery-section .team-nav {
  display:flex;
}

@media (max-width: 991px) {
  body.results-page .results-gallery-section .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.results-page .results-gallery-section .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  body.results-page .results-gallery-section .result-image-wrap {
    height: min(75vh, 460px);
  }
}

/* Global form radius across the whole project */
input,
select,
textarea,
.form-control,
.form-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-radius: 8px !important;
}

/* ============================================================
   OTP PAGE
   ============================================================ */
body.otp-page {
  min-height: 100vh;
  margin: 0;
  font-family:
    "Cairo",
    "Tajawal",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--otp-page-bg);
  color: var(--otp-body-color);
  overflow: hidden;
  transition:
    background 0.4s ease,
    color 0.35s ease;
}

.otp-theme-toggle {
  position: fixed;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--card-border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.otp-theme-toggle:hover {
  transform: translateY(-1px);
}

.otp-theme-toggle .theme-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.otp-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.otp-card {
  width: min(860px, 100%);
  min-height: 332px;
  border-radius: 28px;
  background: var(--otp-card-bg);
  border: 1px solid var(--otp-card-border);
  box-shadow: var(--otp-card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 28px 30px;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.otp-title {
  margin: 0 0 4px;
  font-size: clamp(1.8rem, 3.4vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--otp-title-color);
}

.otp-subtitle {
  margin: 0;
  color: var(--otp-subtitle-color);
  font-size: 1.05rem;
  font-weight: 500;
}

.otp-phone-mask {
  color: var(--otp-phone-mask-color);
}

.otp-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.otp-inputs {
  display: flex;
  gap: 18px;
  direction: ltr;
}

.otp-input {
  width: 56px;
  height: 56px;
  border: 1px solid var(--login-field-border);
  border-radius: 10px !important;
  background: var(--otp-input-bg);
  color: var(--otp-input-text);
  text-align: center;
  font-size: 1.65rem;
  font-weight: 700;
  outline: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.otp-input::placeholder {
  color: var(--otp-input-placeholder);
  font-weight: 600;
}

.otp-input:focus {
  box-shadow: 0 0 0 3px var(--otp-input-focus-ring);
  background: var(--otp-input-focus-bg);
  transform: translateY(-1px);
}

.otp-status-row {
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--otp-status-color);
  font-size: 1rem;
  font-weight: 500;
}

.otp-timer {
  color: var(--otp-timer-color);
  min-width: 52px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.otp-confirm-btn {
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  padding: 4px 8px 4px 22px;
  min-height: 50px;
  min-width: 162px;
  background: var(--otp-confirm-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.85rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.otp-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px var(--otp-confirm-shadow);
}

.otp-confirm-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--otp-confirm-icon-bg);
  color: var(--otp-confirm-icon-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.otp-resend-btn {
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: var(--otp-resend-color);
  font-size: 1.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.otp-resend-btn:hover {
  color: var(--otp-resend-hover);
}

@media (max-width: 768px) {
  .otp-card {
    border-radius: 22px;
    padding: 32px 18px 28px;
  }

  .otp-title {
    font-size: 1.6rem;
  }

  .otp-subtitle {
    font-size: 0.95rem;
  }

  .otp-inputs {
    gap: 10px;
  }

  .otp-input {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .otp-confirm-btn {
    font-size: 1.55rem;
    min-width: 148px;
  }

  .otp-resend-btn {
    font-size: 1rem;
  }
}



.header-title-text{
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.95;
  margin-right: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  text-wrap: wrap;
}
@media (max-width: 770px) {
  .header-title-text{
    font-size: 18px;
  }
}
.header-title-img{
  width: 30px;
  height:30px;
  object-fit: contain;
  border-radius: 50%;
  padding: 2px;
}


.header-title-inside{
  font-size: 40px;
}

@media (max-width: 770px) {
  .navbar-logo{
    transform: scale(0.9);
   }}
@media (max-width: 576px) {
  .navbar-logo{
   transform: scale(0.8);
  }
  
.header-title-inside{
  font-size: 30px;
}
}
@media (max-width: 400px) {
  .navbar-logo{
   transform: scale(0.7);
  }
}


.devices-details-subtitle {
font-size: 15px !important;
color:#999999
}
@media (max-width: 770px) {
  .devices-details-subtitle {
    font-size: 12px !important;
    }
}

/* ============================================================
   TERMS & CONDITIONS – legal content card
   ============================================================ */
.terms-page-main {
  position: relative;
  z-index: 2;
  padding-top: clamp(0.35rem, 2vw, 1rem);
}

.terms-legal-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: right;
  direction: rtl;
  background: color-mix(in srgb, var(--bg-overlay) 72%, #0c0c0c4e);
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 85%, transparent);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
}

.terms-legal-card__title {
  margin: 0 0 1rem;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.65rem);
  font-weight: 700;
  color: var(--hero-title-color);
  line-height: 1.35;
}

.terms-legal-card__intro {
  margin: 0 0 1.75rem;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-primary);
  opacity: 0.88;
}

.terms-legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: terms-section;
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3vw, 1.85rem);
}

.terms-legal-section {
  counter-increment: terms-section;
  margin: 0;
  padding: 0;
}

.terms-legal-section__title {
  margin: 0 0 0.65rem;
  padding-inline-start: 2rem;
  position: relative;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--hero-title-color);
  line-height: 1.45;
}

.terms-legal-section__title::before {
  content: counter(terms-section) ".";
  position: absolute;
  inset-inline-start: 0;
  font-weight: 800;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.terms-legal-bullets {
  margin: 0;
  margin-inline-start: 2rem;
  padding: 0;
  padding-inline-start: 0.15rem;
  list-style: none;
}

.terms-legal-bullets li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-inline-start: 1.1rem;
  font-size: clamp(0.9rem, 2.1vw, 1rem);
  line-height: 1.8;
  color: var(--text-primary);
  opacity: 0.85;
}

.terms-legal-bullets li:last-child {
  margin-bottom: 0;
}

.terms-legal-bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .terms-legal-card {
  background: var(--bg-card);
  border-color: var(--card-border-subtle);
}

[data-theme="light"] .terms-legal-bullets li::before {
  background: color-mix(in srgb, var(--gold) 75%, #333);
}

/* ============================================================
   PROFILE DASHBOARD
   ============================================================ */
.profile-dashboard-section {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.profile-dashboard {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
  width: min(100%, 1100px);
  margin: 0 auto;
  min-height: 420px;
}

.profile-sidebar {
  flex: 0 0 100%;
  max-width: 100%;
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 85%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-overlay) 72%, #0c0c0c4e);
  box-shadow: var(--card-shadow);
  border-top: 2px solid var(--blure);
  border-bottom: 2px solid var(--blure);
}

@media (min-width: 768px) {
  .profile-sidebar {
    flex: 0 0 240px;
    max-width: 240px;
  }
}

.profile-sidebar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.85rem;
}

@media (min-width: 768px) {
  .profile-sidebar-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 1.1rem 0.85rem;
    gap: 0.45rem;
  }
}

.profile-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  text-align: start;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.logout-btn {
  margin-top: 0.25rem;
  color: #ff0019;
  border: 1px solid rgba(220, 53, 69, 0.28);
  background: rgba(220, 53, 69, 0.08);
}

.logout-btn i {
  color: #ff7d8a;
}

.logout-btn:hover {
  background: rgba(220, 53, 69, 0.16);
}

.profile-nav-btn i {
  font-size: 0.88rem;
  opacity: 0.88;
  width: 1.1em;
  text-align: center;
  color: var(--gold);
}

.profile-nav-btn:hover {
  background: rgba(var(--gold-rgba), 0.12);
}

.profile-nav-btn.is-active {
  background:linear-gradient(to right, var(--gold-light), var(--gold-dark));
  color: #fff;
}

.profile-nav-btn.is-active i {
  color: #fff;
}

.profile-main {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 85%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-overlay) 72%, #0c0c0c4e);
  box-shadow: var(--card-shadow);
  padding: clamp(1.35rem, 3vw, 2rem);
  border-top: 2px solid var(--blure);
  border-bottom: 2px solid var(--blure);
}

.profile-panel-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 800;
  color: var(--gold);
  font-family: "Tajawal", "Cairo", sans-serif;
}

.profile-panel-lead {
  margin: 0 0 1.35rem;
  font-size: 0.86rem;
  color: var(--login-subtitle-color);
  line-height: 1.55;
  max-width: 42rem;
}

.profile-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-avatar-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  box-shadow: 0 8px 28px rgba(var(--gold-rgba), 0.22);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--login-card-bg);
}

.profile-avatar-upload {
  margin-top: 0.65rem;
  cursor: pointer;
}

.profile-avatar-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

.profile-avatar-upload:hover .profile-avatar-upload-label {
  color: var(--gold-light);
}

.profile-form-actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.profile-danger-box {
  margin-top: 0.2rem;
  border: 1px solid rgba(220, 53, 69, 0.4);
  background: rgba(220, 53, 69, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.profile-danger-box__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ff8d99;
}

.profile-danger-box__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-primary);
  opacity: 0.88;
}

.profile-danger-btn {
  border: 1px solid #dc3545;
  background: transparent;
  color: #ff7d8a;
  border-radius: 11px;
  padding: 0.5rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.profile-danger-btn .navbar-cta-icon i {
  font-size: 0.78rem;
}

.profile-danger-btn:hover {
  background: #dc3545;
  color: #fff;
}

@media (max-width: 767.98px) {
  .profile-danger-box {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-danger-btn {
    justify-content: center;
  }
}

.profile-submit-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.profile-submit-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}

.profile-panel-title--orders {
  margin-bottom: 1rem;
}

/* طلباتي: تبويبان الحالية / السابقة */
.profile-orders-shell {
  width: 100%;
}

.profile-orders-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid color-mix(in srgb, var(--card-border-subtle) 80%, transparent);
  gap: 0;
}

.profile-orders-tab {
  flex: 1 1 50%;
  margin: 0;
  padding: 0.85rem 0.75rem;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--text-primary) 72%, transparent);
  cursor: pointer;
  text-align: center;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.profile-orders-tab:hover {
  color: var(--text-primary);
  background: rgba(var(--gold-rgba), 0.06);
}

.profile-orders-tab.is-active {
  color: var(--gold);
  background: rgba(var(--gold-rgba), 0.08);
  border-bottom-color: var(--gold);
}

.profile-orders-tabpanel[hidden] {
  display: none !important;
}

.profile-orders-tabpanel.is-active:not([hidden]) {
  display: block;
}

.profile-orders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .profile-orders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-order-card {
  border-radius: 16px;
  padding: 1rem 1.1rem 1.05rem;
  background: color-mix(in srgb, var(--login-field-bg) 88%, transparent);
  border: 1px solid rgba(var(--gold-rgba), 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.profile-order-card:hover {
  border-color: rgba(var(--gold-rgba), 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.profile-order-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.profile-order-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gold-rgba), 0.15);
  border: 1px solid rgba(var(--gold-rgba), 0.35);
  color: var(--gold);
  font-size: 1.05rem;
}

.profile-order-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.profile-order-card__order-line {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.profile-order-card__order-num {
  font-weight: 800;
}

.profile-order-card__date {
  font-size: 0.74rem;
  color: var(--login-subtitle-color);
  opacity: 0.95;
}

.profile-order-card__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.profile-order-card__currency {
  font-size: 0.72rem;
  font-weight: 700;
  margin-inline-start: 0.2rem;
  opacity: 0.95;
}

.profile-order-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.profile-order-pill {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.28rem 0.62rem;
  border-radius: 8px;
  white-space: nowrap;
}

.profile-order-pill--ok {
  background: rgba(34, 160, 90, 0.22);
  color: #5fd89a;
}

.profile-order-pill--pending {
  background: rgba(59, 130, 246, 0.22);
  color: #7cb4ff;
}

.profile-order-pill--done {
  background: rgba(34, 160, 90, 0.18);
  color: #5fd89a;
}

.profile-order-detail-link {
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 0.25rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.profile-order-detail-link:hover {
  opacity: 0.88;
}

.profile-order-detail-link i {
  font-size: 0.72rem;
  opacity: 0.9;
}

.profile-orders-show-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.profile-orders-show-all {
  padding: 0.58rem 2.15rem;
  border-radius: 12px;
  border: 1px solid var(--gold);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.profile-orders-show-all:hover {
  background: rgba(var(--gold-rgba), 0.18);
  color: var(--gold-light);
}

[data-theme="light"] .profile-orders-show-all {
  color: var(--text-primary);
}

[data-theme="light"] .profile-orders-show-all:hover {
  color: var(--gold-dark);
}

.profile-order-detail-btn {
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.profile-order-detail-btn:hover {
  background: var(--gold);
  color: #fff;
}

.profile-order-detail-btn--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Feedback modal (success) */
.profile-feedback-modal .modal-dialog {
  max-width: 380px;
}

.profile-feedback-modal__content {
  border-radius: 18px;
  border: none;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.profile-feedback-modal__body {
  padding: 2rem 1.5rem 0.5rem;
}

.profile-feedback-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(34, 160, 90, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #22a05a;
}

.profile-feedback-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.profile-feedback-text {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.55;
}

.profile-feedback-modal__footer {
  padding: 0.75rem 1.25rem 1.5rem;
}

.profile-feedback-ok-btn {
  min-width: 120px;
  padding: 0.55rem 1.25rem;
  border-radius: 11px;
  border: none;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.profile-feedback-ok-btn:hover {
  filter: brightness(1.06);
}

/* Profile: phone OTP modal (reuses otp-* tokens) */
.profile-phone-otp-modal .modal-dialog {
  max-width: min(440px, 100% - 1.5rem);
}

.profile-phone-otp-modal__content {
  border-radius: 24px;
  border: 1px solid var(--otp-card-border);
  background: var(--otp-card-bg);
  box-shadow: var(--otp-card-shadow);
  color: var(--otp-body-color);
  overflow: hidden;
}

.profile-phone-otp-modal__header {
  padding: 0.6rem 0.75rem 0;
  justify-content: center;
}

.profile-phone-otp-modal__close {
  margin-inline-start: auto;
  opacity: 0.85;
  filter: invert(1) grayscale(100%) brightness(180%);
}

[data-theme="light"] .profile-phone-otp-modal__close {
  filter: none;
  opacity: 0.6;
}

.profile-phone-otp-modal__body {
  padding: 0 1.25rem 1.5rem;
}

.profile-phone-otp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-phone-otp-modal__title {
  font-size: clamp(1.05rem, 3.5vw, 1.35rem) !important;
  line-height: 1.35 !important;
  margin-bottom: 0.35rem !important;
}

.profile-phone-otp-modal__subtitle {
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  max-width: 22rem;
  margin-inline: auto;
}

.profile-phone-otp-modal .otp-form {
  margin-top: 1rem;
  width: 100%;
}

.profile-phone-otp-modal .otp-inputs {
  gap: 12px;
}

.profile-phone-otp-modal .otp-input {
  width: 50px;
  height: 50px;
  font-size: 1.35rem;
}

.profile-phone-otp-modal .otp-status-row {
  width: 100%;
  font-size: 0.8rem;
}

.profile-phone-otp-modal .otp-confirm-btn {
  font-size: 1.05rem;
  min-height: 46px;
  padding: 4px 8px 4px 18px;
}

.profile-phone-otp-modal .otp-confirm-text {
  font-size: 1.05rem !important;
}

.profile-phone-otp-modal .otp-confirm-icon {
  width: 30px;
  height: 30px;
  font-size: 0.8rem;
}

.profile-phone-otp-modal .otp-resend-btn {
  margin-top: 0.75rem;
  font-size: 0.82rem !important;
  font-weight: 700;
}

@media (max-width: 400px) {
  .profile-phone-otp-modal .otp-input {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .profile-phone-otp-modal .otp-inputs {
    gap: 8px;
  }
}

/* Order detail table modal */
.profile-order-modal__content {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #1a1a1a;
}

.profile-order-modal__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.1rem 1.25rem;
}

.profile-order-modal__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a1a;
}

.profile-order-modal__close {
  opacity: 0.65;
}

.profile-order-table {
  font-size: 0.82rem;
  color: #333;
}

.profile-order-table thead th {
  font-weight: 700;
  color: #111;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.65rem 0.5rem;
  white-space: nowrap;
}

.profile-order-table tbody td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: middle;
}

.profile-order-table tfoot th,
.profile-order-table tfoot td {
  padding-top: 0.85rem;
  font-size: 0.9rem;
}

[data-theme="light"] .profile-sidebar {
  background: color-mix(in srgb, var(--bg-secondary) 75%, #fff);
}

[data-theme="light"] .profile-order-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page-section {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(2rem, 4.5vw, 3.5rem);
}

.cart-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  width: min(100%, 1180px);
  margin-inline: auto;
}

.cart-main,
.cart-sidebar {
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 85%, transparent);
  background: color-mix(in srgb, var(--bg-overlay) 72%, #0c0c0c4e);
  box-shadow: var(--card-shadow);
}

.cart-main {
  flex: 1 1 100%;
  padding: clamp(1rem, 2.2vw, 1.65rem);
}

.cart-sidebar {
  flex: 1 1 100%;
  padding: clamp(1rem, 2.2vw, 1.65rem);
}

@media (min-width: 992px) {
  .cart-main {
    flex: 1 1 calc(68% - 10px);
  }

  .cart-sidebar {
    flex: 0 0 calc(32% - 10px);
    position: sticky;
    top: 120px;
  }
}

/* ——— Cart items (RTL: thumb right → trash left) ——— */
.cart-item-list {
  display: flex;
  flex-direction: column;
}

.cart-item-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.1rem);
  padding: clamp(0.75rem, 1.8vw, 1rem) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--card-border-subtle) 55%, transparent);
  border-bottom: 1px solid var(--navbar-border);
}

.cart-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-row:first-child {
  padding-top: 0;
}

.cart-item-thumb {
  flex: 0 0 clamp(100px, 22vw, 148px);
  width: clamp(100px, 22vw, 148px);
  height: clamp(56px, 12vw, 76px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 75%, transparent);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.25));
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.cart-item-title {
  margin: 0;
  color: var(--hero-title-color);
  font-size: clamp(0.8rem, 1.6vw, 0.92rem);
  font-weight: 600;
  line-height: 1.55;
}

.cart-item-branch {
  margin: 0.28rem 0 0;
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  color: var(--text-primary);
  opacity: 0.62;
}

.cart-item-price {
  margin: 0.35rem 0 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.28rem;
  font-size: clamp(0.78rem, 1.5vw, 0.88rem);
  font-weight: 600;
  color: var(--gold);
}

.cart-item-price-num {
  font-variant-numeric: tabular-nums;
}

.cart-price-sar {
  font-weight: 600;
  opacity: 0.95;
}

.cart-riyal-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.cart-item-qty {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  /* background: color-mix(in srgb, var(--bg-overlay) 85%, #000);
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 70%, transparent); */
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg-secondary) 80%, transparent);
  color: var(--text-primary);
  font-size: 1rem; border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-qty-btn:hover {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

.cart-qty-val {
  min-width: 1.65rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0 0.3rem;
}

.cart-item-remove {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  color: #ff3b30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.cart-item-remove:hover {
  color: #ff6659;
}

/* ——— Sidebar ——— */
.cart-sidebar-title {
  margin: 0 0 1rem;
  color: var(--hero-title-color);
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  font-weight: 700;
}

.cart-coupon-label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: var(--text-primary);
  opacity: 0.78;
}

.cart-coupon-field {
  position: relative;
  margin-bottom: 1.1rem;
}

.cart-coupon-applied {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #4caf5066;
  background: color-mix(in srgb, #4caf50 8%, transparent);
  font-size: 0.875rem;
}

.cart-coupon-code {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.cart-coupon-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  transition: background 0.2s, color 0.2s;
}

.cart-coupon-remove:hover {
  background: #e5393588;
  color: #fff;
}

.cart-coupon-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0.9;
  pointer-events: none;
}

.cart-coupon-input {
  width: 100%;
  padding-block: 0.68rem;
  padding-inline: 2.35rem 0.85rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 82%, transparent);
  background: color-mix(in srgb, var(--bg-overlay) 58%, transparent);
  color: var(--text-primary);
  font-size: 0.84rem;
}

.cart-coupon-input::placeholder {
  color: var(--text-primary);
  opacity: 0.45;
}

.cart-coupon-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--gold) 45%, var(--card-border-subtle));
  box-shadow: 0 0 0 3px rgba(var(--gold-rgba), 0.12);
}

.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cart-form-row .cart-field {
  flex: 1 1 calc(50% - 0.375rem);
  min-width: 140px;
}

.cart-field-full {
  width: 100%;
}

.cart-field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cart-field-input,
.cart-field-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 60%, transparent) !important;
  background: color-mix(in srgb, var(--bg-overlay) 58%, transparent);
  color: var(--text-primary);
  font-size: 0.84rem;
}

.cart-field-select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) calc(50% + 0.15rem), calc(100% - 0.75rem) calc(50% + 0.15rem);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-inline-end: 2rem;
}

.cart-field-input:focus,
.cart-field-select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--gold) 40%, var(--card-border-subtle));
  box-shadow: 0 0 0 3px rgba(var(--gold-rgba), 0.1);
}

.cart-terms {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.15rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-primary);
  line-height: 1.5;
}

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

.cart-terms-control {
  flex-shrink: 0;
  margin-top: 0.12rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  border: 2px solid var(--gold);
  background: color-mix(in srgb, var(--bg-overlay) 72%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cart-terms-input:checked + .cart-terms-control {
  background: linear-gradient(145deg, var(--gold-dark), var(--gold));
  border-color: var(--gold-light);
  box-shadow: 0 2px 8px rgba(var(--gold-rgba), 0.25);
}

.cart-terms-input:checked + .cart-terms-control::after {
  content: "";
  width: 4px;
  height: 7px;
  margin-bottom: 2px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cart-terms-input:focus-visible + .cart-terms-control {
  outline: 2px solid rgba(var(--gold-rgba), 0.55);
  outline-offset: 2px;
}

.cart-terms:hover .cart-terms-control {
  border-color: var(--gold-light);
}

.cart-terms-text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-terms-text a:hover {
  color: var(--gold);
}

.cart-payment-block {
  margin-top: 0.35rem;
}

.cart-payment-heading {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hero-title-color);
}

.cart-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-pay-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.cart-pay-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cart-pay-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--card-border-subtle) 78%, transparent);
  background: color-mix(in srgb, var(--bg-overlay) 45%, transparent);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cart-pay-option:hover .cart-pay-box {
  border-color: color-mix(in srgb, var(--gold) 28%, var(--card-border-subtle));
}

.cart-pay-radio:checked + .cart-pay-box {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--gold) 7%, transparent);
}

.cart-pay-text {
  font-size: 0.8rem;
  color: var(--text-primary);
  text-align: right;
  line-height: 1.4;
}

.cart-pay-indicator {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--card-border-subtle) 90%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.cart-pay-indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-pay-radio:checked + .cart-pay-box .cart-pay-indicator {
  border-color: var(--gold);
}

.cart-pay-radio:checked + .cart-pay-box .cart-pay-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.cart-totals {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid color-mix(in srgb, var(--card-border-subtle) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.cart-total-row .cart-total-val {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--hero-title-color);
}

.cart-total-amount {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  font-weight: inherit;
}

.cart-total-num {
  font-variant-numeric: tabular-nums;
}

.cart-total-row-grand {
  margin-top: 0.15rem;
  font-weight: 700;
}

.cart-total-row-grand > span:first-of-type {
  color: var(--gold);
}

.cart-total-grand {
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.cart-total-grand .cart-riyal-icon {
  filter: none;
}

/* Full-width checkout using site CTA (cart sidebar) */
.cart-checkout-submit {
  width: 100%;
  max-width: 100%;
  margin-top: 2.5rem;
  margin-inline: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: block;
  text-align: center;
}

.cart-checkout-submit .navbar-cta-btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
}

.cart-checkout-btn {
  width: 100%;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 6px 20px rgba(var(--gold-rgba), 0.22);
}

.cart-checkout-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cart-checkout-btn-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
}

[data-theme="light"] .cart-main,
[data-theme="light"] .cart-sidebar {
  background: var(--bg-card);
  border-color: var(--card-border-subtle);
}

[data-theme="light"] .cart-coupon-input,
[data-theme="light"] .cart-field-input,
[data-theme="light"] .cart-field-select,
[data-theme="light"] .cart-pay-box {
  background: var(--bg-secondary);
}

@media (max-width: 767.98px) {
  .cart-item-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .cart-item-text {
    flex: 1 1 calc(100% - 120px);
    order: 1;
  }

  .cart-item-thumb {
    order: 0;
  }

  .cart-item-qty {
    order: 3;
    margin-inline-start: auto;
  }

  .cart-item-remove {
    order: 2;
  }

  .cart-form-row .cart-field {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .cart-item-row {
    gap: 0.5rem;
  }

  .cart-item-text {
    flex: 1 1 100%;
  }
}




.results-breadcrumb{
  margin-top: 100px !important;
}
@media (max-width: 767px) {
  .results-breadcrumb{
    margin-top: 50px !important;
  }
}

/* Offer details — add-to-cart fly (must live in style.css for RTL pages using this file) */
#addtocart .cart-item::before {
  content: none;
  display: none;
}

.cart-fly-particle {
  position: fixed;
  z-index: 10050;
  left: 0;
  top: 0;
  width: auto;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--gold, #c9a84c);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  transition: none;
  will-change: transform, opacity;
}

#cart.shake {
  animation: offerDetailsShakeCart 0.45s ease-in-out forwards;
}

@keyframes offerDetailsShakeCart {
  25% {
    transform: translateX(6px);
  }
  50% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(2px);
  }
  100% {
    transform: translateX(0);
  }
}

.cart-arrow-icon i {
  transform: rotate(-45deg) !important;
  transition: transform 0.3s ease;
}

.cart-arrow-icon:hover i {
  transform: rotate(45deg) !important;
}






.breadcrumb-section{
  padding: 100px 0 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 767px) {
  .breadcrumb-section{
    padding: 70px 0 30px 0;
  }
}