/* ==========================================================================
   DR. MAMOUN ALDURRA - OFFICIAL MEDICAL WEBSITE
   Premium Medical Executive Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #060a14;
  --bg-secondary: #0c1322;
  --bg-tertiary: #131c31;
  --card-bg: rgba(14, 23, 44, 0.75);
  --card-hover: rgba(22, 36, 68, 0.85);
  --card-border: rgba(201, 168, 76, 0.22);
  --card-border-hover: rgba(201, 168, 76, 0.6);
  
  /* Medical Gold & Accents */
  --gold-primary: #c9a84c;
  --gold-light: #e5c97b;
  --gold-dark: #9e7f2b;
  --gold-glow: rgba(201, 168, 76, 0.35);
  
  --cyan-accent: #0ea5e9;
  --cyan-glow: rgba(14, 165, 233, 0.3);
  --emerald-accent: #10b981;
  
  /* Text Colors */
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  /* Typography */
  --font-arabic: 'Cairo', 'Alexandria', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-english: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(201, 168, 76, 0.25);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-arabic);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

[lang="en"] body,
[lang="fr"] body,
body.lang-en,
body.lang-fr {
  font-family: var(--font-english);
}

/* Background Atmosphere */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  overflow: hidden;
  background-color: var(--bg-primary);
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: contrast(110%) brightness(92%);
  transition: transform 0.6s ease, object-position 0.6s ease;
}

/* Shift and scale down video dimensions towards the empty area */
html[dir="rtl"] #bg-video {
  transform: scale(0.85) translateX(-8%);
  transform-origin: 15% center;
  object-position: 15% center;
  mask-image: radial-gradient(ellipse 90% 90% at 25% 50%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 25% 50%, black 50%, transparent 95%);
}

html[dir="ltr"] #bg-video {
  transform: scale(0.85) translateX(8%);
  transform-origin: 85% center;
  object-position: 85% center;
  mask-image: radial-gradient(ellipse 90% 90% at 75% 50%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 75% 50%, black 50%, transparent 95%);
}

