:root {
  --primary-color: #0a1b2e;
  /* Deep Navy */
  --secondary-color: #557392;
  /* Blue Slate */
  --bg-light: #f2f6fb;
  /* Arctic Haze */
  --text-dark: #112a46;
  /* Midnight Blue */
  --accent-color: #e1e8f0;
  /* Mist Blue */
  --white: #ffffff;
  --transition-speed: 0.3s;

  --optic-bg-deep: #050914;
  --optic-bg-surface: #0a1020;
  --optic-bg-card: #0b1426;
  --optic-bg-card-hover: #0e1a33;

  --optic-border-subtle: rgba(255, 255, 255, 0.08);
  --optic-border-hairline: rgba(216, 195, 165, 0.22);
  --optic-border-cyan: rgba(0, 229, 190, 0.25);
  --optic-border-laser: rgba(0, 229, 190, 0.6);
  --optic-border-hover: rgba(216, 195, 165, 0.45);

  --optic-text-heading: #ffffff;
  --optic-text-body: #cbd5e1;
  --optic-text-muted: #94a3b8;

  --optic-accent-champagne: #d8c3a5;
  --optic-accent-champagne-light: #f4ebe1;
  --optic-accent-cyan: #00e5be;
  --optic-accent-teal: #00c9a7;
  --optic-accent-blue: #38bdf8;

  --optic-radius-sm: 8px;
  --optic-radius-card: 18px;
  --optic-radius-pill: 9999px;
  --optic-transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --optic-transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --optic-container-max: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[dir="rtl"],
body.rtl {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"],
body.ltr {
  direction: ltr;
  text-align: left;
}

body {
  font-family:
    "IBM Plex Sans Arabic",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--optic-text-body);
  background-color: var(--optic-bg-deep);
  line-height: 1.8;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.ltr,
html[dir="ltr"] body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.section-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

/* --- القائمة العلوية (Navbar) --- */
.navbar {
  background-color: var(--primary-color);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 95%;
  max-width: 1360px;
  margin: 0 auto;
}

/* تنسيق اللوجو */
.logo a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-link-dropdown {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap !important;
  padding: 6px 4px;
  text-decoration: none;
  transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-link-dropdown:hover {
  color: var(--white);
}

/* التنسيق الإنجليزي والأجهزة المتوسطة لمنع انقسام الكلمات والتفاف القائمة */
body.lang-en .nav-links,
body.ltr .nav-links {
  gap: 10px;
}

body.lang-en .nav-links a,
body.lang-en .nav-link-dropdown,
body.ltr .nav-links a,
body.ltr .nav-link-dropdown {
  font-size: 0.88rem;
  padding: 6px 3px;
  white-space: nowrap !important;
  letter-spacing: -0.01em;
}

@media (min-width: 992px) and (max-width: 1260px) {
  .nav-container {
    width: 98%;
  }
  .nav-links {
    gap: 8px;
  }
  .nav-links a,
  .nav-link-dropdown {
    font-size: 0.84rem;
    padding: 4px 2px;
  }
  body.lang-en .nav-links,
  body.ltr .nav-links {
    gap: 5px;
  }
  body.lang-en .nav-links a,
  body.lang-en .nav-link-dropdown,
  body.ltr .nav-links a,
  body.ltr .nav-link-dropdown {
    font-size: 0.78rem;
    padding: 4px 2px;
  }
  .logo-img {
    max-height: 48px;
  }
  .lang-switch-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
  }
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  z-index: 1001;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 229, 190, 0.4);
  box-shadow: 0 0 14px rgba(0, 229, 190, 0.2);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    background-color 0.25s ease;
  transform-origin: center;
}

/* حالة الفتح: تحول الأشرطة الثلاثة إلى علامة X أنيقة */
.menu-toggle.active span:nth-child(1),
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--optic-accent-cyan, #00e5be);
}

.menu-toggle.active span:nth-child(2),
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3),
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--optic-accent-cyan, #00e5be);
}

/* ==========================================================================
   أزرار التنقل والتحويل بين اللغات (Language Switcher & Nav Actions)
   ========================================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 24px;
  background: #0b1a30;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #e5c97b;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.lang-switch-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.8);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
  transform: translateY(-1.5px);
}

.lang-switch-btn .lang-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

.lang-switch-btn .lang-label {
  line-height: 1;
}

@media (max-width: 480px) {
  .lang-switch-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
    gap: 5px;
  }
}

/* ==========================================================================
   قائمة الخدمات الطبية المنسدلة (Medical Services Dropdown Menu - Luxury Optics)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-speed);
}

.nav-link-dropdown:hover,
.nav-item-dropdown:hover .nav-link-dropdown,
.nav-item-dropdown.is-open .nav-link-dropdown {
  color: var(--white);
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    stroke 0.3s;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  stroke: #00e5be;
}

/* حاوية القائمة المنسدلة الزجاجية الفاخرة */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 380px;
  max-width: 480px;
  background: #09152a;
  border: 1px solid rgba(0, 229, 190, 0.25);
  border-radius: 14px;
  padding: 10px 8px;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 229, 190, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s;
  z-index: 1050;
  list-style: none;
  margin: 0;
  text-align: right;
}

/* جسر عبور الفأرة لتفادي إغلاق القائمة عند الحركة السريعة */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

/* إظهار القائمة عند التحويم أو عند فتحها */
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* عناصر القائمة المنسدلة */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.dropdown-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item-text {
  flex-grow: 1;
  line-height: 1.45;
}

/* التفاعل عند التحويم على عنصر الخدمة */
.dropdown-item:hover {
  background: linear-gradient(
    90deg,
    rgba(0, 229, 190, 0.12) 0%,
    rgba(56, 189, 248, 0.05) 100%
  );
  color: #ffffff !important;
  transform: translateX(-6px);
}

.dropdown-item:hover .dropdown-bullet {
  background: #00e5be;
  box-shadow: 0 0 8px #00e5be;
  transform: scale(1.3);
}

/* ==========================================================================
   Optical Luxury Medical Hero Section (أفق البصيرة فائقة الدقة)
   ========================================================================== */

:root {
  --hero-bg: #030a14;
  --hero-surface: rgba(10, 25, 47, 0.7);
  --laser-cyan: #00f2fe;
  --laser-blue: #4facfe;
  --emerald-pulse: #10b981;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(6, 17, 33, 0.75);
}

.optical-hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at 70% 30%, #091a33 0%, #030a14 70%);
  display: flex;
  align-items: center;
  padding: 100px 0 60px 0;
  overflow: hidden;
  color: var(--text-primary);
}

/* --- Refractive Mouse Spotlight Flare --- */
.cursor-lens-flare {
  display: none !important;
}

/* Background Ambient Lighting */
.optical-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}

.glow-top {
  width: 550px;
  height: 550px;
  top: -120px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(0, 242, 254, 0.14) 0%,
    rgba(0, 242, 254, 0.03) 45%,
    transparent 70%
  );
}

.glow-bottom {
  width: 650px;
  height: 650px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.11) 0%,
    rgba(16, 185, 129, 0.02) 45%,
    transparent 70%
  );
}

/* Subtle Optical Precision Grid */
.optical-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Hero Centered Container Layout */
.hero-layout-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Centered Editorial Cinema --- */
.hero-editorial,
.hero-editorial-cinema {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 15px;
}

.hero-editorial-cinema .status-pill {
  margin-bottom: 22px;
}

.hero-editorial-cinema .hero-title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.25;
  margin-bottom: 22px;
  text-align: center;
}

.hero-editorial-cinema .hero-description {
  font-size: 1.15rem;
  line-height: 1.85;
  max-width: 740px;
  margin: 0 auto 24px;
  text-align: center;
  color: #e2e8f0;
}

.hero-editorial-cinema .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
}

.hero-editorial-cinema .hero-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  font-size: 19px;
  font-weight: 400;
  color: var(--optic-accent-blue);
  /* background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.88rem;
    color: #34D399;
    margin-bottom: 24px;
    backdrop-filter: blur(10px); */
}

.pulsing-radar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--optic-accent-blue);
  /* box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); */
  animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.laser-text-gradient {
  background: var(--optic-accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-description strong {
  color: var(--text-primary);
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-laser-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00f2fe, #0072ff);
  color: #030a14 !important;
  font-weight: 700;
  font-size: 1.05rem;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35);
}

.btn-laser-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 242, 254, 0.55);
}

.btn-laser-primary .btn-icon {
  width: 20px;
  height: 20px;
  transform: scaleX(-1);
  /* RTL arrow */
  transition: transform 0.3s ease;
}

.btn-laser-primary:hover .btn-icon {
  transform: scaleX(-1) translateX(-4px);
}

.btn-glass-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 12px;
  background: #091a30;
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--laser-cyan);
  transform: translateY(-2px);
}

.btn-glass-secondary .play-icon {
  width: 20px;
  height: 20px;
  color: var(--laser-cyan);
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
}

/* --- Full Background Cinematic Video --- */
.hero-video-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) translateZ(0);
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.65) contrast(1.1);
  display: block;
}

.hero-video-cinematic-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(3, 10, 20, 0.45) 0%,
      rgba(3, 10, 20, 0.85) 85%
    ),
    linear-gradient(
      180deg,
      rgba(3, 10, 20, 0.75) 0%,
      rgba(3, 10, 20, 0.35) 45%,
      rgba(3, 10, 20, 0.7) 80%,
      #030a14 100%
    );
  pointer-events: none;
}

/* --- Video Background End --- */

/* --- نظام الكروت --- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--accent-color);
  transition:
    transform var(--transition-speed),
    box-shadow var(--transition-speed);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(10, 27, 46, 0.15);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   قائمة الموبايل وشريط التنقل المتجاوب فائق الدقة (Mobile Navigation & Hamburger)
   ========================================================================== */
body.mobile-nav-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(2, 5, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 998;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: linear-gradient(
      180deg,
      rgba(8, 14, 28, 0.98) 0%,
      rgba(5, 9, 20, 0.99) 100%
    );
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(0, 229, 190, 0.25);
    box-shadow:
      0 25px 50px -10px rgba(0, 0, 0, 0.8),
      0 0 35px rgba(0, 229, 190, 0.06);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 30px;
    gap: 4px;
    list-style: none;
    margin: 0;
    text-align: right;

    /* حركة انزلاق وظهور انسيابية وفائقة النعومة */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.32s;
    z-index: 999;
  }

  body.ltr .nav-links {
    text-align: left;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* تنسيق كل عنصر رابط في قائمة الموبايل */
  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
    list-style: none;
  }

  .nav-links > li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(0, 229, 190, 0.08);
    color: #00e5be;
  }

  .nav-links li.active > a,
  .nav-links a.active {
    color: #00e5be;
    background: rgba(0, 229, 190, 0.1);
    font-weight: 700;
  }

  /* القائمة المنسدلة (الأكورديون) داخل الموبايل */
  .nav-item-dropdown {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .nav-link-dropdown {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .nav-link-dropdown .dropdown-chevron {
    width: 16px;
    height: 16px;
    margin-right: auto;
    transition:
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      stroke 0.3s ease;
  }

  body.ltr .nav-link-dropdown .dropdown-chevron {
    margin-right: 0;
    margin-left: auto;
  }

  .nav-item-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
    stroke: #00e5be;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin: 4px 0 10px;
    box-shadow: none;
    border: 1px solid rgba(0, 229, 190, 0.15);
    background: rgba(4, 9, 20, 0.7);
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    padding: 0 8px;
    transition:
      max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s ease,
      padding 0.25s ease,
      visibility 0.25s;
    list-style: none;
  }

  .dropdown-menu::before {
    display: none !important;
  }

  .nav-item-dropdown.is-open .dropdown-menu {
    max-height: 850px;
    opacity: 1;
    visibility: visible;
    padding: 8px;
  }

  .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin: 0;
    list-style: none;
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #94a3b8;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .dropdown-item:hover,
  .dropdown-item:active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
  }

  .dropdown-item .dropdown-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e5be;
    box-shadow: 0 0 8px #00e5be;
    flex-shrink: 0;
  }

  /* أزرار الحجز والاتصال السريع بأسفل قائمة الموبايل */
  .mobile-menu-actions-wrap {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    list-style: none;
  }

  .mobile-action-btn-book {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px !important;
    background: linear-gradient(135deg, #00e5be 0%, #00a887 100%);
    color: #050914 !important;
    font-weight: 700 !important;
    font-size: 0.98rem !important;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 229, 190, 0.3);
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .mobile-action-btn-book:hover {
    box-shadow: 0 6px 22px rgba(0, 229, 190, 0.45);
    transform: translateY(-1px);
    color: #050914 !important;
  }

  .mobile-action-btn-call {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .mobile-action-btn-call:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-color: rgba(0, 229, 190, 0.3);
  }
}

@media (max-width: 480px) {
  .logo-img {
    max-height: 48px;
  }
  .nav-container {
    height: 72px;
  }
  .nav-links,
  .mobile-nav-backdrop {
    top: 72px;
    max-height: calc(100dvh - 72px);
  }
}

@media (min-width: 992px) {
  .mobile-menu-actions-wrap,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

.glitch-btn-main,
.glitch-btn-main::after {
  padding: 18px 50px;
  /* زيادة الطول (padding) ليصبح أعرض */
  min-width: 220px;
  /* تحديد عرض أدنى للزر */
  text-align: center;
  font-size: 18px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  /* توحيد الخط مع الموقع */
  font-weight: 700;
  /* استخدام لون الموقع الأساسي (Deep Navy) بدلاً من الأحمر */
  background: linear-gradient(45deg, transparent 5%, var(--primary-color) 5%);
  border: 0;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
  /* استخدام لون الموقع الثانوي (Blue Slate) للظل بدلاً من السماوي الفاقع */
  box-shadow: 6px 0px 0px var(--secondary-color);
  outline: transparent;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.glitch-btn-main:active {
  transform: scale(0.95);
}

.glitch-btn-main::after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);

  content: attr(data-text);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* دمج ألوان الموقع في تأثير الجليتش */
  background: linear-gradient(
    45deg,
    transparent 3%,
    var(--secondary-color) 3%,
    var(--secondary-color) 5%,
    var(--primary-color) 5%
  );
  text-shadow:
    -3px -3px 0px var(--accent-color),
    3px 3px 0px var(--secondary-color);
  clip-path: var(--slice-0);
}

.glitch-btn-main:hover::after {
  animation: 1s glitch-btn-animation;
  animation-timing-function: steps(2, end);
}

@keyframes glitch-btn-animation {
  0% {
    clip-path: var(--slice-1);
    transform: translate(-20px, -10px);
  }

  10% {
    clip-path: var(--slice-3);
    transform: translate(10px, 10px);
  }

  20% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 10px);
  }

  30% {
    clip-path: var(--slice-3);
    transform: translate(0px, 5px);
  }

  40% {
    clip-path: var(--slice-2);
    transform: translate(-5px, 0px);
  }

  50% {
    clip-path: var(--slice-3);
    transform: translate(5px, 0px);
  }

  60% {
    clip-path: var(--slice-4);
    transform: translate(5px, 10px);
  }

  70% {
    clip-path: var(--slice-2);
    transform: translate(-10px, 10px);
  }

  80% {
    clip-path: var(--slice-5);
    transform: translate(20px, -10px);
  }

  90% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 0px);
  }

  100% {
    clip-path: var(--slice-1);
    transform: translate(0);
  }
}

/* --- الاستجابة للشاشات المتوسطة والصغيرة (Hero Section Responsive) --- */
@media (max-width: 992px) {
  .optical-hero {
    padding: 120px 0 60px 0;
    min-height: auto;
  }

  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-editorial {
    align-items: center;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
    width: 100%;
    max-width: 480px;
  }

  .hero-visual-vessel {
    max-width: 420px;
  }

  .card-lasik {
    right: -10px;
    top: 10px;
  }

  .card-doctor {
    left: -10px;
    bottom: 10px;
  }
}

@media (max-width: 576px) {
  .optical-hero {
    padding: 100px 0 40px 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-laser-primary,
  .btn-glass-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-bar {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-visual-vessel {
    max-width: 320px;
  }

  .glass-float-card {
    padding: 10px 14px;
    gap: 10px;
  }

  .glass-float-card h4 {
    font-size: 0.85rem;
  }

  .glass-float-card p {
    font-size: 0.7rem;
  }

  .card-lasik {
    right: 0;
    top: -15px;
  }

  .card-doctor {
    left: 0;
    bottom: -15px;
  }
}

/* ==========================================================================
   Aperture / Iris Eye Reveal (ستار الرؤية - قسم من نحن - Pure CSS 100%)
   ========================================================================== */

/* ==========================================================================
   قسم نبذة عن الدكتور (About Section) - فائق الخفة والسرعة
   ========================================================================== */

.iris-about-section {
  position: relative;
  background-color: #030a14;
  color: #f8fafc;
  padding: 100px 0 80px;
  overflow: hidden;
}

.about-section-wrapper {
  position: relative;
  width: 100%;
}

.iris-pin-container,
.iris-pre-reveal-curtain,
.iris-aperture-glow-ring,
.pupil-trigger-core {
  display: none !important;
}

.about-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}

.glow-cyan {
  width: 500px;
  height: 500px;
  top: 20%;
  right: 10%;
  background: radial-gradient(
    circle,
    rgba(83, 163, 214, 0.12) 0%,
    rgba(83, 163, 214, 0.03) 45%,
    transparent 70%
  );
}

.glow-emerald {
  width: 450px;
  height: 450px;
  bottom: 10%;
  left: 10%;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.11) 0%,
    rgba(16, 185, 129, 0.02) 45%,
    transparent 70%
  );
}

