﻿/* ============================================================
   ROOT VARIABLES – DARK MODE (default)
   ============================================================ */
:root {
  /* Brand — match clinic mockup */
  --color-primary-900: #042a2b;
  --color-accent-gold: #c59d5f;
  --color-text-body: #777777;
  --color-white: #ffffff;
  --color-hero-peach-start: #e8d4bc;
  --color-hero-peach-end: #f5e6d2;
  --clarity-green: var(--color-primary-900);
  --clarity-gold: var(--color-accent-gold);
  /* خلفيات من #D9D9D9 ودرجات الرمادي */
  --bg-primary: #d9d9d9;
  --bg-secondary: #c9c9c9;
  --bg-card: #e4e4e4;
  --bg-overlay: rgba(0, 48, 48, 0.42);
  /* نصوص وألوان أساسية: #003030 و #0F5553 */
  --text-primary: #003030;
  --text-secondary: #0f5553;
  --text-muted: rgba(0, 48, 48, 0.5);
  /* لمسات دافئة: #F7D1A0 → #EBB590 → #B17E5E / #AE7E5E */
  --gold: #f7d1a0;
  --gold-light: #fcefe3;
  --gold-mid: #ebb590;
  --gold-dark: #b17e5e;
  --gold-deep: #ae7e5e;
  --blure: rgba(247, 209, 160, 0.22);
  --blure-border: rgba(235, 181, 144, 0.45);
  --border: rgba(15, 85, 83, 0.22);
  --shadow: 0 8px 40px rgba(0, 48, 48, 0.14);
  --shadow-elevated: 0 22px 48px rgba(0, 48, 48, 0.14);
  --shadow-card: 0 18px 36px rgba(0, 48, 48, 0.12);
  --shadow-gold: 0 4px 24px rgba(247, 209, 160, 0.32);
  --btn-text: #003030;
  --input-bg: #ececec;
  --input-border: rgba(15, 85, 83, 0.28);
  --light-effect-color: #f7d1a0;
  --light-effect-intensity: 0.2;
  --card-bg-start: rgba(255, 255, 255, 0.9);
  --card-bg-end: rgba(217, 217, 217, 0.92);
  --footer-gradient-mid: #1a6b66;
  --hero-deep-teal: #0a4a4a;
  --hero-gradient-mid: #0f4a47;
  --hero-gradient-bronze: #6b5340;
  --overlay-black-light: rgba(0, 0, 0, 0.1);
  --overlay-black-medium: rgba(0, 0, 0, 0.2);
  --article-overlay-top: rgba(4, 42, 43, 0.22);
  --article-overlay-mid: rgba(4, 42, 43, 0.42);
  --article-overlay-end: rgba(4, 42, 43, 0.55);
  --brand-linear-gradient: linear-gradient(
    180deg,
    var(--text-primary) 0%,
    var(--text-secondary) 42%,
    var(--footer-gradient-mid) 58%,
    var(--gold-mid) 88%,
    var(--gold) 100%
  );
  /* Hero landing — deep teal → warm sand (match mockup) */
  --hero-landing-top: #052c2e;
  --hero-landing-mid: #145a52;
  --hero-landing-mid2: #2d6d62;
  --hero-landing-bottom: #d4bc8e;
  --hero-landing-sand-text: #e8d4bc;
  --site-header-height: clamp(4.35rem, 10vw, 5.15rem);
  --card-bg-gradient: linear-gradient(
    145deg,
    var(--card-bg-start),
    var(--card-bg-end)
  );
  --card-border-subtle: rgba(0, 48, 48, 0.08);
  --card-shadow: 0 24px 70px rgba(0, 48, 48, 0.12);
  --gold-rgba: 247, 209, 160;
  --focus-ring: rgba(247, 209, 160, 0.42);
  --btn-icon-bg: rgba(255, 255, 255, 0.95);
}

/* ============================================================
   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;
  user-select: none;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}
.diamond-overlay{
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  /* backdrop-filter: blur(10px); */
  transition: opacity 0.3s ease;
  transition-delay: 0.3s;
  background-color: #0030307d;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.3s ease;
  transition-delay: 0.3s;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0.3s;
}
html:has(body.page-home),
html:has(body.page-login),
html:has(body.page-services),
html:has(body.page-cart),
html:has(body.page-checkout),
html:has(body.page-account) {
  scroll-padding-top: var(--site-header-height);
}

/* body {
  font-family:
    "Noor",
    "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;
} */

body {
  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;
}

html,
body,
button,
input,
select,
textarea {
  font-family:
    /* "Noor", */
    "Cairo",
    "Tajawal",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  font-weight: 400 !important;
  /* text-rendering: geometricPrecision; */
  font-kerning: normal;
  font-optical-sizing: auto;
  font-synthesis: none; 
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

/* Smooth transition – key elements that use CSS variables */
.page-bg,
.footer,
.booking-input-wrap input,
.booking-input-wrap select,
.footer-social a,
#scrollTop {
  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;
  cursor: pointer !important;
}
button {
  cursor: pointer !important;
}
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: #4D8F8C;
  border-radius: 3px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* ============================================================
   BUTTONS
   ============================================================ */

/* ============================================================
   SITE BACKGROUND, GLOBAL LIGHT & SPLASH TEXT ANIMATION
   ============================================================ */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--color-white);
  transition: background-color 0.4s ease;
}
.global-light-wrap {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #fbfffe 20%,
    #f4fffe 45%,
    #daf5f3 75%,
    #89c9c6 100%
  );
  background-color: #f4fbfa;
}

.global-light-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      120% 90% at 50% 18%,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0) 58%
    ),
    radial-gradient(
      ellipse 85% 70% at 92% 88%,
      rgba(77, 143, 140, 0.14) 0%,
      rgba(77, 143, 140, 0) 52%
    ),
    radial-gradient(
      ellipse 80% 65% at 6% 92%,
      rgba(77, 143, 140, 0.12) 0%,
      rgba(30, 74, 74, 0.08) 38%,
      rgba(77, 143, 140, 0) 55%
    ),
    radial-gradient(
      ellipse 55% 45% at 100% 4%,
      rgba(77, 143, 140, 0.1) 0%,
      rgba(77, 143, 140, 0) 48%
    ),
    radial-gradient(
      ellipse 50% 40% at 0% 6%,
      rgba(77, 143, 140, 0.09) 0%,
      rgba(77, 143, 140, 0) 46%
    );
}

.global-light-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    70% 55% at 50% 42%,
    rgba(230, 244, 243, 0.22) 0%,
    transparent 68%
  );
  opacity: 0.95;
  pointer-events: none;
}

.global-light-backdrop::after {
  content: "";
  position: absolute;
  inset: -5%;
  background: radial-gradient(
    65% 50% at 50% 32%,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0) 58%
  );
  mix-blend-mode: soft-light;
  opacity: 0.75;
  pointer-events: none;
}

.global-light-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.global-light-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(36px);
  background: radial-gradient(
    circle,
    rgba(183, 220, 217, 0.55) 0%,
    rgba(132, 187, 184, 0.22) 45%,
    rgba(77, 143, 140, 0) 72%
  );
  box-shadow: 0 0 42px rgba(132, 187, 184, 0.25);
  animation: globalLightOrbDrift 32s ease-in-out infinite,
    globalLightOrbPulse 14s ease-in-out infinite;
  will-change: transform, opacity;
}

.global-light-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0.9 !important;
  background: radial-gradient(
    circle,
    rgba(230, 252, 250, 0.9) 0%,
    rgb(245, 255, 254) 100%
  );
  box-shadow: 0 1px 4px rgba(250, 255, 254, 0.821);
  animation: globalLightDustDrift 24s linear infinite,
    globalLightDustPulse 7s ease-in-out infinite;
  will-change: transform, opacity;
}

.global-light-particle--m {
  width: 3px;
  height: 3px;
  filter: blur(0.3px);
}

.global-light-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.5;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(183, 220, 217, 0.35) 55%,
    transparent 70%
  );
  box-shadow: 0 0 10px rgba(183, 220, 217, 0.4);
  animation: globalLightSparkleDrift 28s ease-in-out infinite,
    globalLightSparkleTwinkle 5.5s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes globalLightOrbDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(4%, -3%) scale(1.05);
  }
  50% {
    transform: translate(-3%, -1.5%) scale(0.96);
  }
  75% {
    transform: translate(-2.5%, 3.5%) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes globalLightOrbPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.42;
  }
}

@keyframes globalLightDustDrift {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(28px, -22px);
  }
  40% {
    transform: translate(-18px, -34px);
  }
  60% {
    transform: translate(-32px, 12px);
  }
  80% {
    transform: translate(14px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes globalLightDustPulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 0.57;
  }
}

@keyframes globalLightSparkleDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(24px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-16px, -28px) rotate(180deg);
  }
  75% {
    transform: translate(-26px, 18px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes globalLightSparkleTwinkle {
  0%,
  100% {
    opacity: 0.5;
    filter: blur(0);
  }
  45% {
    opacity: 0.32;
    filter: blur(0.35px);
  }
  55% {
    opacity: 0.46;
    filter: blur(0);
  }
}

.global-light-wrap--fallback {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f4fbfa 22%,
    #e6f4f3 48%,
    #b8dedb 48%,
    #4d8f8c 100%
  );
}
.global-light-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  opacity: 0.98;
}

@media (max-width: 991.98px) {
  .global-light-wrap canvas {
    opacity: 0.96;
  }
}

@media (max-width: 575.98px) {
  .global-light-wrap canvas {
    opacity: 0.94;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-light-wrap canvas {
    opacity: 0.9;
  }

  .global-light-orb,
  .global-light-sparkle {
    animation: none;
    opacity: 0.5;
  }

  .global-light-particle {
    animation: none;
    opacity: 0.75;
  }
}
body > section {
  position: relative;
  z-index: 1;
}

.hero-char {
  display: inline-block;
  white-space: pre;
}
.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;
  }
}

/* ============================================================
   ABOUT / INTRO SECTION (center card + side ovals)
   ============================================================ */
.about-card-footer {
  margin-left: 0;
}
/* ============================================================
   BOOKING / CONTACT SECTION
   ============================================================ */
.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;
}
.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-input-wrap input:focus,
.booking-input-wrap select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.booking-input-wrap input:focus-visible,
.booking-input-wrap select:focus-visible {
  outline: none;
}

/* Select2 — نفس لوحة الموقع */
.select2-container--default .select2-selection--single {
  background-color: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: 999px !important;
  min-height: 42px !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--text-primary) !important;
  line-height: 40px !important;
  padding-right: 2.5rem !important;
  padding-left: 1.1rem !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 40px !important;
  top: 1px !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: var(--text-secondary) transparent transparent transparent !important;
}
.select2-dropdown {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-card);
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  border-radius: 8px;
}
.select2-container--default .select2-results__option--selectable {
  color: var(--text-primary);
}
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: color-mix(in srgb, var(--gold) 28%, var(--bg-card)) !important;
  color: var(--text-primary) !important;
}

/* ============================================================
   FOOTER — gradient slab، علامة مائية، 4 أعمدة، نص فاتح
   ============================================================ */
