/* =============================================
   BEAUTY FILTER CLINIC - Main Stylesheet
   Brand Identity: Logo-Inspired Color Palette
   Gold  : #D4A017 → #9A7209  (warm metallic gold)
   Pink  : #FF5E97 → #C8005E  (vibrant feminine pink)
   White : #FFFFFF
   ============================================= */

:root {
  /* ── Brand Core Colors (from logo) ── */
  --gold:       #D4A017;
  --gold-mid:   #C49012;
  --gold-dark:  #9A7209;
  --gold-light: #F0C842;
  --pink:       #FF5E97;
  --pink-mid:   #E8196A;
  --pink-dark:  #C8005E;
  --pink-light: #FF8CB8;

  /* ── Backgrounds ── */
  --white:      #ffffff;
  --light:      #FFF3F8;          /* blush-pink tint */
  --light-gold: #FFFAED;          /* cream-gold tint */
  --light-nude: #FEF6F0;          /* warm nude */

  /* ── Text ── */
  --text-dark:  #1C1028;          /* deep plum-black */
  --text-gray:  #6B5F72;          /* muted grape */
  --text-muted: #A89CB0;

  /* ── Utility ── */
  --border:     #F0E4EC;
  --shadow:     0 4px 24px rgba(255, 94, 151, 0.12);
  --shadow-gold:0 4px 24px rgba(212, 160, 23, 0.18);
  --shadow-lg:  0 12px 40px rgba(255, 94, 151, 0.18);
  --radius:     18px;
  --radius-sm:  12px;
  --radius-xs:  8px;

  /* ── Gradients ── */
  --grad-brand: linear-gradient(135deg, var(--pink) 0%, var(--gold) 100%);
  --grad-gold:  linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  --grad-pink:  linear-gradient(135deg, var(--pink-light) 0%, var(--pink) 60%, var(--pink-dark) 100%);
  --grad-hero:  linear-gradient(135deg, rgba(255,94,151,0.90) 0%, rgba(212,160,23,0.88) 100%);
  --grad-dark:  linear-gradient(180deg, rgba(28,16,40,0) 0%, rgba(28,16,40,0.85) 100%);

  font-family: 'Cairo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; color: var(--text-dark); background: #fff; direction: rtl; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.text-gold { color: var(--gold); }
.text-pink { color: var(--pink); }

/* ── Gradient Text Utility ── */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== TOP BAR ====== */
.top-bar { background: linear-gradient(90deg, var(--text-dark) 60%, #2A1040 100%); color: white; padding: 9px 20px; font-size: 13px; border-bottom: 1px solid rgba(212,160,23,0.25); }
.top-bar-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-link { color: #ddd; margin-inline-start: 20px; transition: color 0.3s; }
.top-link:hover { color: var(--gold-light); }
.top-link i { margin-inline-end: 5px; color: var(--gold); }
.top-offer-badge { background: var(--grad-brand); color: white; padding: 4px 16px; border-radius: 20px; font-weight: 700; font-size: 12px; transition: all 0.3s; box-shadow: 0 2px 10px rgba(255,94,151,0.3); }
.top-offer-badge:hover { opacity: 0.9; transform: translateY(-1px); }
.top-bar-right { display: flex; gap: 12px; align-items: center; }
.social-link { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all 0.3s; }
.social-link.whatsapp { background: #25D366; color: white; }
.social-link.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-link.twitter { background: #1DA1F2; color: white; }
.social-link.facebook { background: #1877F2; color: white; }
.social-link.youtube { background: #FF0000; color: white; }
.social-link.linkedin { background: #0A66C2; color: white; }
.social-link:hover { transform: translateY(-2px); opacity: 0.9; }

/* ====== HEADER & NAV ====== */
.main-header { background: white; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.07); transition: all 0.3s; border-bottom: 1px solid var(--border); }
.main-header.sticky { box-shadow: 0 4px 30px rgba(255,94,151,0.15); border-bottom-color: var(--pink-light); }
.main-nav { padding: 0 20px; }
.nav-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.nav-logo .logo-img { height: 60px; width: auto; filter: drop-shadow(0 2px 6px rgba(212,160,23,0.25)); }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-links li { position: relative; }
.nav-links a { display: flex; align-items: center; gap: 5px; padding: 8px 13px; color: var(--text-dark); font-weight: 700; font-size: 14px; border-radius: var(--radius-xs); transition: all 0.3s; white-space: nowrap; }
.nav-links a:hover { color: var(--pink); background: var(--light); }
.nav-links a.active { color: var(--pink-mid); background: var(--light); }
.nav-links a .fa-chevron-down { font-size: 10px; transition: transform 0.3s; color: var(--gold); }
.nav-links .has-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }

.dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: white; min-width: 230px; border-radius: var(--radius-sm); box-shadow: 0 12px 40px rgba(0,0,0,0.13); border-top: 3px solid; border-image: var(--grad-brand) 1; z-index: 999; overflow: hidden; }
.has-dropdown:hover .dropdown { display: block; animation: fadeDown 0.2s ease; }
.dropdown li a { padding: 12px 20px; border-radius: 0; font-size: 14px; color: var(--text-dark); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.dropdown li a i { color: var(--gold); width: 16px; }
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--light); color: var(--pink-mid); padding-right: 26px; }

@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle { background: none; border: none; cursor: pointer; padding: 9px; color: var(--text-gray); font-size: 18px; transition: all 0.3s; border-radius: 50%; }
.search-toggle:hover { color: var(--pink); background: var(--light); }
.btn-book {
  background: var(--grad-brand);
  color: white;
  padding: 11px 22px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255,94,151,0.35);
  letter-spacing: 0.3px;
}
.btn-book:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,94,151,0.50); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--text-dark); transition: all 0.3s; border-radius: 2px; }

/* Search Overlay */
.search-overlay { display: none; background: rgba(28,16,40,0.92); backdrop-filter: blur(8px); position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; align-items: center; justify-content: center; }
.search-overlay.active { display: flex; }
.search-inner { display: flex; align-items: center; gap: 15px; width: 90%; max-width: 700px; }
.search-inner input { flex: 1; padding: 18px 24px; font-size: 18px; border-radius: 50px; border: none; font-family: 'Cairo', sans-serif; background: white; }
.search-inner button { background: var(--grad-brand); color: white; border: none; padding: 18px 24px; border-radius: 50px; cursor: pointer; font-size: 18px; transition: all 0.3s; }
.search-inner button:hover { opacity: 0.88; }
.close-search { background: rgba(255,255,255,0.15) !important; }

/* ====== BUTTONS ====== */
.btn-primary {
  background: var(--grad-brand);
  color: white;
  padding: 14px 32px;
  border-radius: 32px;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 4px 18px rgba(255,94,151,0.3);
  letter-spacing: 0.3px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,94,151,0.45); }
.btn-primary.btn-full { width: 100%; justify-content: center; }
.btn-primary.btn-lg { padding: 17px 44px; font-size: 17px; }

.btn-outline-white { border: 2px solid rgba(255,255,255,0.8); color: white; background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); padding: 12px 28px; border-radius: 30px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; }
.btn-outline-white:hover { background: white; color: var(--pink-mid); border-color: white; }

.btn-outline-pink { border: 2px solid var(--pink); color: var(--pink); background: transparent; padding: 10px 24px; border-radius: 26px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; white-space: nowrap; }
.btn-outline-pink:hover { background: var(--grad-pink); color: white; border-color: transparent; box-shadow: 0 6px 16px rgba(255,94,151,0.3); }