.about-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 25px;
}

.about-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 50px;
  align-items: center;
}

/* --- العمود التحريري (Editorial Column) --- */
.about-editorial-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  gap: 16px;
}

.about-eyebrow {
  /* display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(217, 195, 163, 0.06);
    border: 1px solid rgba(217, 195, 163, 0.22);
    backdrop-filter: blur(10px); */
}

.about-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d9c3a3;
  box-shadow: 0 0 10px rgba(217, 195, 163, 0.45);
  animation: radarPulse 2.5s infinite;
}

.about-eyebrow-text {
  font-size: 26px;
  font-weight: 700;
  color: #53a3d6;
  letter-spacing: 0.5px;
}

.about-headline {
  font-size: clamp(2rem, 2.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.about-headline-gradient {
  background: #53a3d6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* text-shadow: none; */
  /* filter: drop-shadow(0 2px 14px rgba(217, 195, 163, 0.15)); */
}

.about-core-vision {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 650px;
}

/* بطاقة سجل الزمالات والاعتمادات الملكية البريطانية الفاخرة */
.about-credentials-card {
  position: relative;
  width: 100%;
  padding: 28px 32px;
  border-radius: 16px;
  background: #07152b;
  border: 1px solid rgba(217, 195, 163, 0.28);
  box-shadow:
    0 20px 45px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.about-credentials-card:hover {
  border-color: rgba(217, 195, 163, 0.45);
  box-shadow:
    0 24px 55px -12px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(217, 195, 163, 0.08);
}

/* خط الحافة المعياري: تدرج أثيري ناعم بدلاً من شريط أصفر صلب */
.credentials-gold-border {
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #d9c3a3 25%,
    #9e8867 75%,
    transparent 100%
  );
  opacity: 0.85;
}

.credentials-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* الختم الأكاديمي الإكلينيكي */
.credentials-icon-box {
  position: relative;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(217, 195, 163, 0.12) 0%,
    rgba(13, 27, 48, 0.5) 100%
  );
  border: 1px solid rgba(217, 195, 163, 0.28);
  color: #949ba1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credentials-insignia-svg {
  width: 32px;
  height: 32px;
  stroke: #d9c3a3;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-credentials-card:hover .credentials-insignia-svg {
  transform: scale(1.05);
}

.credentials-glow-plate {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(217, 195, 163, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.credentials-text-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.credentials-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.credentials-eyebrow-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9c3a3;
}

.credentials-eyebrow-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #d9c3a3;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.credentials-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
  letter-spacing: normal;
}

.credentials-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #cbd5e1;
  font-weight: 400;
  max-width: 660px;
}

.credentials-desc strong {
  color: #ffffff;
  font-weight: 600;
}

/* شارات الكليات الملكية البريطانية الثلاث (The Royal Triad Fellowship Matrix) */
.royal-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.royal-badge-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(13, 27, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: right;
}

.royal-badge-chip:hover {
  background: rgba(18, 36, 62, 0.85);
  border-color: rgba(217, 195, 163, 0.35);
  transform: translateY(-2px);
}

.cell-rank-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rank-designation {
  font-size: 0.74rem;
  font-weight: 600;
  color: #d9c3a3;
}

.rank-code {
  font-size: 0.64rem;
  font-weight: 700;
  color: #9e8867;
  letter-spacing: 0.8px;
  font-family: "SF Mono", "Courier New", monospace;
  padding: 2px 6px;
  background: rgba(217, 195, 163, 0.08);
  border-radius: 4px;
}

.cell-body {
  display: flex;
  flex-direction: column;
}

.college-location {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.college-full-name {
  font-size: 0.79rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 8px;
  min-height: 34px;
}

.college-acronym {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  color: #d9c3a3;
  letter-spacing: 0.5px;
  direction: ltr;
  text-align: right;
}

/* القيمة المضافة */
.about-value-prop {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #cbd5e1;
  border-right: 3px solid #10b981;
  padding-right: 16px;
  background: rgba(16, 185, 129, 0.03);
  padding: 12px 16px 12px 12px;
  border-radius: 0 8px 8px 0;
}

/* زر اعرف المزيد */
.about-cta-wrapper {
  margin-top: 6px;
}

.iris-cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 12px;
  background: var(--bg-sweep) !important;
  color: #030a14 !important;
  font-weight: 700;
  font-size: 1.05rem;
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35); */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.iris-cta-button:hover {
  transform: translateY(-2px);
  /* box-shadow: 0 16px 40px rgba(0, 242, 254, 0.6); */
}

.cta-text {
  position: relative;
  z-index: 2;
  color: aliceblue;
}

.cta-arrow-icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  color: #38bdf8 !important;
}

.iris-cta-button:hover .cta-arrow-icon {
  transform: translateX(-5px);
}

.cta-light-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: transform 0.8s ease;
}

.iris-cta-button:hover .cta-light-sweep {
  transform: translateX(100%);
}

/* --- العمود البصري (بورتريه الدكتور) --- */
.about-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-portrait-stage {
  position: relative;
  width: 100%;
  max-width: 370px;
  aspect-ratio: 3 / 4;
}

.doctor-lens-glow {
  position: absolute;
  inset: -16px;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(0, 242, 254, 0.22),
    transparent,
    rgba(16, 185, 129, 0.2)
  );
  filter: blur(24px);
  opacity: 0.75;
}

.doctor-lens-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: inset 0 0 35px rgba(0, 242, 254, 0.18);
  pointer-events: none;
  z-index: 20;
}

.doctor-diopter-mark-tr {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-top: 2.5px solid var(--optic-accent-blue);
  border-right: 2.5px solid var(--optic-accent-blue);
  z-index: 22;
}

.doctor-diopter-mark-bl {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  border-bottom: 2.5px solid var(--optic-accent-blue);
  border-left: 2.5px solid var(--optic-accent-blue);
  z-index: 22;
}

.doctor-figure {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  z-index: 10;
  background-color: #07162c;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.doctor-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s ease;
  display: block;
}

.doctor-figure:hover .doctor-portrait-img {
  transform: scale(1.04);
}

.doctor-base-shadow {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(
    to top,
    #030a14 0%,
    rgba(3, 10, 20, 0.7) 50%,
    transparent 100%
  );
  z-index: 12;
  pointer-events: none;
}

.doctor-floating-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  left: 18px;
  z-index: 25;
  padding: 14px 18px;
  border-radius: 14px;
  background: #061324;
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doctor-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doctor-badge-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.doctor-badge-spec {
  font-size: 0.78rem;
  color: var(--optic-accent-blue);
  font-weight: 500;
}

.doctor-badge-status {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

/* --- الاستجابة للشاشات في Pure CSS (Responsive Breakpoints) --- */
@media (max-width: 1024px) {
  .iris-about-section {
    padding: 70px 0 60px;
  }

  .about-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-editorial-col {
    align-items: center;
    text-align: center;
  }

  .about-value-prop {
    border-right: none;
    border-top: 3px solid #10b981;
    border-radius: 0 0 8px 8px;
    padding: 16px;
  }

  .doctor-portrait-stage {
    max-width: 360px;
  }

  .royal-badges-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .royal-badge-chip .college-full-name {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .iris-about-section {
    padding: 60px 0 50px;
  }

  .about-headline {
    font-size: 2rem;
  }

  .about-core-vision {
    font-size: 1rem;
  }

  .about-credentials-card {
    padding: 22px 18px;
  }

  .credentials-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: 16px;
  }

  .doctor-portrait-stage {
    max-width: 300px;
  }

  .iris-cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Medical Services Section & Magic Cards
   ========================================================================== */
.services-section {
  background-color: #01060d;
  position: relative;
  z-index: 10;
  padding: 100px 0;
  /* مساحة تنفس مريحة للقسم */
}

/* --- تصميم الهيدر الراقي (Editorial Style Header) --- */
.services-header-editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.sub-heading-elegant {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--secondary-color);
  /* لون أزرق رمادي هادئ ورسمي */
  font-weight: 600;
  margin-bottom: 12px;
}

.med-cross-icon {
  width: 16px;
  height: 16px;
  color: var(--secondary-color);
}

.main-heading-elegant {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

/* التباين في سمك الخط يكسر الشكل التقليدي ويعطي طابع تصميم المجلات الطبية */
.text-light-weight {
  color: var(--secondary-color);
  font-weight: 300;
}

.services-desc-wrapper {
  max-width: 550px;
  margin-top: 20px;
}

.desc-elegant {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin: 0;
}

/* تقسيم الهيدر باحترافية على الشاشات الكبيرة (Desktop) */
@media (min-width: 992px) {
  .services-header-editorial {
    flex-direction: row;
    text-align: right;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* خط سفلي خفيف يفصل الهيدر عن الكروت */
    padding-bottom: 30px;
  }

  .services-desc-wrapper {
    margin-top: 0;
    border-right: 2px solid var(--secondary-color);
    /* خط جانبي أنيق لربط الوصف بالعنوان */
    padding-right: 25px;
  }
}

/* --- تنسيقات شبكة الكروت (الـ Magic Cards) --- */
.services-interactive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1000px;
}
.magic-service-card {
  width: 100%;
  height: 280px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative; /* ضروري لتثبيت العناصر داخله */
  overflow: hidden;
  color: var(--white);
  /* تم إزالة display: flex و flex-direction: column من هنا */
}

.magic-service-card:hover {
  border-radius: 20px;
  cursor: pointer;
  transform: scale(1.05);
  background: rgba(6, 17, 33, 0.95);
  border-color: var(--secondary-color);
  z-index: 2;
}

/* طبقة الصورة */
.first-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* الكارت نفسه لديه overflow: hidden لذلك لا حاجة لـ border-radius هنا */
}

.magic-service-card:hover .first-content {
  opacity: 0;
  /* تم إزالة height: 0 لضمان عدم حدوث مسافات سوداء */
}

.second-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  text-align: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(90deg) scale(-1);
  z-index: 2;
}

.magic-service-card:hover .second-content {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.second-content h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}

.second-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
}
/* ==========================================================================
   Custom Mouse Tooltip (تلميح الماوس التفاعلي)
   ========================================================================== */
.custom-cursor-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(10, 27, 46, 0.85);
  /* لون كحلي زجاجي */
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 500;
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  pointer-events: none;
  /* مهم جداً: لكي لا يمنع الماوس من النقر على الكروت */
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  white-space: nowrap;
}

.custom-cursor-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

/* إلغاء الـ Tooltip تماماً على الهواتف (لأنها باللمس ولا يوجد بها Hover) */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor-tooltip {
    display: none !important;
  }
}

/* Container adjustment */
.iris-cta-button {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.85em 2.6em;
  font-size: 18px;
  background: transparent;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  color: #38bdf8;
  /* أزرق سماوي مضيء/Royal Cyan */
  z-index: 1;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.35s ease;
  --bg-sweep: #0f172a;
  /* لون الخلفية الداخلية للتأثير (Dark Navy) */
}

/* المحتوى الداخلي للنص والسهم */
.cta-content {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

/* حركة السهم عند الـ Hover */
.cta-arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.iris-cta-button:hover .cta-arrow-icon {
  transform: translateX(-5px);
  /* يتحرك لليسار لأن اتجاه الموقع RTL */
}

/* إطار ومساحة التأثير الخلفية */
.iris-cta-button .btn-bg-effect {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  border: 2px solid #0284c7;
  /* إطار أزرق ملكي متناسق */
  border-radius: 4px;
}

/* شريط المسح الضوئي (Sweep Effect) */
.iris-cta-button .btn-bg-effect::before {
  content: "";
  display: block;
  position: absolute;
  width: 10%;
  height: 500%;
  background: var(--bg-sweep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-60deg);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* تأثير التوسع والتعبئة عند مرير الماوس */
.iris-cta-button:hover .btn-bg-effect::before {
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 100%;
  background: #0284c7;
  /* يتحول للون الأزرق الملكي الكامل */
}

/* تغيير لون النص للأبيض الناصع عند الـ Hover */
.iris-cta-button:hover {
  color: #ffffff;
}

/* درجة أغمق عند الضغط Click */
.iris-cta-button:active .btn-bg-effect::before {
  background: #0369a1;
}

/* ==========================================================================
   Clinical Luxury Footer (تذييل الموقع الطبي الفاخر - عيادات د. محمد حسين)
   Theme: Deep Midnight Slate (#0b1329), Glassmorphism & Cyan-Champagne Accents
   ========================================================================== */
.clinical-footer {
  position: relative;
  background-color: #060d1d;
  background: linear-gradient(180deg, #071022 0%, #040812 100%);
  color: #cbd5e1;
  padding: 90px 0 0;
  overflow: hidden;
  font-family:
    "IBM Plex Sans Arabic",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* خط الحافة العلوي الأثيري المتلاشي */
.footer-hairline-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 242, 254, 0.45) 30%,
    rgba(217, 195, 163, 0.45) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* هالات الإضاءة الخلفية المحيطية */
.footer-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-footer-cyan {
  width: 480px;
  height: 480px;
  top: -120px;
  right: 5%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.07), transparent 70%);
}

.glow-footer-navy {
  width: 550px;
  height: 550px;
  bottom: 0;
  left: 5%;
  background: radial-gradient(circle, rgba(16, 45, 85, 0.25), transparent 70%);
}

.footer-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* شبكة الأعمدة الأربعة */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.25fr 1.15fr;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 70px;
}

/* --- العمود 1: هوية العيادة --- */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: right;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-link {
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.footer-logo-link:hover {
  transform: scale(1.05);
}

.footer-logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 242, 254, 0.2));
}

.footer-brand-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-name {
  font-size: 1.28rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #d9c3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand-spec {
  font-size: 0.82rem;
  color: var(--optic-accent-blue);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer-vision-text {
  font-size: 0.93rem;
  line-height: 1.8;
  color: #94a3b8;
  margin: 0;
}

.footer-trust-chip {
  /* display: inline-flex; */
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  /* background: rgba(217, 195, 163, 0.06); */
  /* border: 1px solid rgba(217, 195, 163, 0.2); */
  width: fit-content;
}

.trust-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d9c3a3;
  box-shadow: 0 0 8px rgba(217, 195, 163, 0.6);
}

.trust-chip-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--optic-accent-blue);
}

/* --- العناوين الفرعية للأعمدة --- */
.footer-heading {
  position: relative;
  font-size: 1.12rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.heading-line-accent {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #00f2fe 0%, #0072ff 100%);
}

/* --- قوائم الروابط (Quick Links & Services) --- */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #94a3b8;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    padding 0.25s ease;
  line-height: 1.5;
}

.link-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  flex-shrink: 0;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(-6px);
}

.footer-link:hover .link-bullet {
  background-color: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
  transform: scale(1.3);
}

/* --- كروت التواصل التفاعلية (Contact Widgets) --- */
.footer-contact-widgets {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 
  1. القاعدة الأساسية: خلفية صلبة وداكنة بدلاً من الزجاج المشتت 
*/
.contact-glass-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  /* حواف أكثر جدية من الـ 12px */
  background: #111827;
  /* لون كحلي/رمادي داكن صلب */
  border: 1px solid #1f2937;
  /* إطار خفيف جداً يندمج مع الخلفية */
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-in-out;
  /* حركة سريعة وناعمة بدون بهرجة */
  overflow: hidden;
}

/* Hover احترافي: تغيير لون الإطار وإضاءة خفيفة بدون قفز (Transform) */
.contact-glass-card:hover {
  background: #172033;
  border-color: rgba(217, 195, 163, 0.4);
  /* استخدام لون موحد (الذهبي/الشامبين) للـ Hover */
}

/* 
  2. توحيد الأيقونات: لون موحد هادئ يربط التصميم ببعضه 
*/
.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* خلفية موحدة لجميع الأيقونات */
  background: #1f2937;
  color: #9ca3af;
  /* لون أيقونة رمادي أنيق */
  transition: all 0.3s ease;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

/* 
  3. إظهار ألوان العلامة التجارية فقط عند الـ Hover (للحفاظ على الهدوء البصري) 
*/
.contact-glass-card:hover .phone-icon,
.contact-glass-card:hover .pin-icon {
  background: rgba(217, 195, 163, 0.1);
  color: #d9c3a3;
  /* لون الشامبين الأنيق */
}

.whatsapp-action-card:hover {
  border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-action-card:hover .whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  /* لون الواتساب يظهر فقط عند التفاعل */
}