.footer {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border-radius: clamp(28px, 5vw, 48px) clamp(28px, 5vw, 48px) 0 0;
  color: rgba(255, 253, 248, 0.94);
  /* background: var(--brand-linear-gradient); */
  background:linear-gradient(to bottom, #003030 0%,#0F5553 30%,#F7D1A0 90%);
  min-height: 70vh !important;
  box-shadow: 0 -12px 40px rgba(0, 48, 48, 0.12);

}

@media (min-width: 992px) {
  .footer {
    min-height: min(60vh, 40rem);
  }
}

/* شاشات صغيرة: زوايا علوية أوضح (التخطيط عبر Bootstrap في HTML) */
@media (max-width: 575.98px) {
  .footer {
    border-radius: clamp(36px, 11vw, 52px) clamp(36px, 11vw, 52px) 0 0;
  }
}

.footer-watermark {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  z-index: 0;
  font-family:  "Cairo", "Tajawal", sans-serif;
  font-size: clamp(2.2rem, 11vw, 7.5rem);
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  user-select: none;
  /* background:linear-gradient(to bottom, #003030 ,#0F5553,#F7D1A0); */
}

.footer-container {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(2.75rem, 6vw, 4.25rem);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.footer-col {
  min-width: 0;
}

.footer-col-brand .footer-logo-wrap {
  margin-bottom: 0.75rem;
}

.footer-brand-link {
  text-decoration: none;
  color: inherit;
}

.footer-brand-logo {
  height: auto;
  width: min(140px, 72vw);
  max-width: 100%;
  max-height: clamp(40px, 8vw, 52px);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand-name-en {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.95);
}

.footer-brand-name-ar {
  font-size: 0.95rem;
  font-weight: 700 !important;
  color: rgba(255, 253, 248, 0.92);
}

.footer-hero-text {
  font-size: clamp(0.85rem, 2.4vw, 0.95rem);
  line-height: 1.75;
  color: rgba(255, 253, 248, 0.88);
  margin: 0 0 clamp(1rem, 3vw, 1.35rem);
  max-width: min(100%, 22rem);
  text-shadow: 0 1px 2px rgba(0, 48, 48, 0.18);
}

.footer-heading {
  color: rgba(255, 253, 248, 0.98);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  text-shadow: 0 1px 2px rgba(0, 48, 48, 0.15);
}

.footer-heading-contact {
  margin-bottom: 1.1rem;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(0.82rem, 2.1vw, 0.9rem);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.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.75rem;
  margin-bottom: 0.65rem;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: clamp(34px, 8vw, 38px);
  height: clamp(34px, 8vw, 38px);
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003030;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(0, 48, 48, 0.12);
}

.footer-contact-text {
  font-size: clamp(0.82rem, 2.1vw, 0.9rem);
  color: rgba(255, 253, 248, 0.92);
  text-shadow: 0 1px 2px rgba(0, 48, 48, 0.12);
  word-break: break-word;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social li {
  margin: 0;
  padding: 0;
}

.footer-social a {
  width: clamp(36px, 9vw, 40px);
  height: clamp(36px, 9vw, 40px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: #fff;
  color: #003030;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 48, 48, 0.12);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 253, 248, 0.95);
  color: #0f5553;
  transform: translateY(-2px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: clamp(1rem, 2.5vw, 1.35rem);
  padding-bottom: calc(clamp(1.5rem, 2.8vw, 2.15rem) + env(safe-area-inset-bottom, 0px));
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  /* border-top: 1px solid rgba(255, 255, 255, 0.22); */
  text-align: center;
  width: 100%;
}

.footer-bottom-text,
.footer-bottom-copy {
  margin: 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: 1rem;
}

.footer-bottom-text span,
.footer-bottom-copy span {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700 !important;
}

@media (max-width: 991px) {
  .footer-col-brand {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 767px) {
  .footer-watermark {
    font-size: clamp(1.6rem, 9vw, 3.5rem);
    white-space: normal;
    text-align: center;
    width: min(100%, 22rem);
    line-height: 1.05;
  }

  .footer-hero-text {
    max-width: none;
  }
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 2.2rem;
  left: 2.2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    #1e4a4a,
    #4d8f8c 30%,
    #84bbb8 80%,
    #b7dcd9 100%
  );
  color: #ffffff;
  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: 0 4px 14px rgba(30, 74, 74, 0.35);
  scale: 1.2;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#scrollTop:hover {
  transform: translateY(-3px) scale(0.95);
}

/* ============================================================
   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);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@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);
  }
}

/* ============================================================
   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;
}
/* ============================================================
   SITE HEADER — Bootstrap navbar (RTL, dark green + gold)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: var(--color-primary-900);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
  opacity: 0;
  transform: translate3d(0, -18px, 0);
  animation: siteHeaderSlideIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;

}

@keyframes siteHeaderSlideIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.site-header--scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  background: color-mix(in srgb, var(--color-primary-900) 92%, #000 8%);
}

/* Home: navbar floats over hero gradient until scroll */
.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
}


.page-home .site-header.site-header--hero-curtain {
  background: color-mix(in srgb, var(--color-primary-900) 94%, #000 6%);
  
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

.page-home .site-header.site-header--scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-navbar {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  transition:
    background-color 0.32s ease,
    border-radius 0.32s ease,
    box-shadow 0.32s ease,
    margin 0.32s ease,
    padding-inline 0.32s ease,
    max-width 0.32s ease;
}

.page-home .site-header.site-header--scrolled .site-navbar {
  max-width: min(96vw, 1300px);
  margin: 0.85rem auto 0;
  padding-inline: clamp(0.65rem, 2vw, 1.2rem);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary-900) 96%, #000 4%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 991.98px) {
  .page-home .site-header.site-header--scrolled .site-navbar {
    max-width: calc(100% - 1rem);
    margin-top: 0.45rem;
    border-radius: 3rem;
    padding-inline: 0.55rem;
  }
}

.site-navbar-brand {
  margin-inline-end: 0;
}

.site-navbar-logo {
  height: auto;
  width: min(120px, 36vw);
  max-height: 44px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(28%) saturate(638%)
    hue-rotate(3deg) brightness(92%) contrast(88%);
}

/* Full-width search strip directly under navbar (no room inside bar) */
.navbar-search-dock {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  width:50rem;
  visibility: hidden;
  pointer-events: none;
  border-block-start: 1px solid transparent;
  transition:
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    visibility 0.28s ease,
    border-color 0.28s ease;
  background: color-mix(in srgb, var(--color-primary-900) 92%, #000 8%);
  box-shadow: inset 0 1px 0 transparent;
  transform: translate(-50% , 50%);

}

.page-home .site-header:not(.site-header--scrolled):not(.site-header--hero-curtain) .navbar-search-dock,
.page-home .site-header.site-header--scrolled .navbar-search-dock {
  background: #133c3c;
  box-shadow: 0 10px 28px rgba(1, 50, 50, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4rem;
  /* padding: 1rem !important; */
  transform: translate(-50% , 10%) !important;
}

.navbar-search-dock.is-open {
  max-height: 8rem;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1035;
  border-block-start-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar-search-dock-inner {
  padding-block: 0.85rem;
}

.navbar-search-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.65rem;
  
}

.navbar-search-field {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  
  
}

.navbar-search-field-icon {
  position: absolute;
  inset-inline-start: 1rem;
  pointer-events: none;
  color: white;
  font-size: 1.1rem;
}

.navbar-search-input {
  width: 100%;
  padding-inline: 2.65rem 1rem;
  padding-block: 0.65rem;
  border: none;
  /* background: var(--input-bg); */
  color: white !important;
  font-size: 1rem;
  background: transparent;
  outline: none;

}

.navbar-search-input:focus {
  /* border-color: var(--color-accent-gold); */
  box-shadow: none;
  outline: none;
  background: transparent;
border:none;
}

.navbar-search-input::placeholder {
  color: white;
  font-weight: 400 !important;
}

.navbar-search-submit {
  flex-shrink: 0;
  padding-inline: 1.35rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  color: var(--color-white);
 background: var(--text-secondary);
  /* box-shadow: var(--shadow-gold); */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.navbar-search-submit:hover {
  transform: translateY(-1px) scale(0.95);
  background: var(--color-primary-900);
  color: var(--color-white);
  /* box-shadow: 0 6px 28px rgba(var(--gold-rgba), 0.45); */
}

.navbar-search-toggle.is-active {
  color: #fff;
  background: rgba(197, 157, 95, 0.35);
  box-shadow: 0 0 0 2px rgba(197, 157, 95, 0.55);
}

@media (max-width: 575.98px) {
  .navbar-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar-search-submit {
    width: 100%;
    padding-block: 0.6rem;
  }
}

.site-navbar .navbar-toggler {
  color: var(--color-white);
}

.site-navbar .navbar-toggler .navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  position: relative;
  color: var(--color-white);
  background-image: none;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.site-navbar .navbar-toggler .navbar-toggler-icon::before,
.site-navbar .navbar-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: calc(50% - 1px);
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease;
}

.site-navbar .navbar-toggler .navbar-toggler-icon::before {
  transform: translateY(-6px);
}

.site-navbar .navbar-toggler .navbar-toggler-icon::after {
  transform: translateY(6px);
}

.site-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-size: 0 0;
}

.site-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translateY(0) rotate(45deg);
}

.site-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: translateY(0) rotate(-45deg);
}

.site-nav-pills .nav-link.nav-pill {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700 !important;
  font-size: 0.92rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #FFFFFF1A;
  /* border: 1px solid color-mix(in srgb, var(--color-white) 12%, transparent); */
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.2s ease,
    border-color 0.25s ease;
}

.site-nav-pills .nav-link.nav-pill:hover {
  color: var(--color-primary-900);
  background: var(--color-white);
}

.site-nav-pills .nav-link.nav-pill.active {
  color: var(--color-primary-900);
  background: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.site-nav-pills .nav-item-has-children {
  position: relative;
  --nav-submenu-bg: color-mix(in srgb, var(--color-primary-900) 92%, transparent);
  --nav-submenu-border: color-mix(in srgb, var(--color-white) 12%, transparent);
  --nav-submenu-link-color: color-mix(in srgb, var(--color-white) 92%, transparent);
  --nav-submenu-link-hover-color: var(--color-white);
  --nav-submenu-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary-900) 24%, transparent);
}

.site-nav-pills .nav-link-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav-pills .nav-menu-arrow {
  font-size: 0.78rem;
  opacity: 1;
  transform: rotate(0deg);
  transition:
    transform 0.2s ease;
}

.site-nav-pills .nav-item-has-children:hover > .nav-link .nav-menu-arrow,
.site-nav-pills .nav-item-has-children.is-open > .nav-link .nav-menu-arrow {
  transform: rotate(90deg);
}

.site-nav-pills .nav-subitem-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav-pills .nav-subitem-has-children:hover > a .nav-menu-arrow,
.site-nav-pills .nav-subitem-has-children.is-open > a .nav-menu-arrow,
.site-nav-pills .nav-subitem-has-children:focus-within > a .nav-menu-arrow {
  transform: rotate(90deg);
}

.site-nav-pills .nav-submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 220px;
  padding: 0.6rem;
  margin: 0;
  border-radius: 0.9rem;
  background: var(--nav-submenu-bg);
  border: 1px solid var(--nav-submenu-border);
  box-shadow: var(--nav-submenu-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 50;
}

.site-nav-pills .nav-submenu li {
  position: relative;
}

.site-nav-pills .nav-submenu a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  color: var(--nav-submenu-link-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav-pills .nav-submenu a:hover {
  color: var(--nav-submenu-link-hover-color);
  background: color-mix(in srgb, var(--bg-primary) 30%, transparent);
}

.site-nav-pills .nav-submenu.nav-submenu-level-2 {
  min-width: 220px;
  padding: 0.6rem;
  margin: 0;
  border-radius: 0.9rem;
  background: var(--nav-submenu-bg);
  border: 1px solid var(--nav-submenu-border);
  box-shadow: var(--nav-submenu-shadow);
  top: -0.1rem;
  right: calc(100% + 0.4rem);
  transform: translateX(8px);
}

.site-nav-pills .nav-item-has-children:hover > .nav-submenu,
.site-nav-pills .nav-item-has-children:focus-within > .nav-submenu,
.site-nav-pills .nav-item-has-children.is-open > .nav-submenu,
.site-nav-pills .nav-submenu li:hover > .nav-submenu,
.site-nav-pills .nav-submenu li.is-open > .nav-submenu,
.site-nav-pills .nav-submenu li:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav-pills .nav-submenu li:hover > .nav-submenu.nav-submenu-level-2,
.site-nav-pills .nav-submenu li.is-open > .nav-submenu.nav-submenu-level-2,
.site-nav-pills .nav-submenu li:focus-within > .nav-submenu.nav-submenu-level-2 {
  transform: translateX(0);
}

.btn-icon-nav {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}

.btn-icon-nav:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.site-navbar-user-dropdown .navbar-user-toggle {
  overflow: hidden;
}

.site-navbar-user-dropdown .navbar-user-toggle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.site-navbar-actions .site-navbar-user-menu {
  position: absolute;
  top: 100%;
  translate: 80% 0px;
  min-width: 12.5rem;
  padding: 0.35rem 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(1, 50, 50, 0.18);
}

.site-navbar-actions .site-navbar-user-menu .dropdown-item {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 400;
}
.site-navbar-actions .site-navbar-user-menu .dropdown-item:hover {
  background-color: rgba(1, 50, 50, 0.09);
  }

.site-navbar-actions .site-navbar-user-menu .dropdown-item:active {
  background-color: rgba(1, 50, 50, 0.1);
}

.btn-cta-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  min-height: 46px;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-primary-900) !important;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    color 0.35s ease;
  --cta-base-bg: #eef2f3;
  --cta-text-base: var(--color-primary-900);
  --cta-fill-bg: var(--color-primary-900);

}

.btn-hero--primary {
  color: var(--color-white) !important;
  background-color: var(--color-primary-900);
  --cta-base-bg: var(--color-primary-900);
  --cta-text-base: var(--color-white);
  --cta-fill-bg: var( --color-white );
  box-shadow: 0px 7px 13px rgba(0, 0, 0, 0.262) ;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.services-btn {
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1;
  min-height: 36px;
  padding: 0.5rem 2rem;
  color: var(--color-white) !important;
  background-color: #006667;
  --cta-base-bg: #006667;
  --cta-text-base: var(--color-white);
  --cta-fill-bg: var( --color-white );
  box-shadow: 0px 7px 13px rgba(14, 81, 81, 0.162) ;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.btn-cta-header:hover {
  /* transform: translateY(-1px); */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);

}



.btn-with-cta-icon .btn-cta-icon {
 position: absolute;
left: -10px;
top: 17%;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 1;
}
.services-btn .btn-cta-icon {
  left: 0px;
  top: 10%;
  font-size: 0.9rem;
}
.btn-cta-icon img {
  display: block;
  width: 100%;
  height: 100%;

}

/* .btn-with-cta-icon .btn-cta-icon--sm {
  width: 34px;
  height: 34px;
} */

.btn-with-cta-icon.w-100 {
  width: 100%;
}

:is(.btn-cta-header, .btn-hero, .btn-about-cta, .btn-section-more, .booking-spot-submit, .offer-card-cta) {
  position: relative;
  isolation: isolate;
  color: var(--cta-text-base, currentColor) !important;
  background-image:
    linear-gradient(var(--cta-fill-bg, var(--color-primary-900)), var(--cta-fill-bg, var(--color-primary-900))),
    linear-gradient(var(--cta-base-bg, transparent), var(--cta-base-bg, transparent));
  background-repeat: no-repeat;
  background-position:
    right top,
    left top;
  background-size:
    0 100%,
    100% 100%;
  transition:
    color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

:is(.btn-cta-header, .btn-hero, .btn-about-cta, .btn-section-more, .booking-spot-submit, .offer-card-cta):hover {
  color: var(--color-white) !important;
  background-size:
    100% 100%,
    100% 100%;
}


@media (max-width: 991.98px) {
  .site-header:has(#mainNav.show),
  .site-header:has(#mainNav.collapsing) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
 
  }

  .site-header:has(#mainNav.show) .site-navbar,
  .site-header:has(#mainNav.collapsing) .site-navbar {
    background: var(--color-primary-900);
    border-radius: 0 0 2rem 2rem;
    margin-top: 0;
    padding-inline: 0.95rem;
    padding-bottom: 0.55rem;
    border: 1px solid color-mix(in srgb, var(--color-white) 16%, transparent);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  }

  .site-navbar-actions {
    margin-inline-start: auto !important;
    
  }

  .site-nav-pills {
    padding-top: 0.8rem;
    padding-inline: 0;
    text-align: start;
    display: grid;
    gap: 0.15rem;
  }

  .site-nav-pills .nav-link.nav-pill {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    margin-bottom: 0;
    padding-block: 0.25rem;
    padding-inline: 0.5rem;
    border-radius: 0.65rem;
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: none;
  }

  .site-nav-pills .nav-link.nav-pill:hover,
  .site-nav-pills .nav-link.nav-pill:focus-visible,
  .site-nav-pills .nav-link.nav-pill.active {
    color: var(--color-white);
    background: color-mix(in srgb, var(--color-white) 12%, transparent);
    border-color: transparent;
    box-shadow: none;
  }

  .site-nav-pills .nav-item-has-children {
    width: 100%;
  }

  .site-nav-pills .nav-item-has-children > .nav-link.nav-pill {
    display: flex;
    width: 100%;
    min-height: 42px;
  }

  .site-nav-pills .nav-link-with-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.45rem;
  }

  .site-nav-pills .nav-menu-arrow {
    font-size: 0.72rem;
  }

  .site-nav-pills .nav-submenu,
  .site-nav-pills .nav-submenu.nav-submenu-level-2 {
    position: static;
    min-width: 100%;
    margin-top: 0.15rem;
    margin-inline-start: 0.35rem;
    padding: 0.1rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    background: var(--color-primary-900);
    border: 1px solid color-mix(in srgb, var(--color-white) 18%, transparent);
    border-radius: 0.6rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.24s ease,
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  .site-nav-pills .nav-item-has-children.is-open > .nav-submenu,
  .site-nav-pills .nav-subitem-has-children.is-open > .nav-submenu.nav-submenu-level-2 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 520px;
  }

  /* أغلق القوائم على الموبايل ما لم تُفتح صراحةً — يمنع تعارض :hover / :focus-within مع قواعد الديسكتوب */
  .site-nav-pills .nav-item-has-children:not(.is-open):hover > .nav-submenu,
  .site-nav-pills .nav-item-has-children:not(.is-open):focus-within > .nav-submenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
  }

  .site-nav-pills .nav-submenu li.nav-subitem-has-children:not(.is-open):hover > .nav-submenu.nav-submenu-level-2,
  .site-nav-pills .nav-submenu li.nav-subitem-has-children:not(.is-open):focus-within > .nav-submenu.nav-submenu-level-2 {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
  }

  .site-nav-pills .nav-submenu a {
    text-align: start;
    width: 100%;
    min-height: 36px;
    padding-inline: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    background: transparent;
  }

  .site-nav-pills .nav-submenu a:hover,
  .site-nav-pills .nav-submenu a:focus-visible {
    color: var(--color-white);
    background: color-mix(in srgb, var(--color-white) 12%, transparent);
  }

  .site-nav-pills .nav-submenu li + li {
    margin-top: 0.05rem;
  }

  .site-nav-pills .nav-submenu.nav-submenu-level-2 {
    margin-top: 0.05rem;
    margin-inline-start: 0.85rem;
    padding-inline-start: 0.35rem;
    border-inline-start: 1px solid color-mix(in srgb, var(--color-white) 30%, transparent);
    border-radius: 0.45rem;
  }
}
.nav-subitem-has-children:hover{
background: color-mix(in srgb, var(--color-primary-900) 40%, transparent);
color: var(--color-white);
}

/* Extra-small phones: hamburger, logo, and action icons on one row */
@media (max-width: 369.98px) {
  .site-navbar > .container-xl,
  .site-navbar > .site-navbar-bar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.25rem;
    padding-inline: 0.45rem !important;
  }

  .site-navbar .navbar-toggler {
    order: 1;
    flex: 0 0 auto;
    align-self: center;
    padding: 0.2rem;
    margin: 0;
  }

  .site-navbar-brand {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    align-self: center;
    margin: 0;
    padding: 0 !important;
  }

  .site-navbar-logo {
    width: min(84px, 24vw);
    max-height: 32px;
  }

  .site-navbar-actions {
    order: 3;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-self: center;
    margin-inline-start: auto !important;
    gap: 0.2rem !important;
  }

  .site-navbar-actions .btn-icon-nav,
  .site-navbar-actions .navbar-icon-cart {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .site-navbar-actions .navbar-cart-count {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    top: -4px;
    left: -4px;
  }

  .site-navbar > .container-xl > #mainNav,
  .site-navbar > .site-navbar-bar > #mainNav {
    order: 10;
    flex: 0 0 100%;
    width: 100%;
  }

  .site-navbar > .container-xl:has(#mainNav.show),
  .site-navbar > .container-xl:has(#mainNav.collapsing),
  .site-navbar > .site-navbar-bar:has(#mainNav.show),
  .site-navbar > .site-navbar-bar:has(#mainNav.collapsing) {
    flex-wrap: wrap !important;
  }
}

/* Small phones: tighten gap between menu toggle and logo */
@media (min-width: 370px) and (max-width: 469.98px) {
  .site-navbar > .container-xl,
  .site-navbar > .site-navbar-bar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    column-gap: 0;
    row-gap: 0;
  }

  .site-navbar .navbar-toggler {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.1rem;
  }

  .site-navbar .navbar-toggler + .site-navbar-brand {
    margin-inline-start: 0;
  }

  .site-navbar-brand,
  .site-navbar .navbar-brand {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-navbar-logo {
    width: min(100px, 22vw);
    max-height: 38px;
  }

  .site-navbar-actions {
    flex: 0 0 auto;
    margin-inline-start: auto !important;
    gap: 0.35rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .site-header,
  .btn-icon-nav,
  .btn-cta-header,
  .site-nav-pills .nav-link.nav-pill {
    transition: none;
  }

  :is(.btn-cta-header, .btn-hero, .btn-about-cta, .btn-section-more, .booking-spot-submit, .offer-card-cta) {
    transition: none;
    background-size:
      0 100%,
      100% 100%;
  }

  :is(.btn-cta-header, .btn-hero, .btn-about-cta, .btn-section-more, .booking-spot-submit, .offer-card-cta):hover {
    transition: none;
    background-size:
      100% 100%,
      100% 100%;
  }
}

/* ============================================================
   HERO — Bootstrap carousel + curved bottom
   ============================================================ */
.text-gold {
  color: var(--color-accent-gold) !important;
}

.site-main {
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* background: var(--hero-landing-top); */
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-right-radius: clamp(3rem, 8vw, 6rem);
  border-bottom-left-radius: clamp( 4rem, 10vw, 7rem);
  /* margin-inline: clamp(0.65rem, 2.2vw, 1.65rem); */
  margin-bottom: clamp(0.35rem, 1.5vw, 1rem);
  box-shadow: none;
}


.page-home .hero-section {
  padding-top: var(--site-header-height);
}

.page-home .hero-section.hero-section--entrance-pending {
  /* Pending state is the dropping hero panel itself */
  background: transparent !important;
  box-shadow:
    none !important;
  transform: none !important;
  animation: none !important;
  will-change: none !important;
}

.page-home .hero-section.hero-section--entrance-done {
  background: var(--hero-landing-top) !important;
  box-shadow: none;
}

@keyframes heroSectionEntranceDrop {
  from {
    transform: translate3d(0, calc(-100% + var(--site-header-height)), 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* Hero — entrance: gradient curtain drops, then content reveals */
.hero-entrance {
  --hero-entrance-curtain-drop: 0.55s;
  --hero-entrance-curtain-fade: 0.22s;
  --hero-entrance-content: 0.45s;
  --hero-entrance-start-offset: 0px;
  --hero-entrance-ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --hero-entrance-ease-in: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: 100%;
  margin-top: calc(-1 * (var(--site-header-height) + var(--hero-entrance-start-offset)));
  padding-top: calc(var(--site-header-height) + var(--hero-entrance-start-offset));
  border-radius: inherit;
  overflow: hidden;
  isolation: isolate;
}

/* أثناء مشهد الدخول بـ GSAP نعطّل transition عشان ما يتصارع مع المحرك */
.hero-entrance--gsap .hero-entrance__curtain {
  transition: none !important;
}

.hero-entrance__curtain {
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: inherit;
  pointer-events: none;
  /* background: linear-gradient(
    180deg,
    var(--hero-landing-top) 0%,
    var(--hero-landing-mid) 34%,
    var(--hero-landing-mid2) 56%,
    var(--hero-landing-bottom) 100%
  ); */
  transform: translate3d(0, -100%, 0);
  will-change: transform;
  transform-origin: top center;
  transition: transform var(--hero-entrance-curtain-drop) var(--hero-entrance-ease-out);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
}

.hero-entrance--ready .hero-entrance__curtain {
  opacity: 1;
  visibility: visible;
  transition: transform var(--hero-entrance-curtain-drop) var(--hero-entrance-ease-out);
}

.hero-entrance--dropped .hero-entrance__curtain {
  transform: translate3d(0, 0, 0);
}

/* بعد اكتمال النزول: لا نرفع الستارة ثانيةً (يُخفى التدرّج هنا بـ fade) لتفادي "تنزل/تطلع/تنزل" */
.hero-entrance--content-visible .hero-entrance__curtain {
  transform: translate3d(0, 0, 0);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--hero-entrance-curtain-fade) ease 0.05s,
    visibility 0s linear calc(var(--hero-entrance-curtain-fade) + 0.05s);
  box-shadow: none;
}

.hero-entrance__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  opacity: 0;
  transform: translate3d(0, 1.1rem, 0) scale(0.99);
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  filter: blur(0);
  transition:
    opacity var(--hero-entrance-content) var(--hero-entrance-ease-in) 0.12s,
    transform var(--hero-entrance-content) var(--hero-entrance-ease-in) 0.1s,
    clip-path var(--hero-entrance-content) var(--hero-entrance-ease-in) 0.15s;
}

.hero-entrance--content-visible .hero-entrance__inner {
  z-index: 25;
  opacity: 1;
  transform: none;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-entrance {
    --hero-entrance-curtain-drop: 0.01s;
    --hero-entrance-curtain-fade: 0.01s;
    --hero-entrance-content: 0.01s;
  }

  .hero-entrance__curtain {
    transform: none !important;
    box-shadow: none;
    transition: none !important;
  }

  .hero-entrance--content-visible .hero-entrance__curtain {
    opacity: 0 !important;
  }

  .hero-entrance__inner {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

#heroCarousel {
  position: relative;
  /* Match rail fill animation to crossfade (see .hero-carousel.carousel-fade) */
  --hero-carousel-fade-duration: 0.95s;
  --hero-carousel-fade-ease: cubic-bezier(0.33, 1, 0.35, 1);
}

.hero-carousel .carousel-inner {
  overflow: visible;
}

.hero-cta-static {
  position: absolute;
  left: 50%;
  bottom: clamp(1.35rem, 4.8vw, 2.6rem);
  transform: translateX(-50%);
  width: 100%;
  z-index: 5;
  margin: 0;
  padding-inline: clamp(0.85rem, 3.2vw, 2.1rem);
  background: transparent;
}

.min-vh-85 {
  min-height: min(85vh, 52rem);
}

.hero-slide {
  position: relative;
  min-height: clamp(34rem, 86vh, 56rem);
  display: flex;
  align-items: stretch;
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding-top: clamp(1.1rem, 3.4vh, 2.4rem);
  padding-bottom: clamp(6.6rem, 16vh, 9.2rem);
  /* background-color: #000; */
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
/* margin-top: -200px !important; */
top: 0px !important;
  background: linear-gradient(
    180deg,
    var(--hero-landing-top) 0%,
    var(--hero-landing-mid) 34%,
    var(--hero-landing-mid2) 56%,
    var(--hero-landing-bottom) 100%
  );
  background-size: cover;
  background-position: center top;
}

.hero-slide-bg--gradient {
  background: linear-gradient(
    165deg,
    var(--color-primary-900) 0%,
    var(--hero-gradient-mid) 35%,
    var(--hero-gradient-bronze) 70%,
    var(--color-hero-peach-start) 100%
  );
}


.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    color-mix(in srgb, var(--color-primary-900) 78%, transparent) 0%,
    color-mix(in srgb, var(--color-primary-900) 38%, transparent) 48%,
    color-mix(in srgb, var(--color-primary-900) 12%, transparent) 100%
  );
  pointer-events: none;
}

.hero-slide-overlay--soft {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary-900) 58%, transparent) 0%,
    color-mix(in srgb, var(--color-primary-900) 22%, transparent) 100%
  );
}

.hero-image-wrap {
  position: absolute;
  /* top: 50%; */
  display: inline-block;
  width: 60% !important;
  height: auto;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  right: auto;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  margin-inline: auto;
  inset-inline-start: 50%;
  transform: translate(50%, -40%) translateZ(0) !important;
}

.hero-face-guides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
}

.hero-face-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: none;
  animation: heroImageZoom 14s ease-in-out infinite alternate;
}

.hero-section .hero-face-img {
  animation: none;
}

@keyframes heroImageZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-title,
.hero-title-alt {
  font-weight: 700 !important;
  line-height: 1.2;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-section .hero-title {
  font-size: clamp(1.45rem, 4.7vw, 3.15rem);
  letter-spacing: 0.01em;
}
@media (max-width: 580px) {
  .hero-title{
    position: absolute;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
top: 20%;

  }
  .hero-title--stack{
    /* background-color: yellow !important; */
position: absolute;
top: 30%;


  }
  .hero-line{
    font-size: 1.5rem !important;
    padding: 0 3px;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

  }

}
@media (max-width: 860px) {
  .hero-title{
    /* background-color: blue; */
    position: absolute;

top: 10%;

  }
  .hero-title--stack{
    /* background-color: yellow !important; */
position: absolute;
top: 20%;


  }
  .hero-line{
    font-size: 2rem;
    /* background-color: red; */

  }

}

.hero-line--accent {
  color: var(--color-white);
}

.hero-line--sand {
  color: var(--gold);
  /* text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); */
}
.hero-line--white {
  color: var(--color-white);
  /* text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); */
}
.hero-title--stack{
  /* background-color: red;   */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-wrap: wrap;
}
.hero-title--stack .hero-line--sand {
  margin-top: 0.12em;
  font-size: 0.92em;
  letter-spacing: 0.02em;
}

.hero-title--split {
  text-align: center;
  width: 100%;
}

.hero-title--split .hero-line {
  margin-bottom: 0;
  text-wrap: wrap !important;
  overflow-wrap: anywhere;
}
.hero-title--split .hero-line--sand{
  margin-bottom: 0;
  text-wrap: nowrap !important;
}

@media (min-width: 992px) {
  .hero-title--split {
    font-size: clamp(1.65rem, 2.8vw, 2.6rem);
    line-height: 1.25;
  }

  .hero-section .hero-title--split {
    font-size: clamp(1.85rem, 4.8vw, 3.35rem);
    line-height: 1.22;
  }

  .hero-title--split .hero-line {
    white-space: nowrap;
  }

  .hero-title.text-lg-start.hero-title--stack {
    align-items: flex-start;
  }

  .hero-title.text-lg-end.hero-title--stack {
    align-items: flex-end;
  }

  /* RTL: flank copy toward center image */
  .hero-col-text--end {
    text-align: end;
  }

  .hero-col-text--start {
    text-align: start;
  }
}

@media (max-width: 991.98px) {
  .hero-title--split .hero-line {
    white-space: normal;
  }
  .hero-title--split .hero-line--sand{
  font-size: 1.5rem;
  }
}

.hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 28rem;
  margin-inline: auto;
}

.hero-copy .hero-lead {
  margin-inline: 0;
}

.btn-hero {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}




.btn-hero--light {
  background: var(--color-white);
  color: var(--color-primary-900) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  --cta-base-bg: var(--color-white);
  --cta-text-base: var(--color-primary-900);
  --cta-fill-bg: var(--color-primary-900);
}

.btn-hero--light:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-carousel.carousel-fade .carousel-item {
  transition: opacity var(--hero-carousel-fade-duration, 1s)
    var(--hero-carousel-fade-ease, cubic-bezier(0.33, 1, 0.35, 1));
}

.carousel-item--text-on-top :is(h1, h2, h3, h4, h5, h6, p, span, a, small, strong, em, li) {
  position: relative;
  z-index: 10;
}

.hero-carousel--is-sliding .hero-carousel-control {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-carousel--is-sliding .hero-side-rail__btn {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-carousel--is-sliding .hero-side-rail__track {
  opacity: 0.92;
  pointer-events: none;
}

.hero-carousel--dragging.hero-carousel--is-sliding .hero-side-rail__track {
  pointer-events: auto;
  opacity: 1;
}

.hero-carousel-indicators {
  bottom: 1.75rem;
  margin-bottom: 0;
  z-index: 3;
}

.hero-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.hero-carousel-indicators .active {
  background: var(--clarity-gold);
  transform: scale(1.25);
}

.hero-carousel-control {
  width: 3rem;
  opacity: 0.85;
  z-index: 3;
}

.hero-carousel-control .carousel-control-prev-icon,
.hero-carousel-control .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.hero-side-rail {
  position: absolute;
  top: 30%;
  right: clamp(0.3rem, 1.5vw, 1rem);
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  pointer-events: auto;
}

.hero-side-rail__btn {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--color-white) 35%, transparent);
  background: color-mix(in srgb, var(--hero-landing-mid2) 88%, transparent);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero-side-rail__btn.next-btn {
  background: var(--color-white);
  color: var(--color-primary-900);
  border-color: color-mix(in srgb, var(--color-white) 92%, var(--hero-landing-mid2) 8%);
}

.hero-side-rail__btn.next-btn:hover {
  background: color-mix(in srgb, var(--color-white) 94%, var(--hero-landing-mid2) 6%);
  color: var(--color-primary-900);
}

@media (max-width: 991.98px) {
  .hero-side-rail__btn {
    border: none;
  }
}

.hero-side-rail__btn.prev-btn:hover {
  background: color-mix(in srgb, var(--hero-landing-mid2) 65%, var(--color-white) 35%);
  color: var(--color-white);
  /* transform: translateY(-1px); */
}

.hero-side-rail__counter {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  min-height: 4.6rem;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--color-white) 85%, transparent);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  padding: 0.1rem 0;
  line-height: 1.2;
}
.hero-side-rail__counter span{
  transform: rotate(270deg);
}
.hero-side-rail__current {
  font-size: 1em;
  color: var(--color-white);
}

.hero-side-rail__track {
  position: relative;
  width: 2.75rem;
  height: 14rem;
  margin-inline: auto;
  flex-shrink: 0;
  touch-action: none;
  user-select: none;
  cursor: grab;
  -webkit-user-select: none;
}

.hero-side-rail__track:active,
#heroCarousel.hero-carousel--dragging .hero-side-rail__track {
  cursor: grabbing;
}