.btn-outline-gold { border: 2px solid var(--gold); color: var(--gold-dark); background: transparent; padding: 10px 24px; border-radius: 26px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; white-space: nowrap; }
.btn-outline-gold:hover { background: var(--grad-gold); color: white; border-color: transparent; box-shadow: 0 6px 16px rgba(212,160,23,0.35); }

/* ====== SECTION HEADERS ====== */
.section-header { text-align: center; margin-bottom: 54px; }
.section-header h2 { font-size: 34px; font-weight: 900; margin-bottom: 14px; }
.section-header p { color: var(--text-gray); max-width: 600px; margin: 0 auto; line-height: 1.85; }
.section-header-line {
  width: 60px; height: 4px;
  background: var(--grad-brand);
  border-radius: 4px;
  margin: 14px auto 0;
}
.section-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.section-header-flex h2 { font-size: 30px; font-weight: 900; }
.section-header-flex p { color: var(--text-gray); margin-top: 8px; max-width: 500px; }
.page-header {
  text-align: center;
  padding: 64px 20px 44px;
  background: linear-gradient(180deg, var(--light) 0%, white 100%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 38px; font-weight: 900; margin-bottom: 15px; }
.page-header p { color: var(--text-gray); max-width: 650px; margin: 0 auto; font-size: 16px; line-height: 1.85; }
.page-tag {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* ====== HERO SECTION ====== */
.hero-section { position: relative; }
.hero-bg {
  min-height: 82vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?w=1600&q=80') center/cover no-repeat;
  opacity: 0.15;
}
/* elegant diagonal brand gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 94, 151, 0.88) 0%,
    rgba(232, 25, 106, 0.78) 45%,
    rgba(212, 160, 23, 0.88) 100%
  );
}
/* decorative circle - top right */
.hero-bg::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 1; color: white; }
.hero-badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  color: white;
  padding: 7px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.hero-badge i { color: var(--gold-light); }
.hero-text h1 { font-size: 50px; font-weight: 900; line-height: 1.25; margin-bottom: 22px; text-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.hero-text h1 span {
  color: var(--text-dark);
  background: var(--gold-light);
  padding: 2px 12px;
  border-radius: 8px;
  font-style: italic;
}
.hero-text p { font-size: 18px; opacity: 0.92; margin-bottom: 34px; line-height: 1.85; text-shadow: 0 1px 6px rgba(0,0,0,0.1); }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image { flex: 0 0 310px; text-align: center; }
.logo-hero {
  width: 290px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.28)) brightness(1.05);
  animation: floatAnim 3.5s ease-in-out infinite;
}
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-working-hours {
  position: relative;
  z-index: 2;
  background: rgba(28,16,40,0.78);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(212,160,23,0.3);
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 18px 20px;
  flex-wrap: wrap;
}
.hours-item { color: white; text-align: center; }
.hours-label { display: block; color: var(--gold-light); font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.hours-value { font-size: 14px; opacity: 0.9; }

/* ====== HERO BANNER (Family Banner - Full Width) ====== */
.hero-banner-wrap {
  position: relative;
  overflow: hidden;
}

.hero-banner-img-wrap {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 560px;
  max-height: 900px;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(28,16,40,0.82) 0%,
    rgba(28,16,40,0.55) 38%,
    rgba(28,16,40,0.18) 65%,
    transparent 100%
  );
}

.hero-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 0;
}

.hero-banner-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-banner-text {
  max-width: 600px;
  color: white;
  padding: 40px 0;
  direction: rtl;
}

.hero-banner-h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 20px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.28);
  letter-spacing: -0.5px;
}

.hero-h1-highlight {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-banner-desc {
  font-size: 17px;
  line-height: 1.95;
  opacity: 0.93;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
  font-weight: 400;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-pill {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
}

.hero-pill:hover {
  background: rgba(212,160,23,0.22);
  border-color: rgba(212,160,23,0.45);
}

.hero-pill i {
  color: var(--gold-light);
  font-size: 12px;
}

/* ====== END HERO BANNER ====== */

/* ══════════════════════════════════════════════
   HERO SLIDER — نظام البنرات المتعددة
   ══════════════════════════════════════════════ */

/* الحاوية العامة */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  height: 82vh;
  min-height: 560px;
  max-height: 900px;
}

/* كل سلايد */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
  transform: translateX(0);
  will-change: opacity, transform;
  z-index: 1;
}

/* السلايد النشط */
.hero-slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
  transform: translateX(0) !important;
}

/* السلايد السابق يتلاشى */
.hero-slide--prev {
  opacity: 0;
  visibility: visible;
  z-index: 2;
}

/* حركة الدخول من اليسار */
.hero-slide--enter-left {
  animation: slideEnterLeft 0.7s ease forwards;
}
/* حركة الدخول من اليمين */
.hero-slide--enter-right {
  animation: slideEnterRight 0.7s ease forwards;
}

@keyframes slideEnterLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideEnterRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* خلفية السلايد */
.hero-slide-bg {
  position: absolute;
  inset: 0;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* طبقة التعتيم المتغيرة */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(28,16,40, calc(var(--overlay-op, 0.45) * 1.7))   0%,
    rgba(28,16,40, calc(var(--overlay-op, 0.45) * 1.2))  40%,
    rgba(28,16,40, calc(var(--overlay-op, 0.45) * 0.4))  70%,
    transparent 100%
  );
}

/* محتوى السلايد */
.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

/* نص داكن (للبنرات الفاتحة) */
.hero-banner-text.text-dark {
  color: #1c1028 !important;
}
.hero-banner-text.text-dark .hero-badge {
  background: rgba(28,16,40,0.1);
  border-color: rgba(28,16,40,0.25);
  color: #1c1028;
}
.hero-banner-text.text-dark .hero-pill {
  background: rgba(28,16,40,0.08);
  border-color: rgba(28,16,40,0.2);
  color: #1c1028;
}
.hero-banner-text.text-dark .hero-banner-h1,
.hero-banner-text.text-dark .hero-banner-desc {
  text-shadow: none;
  color: #1c1028;
}

/* عنوان فرعي */
.hero-banner-subtitle {
  font-size: 20px;
  font-weight: 700;
  opacity: 0.88;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

/* ══ أسهم التنقل ══ */
.hero-arrow {
  position: absolute;
  /* رفع الأسهم لأعلى المنتصف — بعيداً عن شريط أوقات الدوام */
  top: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.hero-arrow:hover {
  background: rgba(212,160,23,0.55);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.12);
}
.hero-arrow--prev { right: 20px; }
.hero-arrow--next { left:  20px; }

/* إخفاء الأسهم إذا سلايد واحد */
.hero-slider-section[data-single="true"] .hero-arrow,
.hero-slider-section[data-single="true"] .hero-dots,
.hero-slider-section[data-single="true"] .hero-progress { display: none !important; }

/* ══ Dots ══ */
.hero-dots {
  position: absolute;
  /* working-hours ~70px + فراغ 18px = 88px كحد أدنى */
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 9px;
  align-items: center;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot--active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
  border-radius: 6px;
  transform: scale(1.1);
}
.hero-dot:hover:not(.hero-dot--active) {
  background: rgba(212,160,23,0.5);
  border-color: var(--gold);
}

/* ══ Progress Bar ══ */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 10;
  /* يُخفى تحت شريط الساعات */
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  border-radius: 2px;
}