/* 
  4. النصوص: تباين واضح وإلغاء الـ Letter-spacing اللي بيشوه العربي 
*/
.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  min-width: 0;
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  /* لون هادئ للعنوان الفرعي */
}

.contact-card-val {
  font-size: 1rem;
  font-weight: 600;
  color: #f3f4f6;
  /* أبيض ناصع للرقم ليكون واضحاً */
  direction: ltr;
  display: inline-block;
}

.contact-address-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d1d5db;
  font-weight: 400;
}

/* 
  5. تعديل نبض الواتساب: نقطة هادئة (Status Indicator) بدون الوهج الفاقع 
*/
.whatsapp-badge-pulse {
  position: absolute;
  top: 16px;
  left: 16px;
  /* معكوسة لتناسب الـ RTL لتكون في أقصى اليسار */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #25d366;
  /* إزالة الـ Box Shadow المبالغ فيه وجعل الأنيميشن بطيء (Breathing) */
  animation: simpleBlink 2.5s infinite ease-in-out;
}

@keyframes simpleBlink {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* --- شريط الحقوق السفلي (Footer Bottom Bar) --- */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: #94a3b8;
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agency-credit-tag {
  font-weight: 700;
  color: #00f2fe;
  letter-spacing: 0.5px;
  background: rgba(0, 242, 254, 0.08);
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  transition: all 0.25s ease;
}

.agency-credit-tag:hover {
  background: rgba(0, 242, 254, 0.15);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* ==========================================================================
   التجاوبية وشاشات الموبايل والتابلت للفوتر (Responsive Rules)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    padding-bottom: 50px;
  }
}

@media (max-width: 640px) {
  .clinical-footer {
    padding: 60px 0 0;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 40px;
  }

  .footer-brand-header {
    align-items: flex-start;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 0 28px;
  }
}

/* ==========================================================================
   Persistent Floating Quick Contact & Location Widget (الشريط التفاعلي العائم)
   Theme: Midnight Blue Slate (#071020), Glassmorphism & Emerald/Cyan Accents
   ========================================================================== */
.floating-quick-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  direction: rtl;
  font-family:
    "IBM Plex Sans Arabic",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  user-select: none;
}

/* --- الزر العائم الأساسي (Floating Quick Contact FAB) --- */
.floating-trigger-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  margin: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 20, 42, 0.95),
    rgba(4, 11, 24, 0.98)
  );
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  border-radius: 50%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 12px 32px -4px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(0, 242, 254, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  cursor: pointer;
  color: #00f2fe;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  z-index: 10;
}

.floating-trigger-pill:hover {
  background: linear-gradient(
    135deg,
    rgba(12, 28, 58, 0.98),
    rgba(6, 16, 36, 1)
  );
  border-color: rgba(0, 242, 254, 0.85);
  transform: scale(1.08) translateY(-3px);
  box-shadow:
    0 16px 42px -4px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(0, 242, 254, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.floating-quick-widget.is-open .floating-trigger-pill {
  background: linear-gradient(
    135deg,
    rgba(14, 32, 64, 0.98),
    rgba(7, 18, 40, 1)
  );
  border-color: rgba(0, 242, 254, 0.9);
  box-shadow:
    0 14px 35px -4px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 242, 254, 0.4);
}

/* ومضة النبض الحي الخضراء كشارة في الزاوية العلوية */
.trigger-live-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  z-index: 2;
  pointer-events: none;
}

.trigger-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  position: relative;
}

.trigger-pulse-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 185, 129, 0.65);
  animation: livePulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes livePulseRing {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* عنقود الأيقونة في المنتصف */
.trigger-icon-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.phone-mini-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f2fe;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mini-icon svg {
  width: 25px;
  height: 25px;
}

.floating-trigger-pill:hover .phone-mini-icon {
  transform: scale(1.08) rotate(-8deg);
}

.close-mini-icon {
  display: none;
  align-items: center;
  justify-content: center;
  color: #00f2fe;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.close-mini-icon svg {
  width: 24px;
  height: 24px;
}

/* عند فتح البطاقة: إخفاء أيقونة الهاتف وإظهار أيقونة الإغلاق */
.floating-quick-widget.is-open .phone-mini-icon {
  display: none;
}

.floating-quick-widget.is-open .close-mini-icon {
  display: flex;
}

/* --- بطاقة الانبثاق الزجاجية التفاعلية (The Expanded Popover Card) --- */
.widget-popover-card {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 0;
  width: 340px;
  background: rgba(6, 15, 30, 0.94);
  border: 1px solid rgba(0, 242, 254, 0.24);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(0, 242, 254, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transform-origin: bottom left;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-quick-widget.is-open .widget-popover-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ترويسة البطاقة */
.popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.popover-status-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  /* يُفضل استخدام درجة داكنة من اللون السماوي إذا كانت خلفية الموقع فاتحة */
  color: var(--optic-accent-cyan);
  padding: 2px 10px;
  /* أقواس جانبية فقط تتجاوب مع اتجاه اللغة */
  border-inline-start: 2px solid var(--optic-accent-cyan);
  border-inline-end: 2px solid var(--optic-accent-cyan);
  background-color: transparent;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.status-badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.4px;
}

.popover-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.popover-close-btn svg {
  width: 18px;
  height: 18px;
}

.popover-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.popover-intro {
  margin-bottom: 16px;
  text-align: right;
}

.popover-clinic-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 2px;
}

.popover-clinic-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

/* قائمة الإجراءات */
.popover-actions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popover-action-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  /* حواف أكثر رصانة وجدية */
  background: #111827;
  /* خلفية صلبة وداكنة */
  border: 1px solid #1f2937;
  /* إطار هادئ وموحد */
  text-decoration: none;
  color: inherit;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.popover-action-row:hover {
  background: #1f2937;
  border-color: #374151;
  /* تغيير ناعم في الإطار بدون قفز أو ظلال مضيئة */
}

.action-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #1f2937;
  /* لون خلفية موحد لكل الأيقونات */
  color: #9ca3af;
  /* لون أيقونة رمادي احترافي */
  border: 1px solid #374151;
  transition: all 0.2s ease;
}

.action-row-icon svg {
  width: 18px;
  height: 18px;
}

.popover-action-row.phone-row:hover .action-row-icon,
.popover-action-row.location-row:hover .action-row-icon {
  background: rgba(217, 195, 163, 0.1);
  color: #d9c3a3;
  /* اللون الذهبي/الشامبين الخاص بعلامتك */
  border-color: rgba(217, 195, 163, 0.3);
}

.popover-action-row.whatsapp-row:hover .action-row-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
}

/* 
  3. النصوص: تباين واضح وإلغاء الـ Letter-spacing 
*/
.action-row-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
  min-width: 0;
  text-align: right;
}

.action-row-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

.action-row-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f3f4f6;
  direction: ltr;
  display: inline-block;
}

.action-address-text {
  font-style: normal;
  font-size: 0.8rem;
  color: #d1d5db;
  line-height: 1.5;
}

/* 
  4. الأزرار الجانبية (CTAs): تحويلها من "كبسولات نيون" إلى أزرار عملية (Solid Buttons)
*/
.action-row-cta,
.popover-map-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  flex-shrink: 0;
  background: #1f2937;
  /* زر رمادي داكن صلب */
  color: #e5e7eb;
  border: 1px solid #374151;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.popover-map-btn svg {
  width: 14px;
  height: 14px;
}

/* تفاعل الأزرار الجانبية عند الـ Hover: إلغاء الـ Scale المزعج واستخدام تغيير الألوان */
.popover-action-row:hover .action-row-cta,
.popover-map-btn:hover {
  background: #374151;
  color: #ffffff;
}

/* تمييز زر الواتساب فقط عند الـ Hover لجعله Actionable */
.whatsapp-row:hover .action-row-cta {
  background: #166534;
  /* لون أخضر داكن واحترافي وليس فاقعاً */
  border-color: #15803d;
  color: #ffffff;
}

/* 
  5. تذييل القائمة
*/
.popover-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #1f2937;
}

.widget-mobile-backdrop {
  display: none;
}

/* ==========================================================================
   تكيّف الشاشات الصغيرة والموبايل (Mobile Responsiveness)
   ========================================================================== */
@media (max-width: 640px) {
  .floating-quick-widget {
    bottom: 16px;
    left: 16px;
  }

  .floating-trigger-pill {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
  }

  .phone-mini-icon svg {
    width: 24px;
    height: 24px;
  }

  .close-mini-icon svg {
    width: 23px;
    height: 23px;
  }

  /* تحويل البطاقة إلى نافذة تنبثق فوق شريط الهاتف براحة تامة */
  .widget-popover-card {
    position: fixed;
    bottom: 74px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    transform-origin: bottom center;
    border-radius: 18px;
    padding: 18px;
  }

  .widget-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .floating-quick-widget.is-open .widget-mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

/*******************************************About page ******************************************/

/* --------------------------------------------------------------------------
   إعدادات الصفحة العامة (Base Typography & Reset)
   -------------------------------------------------------------------------- */
.about-page-body {
  background-color: var(--optic-bg-deep);
  color: var(--optic-text-body);
  font-family:
    "IBM Plex Sans Arabic",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.about-wrapper-container {
  width: 90%;
  max-width: var(--optic-container-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* خلفية التدرج الشبكي الميكروي الهادئ */
.optic-grid-ambient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 20%,
    black 30%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   شريط مسار التنقل الدلالي (Breadcrumbs Navigation - SEO)
   -------------------------------------------------------------------------- */
.about-breadcrumbs-bar {
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--optic-border-subtle);
  background: rgba(8, 14, 28, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

.about-breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--optic-text-muted);
}

.breadcrumb-link {
  color: var(--optic-text-muted);
  text-decoration: none;
  transition: color var(--optic-transition-base);
}

.breadcrumb-link:hover {
  color: var(--optic-accent-cyan);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--optic-accent-champagne);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   عناوين الأقسام التحريرية الموحدة (Editorial Luxury Section Headers)
   -------------------------------------------------------------------------- */
.about-section {
  position: relative;
  padding: 95px 0;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.section-dark-alt {
  background: linear-gradient(
    180deg,
    rgba(8, 15, 30, 0.7) 0%,
    rgba(5, 9, 20, 0.95) 100%
  );
}

.editorial-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px;
}

.editorial-kicker {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--optic-accent-champagne);
  padding-inline-start: 12px;
  /* متوافقة مع اتجاه اللغة RTL */
  border-inline-start: 3px solid var(--optic-accent-champagne);
  margin-bottom: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-main-title {
  color: var(--optic-text-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 18px;
}

.section-lead-desc {
  color: var(--optic-text-muted);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.85;
  margin: 0;
}

/* ==========================================================================
   1. هيدر صفحة من نحن وكشف بؤبؤ العين (Section 1: Hero & Iris Reveal)
   ========================================================================== */
.about-hero-section {
  position: relative;
  padding: 85px 0 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.about-editorial-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(216, 195, 165, 0.06);
  border: 1px solid var(--optic-border-hairline);
  padding: 6px 18px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.85rem;
  color: var(--optic-accent-champagne-light);
  width: fit-content;
}

.about-eyebrow-dot {
  width: 7px;
  height: 7px;
  background-color: var(--optic-accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--optic-accent-cyan);
  animation: pulseIrisDot 2.2s infinite ease-in-out;
}

@keyframes pulseIrisDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.about-hero-title {
  color: var(--optic-text-heading);
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}

.title-optic-shimmer {
  background: var(--optic-accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-lead-vision {
  color: var(--optic-text-body);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.85;
  margin: 0;
  border-right: 3px solid var(--optic-accent-champagne);
  padding-right: 20px;
  background: linear-gradient(
    90deg,
    rgba(216, 195, 165, 0.04) 0%,
    transparent 100%
  );
  border-radius: 0 var(--optic-radius-sm) var(--optic-radius-sm) 0;
}

/* بطاقة الاعتمادات الملكية البريطانية */
.about-credentials-box {
  background: var(--optic-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--optic-border-hairline);
  border-radius: var(--optic-radius-card);
  padding: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base);
}

.about-credentials-box:hover {
  border-color: var(--optic-border-hover);
  transform: translateY(-2px);
}

.credentials-inner-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.credentials-crest-box {
  width: 58px;
  height: 58px;
  min-width: 58px;
  background: linear-gradient(
    135deg,
    rgba(216, 195, 165, 0.12),
    rgba(0, 229, 190, 0.08)
  );
  border: 1px solid var(--optic-border-hairline);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-champagne);
}

.credentials-crest-box svg {
  width: 34px;
  height: 34px;
  color: var(--optic-accent-blue);
}

.credentials-heading-h2 {
  font-size: 1.25rem;
  color: var(--optic-text-heading);
  font-weight: 600;
  margin: 0 0 8px;
}

.credentials-role-desc {
  font-size: 0.95rem;
  color: var(--optic-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* مصفوفة الكليات الملكية البريطانية الثلاث (Parallax Micro-Badges) */
.about-royal-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--optic-border-subtle);
}

.royal-triad-item {
  background: rgba(6, 12, 24, 0.85);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-sm);
  padding: 14px 12px;
  text-align: center;
  position: relative;
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base),
    background var(--optic-transition-base);
  cursor: default;
}

.royal-triad-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--optic-border-cyan);
  background: rgba(10, 20, 38, 0.95);
  /* box-shadow: 0 8px 24px rgba(0, 229, 190, 0.1); */
}

.triad-icon-pin {
  width: 5px;
  height: 5px;
  background-color: var(--optic-accent-cyan);
  border-radius: 50%;
  margin: 0 auto 6px;
  box-shadow: 0 0 8px var(--optic-accent-cyan);
}

.triad-badge-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--optic-accent-champagne);
  margin-bottom: 4px;
}

.triad-badge-desc {
  display: block;
  font-size: 0.74rem;
  color: var(--optic-text-muted);
  line-height: 1.4;
}

.about-commitment-text {
  font-size: 0.95rem;
  color: var(--optic-text-muted);
  margin: 0;
  line-height: 1.75;
}

/* كشف القزحية وبورتريه الطبيب */
.about-visual-column {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iris-aperture-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.iris-optical-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 118%;
  height: 118%;
  pointer-events: none;
  z-index: 1;
  color: var(--optic-accent-cyan);
}

.iris-diaphragm-svg {
  width: 100%;
  height: 100%;
  animation: rotateIrisRing 50s linear infinite;
}

@keyframes rotateIrisRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.doctor-portrait-frame {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--optic-border-hairline);
  background: var(--optic-bg-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition:
    transform var(--optic-transition-smooth),
    border-color var(--optic-transition-base);
}

.doctor-portrait-frame:hover {
  transform: scale(1.015);
  border-color: var(--optic-accent-cyan);
}

.iris-glow-core {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 190, 0.1) 0%,
    rgba(216, 195, 165, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.doctor-portrait-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 2;
  filter: contrast(1.04) brightness(0.98);
}

.portrait-reticle-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.reticle-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--optic-accent-cyan);
  opacity: 0.6;
}

.corner-tl {
  top: 16px;
  right: 16px;
  border-bottom: none;
  border-left: none;
}

.corner-tr {
  top: 16px;
  left: 16px;
  border-bottom: none;
  border-right: none;
}

.corner-bl {
  bottom: 84px;
  right: 16px;
  border-top: none;
  border-left: none;
}

.corner-br {
  bottom: 84px;
  left: 16px;
  border-top: none;
  border-right: none;
}

.doctor-caption-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 28, 0.6) 0%,
    rgba(5, 9, 20, 0.95) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--optic-border-subtle);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

.caption-doctor-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--optic-text-heading);
}

.caption-doctor-spec {
  display: block;
  font-size: 0.8rem;
  color: var(--optic-accent-blue);
}

.caption-status-verified {
  font-size: 0.76rem;
  background: rgba(0, 229, 190, 0.12);
  color: var(--optic-accent-cyan);
  border: 1px solid rgba(0, 229, 190, 0.3);
  padding: 4px 10px;
  border-radius: var(--optic-radius-pill);
  font-weight: 600;
}

/* ==========================================================================
   حركة رسم الأيقونات (Luxury Continuous Line Drawing - V2)
   ========================================================================== */

.animated-svg-path {
  fill: transparent !important;
  /* ضمان عدم تعبئة الشكل أثناء الرسم */
  stroke-dasharray: 100 100;
  /* تحديد طول الخط والفراغ بدقة */
  stroke-dashoffset: 100;
  /* البداية مخفية */

  /* حركة ناعمة ومستمرة */
  -webkit-animation: premiumSvgDrawLoop 6s cubic-bezier(0.4, 0, 0.2, 1) infinite
    forwards;
  animation: premiumSvgDrawLoop 6s cubic-bezier(0.4, 0, 0.2, 1) infinite
    forwards;
}