.hero-side-rail__sep {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: color-mix(in srgb, var(--color-white) 28%, transparent);
  border-radius: 2px;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}

.hero-side-rail__sep-fill {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 100%;
  background: var(--color-white);
  transform: scaleY(var(--hero-rail-progress, 0));
  transform-origin: top center;
  transition: transform var(--hero-carousel-fade-duration, 0.95s)
    var(--hero-carousel-fade-ease, cubic-bezier(0.33, 1, 0.35, 1));
  will-change: transform;
  pointer-events: none;
}

#heroCarousel.hero-carousel--instant-progress .hero-side-rail__sep-fill,
#heroCarousel.hero-carousel--dragging .hero-side-rail__sep-fill {
  transition: none;
}

.hero-side-rail__handle {
  position: absolute;
  left: 50%;
  top: calc(var(--hero-rail-progress, 0) * 100%);
  z-index: 2;
  width: 0.7rem;
  height: 1.15rem;
  margin: 0;
  padding: 0;
  border: 2px solid color-mix(in srgb, var(--hero-landing-mid2) 55%, var(--color-white) 45%);
  border-radius: 999px;
  background: var(--color-white);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
  cursor: grab;
  pointer-events: auto;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.hero-side-rail__handle:hover {
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

#heroCarousel.hero-carousel--dragging .hero-side-rail__handle {
  transition: none;
  cursor: grabbing;
}

.hero-side-rail__track:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-white) 75%, transparent);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  #heroCarousel {
    --hero-carousel-fade-duration: 0.35s;
    --hero-carousel-fade-ease: ease-out;
  }

  .hero-side-rail__sep-fill {
    transition: none;
  }

  .hero-anim.hero-anim--play {
    animation-duration: 0.35s;
  }

  .hero-image-wrap.hero-anim.hero-anim--play {
    animation-duration: 0.35s;
  }
}

.hero-side-rail__total {
  opacity: 0.7;
  font-weight: 700 !important;
}

@media (max-width: 575.98px) {
  .hero-cta-static {
    bottom: clamp(0.9rem, 3.7vw, 1.55rem);
    padding-inline: clamp(0.85rem, 3.2vw, 2.1rem);
  }

  .hero-cta-row {
    width: auto;
    gap: clamp(0.6rem, 2.6vw, 1rem) !important;
    background-color: transparent !important;
  }

  .hero-cta-row .btn-hero {
    width: auto;
    min-height: auto;
  }

  .hero-side-rail {
    display: flex;
    top: 50%;
    bottom: auto;
    right: clamp(0.3rem, 1.5vw, 1rem);
    transform: translateY(-50%);
    gap: 0.45rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .hero-side-rail__btn {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.62rem;
  }

  .hero-side-rail__counter {
    gap: 0.9rem;
    min-height: 4.6rem;
    font-size: 0.62rem;
  }

  .hero-side-rail__track {
    width: 2.75rem;
    height: 10rem;
  }

  .hero-side-rail__handle {
    width: 0.7rem;
    height: 1.15rem;
  }
}

@media (max-width: 419.98px) {
  .hero-side-rail {
    top: 50%;
    bottom: auto;
    right: clamp(0.3rem, 1.5vw, 1rem);
    transform: translateY(-50%);
    transform-origin: center;
  }
}

/* Hero caption motion */
.hero-anim {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.hero-anim.hero-anim--play {
  animation: heroFadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-anim-delay-1 {
  animation-delay: 0.22s !important;
}

.hero-image-wrap.hero-anim.hero-anim--play {
  animation: heroFadeInScale 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.965);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-face-img {
    animation: none;
  }

  .hero-anim,
  .hero-anim.hero-anim--play,
  .hero-image-wrap.hero-anim.hero-anim--play {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-carousel-indicators [data-bs-target] {
    transition: none;
  }
}
@media (max-width: 1199px) {
  .hero-slide {
    min-height: clamp(39rem, 92vh, 54rem);
  }
    .hero-image-wrap {
    position: absolute;
    /* top: 50%; */
    display: inline-block;
    width: 80% !important;
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: 100%;
    right: auto;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    margin-inline: auto;
    inset-inline-start: 50%;
    transform: translate(50%, -20%) translateZ(0) !important;
  }
}
@media (max-width: 990px) {
  .hero-slide {
    min-height: clamp(39rem, 92vh, 54rem);
  }

  .hero-slide-inner {
    padding-top: clamp(1.15rem, 3.8vh, 2rem);
    padding-bottom: clamp(6rem, 17vh, 8.4rem);
  }

  .hero-slide-inner .row {
    row-gap: clamp(0.85rem, 2.8vw, 1.4rem);
  }

  .hero-image-wrap {
    position: absolute;
    /* top: 50%; */
    display: inline-block;
    width: 80% !important;
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: 100%;
    right: auto;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    margin-inline: auto;
    inset-inline-start: 50%;
    transform: translate(50%, -20%) translateZ(0) !important;
  }
  

  .hero-cta-static {
    bottom: clamp(0.9rem, 3.7vw, 1.55rem);
  }

  .hero-cta-row {
    gap: clamp(0.6rem, 2.6vw, 1rem) !important;
  }

  .hero-title,
  .hero-title-alt {
    text-align: center;
  }

  .hero-col-text--end,
  .hero-col-text--start {
    text-align: center !important;
  }

  .hero-copy .hero-lead {
    margin-inline: auto;
    text-align: center;
  }

  .hero-title--stack {
    align-items: center;
  }
}

@media (max-width: 767px) {
  .hero-slide {
    min-height: 74vh;
    min-height: 74svh;
  }

  .hero-slide-inner {
    padding-top: clamp(0.75rem, 2.8vh, 1.25rem);
    padding-bottom: clamp(3.2rem, 10vh, 4.6rem);
  }

  .hero-image-wrap {
    position: absolute;
    /* top: 50%; */
    display: inline-block;
    width: 90% !important;
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: 100%;
    right: auto;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    margin-inline: auto;
    inset-inline-start: 50%;
    transform: translate(50%, -10%) translateZ(0) !important;
  }

  .hero-section .hero-title--split {
    font-size: inherit;
    line-height: inherit;
  }

  .hero-cta-static {
    position: absolute;
    left: 50%;
    bottom: clamp(0.65rem, 2.8vh, 1.05rem);
    transform: translateX(-50%);
  }

  .hero-cta-row {
    gap: clamp(0.6rem, 2.6vw, 1rem) !important;
  }

  .btn-hero {
    width: auto;
    justify-content: initial;
  }

  .hero-side-rail__btn {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.65rem;
  }
}

/* ============================================================
   ABOUT — fade-in-up on scroll
   ============================================================ */
.about-section {
  position: relative;
  padding-bottom: clamp(3rem, 8vw, 5rem) !important;
}

.about-inner {
  text-align: start;
}

.about-badge {
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 700 !important;
  color: #AE7E5E;
  background: rgba(197, 156, 95, 0.121);
  border: 1px solid rgba(197, 157, 95, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(5px);
}

.about-heading {
  font-weight: 700 !important;
  font-size: clamp(1.65rem, 3.6vw, 2.45rem);
  color: var(--color-primary-900);
  line-height: 1.3;
}

.about-text {
  font-size: clamp(0.92rem, 2.1vw, 1.02rem);
  line-height: 1.85;
  color: var(--color-primary-900);
  font-weight: 500 !important;
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-about-cta {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: var(--color-primary-900);
  color: var(--color-white) !important;
  border: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  --cta-base-bg: var(--color-primary-900);
  --cta-text-base: var(--color-white);
  --cta-fill-bg: color-mix(in srgb, var(--color-primary-900) 70%, #000 30%);
}

.btn-about-cta:hover {
  /* transform: translateY(-2px) scale(1.02); */
  box-shadow: 0 10px 28px rgba(4, 42, 43, 0.22);
}

.about-section .reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-section .reveal:nth-child(1) {
  transition-delay: 0s;
}
.about-section .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.about-section .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.about-section .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .about-section .reveal,
  .about-section .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-about-cta {
    transition: none;
  }
}

/* ============================================================
   SERVICES SHAPE SECTION — 3x2 rounded cards
   ============================================================ */
.services-shape-section {
  /* background: #f3f3f3; */
  padding-top: clamp(2.25rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem) !important;
}

.services-shape-head {
  max-width: 30rem;
  margin-inline: auto;
}

.services-shape-badge {
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700 !important;
  color: color-mix(in srgb, var(--color-primary-900) 42%, #a78d76 58%);
  background: rgba(197, 157, 95, 0.14);
  border: 1px solid rgba(197, 157, 95, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.services-shape-title {
  color: var(--color-primary-900);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 700 !important;
  line-height: 1.15;
}

.services-shape-grid {
  max-width: 72rem;
  margin-inline: auto;
}

.service-shape-card {
  position: relative;
  display: block;
  height: clamp(14rem, 20vw, 16rem);
  border-radius: 1.2rem;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
  will-change: transform;
}

.service-shape-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 36px rgba(4, 42, 43, 0.12);
}

.service-shape-card--plain {
  background: #ebb5902d;
  border: 1px solid rgba(4, 42, 43, 0.05);
  backdrop-filter: blur(8px);
}

.service-shape-card--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(197, 157, 95, 0.16));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-shape-card--plain:hover {
  border-color: rgba(197, 157, 95, 0.42);
}

.service-shape-card--plain:hover::before {
  opacity: 1;
}

.service-shape-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
  text-align: center;
  padding: 1.2rem;
  position: relative;
  z-index: 1;
}

.service-shape-name {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(1.2rem, 2.4vw, 1.68rem);
  font-weight: 400 !important;
  line-height: 1.15;
}

.service-shape-link {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10px;
  padding: 0.5rem;
  gap: 0.5rem;
  color: #006667;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-shape-link i {
  font-size: 0.88rem;
  transition: transform 0.3s ease;
  /* background-color: #006667; */
 
}

.article-card-link:hover  {
  /* color: var(--color-primary-900) !important; */
  transform: translateX(-5px) !important;
  transition: transform 0.3s ease !important;
}

 .article-card-link:hover .article-card-link i {
  transform: translateX(7px) !important;
  transition: transform 0.3s ease !important;
}

.service-shape-card--image .service-shape-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.45s ease;
  filter: brightness(0.8);
}
.service-shape-card--image:hover .service-shape-bg {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.service-shape-card--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--overlay-black-light) 0%,
    var(--overlay-black-medium) 100%
  );
}



.service-shape-overlay-title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-white);
  font-size: clamp(1.2rem, 2.4vw, 1.68rem);
  font-weight: 400 !important;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  transition: transform 0.35s ease, letter-spacing 0.35s ease;
}

.service-shape-card--image:hover .service-shape-overlay-title {
  transform: translateY(-4px);
  letter-spacing: 0.4px;
}

.services-shape-section .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.98);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-shape-section .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.services-shape-grid > [class*="col-"] .reveal {
  transition-delay: 0s;
}

.services-shape-grid > [class*="col-"]:nth-child(1) .reveal,
.services-shape-grid > [class*="col-"]:nth-child(2) .reveal {
  transition-delay: 0.04s;
}

.services-shape-grid > [class*="col-"]:nth-child(3) .reveal,
.services-shape-grid > [class*="col-"]:nth-child(4) .reveal {
  transition-delay: 0.1s;
}

.services-shape-grid > [class*="col-"]:nth-child(5) .reveal,
.services-shape-grid > [class*="col-"]:nth-child(6) .reveal {
  transition-delay: 0.16s;
}

@media (max-width: 1199.98px) {
  .service-shape-card {
    height: clamp(8rem, 24vw, 10.5rem);
  }
}

@media (max-width: 767.98px) {
  .service-shape-card {
    height: 10.2rem;
    border-radius: 1rem;
  }

  .service-shape-content {
    gap: 1rem;
  }

  .service-shape-link {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-shape-card,
  .service-shape-card:hover,
  .service-shape-card--image .service-shape-bg,
  .service-shape-card--image:hover .service-shape-bg,
  .services-shape-section .reveal,
  .services-shape-section .reveal.visible {
    transition: none !important;
    transform: none !important;
    opacity: 1;
  }

  .services-shape-grid > [class*="col-"] .reveal {
    transition-delay: 0s !important;
  }
}

/* ============================================================
   SERVICES PAGE — grid cards (services.html)
   Overlay gradient uses Bootstrap --bs-dark-rgb; layout uses BS grid/utilities.
   ============================================================ */
.services-grid-page {
  padding-top: clamp(2rem, 5vw, 4rem) !important;
  padding-bottom: clamp(3rem, 7vw, 5rem) !important;
}

.services-grid-page__title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700 !important;
  line-height: 1.2;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.services-grid-page__row {
  max-width: 75rem;
  margin-inline: auto;
}

.services-grid-card {
  --services-grid-hover-bg: #faf7f0;
  --services-grid-cta: #0f5553;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 11.5rem;
  border-radius: 1.35rem;
  overflow: hidden;
  background-color: var(--services-grid-hover-bg);
  box-shadow: 0 4px 24px rgba(4, 42, 43, 0.08);
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-grid-card:hover,
.services-grid-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(4, 42, 43, 0.14);
}

.services-grid-card:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 3px;
}

.services-grid-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.services-grid-card:hover .services-grid-card__media,
.services-grid-card:focus-visible .services-grid-card__media {
  opacity: 0;
  pointer-events: none;
}

.services-grid-card__img {
  display: block;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}

.services-grid-card:hover .services-grid-card__img,
.services-grid-card:focus-visible .services-grid-card__img {
  transform: scale(1.06);
}

/* Dark legibility overlay — tied to Bootstrap dark palette */
.services-grid-card__shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(var(--bs-dark-rgb), 0.12) 0%,
    rgba(var(--bs-dark-rgb), 0.38) 45%,
    rgba(var(--bs-dark-rgb), 0.62) 100%
  );
  transition: opacity 0.4s ease;
}

.services-grid-card:hover .services-grid-card__shade,
.services-grid-card:focus-visible .services-grid-card__shade {
  opacity: 0;
}

