@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Cairo:wght@300;400;600;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-dark:   #A07830;
  --gold-shine:  #F5E1A4;
  --ivory:       #FAF7F2;
  --white:       #FFFFFF;
  --charcoal:    #1A1A1A;
  --dark:        #111111;
  --olive:       #4A5A3C;
  --text-main:   #2C2C2C;
  --text-muted:  #7A7A7A;
  --border:      rgba(201,168,76,0.25);
  --shadow-gold: 0 8px 40px rgba(201,168,76,0.15);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.18);
  --radius:      4px;
  --transition:  0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--ivory);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-ar {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

#page-loader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
#page-loader .loader-logo {
  width: 90px; height: 90px;
  border-radius: 50%;
  animation: loaderPulse 1.5s ease-in-out infinite;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  object-fit: cover;
}
#page-loader .loader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  margin-top: 24px;
  border-radius: 2px;
  overflow: hidden;
}
#page-loader .loader-bar::after {
  content: '';
  display: block; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: loaderFill 1.2s ease forwards;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}
@keyframes loaderFill {
  to { width: 100%; }
}

#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 100px;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#navbar.scrolled {
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  height: 80px;
}
#navbar.transparent {
  background: transparent;
}

.nav-logo {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
}
.nav-logo img {
  height: 85px; width: 85px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  transition: all var(--transition-fast);
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}
.nav-logo:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(201,168,76,0.65);
  border-color: var(--gold-light);
}
.nav-logo-text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.nav-logo-text .ar {
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition-fast);
}
.lang-ar .nav-links a {
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}
.lang-ar .nav-links a::after { transform-origin: right; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-book-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  padding: 9px 22px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.lang-ar .btn-book-nav {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.75rem;
}
.btn-book-nav:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-menu a {
  text-decoration: none;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.8);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast);
}
.lang-ar .nav-mobile-menu a {
  font-family: 'Cairo', sans-serif;
  font-weight: 400;
}
.nav-mobile-menu a:hover { color: var(--gold-light); }
.nav-mobile-divider {
  width: 40px; height: 1px;
  background: var(--border);
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(17,17,17,0.4) 40%,
    rgba(245,240,232,0.15) 75%,
    #FAF7F2 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute; inset: 0;
  background: 
    linear-gradient(160deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.92) 100%),
    url('images/clinic.png') center/cover no-repeat;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 65%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1000px;
  text-align: center;
  padding: 0 24px;
  padding-top: 100px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 7px 20px;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fadeInUp 0.7s 0.3s both;
}
.lang-ar .hero-tag { font-family: 'Cairo', sans-serif; letter-spacing: 0.05em; font-size: 0.7rem; text-transform: none; }
.hero-tag::before, .hero-tag::after {
  content: '';
  width: 18px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  animation: fadeInUp 0.7s 0.5s both;
}
.lang-ar .hero-title {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.lang-ar .hero-title [data-i18n="hero_title_1"] {
  display: block;
  font-size: clamp(1.9rem, 4.5vw, 3.8rem);
  line-height: 1.3;
  margin-bottom: 8px;
}

.lang-ar .hero-title [data-i18n="hero_title_2"] {
  display: inline;
  font-size: clamp(1.2rem, 2.8vw, 2.4rem);
  opacity: 0.88;
  line-height: 1.4;
}

.lang-ar .hero-title [data-i18n="hero_title_3"] {
  display: block !important;
  font-size: clamp(1.2rem, 2.8vw, 2.4rem) !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  line-height: 1.4 !important;
}

.lang-ar .hero-title br:last-of-type {
  display: none;
}

.hero-line2-wrap {
  display: block;
  line-height: 1.4;
}

.lang-ar .hero-line2-wrap {
  display: block;
}

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

[dir="rtl"] .hero-title span {
  font-style: normal !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  color: var(--gold-light) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: var(--gold-light) !important;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 42px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  animation: fadeInUp 0.7s 0.7s both;
}
.lang-ar .hero-subtitle { font-family: 'Cairo', sans-serif; letter-spacing: 0; font-weight: 400; }

.hero-cta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px;
  animation: fadeInUp 0.7s 0.9s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  padding: 15px 36px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.lang-ar .btn-primary { font-family: 'Cairo', sans-serif; letter-spacing: 0.03em; text-transform: none; font-size: 0.82rem; }
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.45); }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  padding: 14px 34px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.lang-ar .btn-secondary { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; font-size: 0.82rem; }
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeInUp 1s 1.2s both;
}
.hero-scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hero-scroll-hint .scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 1; }
}