/* تأخير متسلسل للخطوط لتبدو كأنها ترسم بالترتيب */
.draw-1 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.draw-2 {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.draw-3 {
  -webkit-animation-delay: 1.6s;
  animation-delay: 1.6s;
}

/* مسار الحركة للرسم */
@-webkit-keyframes premiumSvgDrawLoop {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  40% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  /* ثبات الأيقونة ليراها المستخدم */
  95% {
    stroke-dashoffset: 0;
    opacity: 0;
  }

  /* تلاشي ناعم */
  100% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
}

@keyframes premiumSvgDrawLoop {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  40% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  /* ثبات الأيقونة ليراها المستخدم */
  95% {
    stroke-dashoffset: 0;
    opacity: 0;
  }

  /* تلاشي ناعم */
  100% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
}

/* توهج خفيف للأيقونة يتناسب مع التصميم الفاخر */
.badge-icon-wrap svg {
  filter: drop-shadow(0 0 4px currentColor);
  overflow: visible;
  /* لمنع قص الأطراف المضيئة */
}

/* ==========================================================================
   2. قسم خبراتنا الطبية ومحاكاة حدة الإبصار (Section 2: Clinical Expertise)
   ========================================================================== */
.expertise-optical-section {
  position: relative;
  overflow: hidden;
}

.clarity-simulator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-hairline);
  border-radius: var(--optic-radius-pill);
  padding: 10px 24px;
  margin-bottom: 45px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.simulator-meta-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--optic-accent-cyan);
  box-shadow: 0 0 8px var(--optic-accent-cyan);
}

.simulator-label {
  color: var(--optic-text-muted);
}

.simulator-value {
  color: var(--optic-accent-champagne);
  font-weight: 600;
  transition: color 0.3s ease;
}

.simulator-toggle-wrapper {
  display: flex;
  gap: 8px;
  background: rgba(5, 9, 20, 0.6);
  padding: 4px;
  border-radius: var(--optic-radius-pill);
  border: 1px solid var(--optic-border-subtle);
}

.clarity-btn {
  background: transparent;
  border: none;
  color: var(--optic-text-muted);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--optic-radius-pill);
  cursor: pointer;
  transition: all var(--optic-transition-base);
}

.clarity-btn:hover {
  color: var(--optic-text-heading);
}

.clarity-btn.active {
  background: linear-gradient(
    135deg,
    rgba(216, 195, 165, 0.25),
    rgba(0, 229, 190, 0.2)
  );
  color: var(--optic-text-heading);
  border: 1px solid var(--optic-border-hairline);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.expertise-optical-display {
  position: relative;
}

.laser-scanner-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--optic-accent-cyan) 50%,
    transparent 100%
  );
  box-shadow: 0 0 16px var(--optic-accent-cyan);
  opacity: 0.85;
}

.scanner-glow-head {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 10px;
  background: var(--optic-accent-cyan);
  border-radius: 50%;
  filter: blur(2px);
}

.expertise-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transition:
    filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;
}

.expertise-card {
  background: var(--optic-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--optic-border-hairline),
    transparent
  );
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: var(--optic-border-cyan);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 229, 190, 0.08);
}

.expertise-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.expertise-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 229, 190, 0.08);
  border: 1px solid rgba(0, 229, 190, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
}

.expertise-card-icon svg {
  width: 26px;
  height: 26px;
}

.expertise-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* مسافة بين النص والخط */
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--optic-accent-champagne);
  margin-bottom: 16px;
}

.expertise-spec-badge::after {
  content: "";
  display: block;
  width: 45px;
  height: 2px;
  background-color: var(--optic-accent-champagne);
  opacity: 0.7;
}

.expertise-card-title {
  color: var(--optic-text-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.45;
}

.expertise-card-text {
  color: var(--optic-text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
  margin: 0 0 22px;
  flex-grow: 1;
}

.card-optical-footer {
  border-top: 1px solid var(--optic-border-subtle);
  padding-top: 14px;
}

.optical-coord {
  font-size: 0.76rem;
  color: var(--optic-text-muted);
}

/* ==========================================================================
   3. قسم رسالتنا ورؤيتنا بالمنظور ثلاثي الأبعاد (Section 3: Mission & Vision 3D)
   ========================================================================== */
.mission-vision-section {
  position: relative;
}

.mission-vision-perspective-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  perspective: 1200px;
}

.hologram-panel-card {
  position: relative;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-hairline);
  border-radius: var(--optic-radius-card);
  padding: 40px 36px;
  transform-style: preserve-3d;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hologram-panel-card:hover {
  border-color: var(--optic-border-hover);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(216, 195, 165, 0.12);
}

.hologram-flare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--flare-x, 50%) var(--flare-y, 50%),
    rgba(216, 195, 165, 0.14) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.hologram-panel-card:hover .hologram-flare {
  opacity: 1;
}

/* المحاذاة المحكمة والمنسقة لكروت الرسالة والرؤية */
.panel-card-inner {
  position: relative;
  z-index: 2;
  transform: translateZ(24px);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: right;
}

.panel-header-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.panel-icon-box {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-icon-box.icon-mission {
  background: rgba(216, 195, 165, 0.1);
  border: 1px solid var(--optic-border-hairline);
  color: var(--optic-accent-champagne);
}

.panel-icon-box.icon-vision {
  background: #d9c3a32b;
  border: 1px solid #d9c3a3;
  color: #d9c3a3;
}

.panel-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-tag-code {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--optic-accent-champagne);
  font-weight: 600;
}

.panel-main-title {
  color: var(--optic-text-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.panel-body-text {
  color: var(--optic-text-body);
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 0 0 28px;
  flex-grow: 1;
}

.panel-footer-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--optic-border-subtle);
}

.meta-pillar-pill {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--optic-border-subtle);
  color: var(--optic-text-muted);
  padding: 4px 14px;
  border-radius: var(--optic-radius-pill);
}

/* ==========================================================================
   4. قسم ما نسعى لتحقيقه بالمسار الحركي التتابعي (Section 4: Kinetic Track)
   ========================================================================== */
.strive-kinetic-section {
  position: relative;
}

.kinetic-track-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-right: 48px;
}

.kinetic-laser-spine {
  position: absolute;
  top: 15px;
  bottom: 30px;
  right: 14px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.kinetic-laser-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    180deg,
    var(--optic-accent-cyan),
    var(--optic-accent-champagne)
  );
  box-shadow: 0 0 10px var(--optic-accent-cyan);
  transition: height 0.4s ease-out;
}

.kinetic-target-reticle {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 4;
}

.reticle-core-pulse {
  position: absolute;
  inset: 7px;
  background-color: var(--optic-accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--optic-accent-cyan);
}

.reticle-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--optic-accent-cyan);
  border-radius: 50%;
  animation: pulseReticleRing 2s infinite ease-out;
}

@keyframes pulseReticleRing {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.strive-sequence-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.kinetic-step-card {
  position: relative;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  padding: 28px 32px;
  transition: all var(--optic-transition-base);
}

.kinetic-step-card:hover,
.kinetic-step-card.is-active-step {
  border-color: var(--optic-border-cyan);
  background: var(--optic-bg-card-hover);
  transform: translateX(-6px);
  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(0, 229, 190, 0.08);
}

.step-laser-anchor {
  position: absolute;
  top: 36px;
  right: -42px;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anchor-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all var(--optic-transition-base);
}

.kinetic-step-card.is-active-step .anchor-dot,
.kinetic-step-card:hover .anchor-dot {
  background: var(--optic-accent-cyan);
  box-shadow: 0 0 10px var(--optic-accent-cyan);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.step-number-tag {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--optic-accent-blue);
}

.step-badge-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #00332a;
  /* استخدم لون داكن جداً ليقرأ بوضوح */
  background-color: var(--optic-accent-cyan);
  /* خلفية صلبة بدون شفافية */
  padding: 4px 16px;
  /* السر هنا: زاويتين دائريتين وزاويتين حادتين */
  border-radius: 12px 0 12px 0;
}

.step-item-text {
  color: var(--optic-text-body);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   5. قسم ما يميزنا (Section 5: Luxury Optical Redesign)
   ========================================================================== */
.distinction-section {
  position: relative;
  overflow: hidden;
}

.distinction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

/* بطاقة الفخامة الطبية المتقدمة (Luxury Editorial Glassmorphism) */
.distinction-luxury-card {
  position: relative;
  background: rgba(11, 19, 43, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* نسيج الشبكية البصرية الميكروية في خلفية الكارت */
.card-optical-grid-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 80% 15%,
      rgba(0, 229, 190, 0.07) 0%,
      transparent 60%
    ),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size:
    100% 100%,
    30px 30px,
    30px 30px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* كشاف ضوء العدسة الانكساري الموجه (Lens Spotlight) */
.card-refraction-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    380px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(0, 229, 190, 0.12) 0%,
    transparent 65%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.distinction-luxury-card[data-card-index="2"] .card-refraction-spotlight {
  background: radial-gradient(
    380px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(216, 195, 165, 0.15) 0%,
    transparent 65%
  );
}

.distinction-luxury-card[data-card-index="3"] .card-refraction-spotlight {
  background: radial-gradient(
    380px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(56, 189, 248, 0.14) 0%,
    transparent 65%
  );
}

.distinction-luxury-card:hover .card-refraction-spotlight {
  opacity: 1;
}

/* تأثير مسح الحواف الليزرية المحيطة بالكارت (Laser Border-Sweep) */
.card-border-laser-sweep {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--laser-angle, 0deg) at 50% 50%,
    transparent 70%,
    rgba(0, 229, 190, 0.5) 88%,
    rgba(216, 195, 165, 0.7) 96%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.4s ease;
}

.distinction-luxury-card[data-card-index="2"] .card-border-laser-sweep {
  background: conic-gradient(
    from var(--laser-angle, 0deg) at 50% 50%,
    transparent 70%,
    rgba(216, 195, 165, 0.5) 88%,
    rgba(244, 235, 225, 0.8) 96%,
    transparent 100%
  );
}

.distinction-luxury-card[data-card-index="3"] .card-border-laser-sweep {
  background: conic-gradient(
    from var(--laser-angle, 0deg) at 50% 50%,
    transparent 70%,
    rgba(56, 189, 248, 0.5) 88%,
    rgba(0, 229, 190, 0.7) 96%,
    transparent 100%
  );
}

.distinction-luxury-card:hover .card-border-laser-sweep {
  opacity: 1;
}

/* المحتوى الداخلي للكارت */
.card-content-wrap {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ترويسة الكارت والأيقونة الهندسية الفاخرة */
.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* الحاوية الهندسية الفاخرة للأيقونة (Geometric Lens Badge) */
.geometric-lens-badge {
  position: relative;
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 190, 0.1),
    rgba(11, 20, 38, 0.95)
  );
  border: 1px solid rgba(0, 229, 190, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
  box-shadow: 0 8px 24px -6px rgba(0, 229, 190, 0.2);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.geometric-lens-badge.badge-champagne {
  background: linear-gradient(
    135deg,
    rgba(216, 195, 165, 0.12),
    rgba(11, 20, 38, 0.95)
  );
  border-color: rgba(216, 195, 165, 0.3);
  color: var(--optic-accent-champagne);
  box-shadow: 0 8px 24px -6px rgba(216, 195, 165, 0.2);
}

.geometric-lens-badge.badge-teal {
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.12),
    rgba(11, 20, 38, 0.95)
  );
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  box-shadow: 0 8px 24px -6px rgba(56, 189, 248, 0.2);
}

.distinction-luxury-card:hover .geometric-lens-badge {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(0, 229, 190, 0.35);
}

.distinction-luxury-card:hover .geometric-lens-badge.badge-champagne {
  box-shadow: 0 12px 28px -4px rgba(216, 195, 165, 0.35);
}

.distinction-luxury-card:hover .geometric-lens-badge.badge-teal {
  box-shadow: 0 12px 28px -4px rgba(56, 189, 248, 0.35);
}

/* حلقة البؤبؤ البصرية الخارجية والمركز المتوهج */
.badge-ring-outer {
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  pointer-events: none;
}

.badge-focal-core {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: currentColor;
  border-radius: 50%;
  top: 8px;
  right: 8px;
  box-shadow: 0 0 8px currentColor;
}

.badge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.badge-icon-wrap svg {
  width: 26px;
  height: 26px;
}

/* شارات التصنيف الإكلينيكي */
.feature-pill-badge {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: var(--optic-radius-pill);
}

.badge-pill-cyan {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  /* يُفضل استخدام درجة داكنة من اللون السماوي إذا كانت خلفية الموقع فاتحة */
  color: var(--optic-accent-cyan);
  padding: 2px 10px;
  /* أقواس جانبية فقط تتجاوب مع اتجاه اللغة */
  border-inline-start: 2px solid var(--optic-accent-cyan);
  border-inline-end: 2px solid var(--optic-accent-cyan);
  background-color: transparent;
}

.badge-pill-champagne {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  /* يُفضل استخدام درجة داكنة من اللون السماوي إذا كانت خلفية الموقع فاتحة */
  color: var(--optic-accent-cyan);
  padding: 2px 10px;
  /* أقواس جانبية فقط تتجاوب مع اتجاه اللغة */
  border-inline-start: 2px solid var(--optic-accent-cyan);
  border-inline-end: 2px solid var(--optic-accent-cyan);
  background-color: transparent;
}

.badge-pill-teal {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  /* يُفضل استخدام درجة داكنة من اللون السماوي إذا كانت خلفية الموقع فاتحة */
  color: var(--optic-accent-cyan);
  padding: 2px 10px;
  /* أقواس جانبية فقط تتجاوب مع اتجاه اللغة */
  border-inline-start: 2px solid var(--optic-accent-cyan);
  border-inline-end: 2px solid var(--optic-accent-cyan);
  background-color: transparent;
}

/* تباين الخطوط التحريرية */
.distinction-headline {
  color: #ffffff;
  font-size: 1.36rem;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.distinction-paragraph {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.85;
  margin: 0 0 28px;
  flex-grow: 1;
}

/* تذييل الكارت ومعلومات التحقق */
.distinction-foot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 16px;
  margin-top: auto;
}

.meta-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--optic-accent-cyan);
  box-shadow: 0 0 8px var(--optic-accent-cyan);
}

.meta-pulse-dot.meta-pulse-champagne {
  background-color: var(--optic-accent-champagne);
  box-shadow: 0 0 8px var(--optic-accent-champagne);
}

.meta-pulse-dot.meta-pulse-teal {
  background-color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.meta-text {
  font-size: 0.82rem;
  color: var(--optic-accent-champagne-light);
  font-weight: 500;
}

.meta-serial-code {
  font-size: 0.72rem;
  color: var(--optic-text-muted);
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* التفاعل الحركي ثلاثي الأبعاد والتوهج الناعم عند التحويم */
.distinction-luxury-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 229, 190, 0.35);
  box-shadow:
    0 24px 48px -12px rgba(0, 229, 190, 0.16),
    0 0 0 1px rgba(0, 229, 190, 0.2);
}

.distinction-luxury-card[data-card-index="2"]:hover {
  border-color: rgba(216, 195, 165, 0.35);
  box-shadow:
    0 24px 48px -12px rgba(216, 195, 165, 0.18),
    0 0 0 1px rgba(216, 195, 165, 0.2);
}

.distinction-luxury-card[data-card-index="3"]:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow:
    0 24px 48px -12px rgba(56, 189, 248, 0.18),
    0 0 0 1px rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   6. قسم مجالات الرعاية الطبية (Section 6: Medical Specializations)
   ========================================================================== */
.specialties-optical-section {
  position: relative;
}

.specialties-dynamic-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.specialty-grid-item {
  display: flex;
  visibility: visible !important;
  opacity: 1;
}

.specialty-card-anchor {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: all var(--optic-transition-base);
  position: relative;
  overflow: hidden;
}

.specialty-card-anchor::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 0%;
  background: var(--optic-accent-cyan);
  transition: height var(--optic-transition-base);
}

.specialty-card-anchor:hover {
  border-color: var(--optic-border-cyan);
  background: var(--optic-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.specialty-card-anchor:hover::before {
  height: 100%;
}

.specialty-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.specialty-code-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--optic-accent-champagne);
}

.specialty-arrow-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-text-muted);
  transition: all var(--optic-transition-base);
}

.specialty-arrow-icon svg {
  width: 16px;
  height: 16px;
}

.specialty-card-anchor:hover .specialty-arrow-icon {
  background: var(--optic-accent-cyan);
  color: var(--optic-bg-deep);
  transform: rotate(-45deg);
}