.services-grid-card__body {
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.services-grid-card__label {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 400 !important;
  line-height: 1.35;
  color: var(--color-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  transition:
    color 0.35s ease,
    text-shadow 0.35s ease;
}

.services-grid-card:hover .services-grid-card__label,
.services-grid-card:focus-visible .services-grid-card__label {
  color: #1f1f1f;
  text-shadow: none;
}

.services-grid-card__more {
  position: absolute;
  bottom: 1rem;
  right: 37%;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700 !important;
  color: var(--services-grid-cta);
  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease;
}

.services-grid-card:hover .services-grid-card__more,
.services-grid-card:focus-visible .services-grid-card__more {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.services-grid-card__more-icon {
  font-size: 0.82rem;
  transition: transform 0.3s ease;
}

.services-grid-card:hover .services-grid-card__more-icon,
.services-grid-card:focus-visible .services-grid-card__more-icon {
  transform: translateX(-3px);
}

@media (max-width: 575.98px) {
  .services-grid-card {
    min-height: 10.25rem;
    border-radius: 1.1rem;
  }

  .services-grid-card__shade.rounded-4,
  .services-grid-card__body.rounded-4 {
    border-radius: 1.1rem !important;
  }

  .services-grid-card__more {
    font-size: 0.85rem;
    bottom: 0.75rem;
    right: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-grid-card,
  .services-grid-card:hover,
  .services-grid-card__media,
  .services-grid-card:hover .services-grid-card__media,
  .services-grid-card__img,
  .services-grid-card:hover .services-grid-card__img,
  .services-grid-card__shade,
  .services-grid-card__label,
  .services-grid-card__more,
  .services-grid-card__more-icon {
    transition: none !important;
    transform: none !important;
  }

  .services-grid-card:hover .services-grid-card__media,
  .services-grid-card:focus-visible .services-grid-card__media {
    opacity: 1;
  }

  .services-grid-card:hover .services-grid-card__shade,
  .services-grid-card:focus-visible .services-grid-card__shade {
    opacity: 1;
  }

  .services-grid-card:hover .services-grid-card__label,
  .services-grid-card:focus-visible .services-grid-card__label {
    color: var(--color-white);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  }

  .services-grid-card:hover .services-grid-card__more,
  .services-grid-card:focus-visible .services-grid-card__more {
    opacity: 0;
    visibility: hidden;
  }
}

/* ============================================================
   OFFERS + TEAM SECTIONS
   ============================================================ */

.booking-spot-section {
  padding-top: clamp(2.4rem, 6vw, 4rem) !important;
  padding-bottom: clamp(2.8rem, 6vw, 4.8rem) !important;
}

.section-head {
  max-width: 28rem;
  margin-inline: auto;
}


.section-head-title {
  color: var(--color-primary-900);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700 !important;
  line-height: 1.15;
}

.page-breadcrumb-nav {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.page-breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  direction: rtl;
  padding: 0.45rem 1.35rem;
  background: #fdfaf6;
  border: 1px solid #e8dfd2;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b59a7c;
  line-height: 1.4;
}

.page-breadcrumb-pill a {
  color: inherit;
  text-decoration: none;
  
}

.page-breadcrumb-pill a:hover {
  color: #927452;
  transform: scale(0.95);
  transition: all 0.1s ease;
}

.page-breadcrumb-sep {
  opacity: 0.85;
  user-select: none;
}

.page-breadcrumb-current {
  font-weight: 600;
}

/* Offers */
.offers-grid {
  max-width: 74rem;
  margin-inline: auto;
}

.offer-card {
  /* background: #ffffff; */
  border-radius: 1.05rem;
  /* border: 1px solid rgba(4, 42, 43, 0.06); */
  /* box-shadow: 0 6px 16px rgba(4, 42, 43, 0.08); */
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}



.offer-card-media {
  /* aspect-ratio: 1.65 / 1;   */
  height: 250px;
  width: 100%;
  border-radius:2rem;
  overflow: hidden;
}

.offer-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card-body {
  padding: 1.1rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, #fdefe6 ,#fdefe6);
  border: 1px solid rgba(4, 42, 43, 0.08); 
  /* backdrop-filter: blur(8px); */
  position: absolute;
  /* transform: translate(-10%, -40%); */
  border-radius: 1.1rem;
  width:85%;
  margin-inline: auto;
  border:1px solid #b17e5e1f;
  font-weight: 400 !important;
}


.offer-card-text {
  margin: 0;
  color: #35504f;
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: center;
  min-height: 2.2em;
  font-weight: 400 !important;
}

.offer-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.offer-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  background: #006667;
  --cta-base-bg: #0f7b7b;
  --cta-text-base: #ffffff;
  --cta-fill-bg: #0b6767;
  padding: 0.7rem;
  justify-content: space-between;
  font-weight: 400 !important;
  font-size: 0.8rem !important;
}




.offer-card-price {
  color: var(--color-primary-900);
  font-size: 1rem;
  line-height: 1;
  font-weight: 700 !important;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 400 !important;
}

/* Offers listing page — center cards & meta on small viewports */
@media (max-width: 767.98px) {
  .offers-section .offers-slider-wrapper .row > [class*="col-"],
  .offers-section #offersInfiniteSlider > [class*="col-"] {
    display: flex;
    justify-content: center;
  }

  .offers-section .offers-slider-wrapper .offers-slider-slide,
  .offers-section #offersInfiniteSlider .offers-slider-slide {
    width: 100%;
    max-width: min(22.5rem, 100%);
    margin-inline: auto;
  }

  .offers-section .offer-card-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .offers-section .offer-card-meta .services-btn {
    flex-shrink: 0;
  }
}

/* Drag-only infinite offers slider */
.offers-slider-wrapper {
  --offers-slide-gap: clamp(0.85rem, 2vw, 1.1rem);
  position: relative;
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  overflow: hidden;
  padding-block: 0.35rem 2.4rem;
}

.offers-slider-viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
  direction: ltr;
  touch-action: pan-y;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Soft cloud shapes flanking the track (decorative only) */


/* Fade inner edge so clouds frame the track without hiding card content */
/* .offers-slider-viewport::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(4rem, 15vw, 8.25rem);
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(ellipse 100% 58% at 50% 100%,#fff 0%, #fff),
    radial-gradient(circle at 16% 54%, #fff 0%, #fff),
    radial-gradient(circle at 48% 40%,  #fff  0%,  #fff),
    radial-gradient(circle at 84% 56%,  #fff  0%,  #fff);

  animation: offers-slider-edge-breathe-right 10s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 28%, transparent 92%);
  mask-image: linear-gradient(to right, #000 0%, #000 28%, transparent 92%);
} */
/* 
.offers-slider-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(4rem, 15vw, 8.25rem);
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(ellipse 100% 58% at 50% 100%,#fff 0%, white),
    radial-gradient(circle at 16% 54%, #fff 0%, #fff),
    radial-gradient(circle at 48% 40%,  #fff  0%, white),
    radial-gradient(circle at 84% 56%,  #fff  0%, #fff);

  animation: offers-slider-edge-breathe-left 10s ease-in-out infinite;
  right: clamp(-0.5rem, -2vw, 0rem);
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 28%, transparent 92%);
  mask-image: linear-gradient(to left, #000 0%, #000 28%, transparent 92%);
} */

/* Cloud edges start tucked inward, ease outward to rest, then return inward */
@keyframes offers-slider-edge-breathe-left {
  0%,
  100% {
    translate: clamp(0.2rem, 1.2vw, 0.65rem) 0;
  }
  50% {
    translate: 0 0;
  }
}

@keyframes offers-slider-edge-breathe-right {
  0%,
  100% {
    translate: clamp(-0.65rem, -1.2vw, -0.2rem) 0;
  }
  50% {
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offers-slider-viewport::before,
  .offers-slider-viewport::after {
    animation: none;
  }
}

.offers-slider-viewport.is-dragging {
  cursor: grabbing;
}

.offers-slider-track {
  display: flex;
  align-items: stretch;
  gap: var(--offers-slide-gap);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.offers-slider-slide {
  direction: rtl;
  display: flex;
  flex: 0 0 min(82vw, 21.5rem);
  max-width: 21.5rem;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
}

.offers-slider-slide .offer-card {
  position: relative;
  width: 100%;
  min-height: 21.8rem;
  border: 0;
  background: transparent;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
  will-change: transform;
  
}

.offers-slider-slide .offer-card:hover .offer-card-image{
  transform: translate3d(0, -2px, 0) scale(1.1);
  /* duration: 0.32s cubic-bezier(0.22, 1, 0.36, 1); */
  transition: all 0.32s ease;
}

.offers-slider-viewport.is-dragging .offer-card {
  transform: translate3d(0, -2px, 0) scale(0.985);
}

.offers-slider-slide .offer-card-media {
  height: clamp(13.5rem, 28vw, 15.625rem);
  transform: translate3d(0, 0, 0);
}

.offers-slider-slide .offer-card-image {
  pointer-events: none;
  transform: translate3d(var(--offers-parallax, 0px), 0, 0) scale(1.035);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.offers-slider-viewport.is-dragging .offer-card-image {
  transition-duration: 0.08s;
}

.offers-slider-slide .offer-card-body {
  left: 50%;
  right: auto;
  bottom: 0.8rem;
  transform: translate3d(-50%, 0, 0);
  z-index: 1;
}


@media (max-width: 780px) {
  .offers-slider-slide .offer-card-body {
    transform: translate3d(-50%, 0%, 0);
    z-index: 1;
  }
  .offers-slider-slide .offer-card {
    min-height: 18.8rem;
  }
}
.offers-slider-viewport.is-dragging,
.offers-slider-viewport.is-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

body.offers-slider-no-select {
  user-select: none;
  -webkit-user-select: none;
}

.offers-slider-viewport a {
  cursor: grab !important;
  -webkit-user-drag: none;
}

.offers-slider-viewport.is-dragging a {
  cursor: grabbing !important;
}

@media (min-width: 576px) {
  .offers-slider-slide {
    flex-basis: clamp(19rem, 48vw, 22.5rem);
    max-width: 22.5rem;
  }
}

@media (min-width: 768px) {
  .offers-slider-slide {
    flex-basis: calc((100% - var(--offers-slide-gap)) / 2);
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .offers-slider-slide {
    flex-basis: calc((100% - var(--offers-slide-gap) - var(--offers-slide-gap)) / 3);
  }
}

/* ——— Offers listing: RTL pagination (teal pills + numbered circles) ——— */
.offers-pagination {
  --offers-pgn-teal: #002b2b;
  --offers-pgn-mint: #d5e5e5;
  --offers-pgn-ring: rgba(0, 43, 43, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 2.5vw, 0.85rem);
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.25rem;
  padding-inline: 0.5rem;
  font-family: "Tajawal", "Cairo", system-ui, sans-serif;
}

.offers-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 2vw, 0.65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.offers-pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: var(--offers-pgn-teal);
  background: #fff;
  border: 1px solid var(--offers-pgn-ring);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.offers-pagination-page:hover {
  border-color: color-mix(in srgb, var(--offers-pgn-teal) 22%, transparent);
  transform: translateY(-1px);
}

.offers-pagination-page.is-active {
  background: var(--offers-pgn-mint);
  border-color: transparent;
  color: var(--offers-pgn-teal);
  pointer-events: none;
}

.offers-pagination-page:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--offers-pgn-teal) 45%, transparent);
  outline-offset: 3px;
}



.offers-pagination-btn {
  /* color: var(--offers-pgn-teal); */
  background: transparent !important;
  border: 1px solid var(--offers-pgn-teal);
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.offers-pagination-btn:hover {
  border: 1px solid var(--offers-pgn-teal);
  box-shadow: none;
  transform: translateY(-1px);
}

.offers-pagination-pill--next {
  color: #fff;
  background: var(--offers-pgn-teal);
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(0, 43, 43, 0.28);
}

.offers-pagination-pill--next:hover {
  box-shadow: 0 12px 26px rgba(0, 43, 43, 0.34);
  transform: translateY(-1px);
}

.offers-pagination-pill:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold-mid) 70%, var(--offers-pgn-teal) 30%);
  outline-offset: 3px;
}

.offers-pagination-gem {
  position: absolute;
  left: -0.55rem;
  top: 50%;
  z-index: 1;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 43, 43, 0.2));
}

.offers-pagination-gem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Shared drag/infinite slider behavior for sections that keep their own cards */
.team-slider-wrapper,
.articles-drag-slider-wrapper {
  --drag-slide-gap: clamp(0.75rem, 2vw, 1.15rem);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.team-slider-wrapper {
  max-width: 74rem;
  margin-inline: auto;
  padding-block: 0.25rem 0.75rem;
}

.articles-drag-slider-wrapper {
  max-width: 100%;
  padding-block: 0.25rem 0.9rem;
}

.team-slider-wrapper::before,
.team-slider-wrapper::after,
.articles-drag-slider-wrapper::before,
.articles-drag-slider-wrapper::after {
  display: none;
}

.drag-infinite-viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
  direction: ltr;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.drag-infinite-viewport.is-dragging {
  cursor: grabbing;
}

.drag-infinite-track {
  display: flex;
  align-items: stretch;
  gap: var(--drag-slide-gap);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  padding-top:4.5rem;
  padding-bottom:1.5rem;
}

.drag-infinite-slide {
  direction: rtl;
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
}

.drag-infinite-slide img,
.drag-infinite-slide a {
  -webkit-user-drag: none;
}

.drag-infinite-viewport a {
  cursor: pointer !important;
}

.drag-infinite-viewport.is-dragging a {
  cursor: grabbing !important;
}

.drag-infinite-viewport.is-dragging,
.drag-infinite-viewport.is-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

.team-slider-slide {
  width: min(82vw, 19.5rem);
}

.team-slider-slide .doctor-card {
  flex: 1;
  width: 100%;
  min-height: clamp(22rem, 66vw, 26.25rem) !important;
}

/* Keep doctor cards visible inside the infinite slider track. */
.team-slider-track .doctor-card.reveal,
.team-slider-track .doctor-card.reveal.visible {
  opacity: 1;
  transform: none;
}

.articles-drag-slide {
  width: clamp(16.75rem, 82vw, 21.5rem);
}

.articles-drag-slide .article-card {
  flex: 1;
  width: 100%;
}

@media (min-width: 576px) {
  .team-slider-slide {
    width: clamp(16.75rem, 43vw, 19.5rem);
  }

  .articles-drag-slide {
    width: clamp(17.5rem, 52vw, 22.5rem);
  }
}

@media (min-width: 768px) {
  .team-slider-slide {
    width: calc((100% - var(--drag-slide-gap) * 2) / 3);
  }

  .articles-drag-slide {
    width: clamp(18rem, 38vw, 24rem);
  }
}

@media (min-width: 992px) {
  .team-slider-slide {
    width: calc((100% - var(--drag-slide-gap) - var(--drag-slide-gap)) / 3);
  }
}

@media (min-width: 1200px) {
  .team-slider-slide {
    width: calc((100% - var(--drag-slide-gap) - var(--drag-slide-gap) - var(--drag-slide-gap)) / 4);
  }

  .articles-drag-slide {
    width: clamp(18.5rem, 26vw, 25.5rem);
  }
}

/* Articles / blogs listing — center cards on small viewports (Bootstrap row only; not index drag track) */
@media (max-width: 767.98px) {
  .articles-section #articlesCarouselTrack.row {
    justify-content: center;
  }

  .articles-section #articlesCarouselTrack.row > .articles-drag-slide {
    margin-inline: auto;
    width: min(22.5rem, 100%);
    max-width: 100%;
  }
}


.btn-section-more {
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary-900);
  color: var(--color-white) !important;
  padding: 0.48rem 1.15rem 0.48rem 0.85rem;
  box-shadow: 0 7px 20px rgba(4, 42, 43, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  --cta-base-bg: var(--color-primary-900);
  --cta-text-base: var(--color-white);
  --cta-fill-bg: color-mix(in srgb, var(--color-primary-900) 70%, #000 30%);
}

.btn-section-more:hover {
  /* transform: translateY(-2px); */
  box-shadow: 0 10px 24px rgba(4, 42, 43, 0.22);
}

/* Team */
.team-grid {
  max-width: 74rem;
  margin-inline: auto;
}

.doctor-card {
  border-radius: 9rem 9rem 2rem 8rem;
  background:
    radial-gradient(
      circle at 29% 45%,
      #F7D1A0 0%,
      rgba(247, 209, 160, 0.34) 44%,
      rgba(247, 209, 160, 0) 74%
    ),
    #005050;
  /* overflow: hidden; */
  color: #fff;
  min-height: 315px !important;
  padding: 0.2rem;
  /* box-shadow: 0 12px 24px rgba(4, 42, 43, 0.12); */
  position: relative;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* .doctor-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.08) 36%,
    rgba(255, 255, 255, 0) 62%
  );
  transform: translateX(-26%) rotate(10deg);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
} */
.doctor-card:hover {
  /* transform: translateY(-6px) scale(1.01); */
  /* box-shadow: 0 20px 36px rgba(4, 42, 43, 0.2); */
  transition:
    opacity 0.35s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.doctor-card:hover::before {
  opacity: 1;
  transform: translateX(18%) rotate(10deg);
}

.doctor-card-photo-wrap {
  padding: 0.8rem 0.8rem 0;
  border-radius: 44.5%;
}

.doctor-card-photo {
  /* width: 275px; */
  aspect-ratio: 1 / 1.02;
  border-radius: 44.5%;
  z-index:10;
  object-fit: cover;
  height: 280px !important;
  object-position: center top;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
  /* border: 6px solid color-mix(in srgb, var(--text-secondary) 62%, #ffffff 38%); */
}

.doctor-card:hover .doctor-card-photo {
  transform: scale(1.03);
  filter: saturate(1.07) contrast(1.04);
}

.doctor-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  /* background-color: #005050; */
  height: 170px !important;
  padding: 3rem 0.6rem 0.9rem;
  position: relative;
  z-index: 1000 !important;
  
  /* background-color: red !important; */
}

.doctor-card-name {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  position: absolute;
  transform: translate(0%, -70%);
  text-align: center;
  z-index: 900;
  height: 40%;
}

.doctor-card-role {
  margin: 0.24rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  line-height: 1.5;
  position: absolute;
transform: translate(0%, -45%);
  text-align: center;
  z-index: 900;
  height: 20%;
  font-weight: 400 !important;
}

.team-section .about-badge.reveal.visible {
  animation: team-badge-float 2.8s ease-in-out 0.7s infinite alternate;
}

.team-grid > [class*="col-"] .doctor-card.reveal {
  transition-delay: 0ms;
  --team-enter-delay: 0ms;
}

.team-section .doctor-card.reveal.visible {
  animation: team-card-enter 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--team-enter-delay, 0ms);
}

.team-grid > [class*="col-"]:nth-child(1) .doctor-card.reveal {
  transition-delay: 60ms;
  --team-enter-delay: 60ms;
}

.team-grid > [class*="col-"]:nth-child(2) .doctor-card.reveal {
  transition-delay: 140ms;
  --team-enter-delay: 140ms;
}

.team-grid > [class*="col-"]:nth-child(3) .doctor-card.reveal {
  transition-delay: 220ms;
  --team-enter-delay: 220ms;
}

.team-grid > [class*="col-"]:nth-child(4) .doctor-card.reveal {
  transition-delay: 300ms;
  --team-enter-delay: 300ms;
}



@keyframes team-badge-float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-4px);
  }
}

@keyframes team-cta-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes team-card-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Articles — horizontal carousel (same pattern as offers slider) */
.articles-slider-outer {
  position: relative;
  margin-inline: calc(-1 * clamp(0.45rem, 1.8vw, 1.15rem));
  padding-inline: clamp(0.45rem, 1.8vw, 1.15rem);
}

.offers-wrap.offers-carousel {
  width: 100%;
  max-width: 100%;
}

/* Infinite loop variant: JS moves track with translate3d + appended clones */
.offers-carousel[data-offers-loop] .offers-carousel-viewport {
  overflow: hidden;
  scroll-snap-type: none;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: auto;
  overscroll-behavior-x: auto;
  cursor: default;
}

.offers-carousel[data-offers-loop] .offers-carousel-track {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.offers-carousel[data-offers-loop] .offers-carousel-track.no-transition {
  transition: none !important;
}

.offers-carousel[data-offers-loop] .offers-carousel-cell {
  scroll-snap-align: none;
}

@media (prefers-reduced-motion: reduce) {
  .offers-carousel[data-offers-loop] .offers-carousel-track {
    transition: none;
  }
}

.offers-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(0.4rem, 1.5vw, 0.85rem);
  padding-block: 0.25rem 0.75rem;
  margin-inline: auto;
  max-width: 100%;
  outline: none;
  direction: ltr;
  touch-action: pan-x;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  overscroll-behavior-x: contain;
}

.offers-carousel-viewport:focus-visible {
  box-shadow: 0 0 0 2px rgba(14, 122, 114, 0.35);
  border-radius: 0.75rem;
}

.offers-carousel-viewport::-webkit-scrollbar {
  height: 0;
  width: 0;
  display: none;
}

.offers-carousel-track {
  display: flex;
  align-items: stretch;
  gap: clamp(0.7rem, 1.9vw, 1.1rem);
  padding-inline: clamp(0.2rem, 0.8vw, 0.45rem);
  width: max-content;
  min-height: 1px;
}

.offers-carousel-cell {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
}

.articles-section .offers-carousel-cell {
  width: clamp(16.75rem, 82vw, 21.5rem);
}

.articles-section .offers-carousel-cell .article-card {
  flex: 1;
  width: 100%;
}

@media (min-width: 576px) {
  .articles-section .offers-carousel-cell {
    width: clamp(17.5rem, 52vw, 22.5rem);
  }
}

@media (min-width: 768px) {
  .articles-section .offers-carousel-cell {
    width: clamp(18rem, 38vw, 24rem);
  }
}

@media (min-width: 1200px) {
  .articles-section .offers-carousel-cell {
    width: clamp(18.5rem, 26vw, 25.5rem);
  }
}

.articles-section .offers-carousel-cell[data-articles-index="1"] .reveal.visible {
  transition-delay: 0.05s;
}

.articles-section .offers-carousel-cell[data-articles-index="2"] .reveal.visible {
  transition-delay: 0.12s;
}

.articles-section .offers-carousel-cell[data-articles-index="3"] .reveal.visible {
  transition-delay: 0.19s;
}

.articles-section .offers-carousel-cell[data-articles-index="4"] .reveal.visible {
  transition-delay: 0.26s;
}

.offers-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.offers-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(4, 42, 43, 0.12);
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-primary-900, #0a2a26);
  box-shadow: 0 4px 14px rgba(4, 42, 43, 0.08);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.offers-nav-btn:hover {
  background: #006667;
  color: #ffffff;
  border-color: #006667;
  box-shadow: 0 6px 18px rgba(0, 102, 103, 0.25);
}

.offers-nav-btn:active {
  transform: scale(0.96);
}

.article-card-meta-sep {
  padding-inline: 0.28rem;
  opacity: 0.65;
}