.ambient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: 
    linear-gradient(to left, rgba(6, 10, 20, 0.72) 0%, rgba(6, 10, 20, 0.45) 45%, rgba(6, 10, 20, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 10, 20, 0.15) 0%, rgba(6, 10, 20, 0.55) 40%, rgba(6, 10, 20, 0.92) 80%, rgba(6, 10, 20, 0.98) 100%),
    radial-gradient(circle at 25% 40%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

html[dir="ltr"] .ambient-overlay {
  background: 
    linear-gradient(to right, rgba(6, 10, 20, 0.72) 0%, rgba(6, 10, 20, 0.45) 45%, rgba(6, 10, 20, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 10, 20, 0.15) 0%, rgba(6, 10, 20, 0.55) 40%, rgba(6, 10, 20, 0.92) 80%, rgba(6, 10, 20, 0.98) 100%),
    radial-gradient(circle at 75% 40%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
}

.noise-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Badge Styles */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge-gold i {
  color: var(--gold-primary);
}

.badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-pill);
  color: #7dd3fc;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-subtitle {
  color: var(--gold-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: 1.2rem auto 0;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  transition: var(--transition);
}

.site-header .container {
  max-width: 1340px;
}

.site-header.scrolled {
  background: rgba(6, 10, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  padding: 0.55rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo img.logo-en {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-text {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.84rem;
  position: relative;
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.lang-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-english);
  white-space: nowrap;
}

.lang-pill-btn:hover {
  color: var(--gold-light);
}

.lang-pill-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #060a14;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

.btn-book-header {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #080d1a;
  padding: 0.48rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.btn-book-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: block;
  max-width: 950px;
  margin: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title-group {
  margin: 1.2rem 0;
}

.hero-title-ar {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.hero-title-ar span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-en {
  font-family: var(--font-english);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.hero-roles {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-roles li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
}

.hero-roles li i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* Hero Quote Banner */
.hero-quote-card {
  background: rgba(14, 23, 44, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
  position: relative;
  backdrop-filter: blur(12px);
  border-right: 4px solid var(--gold-primary);
  max-width: 820px;
}

[dir="ltr"] .hero-quote-card {
  border-right: 1px solid rgba(201, 168, 76, 0.3);
  border-left: 4px solid var(--gold-primary);
}

.hero-quote-card p {
  color: var(--gold-light);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-quote-card p i {
  color: var(--gold-primary);
  font-size: 1.3rem;
}

/* Hero CTAs - Harmonious Buttons & Icons */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.btn-primary,
.btn-whatsapp,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 48px;
  padding: 0 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #060a14;
  border: none;
  box-shadow: 0 6px 22px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.55);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-primary i,
.btn-whatsapp i,
.btn-secondary i {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Harmonious Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(10, 16, 32, 0.65);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  backdrop-filter: blur(16px);
  margin-top: 1.8rem;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.stat-item {
  text-align: center;
  padding: 0.9rem 0.6rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-2px);
}

.stat-num {
  font-family: var(--font-english);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.visual-card {
  background: linear-gradient(145deg, rgba(19, 28, 49, 0.95), rgba(10, 16, 31, 0.95));
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(201, 168, 76, 0.15);
  position: relative;
  transition: var(--transition-slow);
}

.visual-card:hover {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 50px rgba(201, 168, 76, 0.25);
}

.visual-image-box {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #091222;
}

.visual-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.visual-card:hover .visual-image-box img {
  transform: scale(1.04);
}

.visual-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 10, 20, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

[dir="ltr"] .visual-badge {
  right: auto;
  left: 1rem;
}

.visual-body {
  padding: 1.8rem;
  text-align: center;
}

.visual-logo-wrap {
  margin-bottom: 1.2rem;
}

.visual-logo-wrap img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.visual-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  text-align: right;
}

[dir="ltr"] .visual-credentials {
  text-align: left;
}

.cred-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--gold-primary);
  font-size: 0.86rem;
  color: var(--text-secondary);
}

[dir="ltr"] .cred-pill {
  border-right: none;
  border-left: 3px solid var(--gold-primary);
}

.cred-pill i {
  color: var(--gold-primary);
  font-size: 0.95rem;
}

.visual-footer-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px dashed var(--gold-primary);
  color: var(--gold-light);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.visual-footer-btn:hover {
  background: var(--gold-primary);
  color: #060a14;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  position: relative;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-main-text h3 {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.about-lead {
  font-size: 1.12rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: var(--transition);
}

.highlight-box:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-3px);
}

.highlight-box i {
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 0.6rem;
  display: block;
}

.highlight-box h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 0.3rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Languages Box */
.languages-wrap {
  background: rgba(10, 16, 31, 0.7);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.languages-wrap h4 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lang-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lang-item:last-child {
  border-bottom: none;
}

.lang-name {
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-level {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   SERVICES & SPECIALTIES
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-hover);
  background: var(--card-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(201, 168, 76, 0.04));
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
  font-size: 1.8rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #060a14;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.service-subtitle-en {
  font-family: var(--font-english);
  font-size: 0.82rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-features-list li i {
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.service-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.5);
  width: fit-content;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.service-action-btn:hover {
  color: #fff;
  border-bottom-color: #fff;
  gap: 0.8rem;
}

/* ==========================================================================
   PATENTS & INNOVATIONS (STANDOUT FEATURE)
   ========================================================================== */
.patents-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 19, 34, 0.7) 50%, transparent 100%);
}

.patent-banner {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.patent-banner-text {
  max-width: 780px;
}

.patent-banner-text h3 {
  font-size: 1.45rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.patent-banner-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.patents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.patent-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.patent-card.featured-patent {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 10px 35px rgba(201, 168, 76, 0.15);
}

.patent-card.featured-patent::before {
  content: 'براءة مسجلة دولياً | WIPO';
  position: absolute;
  top: 1rem;
  left: -2rem;
  background: var(--gold-primary);
  color: #060a14;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 2.5rem;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

[dir="ltr"] .patent-card.featured-patent::before {
  content: 'PATENTED | WIPO';
  left: auto;
  right: -2rem;
  transform: rotate(45deg);
}

.patent-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-hover);
  background: var(--card-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.patent-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.patent-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.5rem;
}

.patent-id-badge {
  font-family: var(--font-english);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.patent-title {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.patent-title-en {
  font-family: var(--font-english);
  font-size: 0.95rem;
  color: var(--cyan-accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.patent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.patent-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.patent-meta span i {
  color: var(--gold-primary);
}

.patent-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.patent-impact {
  background: rgba(255, 255, 255, 0.03);
  border-right: 3px solid var(--emerald-accent);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #a7f3d0;
  margin-bottom: 1.5rem;
}

[dir="ltr"] .patent-impact {
  border-right: none;
  border-left: 3px solid var(--emerald-accent);
}

.patent-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.patent-link {
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.patent-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   WORK EXPERIENCE TIMELINE
   ========================================================================== */
.experience-section {
  padding: 6rem 0;
  position: relative;
}

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-primary) 0%, rgba(201, 168, 76, 0.2) 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 2rem;
  clear: both;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--bg-primary);
  border: 3px solid var(--gold-primary);
  top: 1.8rem;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 12px var(--gold-glow);
  transition: var(--transition);
}

.timeline-item:hover::after {
  background: var(--gold-primary);
  transform: scale(1.3);
}

/* === LTR Timeline Positioning (English) === */
html[dir="ltr"] .timeline-item.left {
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  padding-right: 2.5rem;
  text-align: left;
}

html[dir="ltr"] .timeline-item.left::after {
  right: -9px;
  left: auto;
}

html[dir="ltr"] .timeline-item.right {
  margin-left: auto;
  margin-right: 0;
  padding-right: 0;
  padding-left: 2.5rem;
  text-align: left;
}

html[dir="ltr"] .timeline-item.right::after {
  left: -9px;
  right: auto;
}

/* === RTL Timeline Positioning (Arabic) === */
html[dir="rtl"] .timeline-item.left {
  margin-right: 0;
  margin-left: auto;
  padding-right: 0;
  padding-left: 2.5rem;
  text-align: right;
}

html[dir="rtl"] .timeline-item.left::after {
  left: -9px;
  right: auto;
}

html[dir="rtl"] .timeline-item.right {
  margin-right: auto;
  margin-left: 0;
  padding-left: 0;
  padding-right: 2.5rem;
  text-align: right;
}

html[dir="rtl"] .timeline-item.right::after {
  right: -9px;
  left: auto;
}

.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  backdrop-filter: blur(14px);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--card-border-hover);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.12);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.timeline-role {
  font-size: 1.22rem;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.timeline-hospital {
  color: #7dd3fc;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-location {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   EDUCATION & BOARD CERTIFICATIONS
   ========================================================================== */
.education-section {
  padding: 6rem 0;
  position: relative;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.edu-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.edu-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  background: var(--card-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), var(--shadow-gold);
}

.edu-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.edu-years {
  font-family: var(--font-english);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.edu-title {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.edu-institution {
  color: #7dd3fc;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.edu-details {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ==========================================================================
   LOCATIONS & CLINICS (PRACTICE)
   ========================================================================== */
.locations-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 19, 34, 0.6) 50%, transparent 100%);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.location-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  background: var(--card-hover);
  box-shadow: var(--shadow-md);
}

.location-flag-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.location-card h4 {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.location-facilities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}

.facility-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
}

.facility-name {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.facility-address {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.location-contact-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-light);
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.location-contact-btn:hover {
  background: var(--gold-primary);
  color: #060a14;
}

/* ==========================================================================
   APPOINTMENT BOOKING & CONTACT SECTION
   ========================================================================== */
.booking-section {
  padding: 6rem 0;
  position: relative;
}

.booking-card {
  background: linear-gradient(145deg, rgba(14, 23, 44, 0.92), rgba(8, 14, 28, 0.95));
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.booking-info h3 {
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.booking-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-row:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.06);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.contact-details span,
.contact-details a {
  font-family: var(--font-english);
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.98rem;
  direction: ltr;
  display: inline-block;
}

/* Booking Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(6, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.25);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit-btn {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #060a14;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
  transition: var(--transition);
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(201, 168, 76, 0.55);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 15, 0.9);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 1.2rem;
}

.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.modal-header h3 {
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.modal-image-preview {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #04070e;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 4.5rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  max-width: 220px;
  height: auto;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold-primary);
  color: #060a14;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.footer-col h4 {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--gold-primary);
}

[dir="ltr"] .footer-col h4::after {
  right: auto;
  left: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-right: 5px;
}

[dir="ltr"] .footer-links a:hover {
  padding-right: 0;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.designer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.designer-signature-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.82;
  transition: var(--transition);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
  vertical-align: middle;
}

.designer-credit:hover .designer-signature-img {
  opacity: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 8px rgba(212, 163, 62, 0.4));
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulseWhatsapp 2.5s infinite;
}

[dir="ltr"] .floating-whatsapp {
  left: auto;
  right: 2rem;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
  color: #fff;
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  html[dir="rtl"] #bg-video,
  html[dir="ltr"] #bg-video {
    transform: none;
    transform-origin: center center;
    object-position: center center;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-grid,
  .about-grid,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .timeline::after {
    left: auto;
    right: 20px;
    transform: none;
  }

  html[dir="ltr"] .timeline::after {
    left: 20px;
    right: auto;
  }

  html[dir="rtl"] .timeline-item,
  html[dir="rtl"] .timeline-item.left,
  html[dir="rtl"] .timeline-item.right {
    width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    padding-right: 50px !important;
    padding-left: 10px !important;
    text-align: right !important;
  }

  html[dir="rtl"] .timeline-item::after,
  html[dir="rtl"] .timeline-item.left::after,
  html[dir="rtl"] .timeline-item.right::after {
    right: 11px !important;
    left: auto !important;
  }

  html[dir="ltr"] .timeline-item,
  html[dir="ltr"] .timeline-item.left,
  html[dir="ltr"] .timeline-item.right {
    width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    padding-left: 50px !important;
    padding-right: 10px !important;
    text-align: left !important;
  }

  html[dir="ltr"] .timeline-item::after,
  html[dir="ltr"] .timeline-item.left::after,
  html[dir="ltr"] .timeline-item.right::after {
    left: 11px !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-toggle {
    display: block;
    z-index: 1002;
  }

  .btn-book-header {
    display: none;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .booking-card {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