.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  animation: fadeIn 0.7s 1.2s both;
  z-index: 3;
}
.stat-item {
  flex: 1;
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.lang-ar .stat-item { border-right: none; border-left: 1px solid var(--border); }
.stat-item:last-child { border: none; }
.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.lang-ar .stat-label { font-family: 'Cairo', sans-serif; letter-spacing: 0; }

section { padding: 100px 0; }

@media (max-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
  }
  #navbar { order: 0; }
  #page-loader { order: -1; }
  #hero { order: 1; }
  #doctors { order: 2; }
  #about { order: 3; }
  #specialties { order: 4; }
  #gallery { order: 5; }
  #testimonials { order: 6; }
  #booking { order: 7; }
  #footer { order: 8; }
  .whatsapp-float, .book-now-float { order: 9; }
  #gallery-lightbox { order: 10; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
}
.eyebrow-line {
  width: 40px; height: 1px;
  background: var(--gold);
}
.eyebrow-text {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.lang-ar .eyebrow-text { font-family: 'Cairo', sans-serif; letter-spacing: 0.06em; text-transform: none; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 16px;
}
.lang-ar .section-title { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); }
.section-title em { font-style: italic; color: var(--gold-dark); }
.lang-ar .section-title em { font-style: normal; }

.section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.8;
}
.lang-ar .section-desc { font-family: 'Cairo', sans-serif; }

.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light), transparent);
  margin-bottom: 40px;
}
.lang-ar .divider-gold { background: linear-gradient(to left, var(--gold), var(--gold-light), transparent); }

#about { background: var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.about-images {
  position: relative;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.about-img-main {
  width: 100%; height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 48%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-dark);
}
.lang-ar .about-img-accent { right: auto; left: -30px; }
.about-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--dark);
  color: var(--gold);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-dark);
}
.lang-ar .about-badge { left: auto; right: -20px; }
.about-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 1;
}
.about-badge span {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.lang-ar .about-badge span { font-family: 'Cairo', sans-serif; letter-spacing: 0; }

.about-features {
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  flex: 1;
  padding-bottom: 20px;
  height: auto;
}
.about-feature {
  display: flex; 
  align-items: center;
  gap: 16px;
  flex-direction: row;
  padding: 0;
}
.lang-ar .about-feature { 
  flex-direction: row;
  text-align: right; 
}
.feature-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.lang-ar .feature-content h4 { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
.feature-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.lang-ar .feature-content p { font-family: 'Cairo', sans-serif; }

#specialties { background: var(--ivory); }

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.specialty-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.specialty-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.lang-ar .specialty-card::before { transform-origin: right; }
.specialty-card:hover::before { transform: scaleX(1); }
.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,0.3);
}
.specialty-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}
.specialty-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.lang-ar .specialty-card h3 { font-family: 'Cairo', sans-serif; font-size: 1.2rem; }
.specialty-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.lang-ar .specialty-card p { font-family: 'Cairo', sans-serif; }
.specialty-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: gap var(--transition-fast);
}
.lang-ar .specialty-link { letter-spacing: 0; text-transform: none; font-family: 'Cairo', sans-serif; }
.specialty-link:hover { gap: 10px; }

#doctors { background: var(--dark); }