.specialty-title-text {
  color: var(--optic-text-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 8px;
}

.specialty-sub-desc {
  color: var(--optic-text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}

.specialty-card-footer {
  border-top: 1px solid var(--optic-border-subtle);
  padding-top: 10px;
}

.specialty-action-prompt {
  font-size: 0.78rem;
  color: var(--optic-accent-champagne);
  font-weight: 500;
  transition: color var(--optic-transition-base);
}

.specialty-card-anchor:hover .specialty-action-prompt {
  color: var(--optic-accent-cyan);
}

/* --------------------------------------------------------------------------
   التجاوب مع الشاشات (Responsive Layouts)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .specialties-dynamic-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 960px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual-column {
    order: -1;
  }

  .expertise-metrics-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision-perspective-grid {
    grid-template-columns: 1fr;
  }

  .distinction-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .about-hero-section {
    padding: 60px 0 80px;
  }

  .about-royal-triad {
    grid-template-columns: 1fr;
  }

  .clarity-simulator-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    border-radius: var(--optic-radius-card);
  }

  .simulator-toggle-wrapper {
    justify-content: center;
  }

  .kinetic-track-container {
    padding-right: 0;
  }

  .kinetic-laser-spine {
    display: none;
  }

  .specialties-dynamic-grid {
    grid-template-columns: 1fr !important;
  }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   صفحة تفاصيل الخدمة الجراحية (Vitreoretinal Surgery Single Page - Luxury Optics)
   ========================================================================== */

/* 1. شريط مسار التنقل (Breadcrumbs Bar) */
.service-breadcrumbs-bar {
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--optic-border-subtle);
  background: rgba(8, 14, 28, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

.service-breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--optic-text-muted);
}

.service-breadcrumbs-list a {
  color: var(--optic-text-muted);
  text-decoration: none;
  transition: color var(--optic-transition-base);
}

.service-breadcrumbs-list a:hover {
  color: var(--optic-accent-cyan);
}

.service-breadcrumbs-list .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.service-breadcrumbs-list .breadcrumb-current {
  color: var(--optic-accent-champagne);
  font-weight: 600;
}

/* 2. قسم بطل الخدمة (Service Hero Section) */
.service-hero-section {
  position: relative;
  padding: 70px 0 95px;
  overflow: hidden;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}

.service-hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: right;
}

/* شارة التميز الرقمية المتوهجة */
.service-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(216, 195, 165, 0.08);
  border: 1px solid rgba(216, 195, 165, 0.25);
  padding: 6px 18px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.85rem;
  color: var(--optic-accent-champagne-light);
  width: fit-content;
}

.service-badge-counter {
  font-weight: 700;
  color: var(--optic-accent-cyan);
  background: rgba(0, 229, 190, 0.12);
  padding: 2px 8px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 229, 190, 0.3);
}

.service-badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--optic-accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--optic-accent-cyan);
  animation: pulseIrisDot 2s infinite ease-in-out;
}

.service-hero-title {
  color: var(--optic-text-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.service-hero-lead {
  color: var(--optic-text-body);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.85;
  margin: 0;
  border-right: 3px solid var(--optic-accent-cyan);
  padding-right: 18px;
  background: linear-gradient(
    90deg,
    rgba(0, 229, 190, 0.04) 0%,
    transparent 100%
  );
  border-radius: 0 var(--optic-radius-sm) var(--optic-radius-sm) 0;
}

/* شارات القياسات والاعتماد السريع */
.service-hero-telemetry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 20, 38, 0.8);
  border: 1px solid var(--optic-border-subtle);
  padding: 6px 14px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.82rem;
  color: var(--optic-text-muted);
}

.telemetry-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--optic-accent-champagne);
}

/* زر الحجز السريع الرئيسي مع تأثير الضوء المسحي الفاخر */
.service-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #0b1930 0%, #061122 100%);
  border: 1px solid rgba(0, 229, 190, 0.5);
  color: #ffffff !important;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 600;
  padding: 18px 34px;
  border-radius: 14px;
  text-decoration: none;
  width: fit-content;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 229, 190, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 8px;
}

.service-hero-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 190, 0.25),
    transparent
  );
  transition: left 0.7s ease;
}

.service-hero-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--optic-accent-cyan);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(0, 229, 190, 0.3);
}

.service-hero-cta-btn:hover::before {
  left: 100%;
}

.service-hero-cta-btn .cta-arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.service-hero-cta-btn:hover .cta-arrow-icon {
  transform: translateX(-4px);
}

/* العنصر البصري التفاعلي في بطل الخدمة (Retina Optics Reticle Visual) */
.service-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.retina-lens-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(11, 19, 43, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--optic-border-hairline);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 229, 190, 0.08);
  overflow: hidden;
}

.retina-lens-radar {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 190, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring-inner {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(216, 195, 165, 0.25);
}

.radar-ring-focal {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 190, 0.25) 0%,
    transparent 70%
  );
  border: 1px solid var(--optic-accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 190, 0.3);
  animation: pulseIrisDot 2.8s infinite ease-in-out;
}

.radar-crosshair-h {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(0, 229, 190, 0.35);
}

.radar-crosshair-v {
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(0, 229, 190, 0.35);
}

.radar-laser-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(0, 229, 190, 0.35) 0deg,
    transparent 60deg,
    transparent 360deg
  );
  animation: rotateIrisRing 8s linear infinite;
}

.retina-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--optic-border-subtle);
  padding-top: 20px;
}

.retina-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.retina-spec-label {
  color: var(--optic-text-muted);
}

.retina-spec-value {
  color: var(--optic-accent-champagne);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 3. قسم السرد الإكلينيكي المفصل (Detailed Service Overview) */
.service-overview-section {
  position: relative;
  padding: 95px 0;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.overview-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.overview-narrative-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: right;
}

.overview-main-paragraph {
  color: var(--optic-text-body);
  font-size: 1.12rem;
  line-height: 2;
  margin: 0;
  background: rgba(11, 20, 38, 0.4);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  padding: 32px 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.overview-main-paragraph::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  width: 4px;
  height: 48px;
  background: var(--optic-accent-champagne);
  border-radius: 4px 0 0 4px;
}

/* بطاقة الإحصائيات والمعايير الجراحية الدقيقة */
.overview-clinical-card {
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-hairline);
  border-radius: var(--optic-radius-card);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.clinical-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--optic-border-subtle);
  padding-bottom: 16px;
}

.clinical-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 229, 190, 0.1);
  border: 1px solid rgba(0, 229, 190, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
}

.clinical-icon-circle svg {
  width: 24px;
  height: 24px;
}

.clinical-header-title {
  color: var(--optic-text-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.clinical-metrics-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clinical-metric-box {
  background: rgba(6, 12, 24, 0.7);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--optic-transition-base);
}

.clinical-metric-box:hover {
  border-color: var(--optic-border-cyan);
}

.metric-title {
  font-size: 0.9rem;
  color: var(--optic-text-muted);
}

.metric-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--optic-accent-cyan);
  background: rgba(0, 229, 190, 0.08);
  border: 1px solid rgba(0, 229, 190, 0.2);
  padding: 3px 10px;
  border-radius: var(--optic-radius-pill);
}

/* 4. قسم مميزات الخدمة (Interactive Features Grid) */
.service-features-section {
  position: relative;
  padding: 95px 0;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.features-luxury-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-glass-card {
  position: relative;
  background: var(--optic-bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-align: right;
}

.feature-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--optic-accent-cyan),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--optic-border-cyan);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(0, 229, 190, 0.1);
  background: var(--optic-bg-card-hover);
}

.feature-glass-card:hover::before {
  opacity: 1;
}

.feature-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 190, 0.12),
    rgba(11, 20, 38, 0.95)
  );
  border: 1px solid rgba(0, 229, 190, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
  transition: transform var(--optic-transition-base);
}

.feature-glass-card:hover .feature-icon-badge {
  transform: scale(1.1);
}

.feature-icon-badge svg {
  width: 26px;
  height: 26px;
}

.feature-index-tag {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--optic-accent-champagne);
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.feature-card-title {
  color: var(--optic-text-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.45;
}

.feature-card-desc {
  color: var(--optic-text-body);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
  flex-grow: 1;
}

/* 5. قسم لماذا تختار عيادتنا (Value Proposition) */
.service-why-us-section {
  position: relative;
  padding: 95px 0;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.why-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.why-highlight-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(11, 20, 38, 0.85) 0%,
    rgba(6, 12, 24, 0.95) 100%
  );
  border: 1px solid var(--optic-border-hairline);
  border-radius: 22px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: right;
}

.why-highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--optic-border-hover);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(216, 195, 165, 0.12);
}

.why-card-crest {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-crest.crest-gold {
  background: linear-gradient(
    135deg,
    rgba(216, 195, 165, 0.15),
    rgba(11, 20, 38, 0.95)
  );
  border: 1px solid rgba(216, 195, 165, 0.35);
  color: var(--optic-accent-champagne);
}

.why-card-crest.crest-cyan {
  background: linear-gradient(
    135deg,
    rgba(0, 229, 190, 0.15),
    rgba(11, 20, 38, 0.95)
  );
  border: 1px solid rgba(0, 229, 190, 0.35);
  color: var(--optic-accent-cyan);
}

.why-card-crest svg {
  width: 28px;
  height: 28px;
}

.why-card-title {
  color: var(--optic-text-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.why-card-desc {
  color: var(--optic-text-body);
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 0;
}

.why-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--optic-border-subtle);
  padding-top: 18px;
}

.why-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--optic-text-muted);
}

.why-bullet-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 229, 190, 0.12);
  border: 1px solid rgba(0, 229, 190, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
  flex-shrink: 0;
}

.why-bullet-check svg {
  width: 10px;
  height: 10px;
}

/* 6. قسم الأسئلة الشائعة (FAQ Accordion) */
.service-faq-section {
  position: relative;
  padding: 95px 0;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.faq-accordion-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base);
}

.faq-item.is-open {
  border-color: var(--optic-border-cyan);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(0, 229, 190, 0.08);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--optic-text-heading);
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 24px 26px;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--optic-transition-base);
}

.faq-question-btn:hover {
  color: var(--optic-accent-cyan);
}

.faq-chevron-icon {
  width: 20px;
  height: 20px;
  color: var(--optic-accent-champagne);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-chevron-icon {
  transform: rotate(180deg);
  color: var(--optic-accent-cyan);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(6, 12, 24, 0.6);
}

.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--optic-text-body);
  font-size: 0.98rem;
  line-height: 1.85;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

/* 7. قسم الفيديوهات المرتبطة (Related Video Gallery - 7 Videos) */
.service-videos-section {
  position: relative;
  padding: 95px 0;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.videos-interactive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-video-card {
  position: relative;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-align: right;
}

.service-video-card:hover {
  transform: translateY(-6px);
  border-color: var(--optic-border-cyan);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 229, 190, 0.1);
}

.video-poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #071226 0%, #030814 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-retina-overlay-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 229, 190, 0.12) 0%,
      transparent 65%
    ),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size:
    100% 100%,
    20px 20px,
    20px 20px;
  opacity: 0.8;
  transition: transform 0.6s ease;
}

.service-video-card:hover .video-retina-overlay-bg {
  transform: scale(1.08);
}

.video-play-btn-pulse {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 20, 38, 0.85);
  border: 1px solid var(--optic-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 229, 190, 0.3);
  transition: all 0.3s ease;
}

.video-play-btn-pulse svg {
  width: 22px;
  height: 22px;
  transform: translateX(-1px);
}

.service-video-card:hover .video-play-btn-pulse {
  transform: scale(1.15);
  background: var(--optic-accent-cyan);
  color: var(--optic-bg-deep);
  box-shadow: 0 0 30px rgba(0, 229, 190, 0.6);
}

.video-duration-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(5, 9, 20, 0.85);
  color: var(--optic-accent-champagne-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--optic-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.video-index-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 229, 190, 0.12);
  color: var(--optic-accent-cyan);
  border: 1px solid rgba(0, 229, 190, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--optic-radius-pill);
  z-index: 2;
}

.video-card-meta {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.video-card-title {
  color: var(--optic-text-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  transition: color var(--optic-transition-base);
}

.service-video-card:hover .video-card-title {
  color: var(--optic-accent-cyan);
}

.video-card-sub {
  color: var(--optic-text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  margin: 0;
}

/* نافذة مشغل الفيديو المنبثقة الفاخرة (Video Modal) */
.service-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.service-video-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 840px;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-hairline);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-video-modal.is-active .video-modal-dialog {
  transform: translateY(0) scale(1);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--optic-border-subtle);
  background: rgba(8, 14, 28, 0.9);
}

.video-modal-title {
  color: var(--optic-text-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.video-modal-close-btn {
  background: transparent;
  border: none;
  color: var(--optic-text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.video-modal-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--optic-text-muted);
  text-align: center;
  padding: 30px;
}

/* ==========================================================================
   حقول نموذج الحجز (أولوية قصوى باستخدام الـ ID)
   ========================================================================== */

/* الحقول (Input, Select, Textarea) */
#clinicContactForm .contact-form__input,
#clinicContactForm .contact-form__select,
#clinicContactForm .contact-form__textarea {
  width: 100%;
  background-color: rgba(5, 9, 20, 0.7);
  /* تحديد اللون بوضوح */
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* var(--optic-border-subtle) */
  border-radius: 12px;
  padding: 14px 18px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  /* فرض الخط بوضوح */
  font-size: 0.94rem;
  color: #ffffff;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  /* إزالة تنسيقات الموبايل الافتراضية */
  appearance: none;
}

/* حالة الـ Focus */
#clinicContactForm .contact-form__input:focus,
#clinicContactForm .contact-form__select:focus,
#clinicContactForm .contact-form__textarea:focus {
  border-color: #00e5be;
  /* var(--optic-accent-cyan) */
  background-color: rgba(11, 20, 38, 0.95);
  /* لون داكن قليلاً عند التركيز */
  box-shadow:
    0 0 0 2px rgba(0, 229, 190, 0.15),
    0 0 15px rgba(0, 229, 190, 0.1);
  outline: none;
}

/* تنسيق النصوص الإرشادية (Placeholder) */
#clinicContactForm .contact-form__input::placeholder,
#clinicContactForm .contact-form__textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
  /* لون رمادي باهت */
  opacity: 1;
  /* إجبار المتصفح على عدم تخفيف اللون */
}

/* تنسيق قائمة الخيارات (Select) خصيصاً */
#clinicContactForm .contact-form__select {
  cursor: pointer;
  padding-left: 45px;
  /* ترك مساحة للسهم في اليسار */
  padding-right: 18px;
}

#clinicContactForm .contact-form__select option {
  background-color: #0b1426;
  color: #ffffff;
  padding: 12px;
}

/* مساحة النص الطويل (Textarea) */
#clinicContactForm .contact-form__textarea {
  resize: vertical;
  /* السماح بتكبيره بالطول فقط */
  min-height: 120px;
  line-height: 1.6;
}

/* سهم قائمة الخيارات المخصص */
#clinicContactForm .contact-form__select-arrow {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
  /* var(--optic-text-muted) */
  pointer-events: none;
  /* لمنع السهم من إعاقة النقر */
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  z-index: 2;
  /* لضمان ظهوره فوق الحقل */
}

/* حركة السهم عند التركيز */
#clinicContactForm .contact-form__select:focus + .contact-form__select-arrow {
  color: #00e5be;
  /* يتحول للسماوي */
  transform: translateY(-50%) rotate(180deg);
  /* ينقلب لأعلى */
}

/* --------------------------------------------------------------------------
   التجاوب مع الشاشات لصفحة الخدمة (Responsive Service Layouts)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .overview-editorial-grid {
    grid-template-columns: 1fr;
  }

  .features-luxury-grid {
    grid-template-columns: 1fr;
  }

  .why-service-grid {
    grid-template-columns: 1fr;
  }

  .videos-interactive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .service-hero-section {
    padding: 50px 0 70px;
  }

  .form-grid-two-cols {
    grid-template-columns: 1fr;
  }

  .videos-interactive-grid {
    grid-template-columns: 1fr;
  }

  .booking-wrapper-card {
    padding: 34px 22px;
  }

  .service-hero-cta-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  .booking-trust-indicators {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   معرض الصور التوثيقي الطبي (Photo Gallery & Clinical Lightbox Styles)
   Architecture: BEM & Modular CSS Custom Properties (Strictly No Tailwind)
   ========================================================================== */

/* مسار التصفح لصفحة المعرض (Breadcrumb Bar) */
.gallery-breadcrumbs-bar {
  background: rgba(11, 20, 38, 0.45);
  border-bottom: 1px solid var(--optic-border-subtle);
  padding: 14px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--optic-text-muted);
}

.gallery-breadcrumbs-list .breadcrumb-link {
  color: var(--optic-text-muted);
  transition: color var(--optic-transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gallery-breadcrumbs-list .breadcrumb-link:hover {
  color: var(--optic-accent-cyan);
}

.gallery-breadcrumbs-list .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.gallery-breadcrumbs-list .breadcrumb-current {
  color: #ffffff;
  font-weight: 500;
}

/* هيدر المعرض وقسم التوثيق البصري (Gallery Hero Section) */
.gallery-hero-section {
  position: relative;
  padding: 85px 0 45px;
  text-align: center;
  overflow: hidden;
}

.gallery-hero-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 190, 0.08) 0%,
    rgba(56, 189, 248, 0.03) 50%,
    transparent 80%
  );
  pointer-events: none;
  filter: blur(50px);
}