.article-card {
  background: #b17e5e1b;
  border: 1px solid rgba(109, 141, 68, 0.134);
  border-radius: 1.1rem 1.1rem 0.6rem 3.1rem;
  overflow: hidden;
  /* box-shadow: 0 8px 22px rgba(4, 42, 43, 0.06); */
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 14px 28px rgba(4, 42, 43, 0.1); */
}

.article-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.1rem 1.1rem 0 0;
  cursor: pointer !important;
}

.article-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--article-overlay-top) 0%,
    var(--article-overlay-mid) 72%,
    var(--article-overlay-end) 100%
  );
}

.article-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-card-image {
  transform: scale(1.04);
}
.article-card:hover .article-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--article-overlay-top) 0%,
    transparent 72%,
    transparent 100%
  );
  transition: background 0.6s ease;
}

.article-card-title-overlay {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
  font-weight: 400 !important;
  line-height: 1.15;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.article-card-body {
  background: #FFFAF5;
  padding: 0.72rem 0.95rem 0.88rem;
  direction: rtl;
  padding-bottom: 1.1rem;
}

.article-card-meta {
  margin: 0;
  color: #7e8987;
  font-size: 0.66rem;
  line-height: 1.2;
  font-weight: 400 !important;
}

.article-card-text {
  margin: 0;
  color: #34504f;
  font-size: 0.74rem;
  line-height: 1.4;
  font-weight: 400 !important;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0e7a72;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer !important;
}

.article-card-link i {
  font-size: 0.85rem;
  cursor: pointer !important;
}

.article-card-media:hover .article-card-link {
  color: var(--color-primary-900) !important;
  transform: translateX(-4px);
}

.service-shape-card--plain:hover .service-shape-link i , .article-card-media:hover .article-card-link i {
  transform: translateX(-2px) !important;
}

/* Booking spot section (center card) */
.booking-spot-wrap {
  width: min(100%, 29rem);
  margin-inline: auto;
  background: #f4f1ed;
  border: 1px solid rgba(4, 42, 43, 0.08);
  border-radius: 1.4rem;
  padding: clamp(1.25rem, 2.8vw, 1.85rem) clamp(1rem, 2.6vw, 1.45rem);
  box-shadow: 0 10px 26px rgba(4, 42, 43, 0.07);
}

.booking-spot-badge {
  font-size: 0.69rem;
  line-height: 1;
  font-weight: 700 !important;
  color: color-mix(in srgb, var(--color-primary-900) 38%, #a78d76 62%);
  background: rgba(197, 157, 95, 0.14);
  border: 1px solid rgba(197, 157, 95, 0.2);
  border-radius: 999px;
  padding: 0.33rem 0.85rem;
}

.booking-spot-title {
  color: var(--color-primary-900);
  font-size: clamp(2.15rem, 3.9vw, 3.35rem);
  font-weight: 700 !important;
  line-height: 1.06;
}

.booking-spot-form {
  max-width: 100%;
}

.booking-spot-section .booking-spot-wrap,
.booking-spot-section .booking-spot-form,
.booking-spot-section .booking-spot-reveal-track {
  overflow: visible;
}

.booking-spot-section .booking-spot-field.reveal {
  overflow: visible;
}

.booking-spot-section .booking-spot-field {
  position: relative;
  z-index: 1;
}

.booking-spot-section .booking-spot-field--select:focus-within {
  z-index: 20;
}

.booking-spot-section .booking-spot-submit-wrap {
  position: relative;
  z-index: 0;
  margin-top: 0.35rem;
}

.booking-spot-form .booking-spot-select.form-control {
  display: block;
  width: 100%;
  min-height: 2.45rem;
  height: auto;
  padding-block: 0.5rem;
  padding-inline: 0.85rem 2rem;
  line-height: 1.35;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e7677' d='M1.4.6 6 5.2 10.6.6 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  background-size: 12px 8px;
}

[dir="ltr"] .booking-spot-form .booking-spot-select.form-control {
  padding-inline: 2rem 0.85rem;
  background-position: right 0.85rem center;
}

.booking-spot-field .form-label {
  margin-bottom: 0.35rem;
  color: #6e7677;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700 !important;
  display: inline-block;
}

.booking-spot-input.form-control {
  height: 2.45rem;
  border-radius: 0.8rem !important;
  border: 1px solid #dde2e2;
  background: #f3f3f2;
  color: #223434;
  font-size: 0.77rem;
  padding-inline: 0.85rem;
  box-shadow: none;
}

.booking-spot-input.form-control::placeholder {
  color: #a2abad;
}

.booking-spot-input.form-control:focus {
  border-color: #b8caca;
  box-shadow: 0 0 0 0.12rem rgba(4, 42, 43, 0.08);
  background: #f7f7f6;
}

.booking-spot-submit {
  border-radius: 999px;
  border: none;
  height: 2.55rem;
  background: var(--color-primary-900);
  color: var(--color-white) !important;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(4, 42, 43, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  --cta-base-bg: var(--color-primary-900);
  --cta-text-base: var(--color-white);
  --cta-fill-bg: color-mix(in srgb, var(--color-primary-900) 70%, #000 30%);
}

.booking-spot-submit:hover {
  /* transform: translateY(-2px); */
  box-shadow: 0 14px 28px rgba(4, 42, 43, 0.25);
}

.offers-section .reveal,
.team-section .reveal,
.articles-section .reveal,
.booking-spot-section .reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.offers-section .reveal.visible,
.team-section .reveal.visible,
.articles-section .reveal.visible,
.booking-spot-section .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1199.98px) {
  .doctor-card {
    border-radius: 11rem 11rem 2rem 10rem;
    min-height: 360px !important;
  }

  .doctor-card-name {
    font-size: 1.06rem;
  }
}



@media (max-width: 788px) {
  .team-grid {
    max-width: 22.5rem;
  }


  .doctor-card {
    border-radius: 11.5rem 11.5rem 2rem 10.5rem;
    min-height: auto !important;
    text-align: center;

  }
  .doctor-card  .doctor-card-photo-wrap{
margin-inline: auto;

width: auto;

  }
  .doctor-card  .doctor-card-photo-wrap img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .doctor-card  .doctor-card-name{
    transform: translate(0%, -50%);
    font-size: 1.5rem;
    height: 40%;
  }
.doctor-card  .doctor-card-role{
  transform: translate(0%, -50%);
  font-size: 1rem;
  height: 20%;
}

}

@media (max-width: 520px) {


  .doctor-card {
    border-radius: 11.5rem 11.5rem 10.5rem 2rem;
    min-height: auto !important;
    text-align: center;
transform: scale(0.85);
  }
 
}

/* doctors.html — viewports < md (xs + sm): tight spacing, content starts near top for reveal, centered cards */
@media (max-width: 767.98px) {
  body.page-doctors .team-section {
    padding-top: 0.6rem !important;
    padding-bottom: 0.9rem !important;
  }

  body.page-doctors .team-section .page-breadcrumb-nav {
    margin-top: 0.45rem !important;
    margin-bottom: 0.2rem !important;
  }

  body.page-doctors .team-section .section-head.text-center {
    margin-bottom: 0.45rem !important;
  }

  body.page-doctors .team-slider-wrapper {
    padding-block: 0.05rem 0.25rem;
  }

  body.page-doctors .team-section .offers-page {
    padding-top: 0 !important;
    row-gap: 0.3rem !important;
    justify-content: center;
    --bs-gutter-x: 0.45rem;
    --bs-gutter-y: 0.25rem;
  }

  body.page-doctors .team-section .offers-page > .team-slider-slide {
    margin-inline: auto;
    width: min(19.5rem, calc(100% - 0.5rem));
    max-width: 100%;
  }

  body.page-doctors .team-section .offers-pagination {
    margin-top: 0.45rem !important;
    padding-inline: 0.35rem;
    gap: 0.3rem;
  }

  body.page-doctors .team-section .reveal {
    transform: translate3d(0, 8px, 0);
    transition:
      opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.page-doctors .team-section .reveal.visible {
    transform: translate3d(0, 0, 0);
  }

  body.page-doctors .team-section .doctor-card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card,
  .offer-card:hover,
  .doctor-card,
  .doctor-card:hover,
  .doctor-card::before,
  .doctor-card:hover::before,
  .doctor-card-photo,
  .doctor-card:hover .doctor-card-photo,
  .btn-section-more,
  .btn-section-more:hover,

  .offers-section .reveal,
  .offers-section .reveal.visible,

  .articles-section .reveal,
  .articles-section .reveal.visible,
  .booking-spot-section .reveal,
  .booking-spot-section .reveal.visible,
  .article-card,
  .article-card:hover,
  .article-card-image,
  .article-card:hover .article-card-image,
  .booking-spot-submit,
  .booking-spot-submit:hover {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .offers-carousel-viewport {
    scroll-snap-type: none;
  }

  .articles-section .offers-carousel-cell .reveal.visible {
    transition-delay: 0s;
  }
}

/* Global form radius */
input,
select,
textarea {
  border-radius: 8px !important;
}



.hero-side-rail__btn.prev-btn{
  background: #006667;
  color: #fff;
  border: none;
  border-radius: 3rem 3rem 0 0;
  width: 2rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.hero-side-rail__btn.prev-btn:hover {
  background: #0a2a26;
  color: #fff;
}

.hero-side-rail__btn.next-btn{
  background: #ffffff;
  color: #006667;
  border: none;
  border-radius: 0 0 3rem 3rem;
  width: 2rem;
  height: 3rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-side-rail__btn.next-btn:hover {
  background: #0a2a26;
  color: #fff;
}




.hero-image-wrap {
  z-index: 10 !important;
}

.hero-line--white{
  position: relative;
  z-index: 1000 !important;
}

@media (max-width: 520px) {
  .hero-line--white{
    font-size: 1.7rem;
  }
}

.btn-hero--primary:hover {
  color: var(--color-primary-900) !important;
}
.services-btn:hover {
  color: #006667 !important;
}


.about-btn{
  max-width: 10rem;
}

@media (max-width: 767px) {
  .about-btn{
    margin-inline: auto;
  }
}

/* Force 700 weight on all textual UI elements */
:where(
  h1, h2, h3, h4, h5, h6,
  p, span, a, li, small, strong, em, label,
  button, input, select, textarea,
  th, td, blockquote, figcaption, legend
) {
  font-weight: 700 !important;
}

/* ============================================================
   TESTIMONIALS — ثقة عملائنا (Bootstrap carousel)
   ============================================================ */
.testimonials-section {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
  padding-block-start: clamp(2rem, 5vw, 3.5rem) !important;
  padding-block-end: clamp(2rem, 5vw, 3.5rem) !important;
}

.testimonials-section .reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials-section .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.testimonials-outer {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding: clamp(1.35rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2.75rem)
    clamp(1.65rem, 5vw, 2.85rem);
    backdrop-filter: blur(2px);
  background-color: #FFFAF5;
  border-radius: clamp(1.45rem, 3vw, 2.25rem);
  border: 1px solid rgba(177, 126, 94, 0.14);
  position: relative;
  overflow: hidden;
  /* box-shadow: 0 12px 42px rgba(4, 42, 43, 0.05); */
}

.testimonials-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(235, 181, 144, 0.38), transparent 62%),
    radial-gradient(circle at 12% 50%, rgba(235, 181, 144, 0.16), transparent 55%),
    radial-gradient(circle at 88% 50%, rgba(235, 181, 144, 0.16), transparent 55%);
  pointer-events: none;
}

.testimonials-outer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

.testimonials-carousel {
  position: relative;
  z-index: 1;
  --testimonials-spin-duration: 0.72s;
  --testimonials-spin-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials-carousel--pointer-nav.testimonials-carousel {
  cursor: grab;
}

.testimonials-carousel--pointer-nav.testimonials-carousel.testimonials-carousel--dragging {
  cursor: grabbing;
  user-select: none;
}

.testimonials-carousel--pointer-nav .carousel-indicators.carousel-indicators button {
  cursor: pointer;
}

.testimonials-carousel-inner {
  overflow: visible;
}

.testimonials-carousel-view {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  padding: clamp(0.85rem, 3vw, 1.85rem) 0 clamp(0.5rem, 2vw, 1rem);
  overflow: visible;
  perspective: 900px;
}

.testimonials-carousel-view--single {
  min-height: clamp(15rem, 34vw, 18.5rem);
}

.testimonials-carousel-view article {
  text-align: center;
}

.testimonials-card {
  background: #ffffff;
  border: 1px solid rgba(197, 156, 95, 0.28);
  border-radius: clamp(1.15rem, 2.8vw, 1.65rem);
  /* box-shadow: 0 14px 40px rgba(4, 42, 43, 0.05); */
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(0.85rem, 2vw, 1.2rem)
    clamp(1rem, 2.6vw, 1.35rem);
  flex: 1 1 0;

  max-width: 26rem !important;
  transition:
    transform var(--testimonials-spin-duration) var(--testimonials-spin-ease),
    opacity var(--testimonials-spin-duration) var(--testimonials-spin-ease),
    border-color 0.3s ease;
  will-change: transform, opacity;
  

}
.testimonials-quote {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
font-weight: 400 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  
}
.testimonials-card--center {
  z-index: 2;
  flex: 1.15 1 0;
  /* max-width: 22.75rem !important; */
  /* transform: translateY(12rem); */
  /* border-color: rgba(197, 156, 95, 0.127); */
  /* box-shadow:
    0 20px 50px rgba(4, 42, 43, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset; */
  padding-inline: clamp(1.1rem, 3vw, 1.65rem);
  padding-block: clamp(1.2rem, 3.2vw, 1.7rem);
  margin-top: -2rem;
}
@media (max-width: 790.98px) {
  .testimonials-card--center {
    margin-top: 2rem;
  }
}

.testimonials-card--peek {
  flex: 1 1 0;
  max-width: 12.85rem;

  opacity: 1;
  cursor: pointer;
  background-color: transparent !important;
}

.testimonials-card--peek:is(:hover, :focus-visible) {
  opacity: 1;
  background-color: #ffffffb0 !important;
  transition: all 0.3s ease;
  border-color: rgba(197, 157, 95, 0.55);
  outline: none;
}



.testimonials-card--peek-end {
  transform-origin: bottom center;
  transform: translateX(16%) rotate(13deg) scale(0.9);
}

.testimonials-carousel-view.is-animating-next .testimonials-card--center {
  animation: testimonials-center-from-end var(--testimonials-spin-duration)
    var(--testimonials-spin-ease) both;
}

.testimonials-carousel-view.is-animating-prev .testimonials-card--center {
  animation: testimonials-center-from-start var(--testimonials-spin-duration)
    var(--testimonials-spin-ease) both;
}

.testimonials-carousel-view.is-animating-next .testimonials-card--peek-start {
  animation: testimonials-peek-start-next var(--testimonials-spin-duration)
    var(--testimonials-spin-ease) both;
}

.testimonials-carousel-view.is-animating-next .testimonials-card--peek-end {
  animation: testimonials-peek-end-next var(--testimonials-spin-duration)
    var(--testimonials-spin-ease) both;
}

.testimonials-carousel-view.is-animating-prev .testimonials-card--peek-start {
  animation: testimonials-peek-start-prev var(--testimonials-spin-duration)
    var(--testimonials-spin-ease) both;
}

.testimonials-carousel-view.is-animating-prev .testimonials-card--peek-end {
  animation: testimonials-peek-end-prev var(--testimonials-spin-duration)
    var(--testimonials-spin-ease) both;
}

.testimonials-card--center.is-active {
  border-color: rgba(197, 157, 95, 0.32);
 
}
.testimonials-card--center.is-active .testimonials-avatar-top {
  position:absolute;
 /* transform-origin: center center; */
 transform: translate(-7.9rem, -100%) !important;
 /* border: 1px solid rgba(255, 255, 255, 0.98) !important ; */
}


.testimonials-card--peek-start{
  min-width: clamp(10rem, 18vw, 300px);
  height: auto !important;
    transform-origin: bottom center;
    transform: translateX(-16%) rotate(-13deg) scale(0.9);
}
.testimonials-card--peek-end{
  min-width: clamp(10rem, 18vw, 300px);
  height: auto !important;
   
}
.testimonials-card--peek-start .testimonials-avatar-top {
  transform: translate(-6.5rem, -100%) !important;
  position:absolute;
  filter: brightness(0.8) !important;
}
.testimonials-card--peek-end .testimonials-avatar-top {
  transform: translate(-6.3rem, -100%) !important;
  position:absolute;
  filter: brightness(0.8) !important;
}
@media (max-width: 520px) {
  
}

@keyframes testimonials-center-from-end {
  from {
    opacity: 0.58;
    transform: translateX(44%) rotate(9deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(-2px) rotate(0deg) scale(1);
  }
}

@keyframes testimonials-center-from-start {
  from {
    opacity: 0.58;
    transform: translateX(-44%) rotate(-9deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(-2px) rotate(0deg) scale(1);
  }
}

@keyframes testimonials-peek-start-next {
  from {
    opacity: 0.2;
    transform: translateX(30%) rotate(30deg) scale(1.1);
  }

  to {
    opacity: 1;
    transform: translateX(-16%) rotate(-13deg) scale(0.9);
  }
}

@keyframes testimonials-peek-end-next {
  from {
    opacity: 0.2;
    transform: translateX(72%) rotate(24deg) scale(0.6);
  }

  to {
    opacity: 1;
    transform: translateX(16%) rotate(13deg) scale(0.9);
  }
}

@keyframes testimonials-peek-start-prev {
  from {
    opacity: 0.2;
    transform: translateX(-52%) rotate(-22deg) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateX(-16%) rotate(-13deg) scale(1);
  }
}

@keyframes testimonials-peek-end-prev {
  from {
    opacity: 0.56;
    transform: translateX(72%) rotate(24deg) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateX(16%) rotate(13deg) scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-carousel {
    --testimonials-spin-duration: 0.25s;
  }

  .testimonials-carousel-view.is-animating-next .testimonials-card--center,
  .testimonials-carousel-view.is-animating-prev .testimonials-card--center,
  .testimonials-carousel-view.is-animating-next .testimonials-card--peek-start,
  .testimonials-carousel-view.is-animating-next .testimonials-card--peek-end,
  .testimonials-carousel-view.is-animating-prev .testimonials-card--peek-start,
  .testimonials-carousel-view.is-animating-prev .testimonials-card--peek-end {
    animation: none;
  }

  .testimonials-card--peek-start,
  .testimonials-card--peek-end {
    transform: scale(0.92);
    opacity: 0.62;
  }
}

.testimonials-avatar-top {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(0.85rem, 2.3vw, 1.05rem);

}

.testimonials-card--center .testimonials-avatar-top {
  margin-bottom: clamp(0.95rem, 2.5vw, 1.25rem);
}

.testimonials-avatar-top .testimonials-avatar {
  width: clamp(64px, 15vw, 76px);
  height: clamp(64px, 15vw, 76px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  /* border: 1px solid rgba(255, 255, 255, 0.98); */
  box-shadow:
    0 4px 14px rgba(4, 42, 43, 0.1),
    0 0 0 1px rgba(177, 126, 94, 0.12);
}

.testimonials-card--center .testimonials-avatar-top .testimonials-avatar {
  width: clamp(74px, 17vw, 88px);
  height: clamp(74px, 17vw, 88px);
  /* border-width: 5px; */
  border: 1px solid rgba(255, 255, 255, 0.64) !important ;  
}

.testimonials-quote {
  margin: 0;
  color: rgba(4, 42, 43, 0.72);
  line-height: 1.92;
  font-size: clamp(0.84rem, 2.1vw, 0.95rem);
  font-weight: 400 !important;
}

.testimonials-quote--center {
  font-size: clamp(0.9rem, 2.2vw, 1.04rem);
  color: rgba(4, 42, 43, 0.78);
  line-height: 1.94;
}

.testimonials-diamond-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  margin: clamp(0.65rem, 2vw, 0.85rem) 0 clamp(0.75rem, 2.2vw, 1rem);
  flex-wrap: wrap;
}

.testimonials-diamond {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1px;
  flex-shrink: 0;

}

.testimonials-person-meta-block {
  margin-top: 0;
}

.testimonials-person-name {
  color: rgb(15, 85, 83);
  font-size: clamp(0.98rem, 2.35vw, 1.06rem);
  line-height: 1.35;
}

.testimonials-person-role {
  margin-top: 0.28rem;
  font-size: clamp(0.76rem, 1.95vw, 0.82rem);
  color: rgba(4, 42, 43, 0.55);
}

.testimonials-person-role--accent {
  color: #ae7e5e;
}

/* Bootstrap carousel dots — mimic pill active */
.testimonials-carousel-indicators.carousel-indicators {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  margin-block-start: clamp(0.75rem, 2.8vw, 1.35rem);
  padding: 0;
  width: auto;
  justify-content: center;
  gap: 0.45rem;
  z-index: 3;
}

.testimonials-carousel-indicators.carousel-indicators button {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin: 0;
  border: none;
  background-color: rgba(235, 181, 144, 0.55);
  opacity: 1;
  text-indent: -9999px;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

.testimonials-carousel-indicators.carousel-indicators button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.testimonials-carousel-indicators.carousel-indicators button.active {
  width: 2.1rem;
  height: 10px;
  border-radius: 999px;
  background-color: rgba(161, 112, 78, 0.95);
}

@media (max-width: 991.98px) {
  .testimonials-carousel-view {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.25rem;
  }

  .testimonials-card--peek,
  .testimonials-card--center {
    max-width: 22.5rem;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
  }

  .testimonials-card--peek {
    display: none;
  }

  .testimonials-outer::after {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .testimonials-carousel-indicators {
    margin-top: 0.5rem;
  }
}

/* ─── 
===============================================

Login page (RTL card)

===============================================
─── */


.login-page-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--site-header-height, 72px) - 8rem);
  padding: clamp(1.25rem, 4vw, 2rem) clamp(0.75rem, 4vw, 1rem)
    clamp(2.5rem, 6vw, 4rem);
  position: relative;
  z-index: 2;
  margin-top: clamp(4.5rem, 12vw, 9rem);
  margin-inline: auto;
}

.login-card {
  background-color: #fffaf5;
  border: 1px solid #b17e5e65;
  /* Fluid shape on small/medium viewports; exact radii from 992px up */
  border-radius:
    clamp(1.75rem, 5.5vw, 5rem) clamp(1.75rem, 5.5vw, 5rem)
    clamp(0.5rem, 2vw, 1.25rem) clamp(2.75rem, 22vw, 10.75rem);
  padding: clamp(2.25rem, 6vw, 5rem) clamp(1rem, 3.5vw, 2rem);
  color: #333333;
  width: 100%;
  min-width: 0;
  box-shadow: none;
}

.login-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.5rem;
  line-height: 1.45;
  color: #333333;
}

.login-title-brand {
  color: #006667;
}

.login-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #999999;
  margin: 0 0 1.75rem;
}

.login-form {
  margin: 0;
}

.login-field {
  margin-bottom: 1.25rem;
}

.login-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.45rem;
  text-align: right;
}

.login-required {
  color: #c62828;
}

.login-input {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #333333;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 3rem !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.login-input::placeholder {
  color: #aaaaaa;
  font-size: 0.8rem;
}

.login-input:focus {
  outline: none;
  /* border-color: rgba(46, 77, 0, 0.35); */
  box-shadow: 0 0 7px 3px rgba(98, 164, 0, 0.08);
}

.login-password-wrap {
  position: relative;
}

.login-input--password {
  padding-inline-end: 3rem;
}

.login-toggle-password {
  position: absolute;
  inset-inline-end: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #666666;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.login-toggle-password:hover {
  color: #004d4d;
  background: rgba(0, 77, 77, 0.06);
  border-radius: 3rem !important;
}

.login-row-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  margin-top: -0.15rem;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #333333;
  cursor: pointer;
  margin: 0;
}

.login-checkbox {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #004d4d;
  cursor: pointer;
}

.login-link-forgot {
  font-size: 0.9rem;
  font-weight: 600;
  color: #006667;
  text-decoration: none;
  white-space: nowrap;
}

.login-link-forgot:hover {
  text-decoration: underline;
}

.login-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0.65rem 2.5rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #004d4d;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 0.35rem 1rem rgba(0, 77, 77, 0.25);
}

.login-btn-submit:hover {
  background-color: #003d3d;
}

.login-btn-submit:active {
  transform: scale(0.99);
}

.login-btn-icon {
  font-size: 0.95rem;
  opacity: 0.95;
}

.login-signup-footer {
  text-align: center;
  font-size: 0.95rem;
  color: #999999;
  margin: 0;
  margin-top: 1.5rem;
}

.login-link-signup {
  font-weight: 700;
  color: #004d4d;
  text-decoration: underline;
}

.login-link-signup:hover {
  text-decoration: none;
  
}

/* Sign-up — phone with country prefix (LTR block inside RTL form) */
.login-field--phone {
  margin-bottom: 1.25rem;
}

.login-phone-input-wrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  direction: ltr;
  width: 100%;
  min-height: calc(0.7rem * 2 + 1rem * 1.5);
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 3rem;
  overflow: hidden;
  /* box-shadow: 0 0.2rem 0.85rem rgba(0, 0, 0, 0.06); */
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.login-phone-input-wrap:focus-within {
  outline: none;
  border-color: rgba(0, 102, 103, 0.25);
  box-shadow:
    0 0.2rem 0.85rem rgba(0, 0, 0, 0.06),
    0 0 0 3px rgba(98, 164, 0, 0.08);
}

.login-phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.65rem 0.35rem 0.85rem;
  border: none;
  /* border-inline-end: 1px solid #f0f0f0; */
  background: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6d6d6d;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-phone-prefix:hover {
  color: #3a3a3a;
}

.login-phone-prefix:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(0, 102, 103, 0.35);
  z-index: 1;
}

/* Sign-up — Select2 dial code (replaces .login-phone-prefix button) */
.login-phone-prefix-select {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

select.signup-dial-select2 {
  width: 10.25rem;
  min-width: 10.25rem;
}

.login-phone-prefix-select .select2-container {
  align-self: stretch;
  min-height: 100%;
  direction: ltr;
}

.login-phone-prefix-select .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0.35rem 0.65rem 0.35rem 0.85rem;
  border: none;
  border-radius: 0;
  border-inline-end: 1px solid #f0f0f0;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  max-width: 8rem;
}

.login-phone-prefix-select
  .select2-container--default
  .select2-selection--single:hover
  .select2-selection__rendered {
  color: #3a3a3a;
  
}

.login-phone-prefix-select
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  padding: 0 !important;
  margin: 0;
  width: 100%;
  min-width: 0;
  line-height: 1.2;
  color: #6d6d6d;
  font-size: 0.9rem;
  font-weight: 500;
  overflow: visible !important;
  text-overflow: clip !important;

}

.login-phone-prefix-select
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none;
  
}