#doctors .section-title { color: var(--white); }
#doctors .section-desc { color: rgba(255,255,255,0.5); }
#doctors .eyebrow-text { color: var(--gold); }

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.doctor-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.35);
  background: rgba(255,255,255,0.05);
}

.doctor-img-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}
.doctor-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
  filter: brightness(0.95);
}
.doctor-card:hover .doctor-img-wrap img { transform: scale(1.04); filter: brightness(1.05); }

.doctor-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
}

.doctor-social {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-fast);
}
.lang-ar .doctor-social { right: auto; left: 16px; }
.doctor-card:hover .doctor-social { opacity: 1; transform: translateY(0); }
.social-btn {
  width: 34px; height: 34px;
  background: rgba(201,168,76,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--gold);
  transition: background var(--transition-fast);
}
.social-btn:hover { background: var(--gold); color: var(--dark); }

.doctor-info {
  padding: 24px 22px;
}
.doctor-specialty {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.lang-ar .doctor-specialty { font-family: 'Cairo', sans-serif; letter-spacing: 0.04em; }
.doctor-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.lang-ar .doctor-name { font-family: 'Cairo', sans-serif; font-size: 1.15rem; font-weight: 700; }
.doctor-title {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.lang-ar .doctor-title { font-family: 'Cairo', sans-serif; font-size: 0.78rem; }
.doctor-cta {
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.lang-ar .doctor-cta { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; }
.doctor-cta svg { transition: transform var(--transition-fast); }
.doctor-card:hover .doctor-cta svg { transform: translateX(4px); }
.lang-ar .doctor-card:hover .doctor-cta svg { transform: translateX(-4px); }

#gallery { background: var(--ivory); }

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 12px;
  margin-top: 50px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item:nth-child(1) { grid-column: 1 / 3; }
.gallery-swipe-hint {
  display: none;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(100,85,50,0.6);
  margin-top: 10px;
  letter-spacing: 0.05em;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9) saturate(0.85);
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1) saturate(1); }
.gallery-item::after {
  content: '🔍';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ══ TESTIMONIALS CARDS ══ */
.tcard {
  flex: 0 0 auto;
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: #111;
}
.tcard:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.55);
}
.tcard img { width: 100%; height: auto; display: block; }
.tdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(201,168,76,0.3); cursor: pointer;
  transition: all 0.3s; display: inline-block;
}
.tdot.active { background: var(--gold); width: 24px; border-radius: 4px; }
#tPrev:hover, #tNext:hover {
  background: rgba(201,168,76,0.2) !important;
  border-color: rgba(201,168,76,0.7) !important;
}
@media (max-width: 768px) {
  .tcard { width: 88vw; }
}

/* ── Lightbox ── */
#gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
#gallery-lightbox.open { display: flex; }
#gallery-lightbox .lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.8);
  border: 1px solid rgba(201,168,76,0.3);
  object-fit: contain;
  display: block;
}
#gallery-lightbox .lb-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: #C9A84C;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#gallery-lightbox .lb-close:hover { background: rgba(201,168,76,0.3); }
#gallery-lightbox .lb-prev,
#gallery-lightbox .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  color: #C9A84C;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
#gallery-lightbox .lb-prev { left: -60px; }
#gallery-lightbox .lb-next { right: -60px; }
#gallery-lightbox .lb-prev:hover,
#gallery-lightbox .lb-next:hover { background: rgba(201,168,76,0.25); border-color: rgba(201,168,76,0.7); }
#gallery-lightbox .lb-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(201,168,76,0.6);
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  #gallery-lightbox .lb-prev { left: 8px; top: auto; bottom: -60px; transform: none; }
  #gallery-lightbox .lb-next { right: 8px; top: auto; bottom: -60px; transform: none; }
  #gallery-lightbox .lb-counter { bottom: -60px; font-size: 0.85rem; }
  #gallery-lightbox .lb-close { top: -44px; }
}