/* ── Working hours — فوق الـ dots ── */
.hero-slider-section .hero-working-hours {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12;  /* أعلى من dots (10) وarrows (10) */
}

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
  .hero-banner-h1   { font-size: 42px; }
  .hero-banner-text { max-width: 500px; }
  .hero-banner-inner { padding: 0 28px; }
}

/* ── Mobile (max 768px) ── */
@media (max-width: 768px) {
  /* ارتفاع صحيح — مثل التصميم القديم */
  .hero-slider-section {
    height: 75vh;
    min-height: 480px;
    max-height: 700px;
  }

  /* إخفاء الأسهم على mobile — swipe يكفي */
  .hero-arrow { display: none !important; }

  /* Dots أقرب للأسفل */
  /* dots ترتفع فوق working-hours (~65px) + فراغ */
  .hero-dots { bottom: 88px; gap: 7px; }
  .hero-dot { width: 8px; height: 8px; }
  .hero-dot--active { width: 22px; }

  /* نصوص البانر */
  .hero-banner-h1   { font-size: 30px; line-height: 1.3; margin-bottom: 14px; }
  .hero-banner-desc { font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
  .hero-banner-subtitle { font-size: 16px; }
  .hero-banner-text  { max-width: 100%; padding: 20px 0; }
  .hero-banner-inner { padding: 0 20px; }

  /* Pills — أصغر */
  .hero-pills { gap: 7px; margin-bottom: 22px; }
  .hero-pill  { font-size: 12px; padding: 5px 12px; }

  /* أزرار CTA — عامود واحد */
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-lg,
  .hero-actions .btn-outline-white {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* overlay أكثف على mobile للقراءة */
  .hero-slide-overlay {
    background: linear-gradient(
      160deg,
      rgba(28,16,40, calc(var(--overlay-op, 0.45) * 2.0))   0%,
      rgba(28,16,40, calc(var(--overlay-op, 0.45) * 1.5))  50%,
      rgba(28,16,40, calc(var(--overlay-op, 0.45) * 0.6))  100%
    );
  }
}

/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {
  .hero-slider-section {
    height: 70vh;
    min-height: 440px;
  }
  .hero-banner-h1   { font-size: 24px; line-height: 1.35; }
  .hero-banner-desc { font-size: 14px; line-height: 1.7; }
  .hero-banner-inner { padding: 0 16px; }
  .hero-pills { gap: 6px; margin-bottom: 18px; }
  .hero-pill  { font-size: 11px; padding: 4px 10px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 10px; }
}

/* ====== STATS SECTION ====== */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(160deg, var(--light-gold) 0%, var(--light) 50%, var(--light-gold) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow);
  transition: all 0.35s;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 5px;
  height: 100%;
  background: var(--grad-brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255,94,151,0.3);
}
.stat-content { flex: 1; }
.stat-prefix { display: block; color: var(--text-gray); font-size: 13px; margin-bottom: 4px; }
.stat-number {
  display: block;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--text-gray); font-size: 15px; font-weight: 700; margin-top: 4px; }

/* ====== SERVICES PREVIEW ====== */
.services-preview-section { padding: 90px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-preview-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.35s;
  display: block;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.service-preview-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.service-img-wrap { height: 260px; overflow: hidden; position: relative; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-dark);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.service-preview-card:hover .service-img-wrap img { transform: scale(1.07); }
.service-preview-card:hover .service-img-wrap::after { opacity: 0.45; }
.service-label {
  background: linear-gradient(0deg, rgba(28,16,40,0.92) 0%, rgba(28,16,40,0.7) 100%);
  padding: 18px 20px;
  text-align: center;
  color: #ddd;
  font-size: 15px;
  font-weight: 700;
}
.service-label span { color: var(--gold-light); font-size: 16px; }
.service-label i { margin-inline-end: 8px; color: var(--pink-light); }

/* ====== DOCTORS PREVIEW ====== */
.doctors-preview-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--light) 0%, white 100%);
}
.doctors-slider-wrap { position: relative; overflow: hidden; }
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.doctor-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s;
  border: 1px solid var(--border);
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doctor-card-img {
  height: 255px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--light) 0%, var(--light-gold) 100%);
}
.doctor-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s; }
.doctor-card:hover .doctor-card-img img { transform: scale(1.04); }
/* brand accent stripe on top */
.doctor-card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
}
.doctor-card-body { padding: 20px; }
.doctor-card-name { font-size: 17px; font-weight: 800; margin-bottom: 5px; }
.doctor-card-specialty { color: var(--pink-mid); font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.doctor-card-branch { color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.doctor-card-actions { display: flex; gap: 8px; margin-top: 15px; }
.btn-book-sm {
  flex: 1;
  background: var(--grad-brand);
  color: white;
  padding: 10px;
  border-radius: 26px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 4px 12px rgba(255,94,151,0.25);
}
.btn-book-sm:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,94,151,0.4); }
.btn-more-sm { background: var(--light); color: var(--text-dark); padding: 10px 16px; border-radius: 26px; font-weight: 700; font-size: 13px; transition: all 0.3s; border: none; cursor: pointer; font-family: 'Cairo', sans-serif; }
.btn-more-sm:hover { background: var(--grad-gold); color: white; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--border);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-size: 15px;
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.slider-btn:hover { background: var(--grad-brand); color: white; border-color: transparent; }
.slider-prev { right: -23px; }
.slider-next { left: -23px; }

/* ====== LATEST OFFERS ====== */
.latest-offers-section { padding: 90px 0; background: var(--light-nude); }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offer-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s;
  background: white;
  border: 1px solid var(--border);
}
.offer-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.offer-card-img { height: 210px; overflow: hidden; position: relative; }
.offer-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
/* discount ribbon */
.offer-card-img .offer-ribbon {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--grad-brand);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255,94,151,0.35);
}
.offer-card:hover .offer-card-img img { transform: scale(1.06); }
.offer-card-body { padding: 22px; }
.offer-card-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.offer-card-desc { color: var(--text-gray); font-size: 13px; line-height: 1.65; margin-bottom: 15px; }
.offer-price-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.offer-price-new {
  font-size: 26px;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.offer-price-old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.offer-branches { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
.offer-branch-tag {
  background: var(--light-gold);
  color: var(--gold-dark);
  padding: 3px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(212,160,23,0.2);
}

/* ====== ABOUT PAGE ====== */
.about-hero { padding: 90px 0; }
.about-main { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-tag { color: var(--text-gray); font-size: 14px; display: block; margin-bottom: 10px; }
.about-text h1 { font-size: 38px; font-weight: 900; line-height: 1.4; margin-bottom: 25px; }
.about-text p { color: var(--text-gray); line-height: 2; margin-bottom: 15px; font-size: 15px; }
.about-img img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(255,94,151,0.18);
}
.about-img-wrap { position: relative; }
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  background: var(--grad-brand);
  opacity: 0.08;
  z-index: -1;
}
.vmv-section { padding: 90px 0; background: linear-gradient(160deg, var(--light) 0%, var(--light-gold) 100%); }
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vmv-card {
  background: white;
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.35s;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.vmv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: right;
}
.vmv-card:hover::after { transform: scaleX(1); }
.vmv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vmv-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(255,94,151,0.28);
}
.vmv-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 15px; }
.vmv-card p { color: var(--text-gray); line-height: 1.85; }
.about-team-section { padding: 90px 0; }