.login-phone-prefix-select
  .select2-container--default.select2-container--open
  .select2-selection--single {
  border: none;
  
}

.login-phone-prefix-select
  .select2-container--default.select2-container--focus
  .select2-selection--single {
  border: none;
  outline: none;
  
}

.signup-dial-select2-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  width: 100%;
}

.signup-dial-select2-line--compact {
  gap: 0.45rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: flex-start;
}

.signup-dial-select2-line--compact .login-phone-code {
  flex-shrink: 0;
}

.signup-dial-select2-line--result {
  flex-wrap: nowrap;
  gap: 0.5rem;
 
}

.signup-dial-select2-line--result .signup-dial-select2-name {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.signup-dial-select2-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a3a3a;
}

.signup-dial-select2-dropdown.select2-dropdown {
  min-width: 12.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
  direction: rtl;
  text-align: right;
}

/* تمرير القائمة داخل المنسدلة (وليس الصفحة) أثناء الـ hover — مع Lenis */
.signup-dial-select2-dropdown .select2-results__options {
  max-height: min(42vh, 11.5rem) !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.signup-dial-select2-dropdown .select2-results__option--selectable {
  padding: 0.5rem 0.65rem;
}

.login-phone-flag--emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1.35rem;
  line-height: 1;
}

.login-phone-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.login-phone-flag-img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.login-phone-code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: #6d6d6d;
  font-weight: 500;
}

.login-phone-caret {
  display: block;
  width: 0;
  height: 0;
  margin-inline-start: 0.1rem;
  border-left: 0.28rem solid transparent;
  border-right: 0.28rem solid transparent;
  border-top: 0.38rem solid #006667;
  flex-shrink: 0;
}

.login-input--phone {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: right;
}

.login-input--phone:focus {
  box-shadow: none !important;
}

.login-row-options--signup {
  justify-content: flex-start;
}

.page-signup .login-remember .login-link-signup {
  font-weight: 700;
}

.login-field--error .login-label {
  color: #c62828;
}

.login-input--error {
  border-color: rgba(198, 40, 40, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}

.login-field-error-msg {
  font-size: 0.8rem;
  color: #c62828;
  margin: 0.35rem 0 0;
  text-align: right;
  line-height: 1.35;
}

.login-form-alert {
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.4;
}

.login-form-alert--error {
  color: #7f1d1d;
  background: rgba(198, 40, 40, 0.1);
  border: 1px solid rgba(198, 40, 40, 0.25);
}

.login-form-alert--success {
  color: #0d4d3d;
  background: rgba(0, 77, 77, 0.08);
  border: 1px solid rgba(0, 77, 77, 0.2);
}

.login-submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

/* ─── صفحة انضم لفريق العمل: Select2 بنفس أسلوب حقول تسجيل الدخول + منطقة السيرة ─── */
.page-join-team .login-field .select2-container {
  width: 100% !important;
}

.page-join-team .select2-container--default .select2-selection--single {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 3rem !important;
  min-height: calc(0.7rem * 2 + 1rem * 1.5) !important;
}

.page-join-team
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #333333 !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  line-height: 2.75rem !important;
  padding-right: 2.5rem !important;
  padding-left: 1rem !important;
}

.page-join-team
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 2.75rem !important;
}

.page-join-team
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: #333333 transparent transparent transparent !important;
}

.page-join-team .select2-results__option {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
}

.page-join-team
  .select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #aaaaaa !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
}

.page-join-team .select2-container .select2-selection.login-input--error {
  border-color: rgba(198, 40, 40, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}

.login-textarea {
  border-radius: 1.25rem !important;
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}

.join-cv-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border: 1px dashed rgba(0, 102, 103, 0.35);
  border-radius: 1.25rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.join-cv-upload:hover {
  border-color: rgba(0, 102, 103, 0.55);
  background: rgba(0, 102, 103, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 102, 103, 0.08);
}

.join-cv-upload--drag {
  border-style: solid;
  border-color: #006667;
  background: rgba(0, 102, 103, 0.06);
}

.join-cv-upload--has-file {
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.12);
}

.join-cv-upload--error {
  border-color: rgba(198, 40, 40, 0.65);
  background: rgba(198, 40, 40, 0.04);
}

.join-cv-upload__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 103, 0.12);
  color: #006667;
  font-size: 1.35rem;
}

.join-cv-upload__body {
  flex: 1 1 12rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
}

.join-cv-upload__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
}

.join-cv-upload__filename {
  font-size: 0.82rem;
  color: #888888;
  word-break: break-word;
}

.join-cv-upload--has-file .join-cv-upload__filename {
  color: #006667;
  font-weight: 600;
}

.join-cv-upload__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  background: #006667;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.join-cv-upload__btn:hover {
  background: #004d4d;
}

.join-cv-upload__btn:focus-visible {
  outline: 2px solid #006667;
  outline-offset: 2px;
}

.join-cv-upload__btn:active {
  transform: scale(0.98);
}

.join-cv-hint {
  font-size: 0.78rem;
  color: #999999;
  margin: 0.4rem 0 0;
  text-align: right;
}

/* Large screens: match original layout and card shape */
@media (min-width: 992px) {
  .login-page-wrap {
    margin-top: 9rem;
    padding: 2rem 1rem 4rem;
  }

  .login-card {
    border-radius: 80px 80px 20px 172px;
    padding: 5rem 2rem;
  }
}

@media (max-width: 575.98px) {
  .login-row-options {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .login-link-forgot {
    white-space: normal;
    text-align: start;
    align-self: start;
  }
  .login-input::placeholder {
font-size: 0.8rem;
  }
}

/* ─── Terms & Conditions (terms&conditions.html) — cream card, RTL ─── */
html:has(body.page-terms) {
  scroll-padding-top: var(--site-header-height);
}

.page-terms .global-light-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-terms .page-bg {
  background-color: #ffffff;
}

/* ─── About Us page (about-us.html) — white, gallery, intro, 2×2 cards ─── */
html:has(body.page-about) {
  scroll-padding-top: var(--site-header-height);
}

.page-about .global-light-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-about .page-bg {
  background-color: #ffffff;
}

/* ─── Service detail (service-details.html) — svc-dtl-* + body.page-service-detail ─── */
html:has(body.page-service-detail) {
  scroll-padding-top: var(--site-header-height);
}

/* Keep global diamond canvas visible (do not mirror .page-terms / .page-about here). */
.page-service-detail .site-main {
  position: relative;
  z-index: 2;
}

.svc-dtl-page {
  position: relative;
  z-index: 1;
  direction: rtl;
  text-align: right;
  color: var(--color-text-body, #777777);
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.75rem, 7vw, 4.5rem);
  min-height: calc(100vh - var(--site-header-height, 72px) - 4rem);
    /* Frosted layer so Three.js diamond shows through while text stays readable */
  background: transparent;
  /* backdrop-filter: blur(14px); */
  /* -webkit-backdrop-filter: blur(14px); */
}

.svc-dtl-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.svc-dtl-title-main {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  line-height: 1.25;
  text-align: center;
  color: var(--text-primary, #003030);
}

.svc-dtl-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  gap: clamp(0.65rem, 2vw, 1rem);
  align-items: stretch;
  min-height: clamp(220px, 40vw, 400px);
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.svc-dtl-gallery__wide,
.svc-dtl-gallery__tall {
  margin: 0;
  min-height: 0;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: #e8e8e8;
}

.svc-dtl-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: clamp(400px, 43vw, 500px);
  object-fit: cover;
}

.svc-dtl-gallery__tall .svc-dtl-img {
  min-height: clamp(220px, 42vw, 400px);
}

.svc-dtl-prose {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
}

.svc-dtl-title-sub {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 400 !important;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.4;
  text-align: right;
  color: var(--text-primary, #003030);
}

.svc-dtl-text {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  line-height: 1.85;
  font-weight: 400 !important;
  text-align: right;
  color: #ebf5f5;
  background-color: #1c483949;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 20px;
}

.svc-dtl-text:last-child {
  margin-bottom: 0;
}

/* ─── Offer detail (offer-details.html) — booking card + hero image ─── */
html:has(body.page-offer-detail) {
  scroll-padding-top: var(--site-header-height);
}

.page-offer-detail .global-light-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}


.page-offer-detail .site-main {
  position: relative;
  z-index: 2;
}

.offer-dtl-page {
  direction: rtl;
  text-align: right;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  min-height: calc(100vh - var(--site-header-height, 72px) - 3rem);
  background: transparent !important;
  color: var(--color-text-body);
}

.offer-dtl-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.offer-dtl-heading {
  margin: 0 0 clamp(1.25rem, 3.5vw, 2rem);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.8vw, 2.05rem);
  line-height: 1.35;
  text-align: center;
  color: var(--text-primary, #003030);
}

.offer-dtl-row {
  flex-direction: column-reverse;
  
}

@media (min-width: 992px) {
  .offer-dtl-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.offer-dtl-media-col,
.offer-dtl-card-col {
  display: flex;
  flex-direction: column;
  min-height: 0;

}

.offer-dtl-media {
  flex: 1 1 auto;
  width: 100%;
  max-height: clamp(240px, 40vw, 480px);
  border-radius: 1.15rem;
  overflow: hidden;
  background: #ede8e4;

  box-shadow: 0 12px 32px rgba(4, 42, 43, 0.08);
}

.offer-dtl-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vw, 520px);
  object-fit: cover;
}

.offer-dtl-card {
  flex: 1 1 auto;
  width: 100%;
  min-height: clamp(280px, 42vw, 520px);
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.8vw, 1.65rem);
  background: #FFFAF5;
  border: 1px solid #ebb5903d;
  border-radius: 2.5rem 2.5rem 2.5rem 5rem;
  box-shadow: 0 8px 28px rgba(4, 42, 43, 0.06);
}

.offer-dtl-card-title {
  margin: 0 0 0.5rem;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.45;
  color: var(--text-primary, #003030);
}

.offer-dtl-card-desc {
  margin: 0 0 1rem;
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  line-height: 1.55;
  font-weight: 400 !important;
  color: #8a9394;
}

.offer-dtl-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
}

.offer-dtl-price-main {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.offer-dtl-price-current {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  color: var(--text-primary, #003030);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.offer-dtl-price-old {
  font-size: 0.95rem;
  font-weight: 600;
  color: #a8b0b1;
  text-decoration: line-through;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.offer-dtl-sar {
  display: inline-flex;
  vertical-align: middle;
  opacity: 0.92;
}

.offer-dtl-discount-badge {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  color: red;
  background: #fce8ef;
  border: 1px solid #f5c9d9;
}

.offer-dtl-form {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-bottom: 1.2rem;
}

.offer-dtl-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary, #003030);
}

.offer-dtl-input.form-control,
.offer-dtl-input.form-select {
  height: 2.55rem;
  border-radius: 0.75rem;
  border: 1px solid #dde4e4;
  background: #f7f8f8;
  color: #223434;
  font-size: 0.82rem;
  padding-inline: 0.9rem;
  box-shadow: none;
}

.offer-dtl-input.form-control::placeholder {
  color: #9ca5a6;
}

.offer-dtl-input.form-control:focus,
.offer-dtl-input.form-select:focus {
  border-color: #9ec4c4;
  box-shadow: 0 0 0 0.12rem rgba(0, 48, 48, 0.08);
  background: #ffffff;
}

.offer-dtl-field .select2-container--default .select2-selection--single {
  height: 2.55rem;
  border-radius: 0.75rem;
  border: 1px solid #dde4e4;
  background: #f7f8f8;
}

.offer-dtl-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2.45rem;
  padding-inline: 0.9rem;
  font-size: 0.82rem;
  color: #223434;
}

.offer-dtl-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.45rem;
}

.offer-dtl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  justify-content: center;
  margin-inline: auto;
}

.offer-dtl-add-btn {
  flex: 1 1 12rem;
  min-height: 2.55rem;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
  background: #0b7674;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.offer-dtl-add-btn:hover {
  background: #096563;
  box-shadow: none;
  color: #ffffff !important;
}

.offer-dtl-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  background: transparent;
  overflow: visible;
  flex-shrink: 0;
}

.offer-dtl-qty-btn {
  width: 2.05rem;
  height: 2.05rem;
  border: none;
  border-radius: 50%;
  background: #a7cbcf;
  color: #0d5a5a;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.offer-dtl-qty-btn:hover {
  background: #99c1c6;
  transform: translateY(-1px);
}

.offer-dtl-qty-value {
  min-width: 1.15rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f4d4f;
}

@media (max-width: 991.98px) {
  .offer-dtl-media,
  .offer-dtl-img {
    min-height: clamp(240px, 52vw, 380px);
  }

  .offer-dtl-card {
    min-height: 0;
  }
}

/* ─── Cart (cart.html) — RTL cream cards + summary ─── */
.page-cart .global-light-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-cart .page-bg {
  background-color: #ffffff;
}

.page-cart .whatsapp-float {
  display: none;
}

.page-cart .site-main {
  position: relative;
  z-index: 2;
}

.cart-page {
  --cart-teal: #003d3d;
  --cart-cream: #fff9f5;
  --cart-cream-border: #f0e6df;
  --cart-muted: #9e9e9e;
  --cart-qty-pill: #a8d1d1;
  --cart-qty-btn-bg: rgba(255, 255, 255, 0.92);

  direction: rtl;
  text-align: right;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  min-height: calc(100vh - var(--site-header-height, 72px) - 3rem);
  background: transparent !important;
  color: var(--cart-teal);
}

.cart-page-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.cart-page-title {
  margin: 0 0 clamp(1.25rem, 3.2vw, 1.85rem);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  line-height: 1.25;
  text-align: center;
  color: var(--cart-teal);
}

.cart-items-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

.cart-item-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(0.85rem, 2.2vw, 1.25rem);
  padding: clamp(0.95rem, 2.2vw, 1.2rem);
  background: var(--cart-cream);
  border: 1px solid var(--cart-cream-border);
  border-radius: 2rem;
  box-shadow: 0 1px 0 rgba(0, 61, 61, 0.04);
}

.cart-item-media {
  flex: 0 0 clamp(5.5rem, 22vw, 7.5rem);
  width: clamp(5.5rem, 22vw, 7.5rem);
  border-radius: 2rem;
  overflow: hidden;
  background: #ede8e4;
  align-self: flex-start;
}

.cart-item-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cart-item-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

.cart-item-title {
  margin: 0;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.88rem, 1.85vw, 1.02rem);
  line-height: 1.45;
  color: var(--cart-teal);
}

.cart-item-meta {
  margin: 0;
  font-size: clamp(0.78rem, 1.5vw, 0.86rem);
  line-height: 1.45;
  color: var(--cart-muted);
  font-weight: 400 !important;
}

.cart-item-price-row {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-top: 0.35rem;
}

.cart-item-price-current {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--cart-teal);
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