.gallery-eyebrow-pill {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  /* يُفضل استخدام درجة داكنة من اللون السماوي إذا كانت خلفية الموقع فاتحة */
  color: var(--optic-accent-blue);
  padding: 2px 10px;
  /* أقواس جانبية فقط تتجاوب مع اتجاه اللغة */
  border-inline-start: 2px solid var(--optic-accent-blue);
  border-inline-end: 2px solid var(--optic-accent-blue);
  background-color: transparent;
}

.gallery-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--optic-accent-cyan);
  box-shadow: 0 0 10px var(--optic-accent-cyan);
  animation: pulseCyanDot 2.2s infinite ease-in-out;
}

@keyframes pulseCyanDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.gallery-hero-title {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gallery-hero-title .title-accent {
  background: var(--optic-accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-hero-subtitle {
  max-width: 820px;
  margin: 0 auto 36px;
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--optic-text-body);
}

/* شريط البيانات التقنية (Telemetry Badges) */
.gallery-hero-telemetry {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.gallery-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(11, 20, 38, 0.5);
  border: 1px solid var(--optic-border-subtle);
  font-size: 0.84rem;
  color: var(--optic-text-muted);
}

.gallery-telemetry-badge svg {
  width: 16px;
  height: 16px;
  color: var(--optic-accent-cyan);
}

/* شريط تصفية الفئات التفاعلي (Category Filter Bar) */
.gallery-filter-wrapper {
  margin: 45px auto 35px;
  text-align: center;
}

.gallery-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: var(--optic-radius-pill);
  background: rgba(11, 20, 38, 0.75);
  border: 1px solid var(--optic-border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-filter-bar::-webkit-scrollbar {
  display: none;
}

.gallery-filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--optic-text-muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--optic-radius-pill);
  cursor: pointer;
  transition: all var(--optic-transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.gallery-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.gallery-filter-btn.is-active {
  background: rgba(0, 229, 190, 0.12);
  border-color: rgba(0, 229, 190, 0.45);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0, 229, 190, 0.18);
}

.gallery-filter-btn .filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 0.74rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--optic-text-muted);
  min-width: 20px;
  transition: all var(--optic-transition-base);
}

.gallery-filter-btn.is-active .filter-count-badge {
  background: var(--optic-accent-cyan);
  color: #050914;
  font-weight: 700;
}

.gallery-status-counter {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--optic-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gallery-status-counter .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--optic-accent-cyan);
}

/* شبكة المعرض المتجاوبة (Responsive Image Gallery Grid) */
.photo-gallery-section {
  padding: 20px 0 100px;
  position: relative;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  transition: min-height 0.3s ease;
}

/* بطاقة الصورة التوثيقية (Gallery Card) */
.gallery-card {
  position: relative;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base),
    opacity 0.35s ease;
  cursor: pointer;
  outline: none;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 190, 0.35);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(0, 229, 190, 0.1);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--optic-accent-cyan);
  outline-offset: 2px;
}

.gallery-card.is-hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.95);
}

/* حاوية وسائط البطاقة والمظهر البصري */
.gallery-card-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #060b18;
  margin: 0;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.08);
}

/* شارات الفئات الطبية (Category Badges) */
.gallery-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 5px 14px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-card-badge--clinic {
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.45);
  color: #7dd3fc;
}

.gallery-card-badge--surgery {
  background: rgba(0, 229, 190, 0.18);
  border: 1px solid rgba(0, 229, 190, 0.45);
  color: #00e5be;
}

.gallery-card-badge--results {
  background: rgba(216, 195, 165, 0.2);
  border: 1px solid rgba(216, 195, 165, 0.45);
  color: #f4ebe1;
}

/* طبقة الغطاء الزجاجية التفاعلية (Glassmorphic Hover Overlay) */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 9, 20, 0.2) 0%,
    rgba(5, 9, 20, 0.85) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.gallery-card:hover .gallery-card-overlay,
.gallery-card:focus-visible .gallery-card-overlay {
  opacity: 1;
}

/* أيقونة التركيز البصري المجهري (Optical Zoom Reticle) */
.gallery-zoom-target {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(11, 20, 38, 0.85);
  border: 1px solid var(--optic-accent-cyan);
  box-shadow:
    0 0 25px rgba(0, 229, 190, 0.35),
    inset 0 0 10px rgba(0, 229, 190, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
  transform: scale(0.85);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.gallery-card:hover .gallery-zoom-target {
  transform: scale(1);
  box-shadow:
    0 0 35px rgba(0, 229, 190, 0.55),
    inset 0 0 15px rgba(0, 229, 190, 0.3);
}

.gallery-zoom-target svg {
  width: 26px;
  height: 26px;
}

/* محتوى البطاقة النصي التحريري */
.gallery-card-body {
  padding: 22px 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gallery-card-category-text {
  font-size: 0.8rem;
  color: var(--optic-accent-cyan);
  font-weight: 500;
}

.gallery-card-index {
  font-size: 0.76rem;
  font-family: monospace;
  color: var(--optic-text-muted);
  letter-spacing: 0.05em;
}

.gallery-card-title {
  font-size: 1.16rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color var(--optic-transition-base);
}

.gallery-card:hover .gallery-card-title {
  color: var(--optic-accent-cyan);
}

.gallery-card-caption {
  font-size: 0.89rem;
  line-height: 1.65;
  color: var(--optic-text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

/* تذييل البطاقة ورابط السيو المباشر (SEO Crawler Fallback) */
.gallery-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.gallery-crawler-link {
  font-size: 0.86rem;
  color: var(--optic-text-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: color var(--optic-transition-base);
}

.gallery-crawler-link svg {
  width: 16px;
  height: 16px;
  color: var(--optic-accent-cyan);
  transition: transform var(--optic-transition-base);
}

.gallery-card:hover .gallery-crawler-link {
  color: var(--optic-accent-cyan);
}

.gallery-card:hover .gallery-crawler-link svg {
  transform: translateX(-4px);
}

.gallery-card-tech-tag {
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--optic-text-muted);
}

/* ==========================================================================
   النافذة المكبرة السينمائية (Cinematic Lightbox Modal Mechanics)
   ========================================================================== */
.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}

.gallery-lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* الخلفية الزجاجية الداكنة المطفية (Cinematic Glass Backdrop) */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 20, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
}

/* الهيكل الرئيسي للنافذة المكبرة */
.lightbox-shell {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 1140px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

/* شريط التحكم العلوي (Top Control Bar) */
.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(11, 20, 38, 0.75);
  border: 1px solid var(--optic-border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-counter {
  font-size: 0.9rem;
  color: var(--optic-text-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lightbox-counter-num {
  color: var(--optic-accent-cyan);
  font-weight: 700;
}

.lightbox-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--optic-transition-base);
}

.lightbox-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  transform: rotate(90deg);
}

.lightbox-action-btn svg {
  width: 20px;
  height: 20px;
}

/* مسرح عرض الصورة المباشر (Stage Viewport) */
.lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(6, 11, 24, 0.7);
  border: 1px solid var(--optic-border-subtle);
  overflow: hidden;
  user-select: none;
}

.lightbox-img-element {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.lightbox-img-element.is-transitioning {
  opacity: 0.3;
  transform: scale(0.97);
}

/* أزرار التنقل (Next & Prev Navigation Controls) */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(11, 20, 38, 0.85);
  border: 1px solid var(--optic-border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--optic-transition-base);
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* في الوضع العربي RTL: الزر الأيمن ينقل للصورة السابقة، والأيسر ينقل للتالية */
.lightbox-prev-btn {
  right: 18px;
}

.lightbox-next-btn {
  left: 18px;
}

.lightbox-nav-btn:hover {
  background: rgba(0, 229, 190, 0.18);
  border-color: var(--optic-accent-cyan);
  color: var(--optic-accent-cyan);
  box-shadow: 0 0 25px rgba(0, 229, 190, 0.3);
}

.lightbox-nav-btn:focus-visible {
  outline: 2px solid var(--optic-accent-cyan);
}

.lightbox-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* شريط تفاصيل الصورة والوصف في الأسفل (Lightbox Caption Footer) */
.lightbox-caption-bar {
  margin-top: 14px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(11, 20, 38, 0.8);
  border: 1px solid var(--optic-border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lightbox-caption-info {
  flex: 1;
}

.lightbox-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.lightbox-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.4;
}

.lightbox-desc {
  font-size: 0.88rem;
  color: var(--optic-text-muted);
  line-height: 1.5;
  margin: 0;
}

.lightbox-shortcut-hint {
  font-size: 0.78rem;
  color: var(--optic-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lightbox-shortcut-hint kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 0.72rem;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   التجاوب مع الشاشات لمعرض الصور (Responsive Gallery Styles)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .gallery-hero-title {
    font-size: 2.3rem;
  }

  .lightbox-shell {
    height: 94vh;
  }
}

@media (max-width: 768px) {
  .gallery-hero-section {
    padding: 60px 0 35px;
  }

  .gallery-hero-title {
    font-size: 1.95rem;
  }

  .gallery-hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .gallery-filter-bar {
    width: 100%;
    justify-content: flex-start;
    padding: 6px 8px;
  }

  .gallery-filter-btn {
    padding: 8px 16px;
    font-size: 0.86rem;
  }

  .photo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev-btn {
    right: 10px;
  }

  .lightbox-next-btn {
    left: 10px;
  }

  .lightbox-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
  }

  .lightbox-shortcut-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .gallery-hero-title {
    font-size: 1.65rem;
  }

  .gallery-eyebrow-pill {
    padding: 6px 16px;
    font-size: 0.8rem;
  }

  .gallery-card-body {
    padding: 18px 18px 16px;
  }

  .gallery-card-title {
    font-size: 1.05rem;
  }

  .lightbox-topbar {
    padding: 10px 14px;
  }
}

/* ==========================================================================
   معرض الفيديوهات التوثيقي الطبي (Video Gallery & Cinematic Modal Styles)
   Architecture: BEM & Modular CSS Custom Properties (Strictly No Tailwind)
   ========================================================================== */

/* شبكة بطاقات الفيديو (Video Gallery Grid) */
.video-gallery-section {
  padding: 20px 0 100px;
  position: relative;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

/* بطاقة الفيديو السريرية (Video Card) */
.video-card {
  position: relative;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base),
    opacity 0.35s ease;
  cursor: pointer;
  outline: none;
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 190, 0.45);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(0, 229, 190, 0.15);
}

.video-card:focus-visible {
  outline: 2px solid var(--optic-accent-cyan);
  outline-offset: 2px;
}

.video-card.is-hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.96);
}

/* حاوية البوستر بنسبة 16:9 السينمائية */
.video-card-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #040814;
  margin: 0;
}

.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.video-card:hover .video-card-thumb {
  transform: scale(1.08);
}

/* شارة مدة الفيديو (Duration Badge) */
.video-duration-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(5, 9, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-family: monospace;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.video-duration-pill svg {
  width: 12px;
  height: 12px;
  color: var(--optic-accent-cyan);
}

/* شارات الفئات التخصصية للفيديو */
.video-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 5px 14px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-card-badge--surgeries {
  background: rgba(0, 229, 190, 0.18);
  border: 1px solid rgba(0, 229, 190, 0.45);
  color: #00e5be;
}

.video-card-badge--interviews {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.video-card-badge--tips {
  background: rgba(216, 195, 165, 0.2);
  border: 1px solid rgba(216, 195, 165, 0.45);
  color: #f4ebe1;
}

/* طبقة التعتيم والنبض لزر التشغيل (Play Hover Overlay) */
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 9, 20, 0.2) 0%,
    rgba(5, 9, 20, 0.85) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.video-card:hover .video-card-overlay,
.video-card:focus-visible .video-card-overlay {
  opacity: 1;
}

/* زر التشغيل الدائري المتوهج مع النبض (Glowing Play Button) */
.video-play-btn-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(11, 20, 38, 0.9);
  border: 2px solid var(--optic-accent-cyan);
  box-shadow: 0 0 30px rgba(0, 229, 190, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--optic-accent-cyan);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.video-card:hover .video-play-btn-circle {
  transform: scale(1.08);
  box-shadow:
    0 0 45px rgba(0, 229, 190, 0.65),
    0 0 15px rgba(0, 229, 190, 0.35);
  animation: videoPlayPulse 1.8s infinite ease-in-out;
}

@keyframes videoPlayPulse {
  0% {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 229, 190, 0.5);
  }

  50% {
    transform: scale(1.14);
    box-shadow:
      0 0 50px rgba(0, 229, 190, 0.8),
      0 0 0 10px rgba(0, 229, 190, 0.1);
  }

  100% {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 229, 190, 0.5);
  }
}

.video-play-btn-circle svg {
  width: 26px;
  height: 26px;
  margin-left: -3px;
  /* ضبط دقيق للمثلث العربي */
}

/* المحتوى التحريري لبطاقة الفيديو */
.video-card-body {
  padding: 22px 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.video-card-category-text {
  font-size: 0.8rem;
  color: var(--optic-accent-cyan);
  font-weight: 500;
}

.video-card-index {
  font-size: 0.76rem;
  font-family: monospace;
  color: var(--optic-text-muted);
}

.video-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color var(--optic-transition-base);
}

.video-card:hover .video-card-title {
  color: var(--optic-accent-cyan);
}

.video-card-caption {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--optic-text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

/* تذييل البطاقة ورابط السيو المباشر (SEO Crawler Fallback) */
.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.video-crawler-link {
  font-size: 0.86rem;
  color: var(--optic-text-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: color var(--optic-transition-base);
}

.video-crawler-link svg {
  width: 16px;
  height: 16px;
  color: var(--optic-accent-cyan);
  transition: transform var(--optic-transition-base);
}

.video-card:hover .video-crawler-link {
  color: var(--optic-accent-cyan);
}

.video-card:hover .video-crawler-link svg {
  transform: translateX(-4px);
}

.video-card-tech-tag {
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--optic-text-muted);
  font-family: monospace;
}

/* ==========================================================================
   النافذة المكبرة لمشغل الفيديو السينمائي (Video Lightbox Pop-Up Modal)
   ========================================================================== */
.video-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}

.video-lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 20, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
}

.video-lightbox-shell {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 980px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.video-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(11, 20, 38, 0.75);
  border: 1px solid var(--optic-border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-lightbox-meta-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-lightbox-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
}

.video-lightbox-duration {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--optic-text-muted);
}

.video-lightbox-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--optic-transition-base);
}

.video-lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  transform: rotate(90deg);
}

.video-lightbox-close-btn svg {
  width: 20px;
  height: 20px;
}

/* مسرح مشغل الفيديو 16:9 بنقاء فائق */
.video-player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02050d;
  border: 1px solid var(--optic-border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.video-player-stage iframe,
.video-player-stage video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* شريط وصف الفيديو في الأسفل */
.video-lightbox-caption-bar {
  margin-top: 14px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(11, 20, 38, 0.85);
  border: 1px solid var(--optic-border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-lightbox-title {
  font-size: 1.18rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.4;
}

.video-lightbox-desc {
  font-size: 0.9rem;
  color: var(--optic-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   التجاوب مع الشاشات لمعرض الفيديوهات (Responsive Video Gallery)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-play-btn-circle {
    width: 52px;
    height: 52px;
  }

  .video-play-btn-circle svg {
    width: 22px;
    height: 22px;
  }

  .video-lightbox-topbar {
    padding: 10px 14px;
  }

  .video-lightbox-caption-bar {
    padding: 14px 18px;
  }
}

/* ==========================================================================
   دليل المقالات والمدونة الطبية (Medical Articles & Blog Directory Styles)
   Architecture: BEM & Modular CSS Custom Properties (Strictly No Tailwind)
   ========================================================================== */

/* شريط البحث المباشر في المقالات (Interactive Search Bar) */
.articles-search-wrapper {
  max-width: 660px;
  margin: 32px auto 0;
  position: relative;
}

.articles-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(11, 20, 38, 0.75);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-pill);
  padding: 6px 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--optic-transition-base);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.articles-search-box:focus-within {
  border-color: var(--optic-accent-cyan);
  box-shadow:
    0 0 25px rgba(0, 229, 190, 0.22),
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.articles-search-icon {
  width: 22px;
  height: 22px;
  color: var(--optic-text-muted);
  flex-shrink: 0;
  margin-left: 12px;
  transition: color var(--optic-transition-base);
}

.articles-search-box:focus-within .articles-search-icon {
  color: var(--optic-accent-cyan);
}

.articles-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.98rem;
  color: #ffffff;
  padding: 10px 0;
}

.articles-search-input::placeholder {
  color: var(--optic-text-muted);
  font-weight: 400;
}

.articles-search-clear {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--optic-transition-base);
}

.articles-search-clear.is-visible {
  opacity: 1;
  visibility: visible;
}

.articles-search-clear:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

.articles-search-clear svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   المقال المميز الرئيسي (Featured Article Spotlight)
   ========================================================================== */
.featured-article-section {
  padding: 20px 0 50px;
}

.featured-article-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base);
  position: relative;
}

.featured-article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 190, 0.4);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(0, 229, 190, 0.12);
}

.featured-article-media {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: #040916;
}