#booking { background: var(--ivory); }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.booking-info { padding-top: 10px; }

.booking-contact-items {
  display: flex; 
  flex-direction: column; 
  gap: 20px;
  margin-top: 36px;
}

.booking-contact-item {
  display: flex; 
  align-items: center; 
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  width: 100%; 
  max-width: 100%; 
}
.booking-contact-item:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
  transform: translateX(4px);
}
.lang-ar .booking-contact-item:hover { transform: translateX(-4px); }
.contact-icon-box {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-text span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
}
.lang-ar .contact-text span { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
.contact-text strong {
  font-size: 0.85rem;
  color: var(--charcoal);
  font-weight: 500;
}
.lang-ar .contact-text strong { font-family: 'Cairo', sans-serif; }

.booking-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.lang-ar .form-title { font-family: 'Cairo', sans-serif; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.lang-ar .form-group label { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 2px;
  padding: 13px 16px;
  font-size: 0.84rem;
  color: var(--charcoal);
  font-family: 'Montserrat', sans-serif;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
}
.lang-ar .form-group input,
.lang-ar .form-group select,
.lang-ar .form-group textarea { font-family: 'Cairo', sans-serif; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%23C9A84C'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 40px;
  cursor: pointer;
}
.lang-ar .form-group select { 
  background-position: left 20px center; 
  padding-right: 16px;
  padding-left: 40px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  border: none;
  padding: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition-fast);
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
}
.lang-ar .btn-submit { font-family: 'Cairo', sans-serif; letter-spacing: 0.03em; text-transform: none; }
.btn-submit:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

#footer {
  background: #0a0a0a;
  padding: 70px 0 0;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-logo img { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(201,168,76,0.4); object-fit: cover; }
.footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
}
.footer-brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}
.lang-ar .footer-brand p { font-family: 'Cairo', sans-serif; }
.footer-social {
  display: flex; gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 600;
}
.lang-ar .footer-col h4 { font-family: 'Cairo', sans-serif; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  text-decoration: none;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}
.lang-ar .footer-col ul a { font-family: 'Cairo', sans-serif; }
.footer-col ul a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}
.lang-ar .footer-bottom p { font-family: 'Cairo', sans-serif; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--transition-fast);
  animation: waPulse 2.5s ease-in-out infinite;
}
.lang-ar .whatsapp-float { right: auto; left: 28px; }
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 10px rgba(37,211,102,0.08); }
}

.book-now-float {
  position: fixed;
  bottom: 96px; 
  right: 28px;
  z-index: 500;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
  transition: all var(--transition-fast);
  animation: bookPulse 2.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.lang-ar .book-now-float { 
  right: auto; 
  left: 28px;
}
.book-now-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(201,168,76,0.55);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}
.book-now-float::before {
  content: '📅';
  font-size: 1.6rem;
}
@keyframes bookPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(201,168,76,0.4); }
  50% { box-shadow: 0 6px 24px rgba(201,168,76,0.4), 0 0 0 10px rgba(201,168,76,0.08); }
}