.cart-item-price-old {
  font-size: clamp(0.82rem, 1.6vw, 0.92rem);
  font-weight: 600;
  color: var(--cart-muted);
  text-decoration: line-through;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.cart-item-sar {
  font-weight: 600;
  font-size: 0.88em;
  opacity: 0.95;
}

.cart-item-qty-wrap {
  margin-top: auto;
  padding-top: 0.65rem;
  align-self: flex-end;
}

.page-cart .cart-item-qty.offer-dtl-qty {
  border-radius: 999px;
  border: none;
  /* background: ; */
  padding: 0.2rem 0.35rem;
  gap: 0.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.page-cart .cart-item-qty .offer-dtl-qty-btn {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background:var(--cart-qty-pill);
  color: var(--cart-teal);
  box-shadow: 0 1px 2px rgba(0, 61, 61, 0.08);
}

.page-cart .cart-item-qty .offer-dtl-qty-btn:hover {
  background: #ffffff;
}

.page-cart .cart-item-qty .offer-dtl-qty-value {
  min-width: 1.75rem;
  color: var(--cart-teal);
}

.cart-summary-card {
  background: var(--cart-cream);
  border: 1px solid var(--cart-cream-border);
  border-radius: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
  box-shadow: 0 1px 0 rgba(0, 61, 61, 0.04);
  position: sticky;
  top: calc(var(--site-header-height) + 1rem);
}

.cart-summary-title {
  margin: 0 0 1rem;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;

  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--cart-teal);
}

.cart-coupon-block {
  margin-bottom: 1.15rem;
  font-weight: 400 !important;
}

.cart-coupon-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cart-teal);
}

.cart-coupon-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--cart-cream-border);
  border-radius: 0.75rem;
  padding: 0.35rem 0.65rem 0.35rem 0.75rem;
  min-height: 2.65rem;
}

.cart-coupon-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.86rem;
  color: var(--cart-teal);
  text-align: right;
  outline: none;
}

.cart-coupon-input::placeholder {
  color: #b0b0b0;
}

.cart-coupon-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.45rem;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cart-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cart-coupon-icon:focus-visible {
  outline: none;
  outline-offset: 2px;
}

.cart-coupon-icon--ready {
  color: #ffffff;
  background: #157b7b;
  box-shadow: 0 4px 12px rgba(0, 61, 61, 0.2);
}

.cart-coupon-icon--ready:hover {
  background: #002a2a;
  color: #ffffff;
}

.cart-summary-lines {
  margin: 0 0 1.25rem;
  padding: 0;
}

.cart-summary-line {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  /* border-bottom: 1px solid rgba(0, 61, 61, 0.08); */
  font-size: 0.88rem;
  font-weight: 400 !important;
}

.cart-summary-line:last-of-type {
  border-bottom: none;
}

.cart-summary-line dt {
  margin: 0;
  font-weight: 400 !important;
  color: var(--cart-teal);
}

.cart-summary-line dd {
  margin: 0;
  font-weight: 600;
  color: var(--cart-teal);
  white-space: nowrap;
  font-weight: 400 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.cart-summary-line--total {
  padding-top: 0.65rem;
  margin-top: 0.15rem;
  /* border-top: 1px solid rgba(0, 61, 61, 0.12); */
  border-bottom: none;
}

.cart-summary-line--total dt,
.cart-summary-line--total dd {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 700;
}

.cart-summary-actions {
  display: flex;
 justify-content: space-around;
 align-items: center;
width:90% !important;
margin-inline: auto !important;
  gap: 0.65rem;
}

.cart-summary-actions > .btn ,.cart-summary-actions > a   {
width:100% !important;
    border:1px solid var(--cart-teal) !important;
}

.page-cart .cart-summary-actions .btn-with-cta-icon {
  position: relative;
  isolation: isolate;
  padding-inline-start: 1.5rem;
}

.cart-btn-checkout {
  border: none !important;
  color: #ffffff !important;
  background: var(--cart-teal) !important;
  box-shadow: 0 8px 20px rgba(0, 61, 61, 0.22);
}

.cart-btn-checkout:hover {
  background: #002a2a !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(0, 61, 61, 0.28);
}

.cart-btn-continue {
  border: 2px solid var(--cart-teal) !important;
  color: var(--cart-teal) !important;
  background: #ffffff !important;
  box-shadow: none;
}

.cart-btn-continue:hover {
  background: #f7faf9 !important;
  color: var(--cart-teal) !important;
}

.cart-livechat-float {
  position: fixed;
  z-index: 998;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(5.5rem, 14vh, 7.5rem);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2a7fff 0%, #1a5fd9 100%);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 6px 22px rgba(26, 95, 217, 0.45);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cart-livechat-float:hover {
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(26, 95, 217, 0.5);
}

@media (max-width: 991.98px) {
  .cart-summary-card {
    position: relative;
    top: auto;
  }

  .cart-livechat-float {
    bottom: 6.5rem;
  }
}

@media (max-width: 575.98px) {
  .cart-summary-actions > .btn {
    flex: 1 1 100%;
  }

  .cart-item-card {
    flex-wrap: wrap;
  }

  .cart-item-media {
    flex: 0 0 5.75rem;
    width: 5.75rem;
  }
}

.svc-dtl-tag {
  font-weight: 700;
  color: var(--text-primary, #003030);
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .svc-dtl-gallery {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .svc-dtl-gallery__wide .svc-dtl-img,
  .svc-dtl-gallery__tall .svc-dtl-img {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .svc-dtl-gallery__tall .svc-dtl-img {
    aspect-ratio: 4 / 3;
  }
}

.about-us-main {
  background-color: #ffffff;
}

.about-us-page {
  padding-top: clamp(5.25rem, 14vw, 7.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  max-width: 72rem;
}

.about-us-page__hero-title {
  text-align: center;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800 !important;
  color: var(--color-primary-900);
  letter-spacing: -0.02em;
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
}

.about-us-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.65rem, 2vw, 1.15rem);
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.about-us-gallery__figure {
  margin: 0;
  min-width: 0;
}

.about-us-gallery__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 40px 40px  20px  120px;
  background: #f0ebe4;
}

.about-us-intro {
  text-align: right;
  direction: rtl;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.about-us-intro__badge {
  font-weight: 500 !important;
  color: #a67c52;
  background: rgba(245, 228, 210, 0.85);
  border-color: rgba(196, 154, 118, 0.22);
}

.about-us-page__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700 !important;
  line-height: 1.2;
  color: var(--color-accent-gold);
  background: rgba(197, 157, 95, 0.14);
  border: 1px solid rgba(197, 157, 95, 0.28);
  border-radius: 0.45rem;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1rem;
}

.about-us-page__heading {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700 !important;
  color: var(--color-primary-900);
  line-height: 1.35;
  margin: 0 0 clamp(1.15rem, 2.5vw, 1.5rem);
  max-width: 48rem;
  margin-inline-start: auto;
}

.about-us-page__heading-gold {
  color: color-mix(in srgb, var(--color-accent-gold) 72%, #7a6348 28%);
}

.about-us-page__heading-teal {
  color: var(--color-primary-900);
}

.about-us-page__text {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.9;
  max-width: 48rem;
  margin-inline-start: auto;
  margin-bottom: 1rem;
  font-weight: 400 !important;
  color: #e2ebeb;
  background-color: #1c483949;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.about-us-page__text:last-child {
  margin-bottom: 0;
}

.about-us-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.85rem, 2.2vw, 1.25rem);
}

.about-us-card {
  direction: rtl;
  text-align: right;
  background-color: #fffaf5;   
  border: 1px solid #b17e5e32; 
  /* Fluid shape on small/medium viewports; exact radii from 992px up */ 
  border-radius:     40px 40px  20px  80px;
  padding: 21px 32px;
  color: #333333;
  box-shadow: none;
}

.about-us-card__title {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800 !important;
  color: var(--color-primary-900);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.about-us-card__text {
  font-size: clamp(0.88rem, 1.9vw, 0.98rem);
  line-height: 1.85;
  color: var(--color-text-body);
  margin: 0;
  font-weight: 400 !important;
}

@media (max-width: 575.98px) {
  .about-us-gallery,
  .about-us-cards {
    grid-template-columns: 1fr;
  }

  .about-us-gallery__img {
    aspect-ratio: 4 / 3;
  }
}

.about-us-page__prose {
  color: var(--text-muted, rgba(255, 255, 255, 0.78));
  line-height: 1.85;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.about-us-page__prose p {
  margin-bottom: 1rem;
}

.about-us-form-section {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.about-us-form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-us-form .alert.alert-danger {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.terms-page-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: min(100%, 42rem);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  /* min-height: calc(100vh - var(--site-header-height, 72px) - 6rem); */
padding-top : clamp(2rem, 5vw, 4rem);
padding-bottom : clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
  margin-top: clamp(1.5rem, 5vw, 3rem);
  margin-inline: auto;
}

.terms-card {
  direction: rtl;
  width: 100%;
  min-width: 0;
  background-color: #fdf9f4;
  color: #1f1f1f;
  border: 1px solid rgba(177, 126, 94, 0.074);
  border-radius: clamp(2rem, 6vw, 3.125rem);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.75rem)
    clamp(2.25rem, 5vw, 3.5rem);
  box-shadow: none;
}

.terms-title {
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  font-weight: 700 !important;
  text-align: center;
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.4;
  color: #1a1a1a;
}

.terms-body {
  text-align: right;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.85;
}

.terms-body p {
  margin: 0 0 1rem;
  font-weight: 400 !important;
  color: #1f1f1f;
}

.terms-heading {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700 !important;
  text-align: right;
  margin: 1.35rem 0 0.65rem;
  color: #1a1a1a;
  line-height: 1.45;
}

.terms-body > p:first-of-type {
  margin-top: 0;
}

.terms-list {
  list-style: disc outside;
  margin: 0 0 1rem;
  padding: 0;
  padding-inline-start: 1.35rem;
  font-weight: 400 !important;
  color: #1f1f1f;
}

.terms-list li {
  margin-bottom: 0.55rem;
  font-weight: 400 !important;
  display: list-item;
}

.terms-list li::marker {
  color: #1a1a1a;
}

@media (min-width: 992px) {
  .terms-page-wrap {
    /* margin-top: 9rem; */
    padding: 2rem 1rem 4rem;
    max-width: 44rem;
  }

  .terms-card {
    padding: 3rem 2.75rem 3.25rem;
    border-radius: 3.125rem;
  }
}

/* ─── OTP verification (otp.html) — complements .login-card / .login-form ─── */
.page-otp .login-subtitle {
  margin-bottom: 1.5rem;
}

.otp-destination {
  font-weight: 600;
  color: #555555;
  unicode-bidi: plaintext;
  direction: ltr;
  display: inline-block;
}

.otp-digits {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 3vw, 1rem);
  margin: 0 0 1rem;
}

.otp-digit {
  box-sizing: border-box;
  width: clamp(3rem, 12vw, 3.75rem);
  height: clamp(3rem, 12vw, 3.75rem);
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  text-align: center;
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  font-weight: 700;
  font-family: inherit;
  color: #333333;
  line-height: 1;
  padding: 0;
  box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.otp-digit::placeholder {
  color: #cccccc;
  font-weight: 500;
  font-size: 0.95rem;
}

.otp-digit:focus {
  outline: none;
  border-color: rgba(0, 102, 103, 0.45);
  box-shadow:
    0 0.15rem 0.5rem rgba(0, 0, 0, 0.06),
    0 0 0 3px rgba(0, 102, 103, 0.12);
}

.otp-digit--error {
  border-color: rgba(198, 40, 40, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}

.otp-timer {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #003d3d;
  margin: 0 0 1.5rem;
  letter-spacing: 0.04em;
}

.otp-submit-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.otp-submit-wrap::before {
  content: "";
  position: absolute;
  inset-inline-start: -0.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 8.5rem;
  height: 130%;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(
    ellipse 80% 70% at 20% 50%,
    rgba(64, 224, 208, 0.55) 0%,
    rgba(0, 200, 200, 0.22) 35%,
    transparent 72%
  );
  filter: blur(14px);
  opacity: 0.85;
  z-index: 0;
}

.otp-submit-wrap .otp-submit-btn {
  position: relative;
  z-index: 1;
}

.login-signup-footer--otp {
  margin-top: 1.25rem;
}

.otp-resend-btn {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: #003d3d;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.otp-resend-btn:hover:not(:disabled) {
  color: #006667;
}

.otp-resend-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  text-decoration: none;
}



.page-terms-card{
  max-width: min(100%, 70rem);}

/* ─── Checkout (checkout.html) — RTL payment + totals (reference layout) ─── */
.page-checkout .global-light-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-checkout .page-bg {
  background-color: #ffffff;
}

.page-checkout .whatsapp-float {
  display: none;
}

.page-checkout .site-main {
  position: relative;
  z-index: 2;
}

.checkout-page {
  --checkout-teal: #002b2b;
  --checkout-card-bg: #fff9f5;
  --checkout-card-border: #fceee5;
  --checkout-input-bg: #ffffff;
  --checkout-accent-glow: #40e0d0;

  direction: rtl;
  text-align: right;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  min-height: calc(100vh - var(--site-header-height, 72px));
  background: transparent !important;
  color: var(--checkout-teal);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
}

.checkout-page-inner {
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.checkout-page-title {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  text-align: center;
  color: var(--checkout-teal);
  letter-spacing: 0.02em;
}

.checkout-row {
  --bs-gutter-x: clamp(1.25rem, 3vw, 1.75rem);
  --bs-gutter-y: clamp(1.25rem, 3vw, 1.75rem);
  align-items: flex-start;
}

.checkout-card {
  height: auto;
  background: var(--checkout-card-bg);
  border: 1px solid var(--checkout-card-border);
  border-radius: clamp(1.75rem, 2.5vw, 2rem);
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 2.8vw, 1.85rem);
  box-shadow: 0 1px 0 rgba(0, 43, 43, 0.04);
}

.checkout-card-title {
  margin: 0 0 clamp(0.35rem, 1vw, 0.5rem);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--checkout-teal);
  line-height: 1.35;
}

.checkout-section-label {
  margin: clamp(0.85rem, 2vw, 1.1rem) 0 clamp(0.65rem, 1.5vw, 0.85rem);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  color: var(--checkout-teal);
}

.checkout-methods {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.5vw, 0.75rem);
}

.checkout-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.75rem, 2vw, 0.95rem) clamp(0.85rem, 2vw, 1.1rem);
  background: var(--checkout-input-bg);
  border: 1px solid rgba(252, 238, 229, 0.85);
  border-radius: clamp(1.75rem, 1.5vw, 2rem);
  font-weight: 400 !important;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-method:hover {
  border-color: rgba(0, 43, 43, 0.12);
}

.checkout-method:has(input:checked) {
  border-color: rgba(0, 43, 43, 0.18);
  box-shadow: 0 0 0 1px rgba(0, 43, 43, 0.06);
}

.checkout-method-text {
  flex: 1;
  min-width: 0;
  /* font-weight: 600; */
  font-size: clamp(0.86rem, 1.65vw, 0.95rem);
  line-height: 1.45;
  color: var(--checkout-teal);
  font-weight: 400 !important;
}

.checkout-method input[type="radio"] {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--checkout-teal);
  cursor: pointer;
}

.checkout-subsection-title {
  margin: clamp(1.35rem, 3vw, 1.75rem) 0 clamp(0.85rem, 2vw, 1rem);
  font-weight: 800;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  color: var(--checkout-teal);
  line-height: 1.35;
}

.checkout-field {
  margin-bottom: clamp(0.85rem, 2vw, 1rem);
}

.checkout-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  font-size: clamp(0.82rem, 1.5vw, 0.9rem);
  color: var(--checkout-teal);
}

.checkout-input {
  display: block;
  width: 100%;
  padding: clamp(0.7rem, 1.8vw, 0.85rem) clamp(0.85rem, 2vw, 1rem);
  font-family: inherit;
  font-size: clamp(0.88rem, 1.7vw, 0.95rem);
  font-weight: 600;
  color: var(--checkout-teal);
  background: var(--checkout-input-bg);
  border: 1px solid rgba(252, 238, 229, 0.95);
  border-radius: clamp(1.75rem, 1.3vw, 2rem) !important;
  text-align: right;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-input::placeholder {
  color: rgba(0, 43, 43, 0.35);
  font-weight: 600;
}

.checkout-input:focus {
  outline: none;
  border-color: rgba(0, 43, 43, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 43, 43, 0.06);
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.65rem, 2vw, 0.85rem);
}

.checkout-summary-lines {
  margin-top: clamp(0.65rem, 1.5vw, 0.85rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.8vw, 0.85rem);
}

.checkout-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: clamp(0.86rem, 1.65vw, 0.95rem);
  color: var(--checkout-teal);
}
.checkout-summary-line  span{
 font-weight: 400 !important;
}
.checkout-summary-line  p{
 font-weight: 400 !important;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.2rem;
}

.checkout-summary-line--total {
  margin-top: 0.15rem;
  padding-top: clamp(0.65rem, 1.8vw, 0.85rem);
  border-top: 1px solid rgba(252, 238, 229, 0.95);
  font-weight: 800;
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
}

.checkout-summary-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-pay-btn {
  display: block;
  width: 100%;
  margin-top: clamp(1.35rem, 3vw, 1.75rem);
  padding: clamp(0.95rem, 2.2vw, 1.15rem) clamp(2.6rem, 6vw, 3.25rem);
  border: none;
  border-radius: 999px;
  background: var(--checkout-teal);
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.checkout-pay-btn:hover {
  filter: brightness(1.08);
}

.checkout-pay-btn:active {
  transform: scale(0.99);
}

.checkout-pay-btn-label {
  display: block;
  width: 100%;
  text-align: center;
}

.checkout-pay-btn-gem {
  position: absolute;
  left: clamp(0.85rem, 2.4vw, 1.2rem);
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(64, 224, 208, 0.85))
    drop-shadow(0 0 10px rgba(64, 224, 208, 0.45));
}

.checkout-pay-btn-gem svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 991.98px) {
  .checkout-card--main {
    min-height: 0;
  }
}

/* ─── Device detail (device-details.html) — Aerolase layout (teal #1E4D4E, cream #FEF9F5) ─── */
html:has(body.page-device-details) {
  scroll-padding-top: var(--site-header-height);
}

.page-device-details .global-light-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-device-details .page-bg {
  background-color: #ffffff;
}

.page-device-details .site-main {
  position: relative;
  z-index: 2;
}

.device-dtl-page {
  --device-dtl-teal: #1e4d4e;
  --device-dtl-cream: #fef9f5;
  --device-dtl-text: #333333;
  direction: rtl;
  text-align: right;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  min-height: calc(100vh - var(--site-header-height, 72px) - 3rem);
  background: transparent !important;
  color: var(--device-dtl-text);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
}

.device-dtl-inner {
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.device-dtl-page-title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  text-align: center;
  color: var(--device-dtl-teal);
}

.device-dtl-page-title:has(+ .device-dtl-post-meta) {
  margin-bottom: 0.35rem;
}

.device-dtl-post-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: clamp(0.8125rem, 1.45vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.35;
  color: #777777;
}

.device-dtl-post-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  direction: ltr;
}

.device-dtl-post-meta-row i {
  font-size: 0.92em;
  opacity: 0.92;
}

.device-dtl-hero {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: 40px;
  overflow: hidden;
  background: #e8eef0;
  aspect-ratio: 21 / 8;
  max-height: min(52vh, 440px);
}

.device-dtl-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.device-dtl-panel {
  background: var(--device-dtl-cream);
  border-radius: 40px;
  padding: clamp(1.35rem, 3.2vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: clamp(1.25rem, 2.8vw, 1.75rem);
  border: 1px solid #e8eef0;
}

.device-dtl-panel--last {
  margin-bottom: 0;
}

.device-dtl-panel-title {
  margin: 0 0 clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.45;
  text-align: right;
  color: var(--device-dtl-teal);
}

.device-dtl-prose p {
  margin: 0 0 clamp(0.85rem, 2vw, 1.1rem);
  font-size: clamp(0.95rem, 1.85vw, 1.05rem);
  line-height: 1.9;
  font-weight: 400;
  color: var(--device-dtl-text);
}

.device-dtl-prose p:last-child {
  margin-bottom: 0;
}

.device-dtl-label {
  font-weight: 700;
  color: var(--device-dtl-teal);
}

.device-dtl-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
}

.device-dtl-tag {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border-radius: 999px;
  color: var(--device-dtl-teal);
  font-size: clamp(0.8rem, 1.55vw, 0.92rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  box-shadow: 0 1px 0 rgba(30, 77, 78, 0.06);
}

.device-dtl-tag-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--device-dtl-teal);
}

.device-dtl-ol {
  margin: 0;
  padding-inline-start: 1.35rem;
  font-size: clamp(0.95rem, 1.85vw, 1.05rem);
  line-height: 1.9;
  color: var(--device-dtl-text);
}