/* ====== SERVICES PAGE ====== */
.services-page { padding-bottom: 80px; }
.service-tabs { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; justify-content: center; }
.tab-btn {
  padding: 12px 26px;
  border-radius: 32px;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-btn:hover { border-color: var(--pink-light); color: var(--pink); }
.tab-btn.active {
  background: var(--grad-brand);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255,94,151,0.3);
}
.services-main-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-main-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s;
  cursor: pointer;
  background: white;
  border: 1px solid var(--border);
}
.service-main-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-main-img { height: 205px; overflow: hidden; }
.service-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-main-card:hover .service-main-img img { transform: scale(1.06); }
.service-main-body { padding: 22px; }
.service-main-category {
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.service-main-category::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.service-main-name { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.service-main-desc { color: var(--text-gray); font-size: 13px; line-height: 1.65; }

/* ====== OFFERS PAGE ====== */
.offers-page { padding-bottom: 80px; }
.offers-layout { display: grid; grid-template-columns: 210px 1fr; gap: 30px; align-items: start; }
.offers-sidebar { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.offer-filter-btn {
  display: block; width: 100%; padding: 12px 16px;
  border: none; background: var(--light);
  border-radius: var(--radius-xs); cursor: pointer;
  font-family: 'Cairo', sans-serif; font-weight: 700;
  font-size: 14px; color: var(--text-dark);
  margin-bottom: 8px; transition: all 0.3s; text-align: right;
}
.offer-filter-btn:hover { background: var(--light); color: var(--pink); }
.offer-filter-btn.active { background: var(--grad-brand); color: white; box-shadow: 0 4px 12px rgba(255,94,151,0.3); }
.offers-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) {
  .offers-main { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .offers-main { grid-template-columns: 1fr; gap: 14px; }
}
.offers-terms {
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--light) 100%);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: var(--radius); padding: 28px 32px; margin-top: 44px;
}
.offers-terms h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--gold-dark); }
.offers-terms p { color: var(--text-gray); line-height: 1.85; font-size: 14px; }

/* ====== DOCTORS PAGE ====== */
.doctors-page { padding-bottom: 80px; }
.doctors-layout { display: grid; grid-template-columns: 1fr 270px; gap: 30px; align-items: start; }
.doctors-main { flex: 1; }
.doctors-main-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doctors-sidebar { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.search-box {
  display: flex; background: white; border-radius: var(--radius-xs);
  overflow: hidden; margin-bottom: 16px; border: 2px solid var(--border);
  transition: border-color 0.3s;
}
.search-box:focus-within { border-color: var(--pink); }
.search-box input { flex: 1; padding: 12px 15px; border: none; outline: none; font-family: 'Cairo', sans-serif; font-size: 14px; }
.search-box button { background: var(--grad-brand); color: white; border: none; padding: 12px 15px; cursor: pointer; font-size: 14px; transition: opacity 0.3s; }
.search-box button:hover { opacity: 0.88; }
.filter-group { margin-bottom: 22px; }
.filter-label { display: block; font-weight: 800; font-size: 13px; margin-bottom: 10px; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.5px; }
.doctor-filter-btn {
  display: block; width: 100%; padding: 10px 14px;
  border: none; background: var(--light);
  border-radius: var(--radius-xs); cursor: pointer;
  font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--text-dark); margin-bottom: 6px; transition: all 0.3s; text-align: right;
}
.doctor-filter-btn:hover { color: var(--pink); background: var(--light); }
.doctor-filter-btn.active { background: var(--grad-brand); color: white; box-shadow: 0 4px 12px rgba(255,94,151,0.25); }
.filter-select {
  width: 100%; padding: 10px 14px;
  border: 2px solid var(--border); border-radius: var(--radius-xs);
  font-family: 'Cairo', sans-serif; font-size: 13px;
  background: white; cursor: pointer; appearance: none;
}
.filter-select:focus { outline: none; border-color: var(--pink); }

/* ====== DOCTOR DETAIL PAGE ====== */
.doctor-detail-page { padding: 60px 0 80px; }
.doctor-detail-layout { display: grid; grid-template-columns: 1fr 310px; gap: 40px; }
.doctor-detail-main { }
.doctor-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.doctor-detail-info h1 { font-size: 34px; font-weight: 900; margin-bottom: 8px; }
.doctor-detail-info p { color: var(--text-gray); font-size: 16px; }
.doctor-detail-sidebar { }
.doctor-detail-photo {
  width: 100%; max-width: 310px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 44px rgba(255,94,151,0.18);
  background: linear-gradient(135deg, var(--light) 0%, var(--light-gold) 100%);
}
.doctor-detail-photo img { width: 100%; display: block; }
.doctor-nav-tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.doctor-nav-tab {
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  background: white;
  border: 2px solid var(--border);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.doctor-nav-tab:hover { border-color: var(--pink-light); color: var(--pink); }
.doctor-nav-tab.active { background: var(--grad-brand); color: white; border-color: transparent; box-shadow: 0 4px 14px rgba(255,94,151,0.3); }
.doctor-info-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
}
.doctor-info-card h3 {
  font-size: 20px; font-weight: 800; margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.doctor-info-card h3 i { color: var(--gold); }
.doctor-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.doctor-info-item { }
.doctor-info-label { font-size: 12px; color: var(--text-muted); font-weight: 700; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.4px; }
.doctor-info-value { font-size: 15px; font-weight: 700; }
.qualif-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.qualif-item:last-child { border-bottom: none; }
.qualif-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; margin-top: 5px; box-shadow: 0 2px 6px rgba(255,94,151,0.3); }
.qualif-text { font-size: 15px; color: var(--gold-dark); font-weight: 600; }