.featured-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-article-card:hover .featured-article-img {
  transform: scale(1.06);
}

.featured-badge-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  padding: 6px 16px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(0, 229, 190, 0.2);
  border: 1px solid rgba(0, 229, 190, 0.5);
  color: #00e5be;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-article-content {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: var(--optic-text-muted);
}

.featured-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--optic-accent-cyan);
}

.featured-article-title {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 18px;
  transition: color var(--optic-transition-base);
}

.featured-article-title a {
  color: inherit;
  text-decoration: none;
}

.featured-article-card:hover .featured-article-title {
  color: var(--optic-accent-cyan);
}

.featured-article-excerpt {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--optic-text-body);
  margin-bottom: 28px;
}

.featured-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.article-author-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--optic-accent-cyan);
}

.author-info-text {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.author-role-sub {
  font-size: 0.78rem;
  color: var(--optic-text-muted);
}

.featured-article-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--optic-radius-pill);
  background: rgba(0, 229, 190, 0.12);
  border: 1px solid rgba(0, 229, 190, 0.4);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--optic-transition-base);
}

.featured-article-cta:hover {
  background: var(--optic-accent-cyan);
  color: #050914;
  box-shadow: 0 0 25px rgba(0, 229, 190, 0.35);
}

.featured-article-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--optic-transition-base);
}

.featured-article-cta:hover svg {
  transform: translateX(-4px);
}

/* ==========================================================================
   شبكة المقالات الطبية المتجاوبة (Responsive Article Cards Grid)
   ========================================================================== */
.articles-grid-section {
  padding: 10px 0 90px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

/* بطاقة المقال الطبي (Article Card) */
.article-card {
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base),
    opacity 0.35s ease;
  position: relative;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 190, 0.35);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(0, 229, 190, 0.1);
}

.article-card.is-hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.96);
}

.article-card-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #060b18;
  margin: 0;
}

.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-card-img {
  transform: scale(1.08);
}

/* شارات التصنيفات الفرعية للمقالات */
.article-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 5px 14px;
  border-radius: var(--optic-radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.article-card-badge--retina {
  background: rgba(0, 229, 190, 0.18);
  border: 1px solid rgba(0, 229, 190, 0.45);
  color: #00e5be;
}

.article-card-badge--cataract {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.article-card-badge--cornea {
  background: rgba(216, 195, 165, 0.2);
  border: 1px solid rgba(216, 195, 165, 0.45);
  color: #f4ebe1;
}

.article-card-badge--tips {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.article-readtime-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(5, 9, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.74rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-readtime-badge svg {
  width: 12px;
  height: 12px;
  color: var(--optic-accent-cyan);
}

/* محتوى بطاقة المقال التحريري */
.article-card-body {
  padding: 24px 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-card-date {
  font-size: 0.8rem;
  color: var(--optic-text-muted);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-card-title {
  font-size: 1.18rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 12px;
  transition: color var(--optic-transition-base);
}

.article-card-title a {
  color: inherit;
  text-decoration: none;
}

.article-card:hover .article-card-title {
  color: var(--optic-accent-cyan);
}

.article-card-excerpt {
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--optic-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* تذييل بطاقة المقال والرابط السريع */
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.article-author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--optic-accent-cyan);
}

.author-mini-name {
  font-size: 0.82rem;
  color: var(--optic-text-body);
  font-weight: 500;
}

.article-read-more-link {
  font-size: 0.86rem;
  color: var(--optic-accent-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--optic-transition-base);
}

.article-read-more-link svg {
  width: 15px;
  height: 15px;
  transition: transform var(--optic-transition-base);
}

.article-card:hover .article-read-more-link svg {
  transform: translateX(-4px);
}

/* حالة عدم وجود نتائج (Empty Search State) */
.articles-empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  background: var(--optic-bg-card);
  border: 1px dashed var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  margin-top: 20px;
}

.articles-empty-state.is-visible {
  display: block;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--optic-text-muted);
  opacity: 0.6;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 0.92rem;
  color: var(--optic-text-muted);
  margin-bottom: 20px;
}

.empty-state-reset-btn {
  background: rgba(0, 229, 190, 0.15);
  border: 1px solid var(--optic-accent-cyan);
  color: var(--optic-accent-cyan);
  padding: 8px 20px;
  border-radius: var(--optic-radius-pill);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--optic-transition-base);
}

.empty-state-reset-btn:hover {
  background: var(--optic-accent-cyan);
  color: #050914;
}

/* شريط الترقيم والانتقال بين الصفحات (Pagination Bar) */
.articles-pagination-wrapper {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination-btn {
  background: rgba(11, 20, 38, 0.7);
  border: 1px solid var(--optic-border-subtle);
  color: var(--optic-text-body);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--optic-transition-base);
  text-decoration: none;
}

.pagination-btn:hover {
  border-color: var(--optic-accent-cyan);
  color: var(--optic-accent-cyan);
}

.pagination-btn.is-active {
  background: rgba(0, 229, 190, 0.18);
  border-color: var(--optic-accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 229, 190, 0.2);
}

.pagination-btn-arrow {
  width: auto;
  padding: 0 16px;
  gap: 6px;
}

.pagination-btn-arrow svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   التجاوب مع الشاشات للمدونة والمقالات (Responsive Articles Layout)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .featured-article-card {
    grid-template-columns: 1fr;
  }

  .featured-article-media {
    min-height: 280px;
  }

  .featured-article-content {
    padding: 34px 28px;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .featured-article-title {
    font-size: 1.35rem;
  }

  .featured-article-excerpt {
    font-size: 0.92rem;
  }

  .featured-article-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .featured-article-cta {
    width: 100%;
    justify-content: center;
  }

  .articles-search-wrapper {
    margin-top: 24px;
  }
}

/* ==========================================================================
   صفحة التواصل وحجز المواعيد (Contact Us Page - Luxury Editorial & Clinical Precision)
   Architecture: BEM & Modular CSS Custom Properties (Strictly No Tailwind)
   ========================================================================== */

/* 1. قسم كروت التواصل السريع (Contact Info Cards Grid) */
.contact-cards-section {
  padding: 40px 0 75px;
  position: relative;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* بطاقة التواصل المخصصة (Contact Info Card) */
.contact-info-card {
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: var(--optic-radius-card);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--optic-transition-base),
    border-color var(--optic-transition-base),
    box-shadow var(--optic-transition-base);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 190, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity var(--optic-transition-base);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 190, 0.35);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(0, 229, 190, 0.08);
}

.contact-info-card:hover::before {
  opacity: 1;
}

.contact-info-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-card__icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--optic-transition-base),
    box-shadow var(--optic-transition-base);
}

.contact-info-card:hover .contact-info-card__icon-box {
  transform: scale(1.08);
}

.contact-info-card__icon-box svg {
  width: 24px;
  height: 24px;
}

/* تنوع ألوان الأيقونات حسب الغرض السريري */
.contact-info-card--address .contact-info-card__icon-box {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
}

.contact-info-card--phone .contact-info-card__icon-box {
  background: rgba(0, 229, 190, 0.12);
  border: 1px solid rgba(0, 229, 190, 0.35);
  color: var(--optic-accent-cyan);
}

.contact-info-card--whatsapp .contact-info-card__icon-box {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.15);
}

.contact-info-card--hours .contact-info-card__icon-box {
  background: rgba(216, 195, 165, 0.12);
  border: 1px solid rgba(216, 195, 165, 0.35);
  color: var(--optic-accent-champagne);
}

.contact-info-card__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-card__label {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--optic-text-muted);
  font-weight: 500;
}

.contact-info-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--optic-text-heading);
  margin: 0;
}

.contact-info-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.contact-info-card__address {
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--optic-text-body);
}

.contact-info-card__val {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.contact-info-card__status-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-card__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow:
    0 0 10px #10b981,
    0 0 18px rgba(16, 185, 129, 0.6);
  position: relative;
}

.contact-info-card__status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulseDotLive 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulseDotLive {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.contact-info-card__status-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-info-card__note {
  font-size: 0.82rem;
  color: var(--optic-text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.contact-info-card__action {
  margin-top: auto;
}

.contact-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--optic-transition-base);
}

.contact-card-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--optic-transition-base);
}

.contact-card-btn:hover svg {
  transform: translateX(-3px);
}

.contact-card-btn--maps {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #7dd3fc;
}

.contact-card-btn--maps:hover {
  background: rgba(14, 165, 233, 0.22);
  border-color: #38bdf8;
  color: #ffffff;
  /* box-shadow: 0 0 20px rgba(14, 165, 233, 0.3); */
}

.contact-card-btn--call {
  background: rgba(0, 229, 190, 0.1);
  border: 1px solid rgba(0, 229, 190, 0.35);
  color: var(--optic-accent-cyan);
}

.contact-card-btn--call:hover {
  background: var(--optic-accent-cyan);
  color: #050914;
  border-color: var(--optic-accent-cyan);
  /* box-shadow: 0 0 20px rgba(0, 229, 190, 0.35); */
}

.contact-card-btn--whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #4ade80;
  /* box-shadow: 0 0 15px rgba(37, 211, 102, 0.1); */
}

.contact-card-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #050914;
  /* box-shadow: 0 0 25px rgba(37, 211, 102, 0.45); */
}

.contact-card-btn--static {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--optic-border-subtle);
  color: var(--optic-text-muted);
  cursor: default;
}

/* 2. قسم نموذج الحجز والاستفسار المباشر (Direct Appointment Booking & Inquiry Section) */
.contact-form-section {
  padding: 20px 0 85px;
  position: relative;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

/* بطاقة النموذج الزجاجية الفاخرة */
.contact-form-card {
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 22px;
  padding: 42px 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-form-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 190, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-form-card__header {
  margin-bottom: 30px;
}

.contact-form-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--optic-accent-cyan);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.contact-form-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--optic-text-heading);
  margin: 0 0 10px;
  line-height: 1.35;
}

.contact-form-card__desc {
  font-size: 0.95rem;
  color: var(--optic-text-body);
  line-height: 1.7;
  margin: 0;
}

/* حقول النموذج */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.contact-form__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--optic-text-heading);
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-form__req {
  color: #f43f5e;
  font-size: 0.9rem;
}

.contact-form__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  background: rgba(5, 9, 20, 0.7);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 12px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 0.94rem;
  color: #ffffff;
  transition: all var(--optic-transition-base);
  outline: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: var(--optic-accent-cyan);
  background: rgba(11, 20, 38, 0.9);
  box-shadow:
    0 0 0 3px rgba(0, 229, 190, 0.15),
    0 0 20px rgba(0, 229, 190, 0.1);
}

.contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-left: 42px;
}

.contact-form__select option {
  background: #0b1426;
  color: #ffffff;
  padding: 10px;
}

.contact-form__select-arrow {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--optic-text-muted);
  pointer-events: none;
  transition: transform var(--optic-transition-base);
}

.contact-form__select:focus + .contact-form__select-arrow {
  color: var(--optic-accent-cyan);
  transform: translateY(-50%) rotate(180deg);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* زر الإرسال مع تأثير مسح الضوء التفاعلي (Interactive Light-Sweep Button) */
.contact-submit-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 190, 0.95) 0%,
    rgba(0, 201, 167, 0.9) 100%
  );
  color: #050914;
  border: 1px solid rgba(0, 229, 190, 0.5);
  border-radius: 14px;
  padding: 15px 32px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 229, 190, 0.25);
  transition: all var(--optic-transition-base);
  margin-top: 10px;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00e5be 0%, #00c9a7 100%);
  box-shadow: 0 14px 40px rgba(0, 229, 190, 0.45);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* تأثير مسح الضوء الدقيق (Light-Sweep Effect) */
.contact-btn-sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}

.contact-submit-btn:hover .contact-btn-sweep {
  left: 180%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--optic-transition-base);
}

.contact-submit-btn:hover svg {
  transform: translateX(-4px);
}

/* رسالة التوست التأكيدية بعد الإرسال (Form Feedback Toast) */
.contact-form__feedback {
  display: none;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 14px;
  padding: 16px 20px;
  color: #ffffff;
  margin-top: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-form__feedback.is-visible {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInFeedback 0.4s ease forwards;
}

@keyframes fadeInFeedback {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-feedback-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  color: #10b981;
}

.contact-feedback-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 3px;
  color: #a7f3d0;
}

.contact-feedback-text p {
  font-size: 0.86rem;
  margin: 0;
  color: var(--optic-text-body);
  line-height: 1.5;
}

/* العمود الجانبي لمعلومات الاستشارة والضمان السريري (Side Clinical Guidance) */
.contact-aside-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-trust-panel {
  background: var(--optic-bg-surface);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.contact-trust-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--optic-radius-pill);
  background: rgba(216, 195, 165, 0.12);
  border: 1px solid rgba(216, 195, 165, 0.35);
  color: var(--optic-accent-champagne);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-trust-panel__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--optic-text-heading);
  margin: 0 0 12px;
  line-height: 1.4;
}

.contact-trust-panel__desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--optic-text-body);
  margin: 0 0 24px;
}

.contact-trust-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-trust-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-trust-step__num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(0, 229, 190, 0.12);
  border: 1px solid rgba(0, 229, 190, 0.4);
  color: var(--optic-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-trust-step__text {
  font-size: 0.9rem;
  color: var(--optic-text-body);
  line-height: 1.6;
}

.contact-trust-step__text strong {
  color: #ffffff;
}

/* بطاقة الطوارئ البصرية السريعة */
.contact-emergency-callout {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.08) 0%,
    rgba(11, 20, 38, 0.6) 100%
  );
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-emergency-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-emergency-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fecaca;
  margin: 0 0 4px;
}

.contact-emergency-text p {
  font-size: 0.84rem;
  color: var(--optic-text-muted);
  margin: 0 0 8px;
  line-height: 1.5;
}

.contact-emergency-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fca5a5;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--optic-transition-base);
}

.contact-emergency-link:hover {
  color: #ffffff;
}

/* 3. قسم الخريطة التفاعلية (Interactive Map Section) */
.contact-map-section {
  padding: 20px 0 100px;
  position: relative;
}

.contact-map-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.contact-map-header__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--optic-text-heading);
  margin: 0 0 10px;
}

.contact-map-header__desc {
  font-size: 1rem;
  color: var(--optic-text-body);
  line-height: 1.7;
  margin: 0;
}

/* إطار الخريطة الزجاجي الداكن الفاخر */
.contact-map-frame {
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 229, 190, 0.05);
  position: relative;
}

.contact-map-frame__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  background: rgba(8, 14, 28, 0.85);
  border-bottom: 1px solid var(--optic-border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-wrap: wrap;
  gap: 14px;
}

.contact-map-frame__location-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-map-pin-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--optic-accent-cyan);
  box-shadow: 0 0 12px var(--optic-accent-cyan);
}

.contact-map-location-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-map-location-sub {
  font-size: 0.82rem;
  color: var(--optic-text-muted);
}

.contact-map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--optic-radius-pill);
  background: rgba(0, 229, 190, 0.12);
  border: 1px solid rgba(0, 229, 190, 0.35);
  color: var(--optic-accent-cyan);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--optic-transition-base);
}

.contact-map-directions-btn:hover {
  background: var(--optic-accent-cyan);
  color: #050914;
  box-shadow: 0 0 20px rgba(0, 229, 190, 0.35);
}

.contact-map-directions-btn svg {
  width: 15px;
  height: 15px;
}

.contact-map-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  background: #0b132b;
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: contrast(1.05) saturate(1.1);
}