@media (max-width: 768px) {
  .book-now-float {
    bottom: 96px;
    right: 28px;
    width: 58px;
    height: 58px;
  }
  .lang-ar .book-now-float {
    left: 28px;
    right: auto;
  }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-images { max-width: 560px; margin: 0 auto; }
  .specialties-grid { grid-template-columns: 1fr 1fr; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .booking-grid { 
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .booking-form-wrap { 
    order: 1;
    width: 100%;
    max-width: 100%;
    padding: 35px 25px;
  }
  .booking-info { 
    order: 2; 
    width: 100%;
  }
  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) { grid-column: auto; }
}
@media (max-width: 768px) {
  #navbar { padding: 0 6%; }
  .nav-links, .btn-book-nav { display: none; }
  .nav-hamburger { display: flex; }
  
  .hero-stats { display: none !important; }

  .doctors-grid { 
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    margin-left: -5%;
    margin-right: -5%;
    padding-left: 5%;
    padding-right: 5%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
  }
  .doctors-grid::-webkit-scrollbar { height: 4px; }
  .doctors-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 2px; }
  .doctors-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
  .doctor-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    touch-action: pan-y pan-x;
  }
  .doctor-img-wrap {
    touch-action: pan-y pan-x;
    pointer-events: auto;
  }
  
  #doctors .container::after {
    content: 'مرر لرؤية المزيد ←';
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(201,168,76,0.7);
    margin-top: 15px;
    font-weight: 600;
    animation: scrollHint 2s ease-in-out infinite;
  }
  body:not(.lang-ar) #doctors .container::after { content: 'Swipe for more'; }
  .lang-ar #doctors .container::after { content: 'مرر لرؤية المزيد'; }
  
  .specialties-grid { 
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    margin-left: -5%;
    margin-right: -5%;
    padding-left: 5%;
    padding-right: 5%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .specialties-grid::-webkit-scrollbar { height: 4px; }
  .specialties-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 2px; }
  .specialties-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
  .specialty-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    touch-action: pan-y pan-x;
  }

  @keyframes scrollHint {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(-5px); }
  }
  body.lang-ar .scrollHint { animation: scrollHintRTL 2s ease-in-out infinite; }
  @keyframes scrollHintRTL {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
  }

  .hero-title br { display: none; }

  .lang-ar .hero-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
    line-height: 1 !important;
  }

  .lang-ar .hero-title [data-i18n="hero_title_1"] {
    font-size: clamp(1.7rem, 7.5vw, 2.6rem);
    line-height: 1.25;
    display: block;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(201,168,76,0.3);
  }

  .lang-ar .hero-title [data-i18n="hero_title_2"] {
    display: block !important;
    font-size: clamp(1.4rem, 6.5vw, 2.2rem);
    line-height: 1.25;
    opacity: 0.9;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(201,168,76,0.3);
  }

  .lang-ar .hero-title [data-i18n="hero_title_3"] {
    display: block !important;
    font-size: clamp(1.4rem, 6.5vw, 2.2rem) !important;
    line-height: 1.25 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  /* ── Gallery Mobile — Native Horizontal Scroll ── */
  #gallery .container { padding: 0; }
  #gallery .container > div:first-child { padding: 0 5%; }
  .gallery-masonry {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px !important;
    padding: 0 5% 14px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    margin-top: 24px !important;
    width: 100% !important;
    /* direction inherited from html[dir] — RTL scrolls right→left, LTR scrolls left→right */
  }
  .gallery-masonry::-webkit-scrollbar { display: none; }
  .gallery-swipe-hint { display: block; padding: 0 5%; }
  .gallery-item {
    flex: 0 0 75vw !important;
    width: 75vw !important;
    height: 240px !important;
    grid-column: auto !important;
    border-radius: 12px !important;
    scroll-snap-align: start !important;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) { grid-column: auto !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  section { padding: 70px 0; }
  .about-img-accent { display: none; }
  .about-badge { left: 0; right: auto; }
  .lang-ar .about-badge { right: 0; left: auto; }
  
  .about-images { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-content { max-width: 100%; }
  
  #about .container {
    position: relative;
    padding-top: 80px;
  }
  #about .about-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  .lang-ar #about .about-badge {
    left: 50%;
    right: auto;
  }
  
  .section-title { margin-top: 20px; }
  
  .about-features {
    margin-top: 40px;
    gap: 20px;
  }
  .about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
  }
  .feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
  }
  .feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .booking-form-wrap { padding: 26px 20px; }

  .lang-ar .hero-title [data-i18n="hero_title_1"] {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .lang-ar .hero-title [data-i18n="hero_title_2"],
  .lang-ar .hero-title [data-i18n="hero_title_3"] {
    font-size: clamp(1.2rem, 5.5vw, 1.7rem) !important;
  }
}