/* ====== ARTICLES PAGE ====== */
.articles-page { padding-bottom: 80px; }
.articles-search-row { display: flex; gap: 15px; margin-bottom: 44px; }
.search-box-wide {
  flex: 1; display: flex; background: white;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--border); transition: border-color 0.3s;
  box-shadow: var(--shadow);
}
.search-box-wide:focus-within { border-color: var(--pink); }
.search-box-wide input { flex: 1; padding: 14px 18px; border: none; outline: none; font-family: 'Cairo', sans-serif; font-size: 15px; }
.search-box-wide button { background: var(--grad-brand); color: white; border: none; padding: 14px 22px; cursor: pointer; font-size: 15px; transition: opacity 0.3s; }
.search-box-wide button:hover { opacity: 0.88; }
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.article-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s;
  background: white;
  border: 1px solid var(--border);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-card-img { overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-body { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.article-category-tag {
  display: inline-block;
  background: var(--light); color: var(--pink-mid);
  padding: 4px 14px; border-radius: 18px;
  font-size: 12px; font-weight: 800; margin-bottom: 10px;
  border: 1px solid rgba(255,94,151,0.2);
}
.article-card-title { font-size: 16px; font-weight: 800; margin-bottom: 10px; line-height: 1.55; }
.article-card-title a:hover { color: var(--pink-mid); }
.article-card-excerpt { color: var(--text-gray); font-size: 13px; line-height: 1.72; flex: 1; }
.article-card-meta { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.article-date { color: var(--text-muted); font-size: 12px; }
.article-read-more { color: var(--pink); font-weight: 800; font-size: 13px; transition: color 0.2s; }
.article-read-more:hover { color: var(--pink-mid); }

/* ====== ARTICLE DETAIL PAGE ====== */
.article-detail-page { padding: 60px 0 80px; }
.article-layout { display: grid; grid-template-columns: 1fr 310px; gap: 40px; align-items: start; }
.article-main { }
.article-main-img { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; max-height: 460px; box-shadow: var(--shadow); }
.article-main-img img { width: 100%; height: 100%; object-fit: cover; }
.article-category-badge {
  background: var(--light); color: var(--pink-mid);
  padding: 5px 18px; border-radius: 22px;
  font-size: 13px; font-weight: 800;
  display: inline-block; margin-bottom: 15px;
  border: 1px solid rgba(255,94,151,0.2);
}
.article-main-title { font-size: 32px; font-weight: 900; line-height: 1.4; margin-bottom: 15px; }
.article-meta-bar { display: flex; gap: 20px; color: var(--text-muted); font-size: 13px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid var(--border); flex-wrap: wrap; }
.article-content { line-height: 2.05; color: var(--text-dark); }
.article-content h2 {
  font-size: 22px; font-weight: 900;
  color: var(--gold-dark);
  margin: 32px 0 16px;
  padding-right: 12px;
  border-right: 4px solid var(--gold);
}
.article-content h3 {
  font-size: 18px; font-weight: 800;
  color: var(--pink-mid);
  margin: 26px 0 12px;
}
.article-content p { margin-bottom: 15px; font-size: 15px; }
.article-content ul, .article-content ol { padding-right: 22px; margin-bottom: 15px; }
.article-content li { margin-bottom: 8px; font-size: 15px; }
.article-content strong { color: var(--pink-mid); }
.article-sidebar { position: sticky; top: 100px; }
.sidebar-cta {
  background: var(--grad-brand);
  border-radius: var(--radius); padding: 28px;
  margin-bottom: 20px; color: white; text-align: center;
  box-shadow: var(--shadow-lg);
}
.sidebar-cta h3 { font-size: 16px; font-weight: 800; margin-bottom: 15px; }
.sidebar-cta .btn-primary { background: white; color: var(--pink-mid); border: none; box-shadow: none; }
.sidebar-cta .btn-primary:hover { background: var(--light); }
.sidebar-hours {
  background: var(--text-dark); color: white;
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 15px;
  border: 1px solid rgba(212,160,23,0.2);
}
.hours-block { margin-bottom: 12px; }
.hours-block strong { color: var(--gold-light); display: block; margin-bottom: 3px; font-size: 13px; }
.hours-block span { font-size: 13px; opacity: 0.8; }
.sidebar-location {
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--light) 100%);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: var(--radius); padding: 20px; margin-bottom: 15px;
}
.branches-link { display: flex; align-items: center; gap: 15px; color: var(--gold-dark); }
.branches-link i { font-size: 28px; color: var(--gold); flex-shrink: 0; }
.branches-link small { display: block; color: var(--text-gray); font-size: 12px; margin-top: 3px; }
.sidebar-related h4 { font-size: 16px; font-weight: 800; margin-bottom: 15px; }
.related-article-item { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.related-article-item:last-child { border-bottom: none; }
.related-article-img { width: 70px; height: 70px; border-radius: 10px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow); }
.related-article-img img { width: 100%; height: 100%; object-fit: cover; }
.related-article-title { font-size: 13px; font-weight: 700; line-height: 1.5; }
.related-article-title a:hover { color: var(--pink-mid); }
.related-article-cat { color: var(--pink); font-size: 11px; font-weight: 700; display: block; margin-bottom: 4px; }

/* ====== BRANCHES PAGE ====== */
.branches-page { padding-bottom: 80px; }
.branches-layout { display: grid; grid-template-columns: 1fr 245px; gap: 30px; align-items: start; }
.branches-main-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.branch-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: white;
  transition: all 0.35s; border: 1px solid var(--border);
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.branch-card-img { height: 185px; overflow: hidden; position: relative; }
.branch-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.branch-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-dark);
  opacity: 0.25;
}
.branch-card:hover .branch-card-img img { transform: scale(1.06); }
.branch-card-body { padding: 22px; }
.branch-specialties { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.branch-specialty-tag {
  background: var(--light); color: var(--pink-mid);
  padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 800;
  border: 1px solid rgba(255,94,151,0.18);
}
.branch-name { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.branch-city { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.branch-card-actions { display: flex; gap: 8px; }
.branch-action-btn {
  flex: 1; padding: 9px; border-radius: var(--radius-xs);
  font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 12px;
  cursor: pointer; transition: all 0.3s; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  border: 2px solid transparent;
}
.branch-btn-map { background: var(--light-gold); color: var(--gold-dark); border-color: rgba(212,160,23,0.4); }
.branch-btn-map:hover { background: var(--grad-gold); color: white; border-color: transparent; }
.branch-btn-call { background: var(--light); color: var(--pink-mid); border-color: rgba(255,94,151,0.35); }
.branch-btn-call:hover { background: var(--grad-pink); color: white; border-color: transparent; }
.branch-btn-book { background: var(--grad-brand); color: white; box-shadow: 0 4px 12px rgba(255,94,151,0.25); }
.branch-btn-book:hover { opacity: 0.88; transform: translateY(-1px); }
.branches-sidebar {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  position: sticky; top: 100px; box-shadow: var(--shadow);
}
.branch-filter-btn {
  display: block; width: 100%; padding: 10px 14px;
  border: none; background: var(--light); border-radius: var(--radius-xs);
  cursor: pointer; font-family: 'Cairo', sans-serif; font-weight: 700;
  font-size: 13px; color: var(--text-dark); margin-bottom: 6px;
  transition: all 0.3s; text-align: right;
}
.branch-filter-btn:hover { color: var(--pink); }
.branch-filter-btn.active { background: var(--grad-brand); color: white; box-shadow: 0 4px 12px rgba(255,94,151,0.25); }

/* ====== CONTACT PAGE ====== */
.contact-page { padding: 60px 0 80px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.contact-image img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-gold); }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.contact-card {
  background: var(--light); border-radius: var(--radius-sm);
  padding: 18px; display: flex; align-items: center; gap: 12px; transition: all 0.3s;
  border: 1px solid var(--border);
}
.contact-card:hover { background: white; box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card i { font-size: 22px; color: var(--pink); }
.contact-card span { font-weight: 700; font-size: 15px; }
.contact-card-full { grid-column: span 2; }
.working-hours-cards { margin-bottom: 20px; }
.hours-card {
  background: var(--text-dark); color: white;
  border-radius: var(--radius-sm); padding: 22px 26px;
  border: 1px solid rgba(212,160,23,0.2);
}
.hours-days { margin-bottom: 8px; font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; color: #ccc; }
.hours-days:last-child { margin-bottom: 0; }
.branches-cta-btn {
  display: flex; align-items: center; gap: 15px;
  background: var(--grad-brand); color: white;
  border-radius: var(--radius-sm); padding: 18px 26px;
  transition: all 0.3s; box-shadow: var(--shadow-lg);
}
.branches-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,94,151,0.4); }
.branches-cta-btn i { font-size: 28px; flex-shrink: 0; }
.branches-cta-btn strong { display: block; font-size: 15px; margin-bottom: 3px; }
.branches-cta-btn span { font-size: 12px; opacity: 0.85; }
.contact-form-section {
  background: linear-gradient(160deg, var(--light) 0%, var(--light-gold) 100%);
  border: 1px solid var(--border);
  border-radius: 26px; padding: 52px 44px;
}
.contact-form-section h2 { font-size: 30px; font-weight: 900; margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
.form-group { }
.form-group label { display: block; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; font-size: 14px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-xs);
  font-family: 'Cairo', sans-serif; font-size: 14px;
  transition: border-color 0.3s; background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,94,151,0.1); }
.alert-success { background: #f0fff4; color: #2d7738; border-radius: var(--radius-xs); padding: 16px 20px; margin-top: 20px; font-weight: 700; border: 1px solid #b7f5c4; }

/* ====== FOOTER ====== */
.main-footer {
  background: linear-gradient(175deg, #1C1028 0%, #130A1E 60%, #0E0815 100%);
  color: white;
  margin-top: 80px;
  border-top: 1px solid rgba(212,160,23,0.2);
}
.footer-main { padding: 72px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; }
.footer-logo { height: 85px; margin-bottom: 20px; }
.footer-brand p { color: #998FA8; line-height: 1.85; font-size: 14px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 15px; transition: all 0.3s;
}
.footer-social a:hover { background: var(--grad-brand); color: white; border-color: transparent; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(255,94,151,0.35); }
.footer-col h4 {
  font-size: 15px; font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,160,23,0.2);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #998FA8; font-size: 13px; transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a i { color: var(--gold); font-size: 11px; }
.footer-col ul li a:hover { color: var(--pink-light); }
.footer-hours { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(212,160,23,0.15); }
.footer-hours strong { display: block; color: var(--gold-light); margin-bottom: 8px; font-size: 13px; }
.footer-hours span { display: block; color: #998FA8; font-size: 12px; margin-bottom: 4px; }
.footer-bottom {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(212,160,23,0.12);
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: #6B5F72; font-size: 13px; }
.admin-link { color: #4A3F54; font-size: 12px; transition: color 0.3s; display: flex; align-items: center; gap: 5px; }
.admin-link:hover { color: var(--gold); }

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px;
  background: #25D366; color: white;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  z-index: 500; transition: all 0.3s;
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 12px 36px rgba(37,211,102,0.6); }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45); } 50% { box-shadow: 0 8px 44px rgba(37,211,102,0.75); } }

/* ====== PAGINATION ====== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--border); background: white;
  cursor: pointer; font-family: 'Cairo', sans-serif;
  font-weight: 700; font-size: 14px; transition: all 0.3s;
}
.pagination button:hover { border-color: var(--pink-light); color: var(--pink); }
.pagination button.active { background: var(--grad-brand); color: white; border-color: transparent; box-shadow: 0 4px 14px rgba(255,94,151,0.35); }

/* ====== MODAL ====== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(28,16,40,0.72);
  backdrop-filter: blur(6px);
  z-index: 3000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: white; border-radius: 26px;
  max-width: 700px; width: 100%; max-height: 90vh;
  overflow-y: auto; padding: 44px; position: relative;
  box-shadow: 0 24px 60px rgba(28,16,40,0.3);
}
.modal-close {
  position: absolute; top: 15px; left: 15px;
  background: var(--light); border: none;
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 16px; color: var(--text-gray);
  transition: all 0.3s; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--grad-brand); color: white; }

/* ====== LOADING ====== */
.loading-placeholder { background: linear-gradient(90deg, #f5f5f5 25%, #ebebeb 50%, #f5f5f5 75%); background-size: 200% 100%; animation: loading 1.5s infinite; border-radius: var(--radius); min-height: 200px; }
@keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ====== RESPONSIVE ====== */
@media (max-width: 1200px) {
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
  .services-main-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; right: 0; left: 0; background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 20px; z-index: 999; gap: 5px; }
  .nav-links.mobile-open .dropdown { position: static; box-shadow: none; border-top: 1px solid var(--border); margin-top: 5px; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-image { display: none; }
  .hero-text h1 { font-size: 32px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hero Banner responsive */
  .hero-banner-h1 { font-size: 40px; }
  .hero-banner-text { max-width: 480px; }
  .hero-banner-inner { padding: 0 24px; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about-main { grid-template-columns: 1fr; }
  .vmv-grid { grid-template-columns: 1fr; }
  .offers-layout { grid-template-columns: 1fr; }
  .offers-main { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .offers-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .offer-filter-btn { width: auto; display: inline-block; padding: 8px 16px; }
  .doctors-layout { grid-template-columns: 1fr; }
  .doctors-sidebar { position: static; }
  .doctors-main-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .article-card-img { height: 200px; }
  .branches-layout { grid-template-columns: 1fr; }
  .branches-sidebar { position: static; }
  .branches-main-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-main-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header h1 { font-size: 28px; }
  .hero-text h1 { font-size: 26px; }
  /* Hero Banner responsive 768 */
  .hero-banner-img-wrap { height: 75vh; min-height: 480px; }
  .hero-banner-h1 { font-size: 30px; }
  .hero-banner-desc { font-size: 15px; }
  .hero-banner-overlay {
    background: linear-gradient(
      180deg,
      rgba(28,16,40,0.72) 0%,
      rgba(28,16,40,0.60) 50%,
      rgba(28,16,40,0.40) 100%
    );
  }
  .hero-banner-text { max-width: 100%; padding: 20px 0; }
  .hero-pill { font-size: 12px; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .services-main-grid { grid-template-columns: 1fr; }
  .doctors-main-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-left { display: flex; flex-wrap: wrap; gap: 8px; }
  .hero-text h1 { font-size: 22px; }
  /* offers — عمود واحد على الشاشات الصغيرة */
  .offers-grid { grid-template-columns: 1fr; gap: 12px; }
  .offers-main  { grid-template-columns: 1fr; gap: 12px; }
  /* Hero Banner responsive 480 */
  .hero-banner-img-wrap { height: 70vh; min-height: 420px; }
  .hero-banner-h1 { font-size: 24px; line-height: 1.35; }
  .hero-banner-desc { font-size: 14px; line-height: 1.7; }
  .hero-banner-inner { padding: 0 16px; }
  .hero-pills { gap: 7px; }
  .hero-pill { font-size: 11px; padding: 5px 10px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-lg { width: 100%; text-align: center; justify-content: center; }
  .hero-actions .btn-outline-white { width: 100%; text-align: center; justify-content: center; }
}

/* =============================================
   ✨ VISUAL EFFECTS & ANIMATIONS
   ============================================= */

/* ── 1. Scroll Reveal (fade-up) ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.reveal-left {
  transform: translateX(50px);
}
.reveal.reveal-right {
  transform: translateX(-50px);
}
.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0);
}
/* stagger delays for grid children */
.reveal-group > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-group > *:nth-child(6) { transition-delay: 0.40s; }

/* ── 2. Shimmer Loading ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.loading-placeholder {
  background: linear-gradient(
    90deg,
    #f5edf2 0%,
    #fce8f1 30%,
    #fff3ed 50%,
    #fce8f1 70%,
    #f5edf2 100%
  ) !important;
  background-size: 600px 100% !important;
  animation: shimmer 1.6s ease-in-out infinite !important;
  border-radius: var(--radius);
  min-height: 200px;
}

/* ── 3. Cursor Glow ── */
#cursor-glow {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212,160,23,0.13) 0%,
    rgba(255,94,151,0.09) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  z-index: 0;
  mix-blend-mode: multiply;
}

/* ── 4. WhatsApp Pulse ── */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(37,211,102,0.55); }
  60%  { box-shadow: 0 0 0 14px rgba(37,211,102,0);   }
  100% { box-shadow: 0 0 0 0   rgba(37,211,102,0);    }
}
.whatsapp-float {
  animation: wa-pulse 2s ease-out infinite !important;
}

/* ── 5. Floating Particles (Hero) ── */
#hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: float-particle var(--dur, 6s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes float-particle {
  0%   { opacity: 0;    transform: translateY(0)      scale(0.6); }
  15%  { opacity: 0.8; }
  85%  { opacity: 0.6; }
  100% { opacity: 0;    transform: translateY(-120px) scale(1.1); }
}

/* ── 6. Glassmorphism Cards ── */
.doctor-card {
  background: rgba(255,255,255,0.75) !important;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.6) !important;
}
.offer-card {
  background: rgba(255,255,255,0.80) !important;
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid rgba(255,240,248,0.7) !important;
}
.service-preview-card {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ── 7. Hover 3D Tilt ── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: var(--shadow-lg) !important;
}

/* ── 8. Page Transition ── */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--grad-brand);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#page-transition-overlay.fade-in  { opacity: 0.18; pointer-events: all; }
#page-transition-overlay.fade-out { opacity: 0;    pointer-events: none; }

/* ── 9. Parallax Hero ── */
.hero-banner-img {
  will-change: transform;
}

/* ── 10. Smooth section transitions ── */
.admin-section,
section {
  transition: opacity 0.3s ease;
}

/* ── Extra: stat number glow on animate ── */
.stat-number.counting {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,160,23,0.4);
  transition: color 0.3s, text-shadow 0.3s;
}

/* ══════════════════════════════════════════════
   SEO DETAIL PAGES — Service & Branch
   ══════════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb-nav { margin: 24px 0 32px; }
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-gray);
}
.breadcrumb-list li a { color: var(--gold); text-decoration: none; }
.breadcrumb-list li a:hover { text-decoration: underline; }
.breadcrumb-list li[aria-current="page"] { color: var(--text-dark); font-weight: 600; }
.breadcrumb-list li i { font-size: 10px; color: var(--text-gray); }

/* Service / Branch detail layout */
.service-detail-layout,
.branch-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .service-detail-layout,
  .branch-detail-layout {
    grid-template-columns: 1fr;
  }
}

/* Hero image */
.service-detail-hero-img,
.branch-detail-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .service-detail-hero-img,
  .branch-detail-hero-img { height: 220px; }
}