/* 4. استجابة التصميم لجميع الشاشات (Responsive Contact Page Layout) */
@media (max-width: 1100px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form-card {
    padding: 30px 22px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-map-iframe-wrapper {
    height: 380px;
  }

  .contact-map-frame__topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-map-directions-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   دعم الاتجاه واللغة الإنجليزية (English LTR Direction & Layout Refinements)
   ========================================================================== */
body.ltr {
  direction: ltr;
  text-align: left;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

body.ltr .about-page-body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

body.ltr .dropdown-menu {
  right: auto;
  left: 0;
  text-align: left;
}

body.ltr .dropdown-menu::before {
  left: 0;
  right: 0;
}

body.ltr .floating-quick-widget {
  direction: ltr;
  right: 24px;
  left: auto;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

body.ltr .widget-popover-card {
  left: auto;
  right: 0;
  transform-origin: bottom right;
}

body.ltr .hero-editorial {
  align-items: flex-start;
  text-align: left;
}

body.ltr .clinic-overview__header,
body.ltr .about-doctor__header,
body.ltr .services-editorial__header,
body.ltr .gallery-editorial__header {
  text-align: left;
}

body.ltr .contact-form__field label {
  text-align: left;
}

/* ==========================================================================
   تنسيقات صفحة المقال المفرد (Single Article Page - Luxury UI/UX)
   ========================================================================== */

.article-single-page {
  background-color: var(--optic-bg-deep);
  padding-bottom: 80px;
}

/* --- 1. الهيدر السينمائي (Cinematic Hero) --- */
.article-cinematic-hero {
  position: relative;
  padding: 10px 0 80px;
  min-height: 550px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--optic-border-subtle);
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 1;
  transform: scale(1.05); /* تأثير بصري هادئ */
}

.article-hero-bg.fallback-bg {
  background: radial-gradient(circle at top right, #091a33, #030a14);
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    var(--optic-bg-deep) 0%,
    rgba(5, 9, 20, 0.85) 40%,
    rgba(5, 9, 20, 0.4) 100%
  );
  z-index: 2;
}

.article-hero-container {
  position: relative;
  z-index: 3;
  max-width: 900px; /* لتركيز نظر القارئ */
  margin: 0 auto;
}

.article-breadcrumbs-wrapper {
  margin-bottom: 30px;
}

.article-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.optic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px; /* زوايا ناعمة كلاسيكية بدلاً من الشكل البيضاوي الكامل */
  font-size: 0.85rem;
  font-weight: 500;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  transition: all 0.3s ease;
}

/* الشارة الداكنة (Matte Dark) - هادئة جداً ورسمية */
.optic-badge-dark {
  background-color: #111827; /* خلفية صلبة وداكنة (كحلي مطفي) */
  border: 1px solid #374151; /* إطار رمادي هادئ جداً بدون أي توهج */
  color: #e2e8f0; /* لون نص فاتح ومريح للعين */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* ظل كلاسيكي خفيف للعمق فقط */
}

/* في حال استخدام الشارة الملونة (Cyan) في أي مكان آخر - تصميم هادئ وغير مشع */
.optic-badge-cyan {
  background-color: #0f292e; /* أخضر/سماوي داكن مطفي */
  border: 1px solid #145350; /* إطار هادئ */
  color: #4fd1c5; /* لون مريح مش نيون */
}

/* تنسيق الأيقونات داخل الشارات */
.optic-badge svg {
  width: 15px;
  height: 15px;
  color: #94a3b8; /* لون رمادي أنيق للأيقونة */
}

/* إزالة تأثير النبض (Pulse) المزعج والتوهج الذي يوحي بالـ AI */
.optic-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4fd1c5; /* لون ثابت */
  box-shadow: none; /* إزالة التوهج (No Glow) */
  animation: none; /* إزالة الحركة */
}

.article-main-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--optic-text-heading);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 30px;
  letter-spacing: -0.02em;
}

.article-hero-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.author-mini-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--optic-accent-cyan);
  object-fit: cover;
}

.author-mini-info {
  display: flex;
  flex-direction: column;
}

.author-mini-info .author-name {
  color: var(--optic-text-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.author-mini-info .author-title {
  color: var(--optic-accent-champagne);
  font-size: 0.8rem;
}

/* --- 2. محتوى المقال وتجربة القراءة (Typography & Readability) --- */
.article-content-wrapper {
  max-width: 860px; /* العرض المثالي للقراءة المريحة (UX) */
  margin: -40px auto 60px;
  position: relative;
  z-index: 10;
}

.article-body-text {
  background: var(--optic-bg-card);
  border: 1px solid var(--optic-border-subtle);
  border-radius: 24px;
  padding: 50px 60px;
  color: #cbd5e1; /* لون مريح جداً للعين */
  font-size: 1.15rem;
  line-height: 2.1;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* تنسيق العناصر داخل المقال (لتحسين الـ SEO وسهولة القراءة) */
.article-body-text h2,
.article-body-text h3,
.article-body-text h4 {
  color: var(--optic-text-heading);
  font-weight: 700;
  margin: 2em 0 1em;
  line-height: 1.4;
}

.article-body-text h2 {
  font-size: 1.8rem;
  border-bottom: 1px solid var(--optic-border-subtle);
  padding-bottom: 10px;
}
.article-body-text h3 {
  font-size: 1.5rem;
  color: var(--optic-accent-cyan);
}
.article-body-text p {
  margin-bottom: 1.8em;
}

.article-body-text a {
  color: var(--optic-accent-cyan);
  text-decoration: none;
  border-bottom: 1px dashed var(--optic-accent-cyan);
  transition: all 0.3s;
}

.article-body-text a:hover {
  color: var(--optic-accent-champagne);
  border-color: var(--optic-accent-champagne);
}

.article-body-text ul,
.article-body-text ol {
  margin-bottom: 2em;
  padding-right: 20px;
}

.article-body-text li {
  margin-bottom: 10px;
}

/* تنسيق الاقتباسات الفاخرة */
.article-body-text blockquote {
  background: rgba(0, 229, 190, 0.05);
  border-right: 4px solid var(--optic-accent-cyan); /* الخط يمين لأن اللغة عربية */
  margin: 2em 0;
  padding: 24px 30px;
  border-radius: 12px 0 0 12px;
  font-size: 1.25rem;
  font-style: italic;
  color: #ffffff;
  box-shadow: inset 0 0 20px rgba(0, 229, 190, 0.05);
}

.article-body-text img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2em 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- 3. بطاقة الكاتب الفاخرة (Premium Author Box) --- */
.premium-author-box {
  margin-top: 50px;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(11, 20, 38, 0.8),
    rgba(6, 12, 24, 0.95)
  );
  border: 1px solid var(--optic-border-cyan);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.premium-author-box:hover {
  transform: translateY(-5px);
}

.author-box-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 190, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.author-box-content {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.author-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.author-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--optic-accent-cyan);
  animation: rotateIrisRing 20s linear infinite;
  z-index: 1;
}

.author-eyebrow {
  font-size: 0.85rem;
  color: var(--optic-accent-cyan);
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.author-name-large {
  font-size: 1.5rem;
  color: var(--optic-text-heading);
  margin: 0 0 4px;
  font-weight: 700;
}

.author-fellowship {
  font-size: 0.9rem;
  color: var(--optic-accent-champagne);
  margin: 0 0 12px;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--optic-text-body);
  margin: 0;
  line-height: 1.7;
}

/* --- 4. المقالات ذات الصلة --- */
.related-articles-section {
  padding: 60px 0;
  border-top: 1px solid var(--optic-border-subtle);
  background: radial-gradient(
    ellipse at bottom,
    rgba(11, 20, 38, 0.4) 0%,
    transparent 70%
  );
}

.related-header {
  text-align: center;
  margin-bottom: 40px;
}

.related-title {
  font-size: 2rem;
  color: var(--optic-text-heading);
  margin-bottom: 10px;
}

.related-title span {
  color: var(--optic-accent-cyan);
}

.article-comments-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 0;
}

/* --- Responsive للأساسيات --- */
@media (max-width: 768px) {
  .article-cinematic-hero {
    padding: 10px 0 60px;
    min-height: auto;
  }

  .article-main-title {
    font-size: 1.8rem;
  }

  .article-body-text {
    padding: 30px 20px;
    font-size: 1.05rem;
  }

  .author-box-content {
    flex-direction: column;
    text-align: center;
  }

  .article-body-text blockquote {
    padding: 20px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   ENHANCED VIDEO & CASE STUDY SHOWCASE SYSTEM (NO EMPTY VOIDS, PERFECT RATIOS)
   ========================================================================== */

/* 1. Asymmetric Split Row Balance */
.asymmetric-split-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center; /* Vertically balances text with medical scan/diagram */
}

.split-col-media {
  position: relative;
  width: 100%;
}

.media-stack-box {
  border: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.editorial-image-hairline {
  width: 100%;
  height: auto;
  display: block;
}

.media-caption-hairline {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.55;
  border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  background: rgba(0, 0, 0, 0.2);
}

/* 2. Dedicated Video Showcase Rows (Cleanly centered below split row) */
.section-videos-showcase,
.editorial-videos-showcase {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.section-video-highlight {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.video-highlight-card,
.video-showcase-item {
  border: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  background: var(--bg-card, #0f172a);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.video-highlight-card:hover,
.video-showcase-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 190, 0.35);
}

.videos-showcase-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  gap: 30px;
  justify-content: center;
  align-items: start;
}

.videos-showcase-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  gap: 24px;
  justify-content: center;
}

/* 3. Social Embed Dimensions (Native, Strict Ratios) */
.social-embed-vertical {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 540px;
  background: #000;
  overflow: hidden;
  border-radius: 6px;
}

.social-embed-vertical iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  aspect-ratio: 9 / 16;
}

.social-embed-landscape {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
  overflow: hidden;
  border-radius: 8px;
}

.social-embed-landscape iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  aspect-ratio: 16 / 9;
}

/* 4. Patient Case Studies & Opinions (Balanced, Centered, No Bottom Void) */
.cases-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-study-item {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 36px;
  align-items: center; /* Critical: vertically aligns text with video! */
  border: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.08));
  background: var(--bg-card, #0f172a);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.case-study-item:hover {
  border-color: rgba(0, 229, 190, 0.35);
  transform: translateY(-2px);
}

.case-video-col {
  width: 100%;
}

.case-detail-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.45;
}

.case-narrative {
  font-size: 0.95rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.75;
  margin: 0;
}

.case-specs-hairline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.case-specs-hairline strong {
  color: #00e5be;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .asymmetric-split-row {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .case-study-item {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px !important;
  }
  .videos-showcase-grid-2 {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   REDESIGNED CLINICAL VIDEO SPOTLIGHT & DUAL SHOWCASES (16:9 WIDESCREEN)
   ========================================================================== */

/* Single Highlight: Horizontal 2-Column Clinical Feature Card */
.clinical-video-feature-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card, #0b1426);
  border: 1px solid var(--border-hairline, rgba(216, 195, 165, 0.16));
  border-radius: 18px;
  padding: 26px 30px;
  margin: 36px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.clinical-video-feature-card:hover {
  border-color: rgba(0, 229, 190, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
.clinical-video-feature-card .feature-video-col {
  width: 100%;
  max-width: 280px;
}
.clinical-video-feature-card .social-embed-vertical {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.clinical-video-feature-card .social-embed-vertical iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  aspect-ratio: 9 / 16;
}
.clinical-video-feature-card .social-embed-landscape {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.clinical-video-feature-card .social-embed-landscape iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  aspect-ratio: 16 / 9;
}
.clinical-video-feature-card .feature-detail-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.clinical-video-feature-card .feature-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.clinical-video-feature-card .feature-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-light, #00e5be);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.clinical-video-feature-card .feature-video-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.45;
}
.clinical-video-feature-card .feature-summary {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-secondary, #cbd5e1);
  margin: 0;
}

/* Dual Showcase: Modern 2-Column Uncropped Reel Card Grid */
.clinical-videos-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 420px));
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
}
.clinical-video-card {
  background: var(--bg-card, #0b1426);
  border: 1px solid var(--border-hairline, rgba(216, 195, 165, 0.16));
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.clinical-video-card:hover {
  border-color: rgba(0, 229, 190, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
.clinical-video-card .social-embed-vertical {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: #000;
}
.clinical-video-card .social-embed-vertical iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  aspect-ratio: 9 / 16;
}
.clinical-video-card .social-embed-landscape {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: #000;
}
.clinical-video-card .social-embed-landscape iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  aspect-ratio: 16 / 9;
}
.clinical-video-card .card-content {
  width: 100%;
  padding: 18px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clinical-video-card .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.clinical-video-card .card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.45;
}
.clinical-video-card .card-summary {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary, #cbd5e1);
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .clinical-video-feature-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 20px;
  }
  .clinical-video-feature-card .feature-video-col {
    max-width: 280px;
  }
  .clinical-videos-dual-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .clinical-videos-dual-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 28px auto 0;
    gap: 24px;
  }
}

/* ==========================================================================
   PURE CLINICAL VIDEO LIGHTBOX MODAL (100% TRUE RATIOS - 9:16 & 16:9)
   ========================================================================== */
.optic-video-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
  box-sizing: border-box;
}

.optic-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.video-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.optic-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.optic-video-modal-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 94vh;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.optic-video-modal.is-open .optic-video-modal-container {
  transform: scale(1);
}

/* زر الإغلاق العائم الدائري */
.optic-video-modal-close {
  position: absolute;
  top: -46px;
  inset-inline-end: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
  z-index: 10;
}

.optic-video-modal-close svg {
  width: 20px;
  height: 20px;
}

.optic-video-modal-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 1);
  transform: scale(1.08);
}

/* صندوق الفيديو بمقاسه الحقيقي الصافي 9:16 للريلز الرأسية */
.optic-video-frame-box.is-reel,
.optic-video-frame-box {
  height: min(85vh, 690px);
  width: calc(min(85vh, 690px) * 9 / 16);
  max-width: 90vw;
  aspect-ratio: 9 / 16;
  background: #000000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(34, 211, 238, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

/* صندوق الفيديو بمقاسه الحقيقي الصافي 16:9 للفيديوهات العرضية */
.optic-video-frame-box.is-landscape {
  width: min(92vw, 880px);
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 85vh;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(34, 211, 238, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.optic-video-frame-box iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
}

/* اللودر أثناء تحميل الـ iframe */
.optic-video-modal-container .modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 10, 20, 0.85);
  z-index: 1;
  pointer-events: none;
  border-radius: 16px;
  transition: opacity 0.3s ease;
}

.optic-video-modal-container .modal-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.optic-video-modal-container .modal-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(34, 211, 238, 0.2);
  border-top-color: #22d3ee;
  border-radius: 50%;
  animation: opticSpin 0.9s linear infinite;
}

@keyframes opticSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  .optic-video-modal {
    padding: 12px;
  }
  .optic-video-modal-close {
    top: -42px;
    inset-inline-end: 2px;
    width: 34px;
    height: 34px;
  }
  .optic-video-frame-box.is-reel,
  .optic-video-frame-box {
    width: min(92vw, 360px);
    height: calc(min(92vw, 360px) * 16 / 9);
    max-height: 82vh;
  }
}

/* ==========================================================================
   EXPLANATORY VIDEO OVERLAY & NATIVE THUMBNAIL PRESERVATION
   ========================================================================== */
.clinical-exploratory-video {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #071220;
  width: 100%;
}

.clinical-exploratory-video .social-embed-vertical,
.clinical-exploratory-video .social-embed-landscape {
  margin: 0 auto !important;
  pointer-events: none; /* يسمح للنقرة بالمرور لطبقة التريجر لفتح المودال */
}

.video-modal-trigger-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 10, 20, 0.05);
  transition: background 0.25s ease;
  cursor: pointer;
}

.clinical-exploratory-video:hover .video-modal-trigger-overlay,
.clinical-exploratory-video:focus-within .video-modal-trigger-overlay {
  background: rgba(4, 10, 20, 0.22);
}

.video-overlay-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(7, 18, 32, 0.92);
  border: 1px solid rgba(34, 211, 238, 0.6);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(6, 182, 212, 0.35);
  pointer-events: none;
  transform: scale(0.96);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.video-overlay-play-badge svg {
  width: 17px;
  height: 17px;
  fill: #22d3ee;
  transition: transform 0.25s ease;
}

.clinical-exploratory-video:hover .video-overlay-play-badge {
  transform: scale(1.05);
  background: rgba(14, 116, 144, 0.95);
  border-color: #38bdf8;
}

.clinical-exploratory-video:hover .video-overlay-play-badge svg {
  transform: scale(1.1);
  fill: #ffffff;
}

/* تأكيد التوافق التام بدون أي مساحات فارغة بجوار الفيديوهات */
.clinical-video-feature-card,
.clinical-video-card,
.feature-video-col,
.case-video-col {
  width: 100%;
}


 


/* ==========================================================================
   GLOBAL NATIVE ASPECT RATIO VIDEO SYSTEM (NO CROPPING, NO STRETCHING, NO BLACK SCREENS)
   ========================================================================== */
.video-responsive-container,
.social-embed-vertical,
.social-embed-landscape {
  position: relative;
  width: 100%;
  height: auto !important;
  overflow: hidden;
  background: #000000;
  border-radius: var(--optic-radius-sm, 10px);
}

/* 9:16 Vertical Container (Reels / Shorts / TikTok) */
.video-responsive-container.video-aspect-9-16,
.social-embed-vertical {
  aspect-ratio: 9 / 16 !important;
  max-width: 360px;
  margin: 0 auto;
}

/* 16:9 Landscape Container (Standard Videos) */
.video-responsive-container.video-aspect-16-9,
.social-embed-landscape {
  aspect-ratio: 16 / 9 !important;
  max-width: 100%;
  margin: 0 auto;
}

/* Iframe & Video Tags - Absolute fill to match container aspect-ratio without distortion */
.video-responsive-container iframe,
.video-responsive-container video,
.social-embed-vertical iframe,
.social-embed-vertical video,
.social-embed-landscape iframe,
.social-embed-landscape video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border: none !important;
  outline: none !important;
  display: block !important;
  object-fit: contain;
}

/* Ensure case study layouts properly accommodate 9:16 vertical videos */
.case-study-item {
  grid-template-columns: minmax(260px, 320px) 1fr;
}

@media (max-width: 992px) {
  .case-study-item {
    grid-template-columns: 1fr !important;
  }
  .case-video-col {
    max-width: 320px;
    margin: 0 auto;
  }
}