.device-dtl-ol li {
  padding-inline-start: 0.35rem;
  margin-bottom: 0.5rem;
}

.device-dtl-ol li:last-child {
  margin-bottom: 0;
}

.device-dtl-ol li::marker {
  color: var(--device-dtl-teal);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .device-dtl-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .device-dtl-hero {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}
  

.device-card{
  position:relative;
  
}
.device-body{
  position:absolute;
 bottom:60px !important;
 border-radius:25px !important;
}

.device-price{
  font-weight: 700 !important;
}

/* ─── Account page (account.html) — mockup: #013232 / #F9F6F2 / white card ─── */
:root {
  --account-green: #013232;
  --account-bg: #f9f6f2;
  --account-input-border: rgba(1, 50, 50, 0.14);
  --account-shadow: 0 18px 48px rgba(1, 50, 50, 0.1);
  --account-radius-lg: 1.25rem;
  --account-radius-pill: 999px;
}

.page-account .global-light-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.page-account .page-bg {
  background-color: var(--account-bg);
}

.page-account .site-header {
  background: var(--account-green);
}

.page-account .site-header--scrolled {
  background: color-mix(in srgb, var(--account-green) 94%, #000 6%);
}

.page-account .site-main {
  position: relative;
  z-index: 2;
}

.account-main {
  /* padding-top: calc(var(--site-header-height) + clamp(1.25rem, 4vw, 2rem)); */
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  min-height: calc(100vh - var(--site-header-height, 72px) - 2rem);
}

.account-page-wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 3vw, 1.25rem);
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(0.9rem, 2.2vw, 1.25rem);
  background: transparent;
  border: none;
  box-shadow: none !important;
  overflow: visible;
}

.account-sidebar {
  background: #FFFAF5;
  border: 1px solid rgba(1, 50, 50, 0.12);
  border-radius: var(--account-radius-lg);
  box-shadow: 0 10px 26px rgba(1, 50, 50, 0.08);
  padding: clamp(1.1rem, 3vw, 1.65rem) clamp(0.85rem, 2vw, 1.1rem);
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--account-green);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: start;
  padding: 0.72rem 0.95rem;
  border-radius: var(--account-radius-pill);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.account-nav-link i {
  width: 1.25rem;
  text-align: center;
  opacity: 0.92;
  font-size: 1rem;
}

.account-nav-link:hover {
  background: rgba(1, 50, 50, 0.06);
  color: var(--account-green);
}

.account-nav-link.is-active {
  background: var(--account-green);
  color: #fff;
}

.account-nav-link.is-active i {
  opacity: 1;
}

.account-nav-link--logout {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  /* border-top: 1px solid rgba(1, 50, 50, 0.1); */
  color: #c62828;
}

.account-nav-link--logout:hover {
  background: rgba(198, 40, 40, 0.08);
  color: #b71c1c;
}

.account-nav-link--logout.is-active {
  background: rgba(198, 40, 40, 0.12);
  color: #b71c1c;
}

.account-panels {
  background: #FFFAF5;
  border: 1px solid rgba(1, 50, 50, 0.12);
  border-radius: var(--account-radius-lg);
  box-shadow: 0 10px 26px rgba(1, 50, 50, 0.08);
  padding: clamp(1.35rem, 4vw, 2.35rem) clamp(1.1rem, 4vw, 2.5rem)
    clamp(1.75rem, 4vw, 2.75rem);
}

.account-panel[hidden] {
  display: none !important;
}

.account-panel-title {
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 700;
  color: var(--account-green);
  margin: 0 0 1.35rem;
  text-align: center;
}

.account-form {
  max-width: 420px;
  margin-inline: auto;
}

.account-field {
  margin-bottom: 1.1rem;
}

.account-field--password .account-input-wrap {
  position: relative;
}

.account-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--account-green);
  margin-bottom: 0.4rem;
  text-align: start;
}

.account-input {
  display: block;
  width: 100%;
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid var(--account-input-border);
  border-radius: 3rem !important;
  
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.account-input--has-toggle {
  padding-inline-start: 1rem;
  padding-inline-end: 3rem;
}

.account-input:focus {
  outline: none;
  border-color: rgba(1, 50, 50, 0.35);
  box-shadow: 0 0 0 3px rgba(1, 50, 50, 0.1);
}

.account-password-toggle {
  position: absolute;
  inset-inline-end: 0.55rem;
  top: 50%;
  translate: 0 -50%;
  border: none;
  background: transparent;
  color: var(--account-green);
  padding: 0.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}

.account-password-toggle:hover {
  opacity: 1;
}

.account-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.65rem;
}

.account-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--account-green);
  --bs-btn-border-color: var(--account-green);
  --bs-btn-hover-bg: #012828;
  --bs-btn-hover-border-color: #012828;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #011e1e;
  --bs-btn-active-border-color: #011e1e;
  min-width: min(100%, 240px);
  padding: 0.72rem 1.75rem;
  font-weight: 600;
  border-radius: var(--account-radius-pill);
}

.account-btn-outline {
  --bs-btn-color: var(--account-green);
  --bs-btn-border-color: var(--account-green);
  --bs-btn-hover-bg: var(--account-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--account-green);
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  border-radius: var(--account-radius-pill);
  font-size: 0.875rem;
}

.account-order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.account-order-tab {
  border: 1px solid rgba(1, 50, 50, 0.2);
  background: #fff;
  color: var(--account-green);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--account-radius-pill);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.account-order-tab.is-active {
  background: var(--account-green);
  color: #fff;
  border-color: var(--account-green);
}

.account-orders-pane[hidden] {
  display: none !important;
}

.account-order-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: #fafafa;
  border: 1px solid rgba(1, 50, 50, 0.08);
  border-radius: 0.85rem;
}

.account-order-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}

.account-order-id {
  font-weight: 700;
  color: var(--account-green);
}

.account-order-date {
  font-size: 0.88rem;
  color: #555;
}

.account-order-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: var(--account-radius-pill);
}

.account-order-badge--progress {
  background: #e3f2fd;
  color: #1565c0;
}

.account-order-badge--done {
  background: #e8f5e9;
  color: #2e7d32;
}

.account-order-modal .account-order-modal-content {
  border: none;
  border-radius: var(--account-radius-lg);
  overflow: hidden;
}

.account-order-modal-header {
  border-bottom: 1px solid rgba(1, 50, 50, 0.1);
  background: #fff;
}

.account-order-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--account-green);
}

.account-order-summary dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.15rem;
}

.account-order-summary dd {
  margin: 0;
  font-weight: 600;
  color: var(--account-green);
}

.account-order-table {
  font-size: 0.9rem;
  --bs-table-bg: transparent;
}

.account-order-table thead th {
  color: var(--account-green);
  font-weight: 700;
  border-color: rgba(1, 50, 50, 0.12);
}

.account-order-table tbody td {
  border-color: rgba(1, 50, 50, 0.08);
  vertical-align: middle;
}

.account-order-total {
  font-size: 1rem;
  color: var(--account-green);
}

.account-order-currency {
  font-size: 0.85rem;
  font-weight: 600;
  margin-inline-start: 0.25rem;
}

.page-account .account-header-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.45rem 0.25rem 0.6rem;
  border-radius: var(--account-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page-account .account-header-profile-btn::after {
  margin-inline-start: 0.15rem;
}

.page-account .account-header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--account-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.page-account .account-header-dropdown {
  border-radius: 0.85rem;
  border: 1px solid rgba(1, 50, 50, 0.1);
  box-shadow: var(--account-shadow);
  padding: 0.4rem;
  min-width: 11rem;
}

.page-account .account-header-dropdown .dropdown-item {
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: right;
}

.swal2-popup.account-swal-toast {
  direction: rtl;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
}

.swal2-popup.account-swal-dialog {
  direction: rtl;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  border-radius: 1rem;
}

@media (max-width: 991.98px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    padding-bottom: 1rem;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .account-nav-link {
    width: auto;
    flex: 1 1 auto;
    min-width: min(100%, 200px);
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.6rem 0.75rem;
  }

  .account-nav-link span {
    white-space: nowrap;
  }

  .account-nav-link--logout {
    flex: 1 1 100%;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(1, 50, 50, 0.1);
    justify-content: center;
  }

  .account-form {
    max-width: none;
  }

  .account-order-row {
    flex-direction: column;
    align-items: stretch;
  }

  .account-order-row .account-btn-outline {
    align-self: stretch;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .account-nav-link i {
    display: none;
  }

  .account-panel-title {
    font-size: 1.2rem;
  }
}



.reverce-placeholder::placeholder  {
 text-align: right !important;
}








/* Offer details — add-to-cart fly (must live in style.css for RTL pages using this file) */

.navbar-icon-cart {
  position: relative;
  overflow: visible;
  z-index: 10051; /* Keep cart icon above flying quantity */
}
.navbar-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  padding: 0 3px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: #0b7674;
  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);
}

#addtocart .cart-item::before {
  content: none;
  display: none;
}

.cart-fly-particle {
  position: fixed;
  z-index: 10050;
  left: 0;
  top: 0;
  width: auto;
  width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffffff !important;
  background: #0b7674;
  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: scale(1.2);
  transition: transform 0.3s ease;
}

.cart-arrow-icon:hover i {
  transform: scale(0.8) !important;
}





  
/* 
=========================================
3D hover effect for the first doctor card only 
=========================================
*/
.doctor-card-3d-target {
  perspective: 2500px;
cursor: pointer;
}

.doctor-card-3d-target .wrapper {
  transition: all 0.5s;
  position: relative;
  width: 100%;
  z-index: 1;
}

.doctor-card-3d-target .title-threeD {
  transition: transform 0.5s;
}

.doctor-card-3d-target .character {
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 2;
  pointer-events: none;
}



.doctor-card-3d-target:hover .wrapper {
  transform: perspective(900px) translateX(-15%)  translateY(27%)  rotateY(20deg) rotateX(70deg) translateZ(0) scale(0.9) !important;
  opacity: 30%;
  box-shadow: none !important;
  background-color: transparent !important;
  transition: all 0.5s ease-in-out !important;
}
.doctor-card-3d-target:hover{
  transform: perspective(900px) translateY(-5%) rotateX(10deg) translateZ(0) !important;
  /* opacity: 50%; */
  box-shadow: none !important;
  /* background-color: transparent !important; */
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.5s ease-in-out !important;
}
.doctor-card-3d-target .wrapper::before,
.doctor-card-3d-target .wrapper::after {
  content: "";
  opacity: 0;
  width: 100%;
  transition: all 0.5s;
  position: absolute;
  left: 0;
  pointer-events: none;
}



.doctor-card-3d-target:hover .title-threeD {
  transform: translate3d(0%, -20px, 100px);
}

.doctor-card-3d-target:hover .doctor-card-name {
  transform: translate3d(0%, -35px, 100px);
  color: #fff !important;
  font-size: 1.5rem !important;
  text-shadow: 0px 8px 18px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.5s ease-in-out !important;
}
.doctor-card-3d-target:hover .doctor-card-role {
  color: #fff !important;
  font-size: 0.9rem !important;
  text-shadow: 0px 8px 18px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.5s ease-in-out !important;
}


.doctor-card-3d-target:hover .character {
  opacity: 1;
  transform: translate3d(0%, -25%, 100px) rotateX(0deg) translateZ(0) !important;
  
}






.btn-cta-header:hover {
  transform: perspective(900px) translateY(-5%) rotateX(15deg) translateZ(0);
  -webkit-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 26px 32px -8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.btn-cta-header:hover .btn-cta-icon {
  transform: translate(40%, -70%) scale(0.9)  rotateY(0deg) !important;
  transition:
    transform 0.5s ease !important;
}
.services-btn:hover{
  cursor: pointer !important;
  -webkit-box-shadow: 2px 25px 32px -8px rgba(0, 0, 0, 0.45);
  -moz-box-shadow: 2px 25px 32px -8px rgba(0, 0, 0, 0.45);
  box-shadow: 2px 16px 32px -8px rgba(0, 0, 0, 0.3);
}
.services-btn:hover  .btn-cta-icon {
  transform: translate(-30%, -30%) scale(1.5)  rotateY(180deg) !important;
  transition:
    transform 0.5s ease !important;
}


/* ============================================================
   CASHBACK FAQ PAGE (cash-back.html)
   Uses brand variables: --gold scale, --text-primary/secondary,
   --card-bg-gradient, --shadow-*, --blure / --blure-border, --focus-ring
   ============================================================ */
.page-cashback .cashback-section {
  position: relative;
  z-index: 2;
  padding-top: clamp(2rem, 6vw, 3.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.page-cashback .section-head {
  max-width: 46rem;
}

.cashback-section-lead {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2.2vw, 1.0625rem);
  line-height: 1.85;
  font-weight: 500;
}

/* ── Highlight cards row ───────────────────────────────────── */
.cashback-highlights {
  max-width: 74rem;
  margin-inline: auto;
}

.cashback-highlight-card {
  position: relative;
  height: 100%;
  background: var(--card-bg-gradient);
  border: 1px solid var(--card-border-subtle);
 
 
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  padding: 1.65rem 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.cashback-highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--blure-border);
  box-shadow: var(--shadow-elevated);
}

.cashback-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--blure);
  border: 1px solid var(--blure-border);
  color: var(--gold-dark);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-gold);
}

.cashback-highlight-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700 !important;
  color: var(--text-primary);
  line-height: 1.3;
}

.cashback-highlight-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── FAQ accordion ─────────────────────────────────────────── */
.cashback-faq-wrap {
  max-width: 50rem;
  margin-inline: auto;
}

.cashback-faq {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 1.1rem;
  --bs-accordion-inner-border-radius: 1.1rem;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px var(--focus-ring);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cashback-faq-item.accordion-item {
  background: var(--card-bg-gradient);
  border: 1px solid var(--card-border-subtle);
  border-radius: 1.1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.cashback-faq-item.accordion-item:hover {
  transform: translateY(-2px);
}

.cashback-faq-item.accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--blure-border);
  box-shadow: var(--shadow-elevated);
}

.cashback-faq-header {
  margin: 0;
}

.cashback-faq-button.accordion-button {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.35rem;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: clamp(0.95rem, 2.2vw, 1.0625rem);
  font-weight: 700 !important;
  text-align: right;
  line-height: 1.55;
  border: none;
  border-radius: 1.1rem !important;
  box-shadow: none !important;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.cashback-faq-button.accordion-button:not(.collapsed) {
  background: linear-gradient(
    180deg,
    rgba(var(--gold-rgba), 0.18) 0%,
    rgba(var(--gold-rgba), 0) 100%
  );
  color: var(--text-primary);
}

.cashback-faq-button.accordion-button:focus,
.cashback-faq-button.accordion-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring) !important;
}

.cashback-faq-button.accordion-button::after {
  margin-inline-start: auto;
  margin-inline-end: 0;
  width: 1.65rem;
  height: 1.65rem;
  background-color: var(--gold-light);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b17e5e'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.85rem;
  border-radius: 50%;
  border: 1px solid var(--blure-border);
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.cashback-faq-button.accordion-button:not(.collapsed)::after {
  background-color: var(--gold-mid);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  transform: rotate(-180deg);
}

.cashback-faq-q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-mid));
  color: var(--color-white);
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.cashback-faq-q-text {
  flex: 1;
  min-width: 0;
}

.cashback-faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
}

.cashback-faq-body p {
  margin: 0;
}

.cashback-faq-body p + p,
.cashback-faq-body p + ul,
.cashback-faq-body ul + p {
  margin-top: 0.65rem;
}

.cashback-faq-body ul {
  list-style: disc outside;
  margin: 0.5rem 0 0;
  padding-inline-start: 1.35rem;
}

.cashback-faq-body ul li {
  margin-bottom: 0.4rem;
}

.cashback-faq-body ul li::marker {
  color: var(--gold-dark);
}

.cashback-faq-body a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cashback-faq-body a:hover {
  color: var(--text-secondary);
}

/* ── Bottom CTA card ───────────────────────────────────────── */
.cashback-cta-card {
  position: relative;
  max-width: 50rem;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--card-bg-gradient);
  border: 1px solid var(--blure-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.cashback-cta-card::before {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -20%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(
    circle,
    rgba(var(--gold-rgba), 0.35) 0%,
    rgba(var(--gold-rgba), 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.cashback-cta-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-mid));
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-gold);
}

.cashback-cta-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 700 !important;
  line-height: 1.4;
}

.cashback-cta-text {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 32rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.cashback-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 575.98px) {
  .cashback-faq-button.accordion-button {
    padding: 0.95rem 1.05rem;
    gap: 0.65rem;
  }

  .cashback-faq-q-icon {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.78rem;
  }

  .cashback-faq-body {
    padding: 0 1.05rem 1.05rem;
  }

  .cashback-cta-actions .btn-cta-header {
    width: 100%;
    justify-content: center;
  }
}



  /* صفحة تفاصيل الطبيب — مطابقة المخطط (ألوان، RTL، بطاقة فوق الصورة) */
      body.page-doctor-details .global-light-wrap {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }
      body.page-doctor-details .page-bg {
        background-color: #ffffff;
      }
      .doctor-details-page {
        --dd-teal: #004d4d;
        --dd-teal-value: #0d7377;
        --dd-card: #f9f9f7;
        --dd-text: #333333;
        --dd-radius-photo: 24px;
        --dd-radius-card: 18px;
        --dd-stack-max: 460px;
        padding-top: clamp(2rem, 5vw, 4rem);
        padding-bottom: clamp(2.5rem, 8vw, 4.5rem);
        padding-inline: clamp(1rem, 4vw, 1.5rem);
        background: transparent !important;
        font-family: "Tajawal", "Cairo", system-ui, sans-serif;
        color: var(--dd-text);
        min-height: min(70vh, 900px);
      }
      .doctor-details-page__title {
        margin: 0 auto clamp(1rem, 3vw, 1.5rem);
        text-align: center;
        font-size: clamp(1.5rem, 5vw, 2rem);
        font-weight: 700;
        color: var(--dd-teal);
        line-height: 1.35;
        max-width: var(--dd-stack-max);
      }
      .doctor-details-page__stack {
        position: relative;
        width: 100%;
        max-width: var(--dd-stack-max);
        margin-inline: auto;
      }
      .doctor-details-page__figure {
        margin: 0;
        border-radius: var(--dd-radius-photo);
        overflow: hidden;
        aspect-ratio: 3 / 3.8;
        background: #e8dcc8;
        box-shadow: 0 18px 48px rgba(0, 77, 77, 0.12);
      }
      .doctor-details-page__figure img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;
      }
      .doctor-details-page__card {
        position: relative;
        width: calc(100% - 1.5rem);
        max-width: 420px;
        margin-inline: auto;
        margin-top: -32%;
        background: var(--dd-card);
        border-radius: var(--dd-radius-card);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 77, 77, 0.06);
        padding: 1.25rem 1.15rem 1.4rem;
        text-align: center;
      }
      .doctor-details-page__social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.85rem;
      }
      .doctor-details-page__social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--dd-teal);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 0.9rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }
      .doctor-details-page__social a:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 77, 77, 0.25);
        color: #ffffff;
      }
      .doctor-details-page__name {
        margin: 0 0 0.75rem;
        font-size: clamp(1.15rem, 3.5vw, 1.4rem);
        font-weight: 700;
        color: var(--dd-teal);
        line-height: 1.4;
      }
      .doctor-details-page__quals {
        margin: 0 0 1.1rem;
        padding: 0;
        list-style: none;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        font-weight: 500;
        color: var(--dd-text);
        line-height: 1.7;
      }
      .doctor-details-page__quals li + li {
        margin-top: 0.2rem;
      }
      .doctor-details-page__meta {
        margin: 0;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 77, 77, 0.1);
      }
      .doctor-details-page__meta-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0.55rem 0;
        text-align: start;
      }
      .doctor-details-page__meta-row + .doctor-details-page__meta-row {
        border-top: 1px solid rgba(0, 77, 77, 0.06);
      }
      .doctor-details-page__meta-label {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: clamp(0.8rem, 2.2vw, 0.875rem);
        font-weight: 600;
        color: var(--dd-text);
      }
      .doctor-details-page__meta-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--dd-teal);
        flex-shrink: 0;
      }
      .doctor-details-page__meta-value {
        font-size: clamp(0.8rem, 2.2vw, 0.875rem);
        font-weight: 600;
        color: var(--dd-teal-value);
        line-height: 1.55;
        text-align: end;
        flex: 1;
        min-width: 0;
      }
      @media (min-width: 480px) {
        .doctor-details-page__card {
          margin-top: -34%;
        }
      }






      .offers-page{
        padding-top:5rem;
        space-between:1rem;
        row-gap: 4rem;    
        }




        .email-input-placeholder::placeholder{
          text-align: right;
        }