/* Service detail header */
.service-detail-header,
.branch-detail-header { margin-bottom: 24px; }
.service-cat-tag,
.branch-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,160,23,0.12);
  color: var(--gold-dark);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-detail-title,
.branch-detail-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px;
}

/* Body text */
.service-detail-body,
.branch-detail-body {
  line-height: 1.9;
  color: var(--text-mid);
  font-size: 15px;
  margin-bottom: 24px;
}
.service-detail-body h2,
.service-detail-body h3 {
  color: var(--text-dark);
  margin-top: 20px;
  font-weight: 700;
}

/* Price badge */
.service-detail-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--grad-brand);
  border-radius: 16px;
  padding: 12px 24px;
  margin-bottom: 24px;
}
.price-label { color: white; font-size: 14px; opacity: 0.85; }
.price-value { color: white; font-size: 1.6rem; font-weight: 800; }

/* Action buttons row */
.service-detail-actions,
.branch-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-whatsapp:hover { background: #1ebe5e; transform: translateY(-2px); }
.btn-whatsapp.btn-full { width: 100%; justify-content: center; }

/* Sidebar for detail pages */
.service-detail-sidebar,
.branch-detail-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-related-services h4,
.sidebar-branches-list h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.related-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.related-service-item:hover { background: var(--bg-light); color: var(--gold); }

/* Branch detail info rows */
.branch-detail-info { margin-bottom: 20px; }
.branch-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-mid);
}
.branch-info-row i { color: var(--gold); width: 18px; flex-shrink: 0; margin-top: 2px; }
.branch-info-row a { color: var(--gold); text-decoration: none; }
.branch-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.specialty-tag {
  background: rgba(212,160,23,0.1);
  color: var(--gold-dark);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}