.doctor-hero {
  background: var(--dark);
  min-height: 60vh;
  display: flex; align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.doctor-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.9) 60%, var(--dark) 100%);
}
.doctor-hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 60px 5% 60px;
  display: flex; 
  align-items: flex-end; 
  justify-content: flex-start;
  gap: 0px;
}
.doctor-hero-img {
  width: 260px; height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 2px solid rgba(201,168,76,0.25);
  flex-shrink: 0;
}
.doctor-hero-info {
  padding-left: 24px;
}
.doctor-hero-specialty {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.lang-ar .doctor-hero-specialty { font-family: 'Cairo', sans-serif; letter-spacing: 0.04em; }
.doctor-hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.lang-ar .doctor-hero-name { font-family: 'Cairo', sans-serif; font-size: clamp(1.6rem, 3.5vw, 3rem); font-weight: 700; }
.doctor-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.lang-ar .doctor-hero-tags { justify-content: flex-start; }
.hero-tag-badge {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
}
.lang-ar .hero-tag-badge { font-family: 'Cairo', sans-serif; }

.doctor-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding: 70px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.lang-ar .doctor-detail-grid { direction: rtl; }

.detail-section { margin-bottom: 48px; }
.detail-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.lang-ar .detail-section h3 { font-family: 'Cairo', sans-serif; }
.detail-section p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 14px;
}
.lang-ar .detail-section p { font-family: 'Cairo', sans-serif; }

.services-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.service-chip {
  background: var(--ivory);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
  cursor: default;
}
.lang-ar .service-chip { font-family: 'Cairo', sans-serif; }
.service-chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: scale(1.03);
}

.sidebar-card {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}
.lang-ar .sidebar-card h4 { font-family: 'Cairo', sans-serif; }
.sidebar-social {
  display: flex; flex-direction: column; gap: 10px;
}
.sidebar-social a {
  display: flex; 
  align-items: center; 
  gap: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  transition: all var(--transition-fast);
  justify-content: flex-start;
}
.lang-ar .sidebar-social a span { font-family: 'Cairo', sans-serif; }
.sidebar-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }
.sidebar-social a svg { flex-shrink: 0; }

.sidebar-book-btn {
  display: block; width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  text-align: center;
  padding: 15px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-fast);
  margin-top: 18px;
}
.lang-ar .sidebar-book-btn { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; font-size: 0.82rem; }
.sidebar-book-btn:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 8px 25px rgba(201,168,76,0.4); }

.credentials-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.credentials-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.lang-ar .credentials-list li { flex-direction: row-reverse; text-align: right; font-family: 'Cairo', sans-serif; }
.credentials-list li::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.5rem;
  margin-top: 5px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .doctor-detail-grid { grid-template-columns: 1fr; }
  .doctor-hero-content { flex-direction: column; align-items: flex-start; }
  .lang-ar .doctor-hero-content { flex-direction: column; align-items: flex-end; }
  .doctor-hero-img { width: 180px; height: 220px; }
  .nav-logo img { height: 65px; width: 65px; }
  .nav-logo-text .en { font-size: 1.1rem; }
  .nav-logo-text .ar { font-size: 0.7rem; }
  #navbar { height: 85px; }
  #navbar.scrolled { height: 70px; }
}

body:not(.lang-ar) [data-i18n="logo_title_ar"] { display: none !important; }
body.lang-ar [data-i18n="logo_title_en"] { display: none !important; }
body.lang-ar [data-i18n="logo_tagline"] { display: block !important; }

.booking-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0; 
}

.booking-contact-row .booking-contact-item {
  width: 100% !important;
  margin: 0 !important;
}
@media (max-width: 768px) {
  .booking-contact-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-feature { gap: 14px !important; }
  .feature-icon {
    width: 46px !important; 
    height: 46px !important;
    font-size: 1.2rem !important;
  }
}

@media (max-width: 768px) {
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(7) { display: none !important; }
}