.branch-map-wrap {
  margin: 24px 0;
}
.branch-map-wrap h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Error message */
.error-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.error-msg i { font-size: 2rem; color: var(--pink); }

/* ── Internal Linking Components (#8) ── */
.internal-link-section {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}
.internal-link-section--services {
  border-color: var(--gold);
  border-left: 4px solid var(--gold);
}
.internal-link-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.internal-link-title i { color: var(--gold); }

/* Related Doctors (mini cards) */
.internal-doctors-mini { display: flex; flex-direction: column; gap: 10px; }
.internal-doctor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.internal-doctor-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(212,160,23,0.15);
}
.internal-doctor-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.internal-doctor-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}
.internal-doctor-spec {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
}

/* Related Articles (link list) */
.internal-article-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s;
}
.internal-article-link:last-child { border-bottom: none; }
.internal-article-link i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.internal-article-link:hover { color: var(--gold); }

/* Related Services grid (in article) */
.internal-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.internal-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.internal-service-pill:hover { background: var(--gold); color: white; }
.internal-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
}
.internal-see-all:hover { text-decoration: underline; }

/* ── Countdown Timer (A3) ── */
.offer-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1px solid #ffd966;
  border-radius: 10px;
  padding: 7px 12px;
  margin: 8px 0;
  font-size: 13px;
  font-weight: 700;
  color: #856404;
}
.offer-countdown i { color: var(--gold); margin-left: 4px; }
.cd-label { margin-left: 6px; font-weight: 600; }
.cd-days, .cd-hours, .cd-mins, .cd-secs {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  background: var(--gold);
  color: white;
  border-radius: 5px;
  padding: 1px 4px;
  font-size: 13px;
}
.cd-unit { font-size: 11px; color: #aaa; margin: 0 1px 0 3px; }
.offer-expired {
  background: #f8d7da; border-color: #f5c6cb; color: #721c24;
}
.offer-expired i { color: #e74c3c; }

/* ── Unified Search Page (A4) ── */
.search-page-section { padding: 60px 0 80px; }
.search-page-header { text-align: center; margin-bottom: 40px; }
.search-page-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.search-query { color: var(--gold); font-style: normal; }
.search-page-bar {
  display: flex;
  max-width: 600px;
  margin: 0 auto 16px;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  border: 2px solid var(--gold);
}
.search-page-input {
  flex: 1;
  padding: 14px 22px;
  font-size: 15px;
  border: none;
  outline: none;
  font-family: inherit;
  direction: rtl;
}
.search-page-btn {
  padding: 14px 24px;
  background: var(--gold);
  color: white;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.search-page-btn:hover { background: var(--gold-dark, #b8860b); }
.search-quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-gray);
}
.search-quick-links a {
  padding: 4px 14px;
  background: var(--bg-light);
  border-radius: 20px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: background .2s, color .2s;
}
.search-quick-links a:hover { background: var(--gold); color: white; }
.search-total-count {
  font-size: 14px; color: var(--text-gray);
  margin-bottom: 28px; text-align: center;
}
.search-total-count strong { color: var(--gold); font-size: 16px; }
.search-section { margin-bottom: 40px; }
.search-section-title {
  font-size: 18px; font-weight: 800;
  color: var(--text-dark);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.search-section-title i { color: var(--gold); }
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.search-grid--doctors {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.search-result-card {
  display: flex; flex-direction: column;
  background: white; border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.search-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,160,23,.15);
  border-color: var(--gold);
}
.search-result-card--doctor {
  flex-direction: row; align-items: center; padding: 14px;
}
.src-img { height: 140px; overflow: hidden; flex-shrink: 0; }
.src-img img { width:100%; height:100%; object-fit:cover; }
.src-doctor-img {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; margin-left: 12px;
}
.src-body { padding: 14px; flex: 1; }
.search-result-card--doctor .src-body { padding: 0; }
.src-tag {
  display: inline-block;
  background: var(--gold-light, #fff3cd); color: var(--gold);
  padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
  margin-bottom: 6px;
}
.src-title {
  font-size: 14px; font-weight: 800; color: var(--text-dark);
  margin-bottom: 5px; line-height: 1.4;
}
.src-desc { font-size: 12px; color: var(--text-gray); line-height: 1.5; }

/* ============================================================
   CAREERS PAGE STYLES
   ============================================================ */
.careers-section { padding: 60px 0 80px; background: var(--bg-light, #f9f9f9); }

/* Hero */
.careers-hero {
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  border-radius: 20px;
  padding: 60px 30px 50px;
  margin-bottom: 50px;
}
.careers-hero-icon {
  width: 80px; height: 80px;
  background: rgba(212,160,23,.2);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--gold);
  margin-bottom: 20px;
}
.careers-hero-title {
  font-size: 2.2rem; font-weight: 900;
  margin-bottom: 14px; color: #fff;
}
.careers-hero-sub {
  font-size: 1.05rem; color: #ccd; max-width: 600px;
  margin: 0 auto 30px; line-height: 1.8;
}
.careers-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.career-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.career-stat-num {
  font-size: 2rem; font-weight: 900; color: var(--gold);
}
.career-stat span:last-child { font-size: 0.85rem; color: #aab; }

/* Section headers */
.careers-section-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 24px;
}
.careers-section-title {
  font-size: 1.5rem; font-weight: 800; color: var(--text-dark);
  display: flex; align-items: center; gap: 10px;
}
.careers-section-title i { color: var(--gold); }

.careers-select {
  padding: 8px 14px; border-radius: 8px;
  border: 1.5px solid #e0e0e0; font-family: inherit;
  font-size: 0.9rem; background: #fff;
  cursor: pointer; outline: none;
}
.careers-select:focus { border-color: var(--gold); }

/* Positions list */
.careers-positions-wrapper { margin-bottom: 50px; }
.careers-list { display: flex; flex-direction: column; gap: 16px; }

.career-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #f0f0f0;
  padding: 22px 24px;
  transition: box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.career-card:hover { box-shadow: 0 6px 24px rgba(212,160,23,.12); border-color: var(--gold); }
.career-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.career-card-title { font-size: 1.15rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.career-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.career-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.career-badge--dept { background: #e8f4ff; color: #2563eb; }
.career-badge--type { background: #f0fdf4; color: #16a34a; }
.career-badge--loc  { background: #fefce8; color: #b45309; }
.career-badge--salary { background: #f5f3ff; color: #7c3aed; }

.career-card-desc {
  margin-top: 12px; font-size: 0.93rem; color: var(--text-gray);
  line-height: 1.7; border-top: 1px solid #f5f5f5; padding-top: 12px;
}
.career-apply-btn {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-gradient, linear-gradient(135deg,#D4A017,#F0C842));
  color: #1a1a2e; font-weight: 800; font-size: 0.9rem;
  padding: 10px 22px; border-radius: 25px;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.career-apply-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(212,160,23,.35); }

/* Loading / empty */
.careers-loading { text-align: center; padding: 50px; font-size: 1.1rem; color: var(--text-gray); }
.careers-loading i { color: var(--gold); margin-left: 8px; }
.careers-empty { text-align: center; padding: 60px 20px; color: var(--text-gray); }
.careers-empty i { font-size: 3rem; color: #ddd; margin-bottom: 14px; display: block; }
.careers-empty p { font-size: 1.1rem; }
.careers-empty-sub { font-size: 0.9rem; margin-top: 6px; color: #bbb; }

/* Apply form section */
.careers-apply-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  margin-bottom: 50px;
}
.careers-apply-header { margin-bottom: 28px; }
.careers-apply-header p { color: var(--text-gray); font-size: 0.95rem; margin-top: 8px; }

.careers-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
@media (max-width: 768px) { .careers-form-grid { grid-template-columns: 1fr; } }

.careers-form-section {
  background: #fafafa; border-radius: 12px;
  padding: 20px 22px; border: 1px solid #f0f0f0;
}
.careers-form-section-title {
  font-size: 1rem; font-weight: 800; color: var(--text-dark);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; gap: 8px;
}
.careers-form-section-title i { color: var(--gold); }

.careers-submit-btn {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg,#D4A017,#F0C842);
  color: #1a1a2e; font-size: 1.1rem; font-weight: 900;
  border: none; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .2s, box-shadow .2s; margin-top: 10px;
}
.careers-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,160,23,.4); }
.careers-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.required { color: #e53e3e; }
.alert-error {
  background: #fff5f5; border: 1px solid #fed7d7; color: #e53e3e;
  border-radius: 10px; padding: 14px 18px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

/* Why Join Us */
.careers-why { margin-bottom: 20px; }
.careers-why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.careers-why-card {
  background: #fff; border-radius: 14px; padding: 24px 20px;
  text-align: center; border: 1.5px solid #f0f0f0;
  transition: box-shadow .2s, border-color .2s;
}
.careers-why-card:hover { box-shadow: 0 6px 24px rgba(212,160,23,.1); border-color: var(--gold); }
.careers-why-icon {
  width: 60px; height: 60px; margin: 0 auto 14px;
  background: linear-gradient(135deg,#fef9ec,#fff3cd);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--gold);
}
.careers-why-card h3 { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.careers-why-card p { font-size: 0.87rem; color: var(--text-gray); line-height: 1.7; }

/* Position applied highlight */
.career-card.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,.15); }

/* ── CV PDF Upload Area ── */
.cv-upload-area {
  border: 2px dashed #D4A017;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  background: #fffdf5;
  transition: background .2s, border-color .2s;
}
.cv-upload-area:hover {
  background: #fff8e1;
  border-color: #b8860b;
}
.cv-upload-icon {
  font-size: 2.4rem;
  color: #e53e3e;
  margin-bottom: 8px;
  display: block;
}
.cv-upload-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.cv-upload-hint {
  font-size: 0.82rem;
  color: #999;
}
.cv-file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #16a34a;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 700;
}
.cv-file-preview i { font-size: 1.2rem; }
.cv-file-preview span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-remove-btn {
  background: none; border: none; cursor: pointer;
  color: #e53e3e; font-size: 1rem; padding: 2px 6px;
  border-radius: 50%; transition: background .2s;
}
.cv-remove-btn:hover { background: #fff5f5; }

/* ══════════════════════════════════════════
   OFFERS PAGE — Mobile Responsive Fixes
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Sidebar أفقي على الجوال */
  .offers-sidebar {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
  }
  .offer-filter-btn {
    width: auto !important;
    padding: 7px 14px !important;
    font-size: 13px !important;
  }
  /* بطاقة العرض — صورة أصغر + padding أقل */
  .offer-card-img { height: 170px; }
  .offer-card-body { padding: 14px 16px; }
  .offer-card-title { font-size: 14px; }
  .offer-price-new { font-size: 22px; }
  .offer-price-old { font-size: 14px; }
  /* المسافة التحتية للصفحة (فوق الأزرار العائمة) */
  .offers-page { padding-bottom: 100px !important; }
  .latest-offers-section { padding: 50px 0; }
}

@media (max-width: 480px) {
  /* صورة أصغر + تنسيق أنظف */
  .offer-card-img { height: 150px; }
  .offer-card-body { padding: 12px 14px; }
  /* عرض الأسعار والفروع أفضل */
  .offer-price-wrap { gap: 8px; margin-bottom: 10px; }
  .offer-branches { gap: 4px; margin-bottom: 10px; }
  .offer-branch-tag { font-size: 11px; padding: 2px 10px; }
  /* الـ container بـ padding أصغر */
  .container { padding: 0 14px; }
}
