/* ==========================================
   GOOGLE FONTS
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');
/* ==========================================
   CSS VARIABLES
========================================== */
:root {
  --blue:         #00b7ff;
  --blue-dark:    #0080cc;
  --blue-deep:    #0a1628;
  --white:        #ffffff;
  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ==========================================
   BASE RESET
========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

/* ==========================================
   HEADER
========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 80px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 183, 255, 0.1);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  padding: 12px 80px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Logo */
.logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
  flex-shrink: 0;
}



/* Navigation */
.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}
.nav-drawer-book {
  display: none;
  margin-top: 16px;
  width: 100%;
  text-align: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff !important;
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 183, 255, 0.35);
  border-bottom: none !important;
}

.nav-drawer-book:hover {
  opacity: 0.9;
  border-bottom: none !important;
}


.navigation a {
  text-decoration: none;
  color: #2a3a50;
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navigation a:hover { color: var(--blue); }
.navigation a:hover::after { width: 100%; }

/* Book CTA in nav */
.nav-book-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0, 183, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-book-btn::after { display: none !important; }

.nav-book-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 183, 255, 0.45) !important;
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid rgba(0, 183, 255, 0.35);
  border-radius: 50px;
  padding: 5px 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--blue);
  transition: background 0.3s, border-color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch:hover {
  background: rgba(0, 183, 255, 0.08);
  border-color: var(--blue);
}

.lang-switch img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ==========================================
   SECTIONS (global)
========================================== */
section {
  padding: 100px 80px;
  scroll-margin-top: 80px;
}

/* Header actions group */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Close button inside drawer */
.nav-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1.5px solid rgba(0, 183, 255, 0.3);
  border-radius: 50%;
  color: var(--blue);
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.nav-close:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}


/* ==========================================
   HERO SECTION
========================================== */
.main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 80px;
  padding-left: 80px;
  padding-right: 0;
}

body.lang-en .main { background-image: url("Images/Background-en.svg"); }
body.lang-ar .main { background-image: url("Images/background-ar.svg"); }

/* Hero wrapper: two columns */
/* Hero wrapper — single column */
.hero-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Hero content */
.hero-content {
  width: 100%;
  max-width: 680px;
  padding-bottom: 60px;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.70)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px 45px;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

/* Hero photo — hidden, SVG has it built in */
.hero-photo {
  display: none;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(0, 30, 80, 0.65);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  animation: heroFadeUp 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 183, 255, 0.8);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.7; }
}

/* Name */
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue);
  margin-bottom: 16px;
  animation: heroFadeUp 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Title */
.hero-title {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: rgba(0, 30, 80, 0.7);
  margin-bottom: 44px;
  letter-spacing: 0.02em;
  animation: heroFadeUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Actions row */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  animation: heroFadeUp 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* CTA Button */
.main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 183, 255, 0.35);
  white-space: nowrap;
}

.main-btn i {
  font-size: 0.85em;
  transition: transform 0.3s ease;
}

.main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 183, 255, 0.5);
}

.main-btn:hover i { transform: translateX(4px); }

/* Social links */
.hero-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 183, 255, 0.1);
  border: 1px solid rgba(0, 183, 255, 0.25);
  color: var(--blue);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

/* Credential pills */
.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 183, 255, 0.07);
  border: 1px solid rgba(0, 183, 255, 0.2);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(0, 30, 80, 0.75);
  letter-spacing: 0.03em;
  transition: background 0.3s, border-color 0.3s;
}

.pill i { color: var(--blue); font-size: 0.85em; }

.pill:hover {
  background: rgba(0, 183, 255, 0.15);
  border-color: rgba(0, 183, 255, 0.45);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   ABOUT SECTION
========================================== */
.about-section {
  position: relative;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(0, 183, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 120, 200, 0.12) 0%, transparent 50%),
    linear-gradient(145deg, #112044 0%, #0d1a36 60%, #0a1628 100%);
  border-radius: 32px;
  margin: 60px auto;
  max-width: 1300px;
  padding: 80px 90px 100px 90px;
  color: #fff;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 183, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 70px;
}

.about-left {
  flex: 1 1 0;
  min-width: 0;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00b7ff;
  margin-bottom: 18px;
}

.about-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #00b7ff;
  border-radius: 2px;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #fff 40%, #a8d8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 42px;
  max-width: 540px;
}

.about-stats {
  display: flex;
  align-items: center;
  margin-bottom: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 32px;
  width: 100%;
}

.stat {
  text-align: center;
  flex: 1;
  padding: 0 16px;
}

.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }

.stat h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #00b7ff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.about-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: linear-gradient(135deg, #00b7ff 0%, #0080cc 100%);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 28px rgba(0, 183, 255, 0.35);
}

.about-read .arrow {
  display: inline-block;
  transition: transform 0.35s ease;
  font-size: 1.1em;
  line-height: 1;
}

.about-read:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 183, 255, 0.5);
}

.about-section.expanded .about-read .arrow {
  transform: rotate(180deg);
}

/* Right image */
.about-right {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.doctor-image-wrapper {
  position: relative;
  width: 380px;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.image-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(28px);
  z-index: 0;
}

.doctor-image-wrapper::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 40px;
  background: rgba(0, 183, 255, 0.15);
  border-radius: 50%;
  filter: blur(18px);
  z-index: 0;
}

.doctor-image-wrapper img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
  transition: transform 0.45s ease;
  display: block;
}

.doctor-image-wrapper:hover img {
  transform: translateY(-8px) scale(1.02);
}

.doctor-badge {
  position: absolute;
  bottom: -15px;
  right: -10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.badge-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #00b7ff, #0060aa);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.badge-text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Expandable story */
.about-story {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease,
              margin-top 0.4s ease;
  opacity: 0;
  margin-top: 0;
}

.about-section.expanded .about-story {
  max-height: 2000px;
  opacity: 1;
  margin-top: 52px;
}

.about-extra {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.about-extra p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   ARTICLES SECTION
========================================== */
.articles-section {
  padding: 100px 80px;
  background: #f8fbff;
}

.articles-header {
  text-align: center;
  margin-bottom: 60px;
}

.articles-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.articles-eyebrow::before,
.articles-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.articles-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.articles-subtitle {
  font-size: 1rem;
  color: rgba(10, 22, 40, 0.55);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card */
.article-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 183, 255, 0.08);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 183, 255, 0.18);
}

.article-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-img-wrapper img {
  transform: scale(1.06);
}

.article-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.article-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card-excerpt {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(10, 22, 40, 0.6);
  margin-bottom: 18px;
  flex: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.3s ease;
}

.article-card:hover .article-read-more {
  gap: 12px;
}


/* ==========================================
   CONFERENCES SECTION
========================================== */
.conferences-section {
  padding: 100px 80px;
  background: #ffffff;
}

.conferences-header {
  text-align: center;
  margin-bottom: 55px;
}

.conferences-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.conferences-eyebrow::before,
.conferences-eyebrow::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.conferences-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.conferences-subtitle {
  font-size: 1rem;
  color: rgba(10, 22, 40, 0.55);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.conferences-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.conference-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 183, 255, 0.12);
  box-shadow: 0 6px 22px rgba(10, 22, 40, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conference-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 183, 255, 0.2);
}

.conference-gallery {
  position: relative;
  overflow: hidden;
}

.conference-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.conference-gallery-track::-webkit-scrollbar {
  display: none;
}

.conference-gallery-track img {
  width: 100%;
  min-width: 100%;
  height: 180px;
  object-fit: cover;
  scroll-snap-align: start;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.gallery-btn-prev {
  left: 10px;
}

.gallery-btn-next {
  right: 10px;
}

.conference-content {
  padding: 16px;
}

.conference-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
  line-height: 1.4;
}

.conference-content p {
  font-size: 0.85rem;
  color: rgba(10, 22, 40, 0.65);
  line-height: 1.65;
}

/* ==========================================
   MODAL
========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.modal-box {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;        /* never taller than 90% of screen */
  overflow-y: auto;        /* scrolls inside the modal */
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}

/* Webkit scrollbar styling */
.modal-box::-webkit-scrollbar {
  width: 5px;
}

.modal-box::-webkit-scrollbar-track {
  background: transparent;
}

.modal-box::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 10px;
}

.modal-overlay.is-open .modal-box {
  animation: modalPop 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
  background: #ff4444;
  color: #fff;
  border-color: #ff4444;
  transform: rotate(90deg);
}

/* Modal image */
.modal-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-img-wrapper .article-tag {
  top: 20px;
  left: 20px;
  font-size: 0.78rem;
  padding: 6px 16px;
}

/* Modal content */
.modal-content {
  padding: 36px 40px 44px;
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 14px;
  line-height: 1.3;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: rgba(10, 22, 40, 0.55);
  font-weight: 500;
}

.modal-meta span i {
  color: var(--blue);
}

.modal-body p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: rgba(10, 22, 40, 0.72);
  margin-bottom: 18px;
}

.modal-body p:last-child { margin-bottom: 0; }

/* Prevent body scroll when modal open */
body.modal-open { overflow: hidden; }

.modal-body {
  display: flex;
  flex-direction: column;
}


.modal-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 60px);
  margin: 28px 30px 32px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 183, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-body);
}

.modal-download-btn i {
  font-size: 1.1em;
  color: #fff;
}

.modal-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 183, 255, 0.5);
}

.hamburger { display: none; }



/* ==========================================
   SERVICES SECTION
========================================== */
.services-section {
  padding: 100px 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.services-eyebrow::before,
.services-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.services-subtitle {
  font-size: 1rem;
  color: rgba(10, 22, 40, 0.55);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 183, 255, 0.14);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  padding: 20px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 183, 255, 0.16);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 6px 18px rgba(0, 183, 255, 0.32);
}

.service-card h3 {
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(10, 22, 40, 0.62);
}


/* ==========================================
   CLINICS SECTION
========================================== */
.clinics-section {
  padding: 100px 80px;
  background: #fff;
}

.clinics-header {
  text-align: center;
  margin-bottom: 60px;
}

.clinics-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.clinics-eyebrow::before,
.clinics-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.clinics-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.clinics-subtitle {
  font-size: 1rem;
  color: rgba(10, 22, 40, 0.55);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid — 3 columns top, 2 centered bottom */
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Last 2 cards centered */
.clinic-card:nth-child(4) { grid-column: 1; }
.clinic-card:nth-child(5) { grid-column: 2; }

/* Trick: push last 2 to center on 3-col grid */
.clinics-grid .clinic-card:nth-last-child(2):nth-child(3n+1) {
  grid-column: 1 / 2;
}

/* Simple centering for last row */
@supports (display: grid) {
  .clinics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .clinic-card:nth-child(4) { grid-column: 1 / 2; margin-left: calc(50% + 14px); }
  .clinic-card:nth-child(5) { grid-column: 2 / 3; }
}

/* Card */
.clinic-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 183, 255, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.clinic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 183, 255, 0.15);
}

/* Map */
.clinic-map {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.clinic-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

/* Info */
.clinic-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px 24px;
}

.clinic-icon-wrap {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.clinic-details {
  flex: 1;
  min-width: 0;
}

.clinic-details h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.clinic-address,
.clinic-role,
.clinic-since {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(10, 22, 40, 0.6);
  margin-bottom: 6px;
  line-height: 1.5;
}

.clinic-address i,
.clinic-role i,
.clinic-since i {
  color: var(--blue);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.clinic-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.clinic-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}




/* ==========================================
   RTL SUPPORT
========================================== */
/* ==========================================
   RTL SUPPORT
========================================== */
body[dir="rtl"] .modal-download-btn {
  flex-direction: row-reverse;
}
body.lang-ar {
  font-family: 'Cairo', 'Tajawal', sans-serif;
}
body[dir="rtl"] .pill {
  flex-direction: row-reverse;
}
body[dir="rtl"] .main-btn {
  flex-direction: row-reverse;
}
body[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
body[dir="rtl"] .hero-content {
  margin-left: auto;
  margin-right: 0;
}
body[dir="rtl"] header                  { flex-direction: row-reverse; }
body[dir="rtl"] .navigation             {justify-content: flex-start;}
body[dir="rtl"] .navigation a::after    { left: auto; right: 0; }
body[dir="rtl"] .main                   { padding-left: 0; padding-right: 80px; }
body[dir="rtl"] .hero-wrapper           { justify-content: flex-end; }
body[dir="rtl"] .hero-content           { text-align: right; }
body[dir="rtl"] .hero-eyebrow           { flex-direction: row-reverse; justify-content: flex-end; }
body[dir="rtl"] .hero-actions           { flex-direction: row-reverse; justify-content: flex-end; }
body[dir="rtl"] .hero-pills {
  flex-direction: row-reverse;
  justify-content: flex-end;
}body[dir="rtl"] .main-btn i             { transform: rotate(180deg); }
body[dir="rtl"] .main-btn:hover i       { transform: rotate(180deg) translateX(4px); }
body[dir="rtl"] .about-wrapper          { flex-direction: row-reverse; }
body[dir="rtl"] .about-eyebrow          { flex-direction: row-reverse; }
body[dir="rtl"] .about-eyebrow::before  { order: 1; }
body[dir="rtl"] .about-stats            { flex-direction: row-reverse; }
body[dir="rtl"] .pill { 
  flex-direction: row-reverse;
}
body[dir="rtl"] .about-left {
  text-align: right;
}

body[dir="rtl"] .about-description,
body[dir="rtl"] .about-extra p {
  direction: rtl;
  text-align: right;
}
body[dir="rtl"] .doctor-badge           { right: auto; left: -10px; }
body[dir="rtl"] .about-extra            { direction: rtl; }

body[dir="rtl"] .articles-header {
  text-align: center;
  direction: rtl;
}

body[dir="rtl"] .articles-eyebrow {
  flex-direction: row-reverse;
  justify-content: center;
}

body[dir="rtl"] .articles-subtitle {
  text-align: center;
}
body[dir="rtl"] .article-tag      { left: auto; right: 14px; }
body[dir="rtl"] .article-body     { text-align: right; }
body[dir="rtl"] .article-read-more { flex-direction: row-reverse; }
body[dir="rtl"] .modal-close      { right: auto; left: 16px; }
body[dir="rtl"] .modal-img-wrapper .article-tag { left: auto; right: 20px; }
body[dir="rtl"] .modal-content    { text-align: right; direction: rtl; }
body[dir="rtl"] .modal-meta       { flex-direction: row-reverse; }
.hamburger { display: none; }
body[dir="rtl"] .clinics-header    { text-align: center; direction: rtl; }
body[dir="rtl"] .clinics-eyebrow   { flex-direction: row-reverse; justify-content: center; }
body[dir="rtl"] .clinics-subtitle  { text-align: center; }
body[dir="rtl"] .clinic-info       { flex-direction: row-reverse; text-align: right; }
body[dir="rtl"] .clinic-address,
body[dir="rtl"] .clinic-role,
body[dir="rtl"] .clinic-since      { flex-direction: row-reverse; }
body[dir="rtl"] .clinic-book-btn   { flex-direction: row-reverse; }
body[dir="rtl"] .services-header   { text-align: center; direction: rtl; }
body[dir="rtl"] .services-eyebrow  { flex-direction: row-reverse; justify-content: center; }
body[dir="rtl"] .services-subtitle { text-align: center; }
body[dir="rtl"] .service-card      { text-align: right; }
/* ==========================================
   RESPONSIVE — TABLET (max 1100px)
========================================== */
@media (min-width: 901px) {
  header          { display: flex !important; align-items: center; justify-content: space-between; }
  .logo           { order: 1; }
  .navigation     { order: 2; display: flex; align-items: center; gap: 28px; }
  .header-actions { order: 3; gap: 16px; }
  .lang-switch    { order: 4; }
  .hamburger      { display: none; }
}
@media (max-width: 1100px) {
  header                        { padding: 16px 40px; }
  header.scrolled               { padding: 12px 40px; }
  section                       { padding: 80px 40px; }
  .main                         { padding-left: 40px; }
  body[dir="rtl"] .main         { padding-right: 40px; padding-left: 0; }
  .about-section                { padding: 60px 50px 80px; margin: 40px 30px; }
  .about-wrapper                { gap: 50px; }
  .about-right                  { flex: 0 0 300px; }
  .doctor-image-wrapper         { width: 300px; height: 360px; }
  .articles-section             { padding: 80px 40px; }
  .articles-grid                { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .conferences-section          { padding: 80px 40px; }
  .conferences-grid             { grid-template-columns: repeat(3, 1fr); }
  .services-section             { padding: 80px 40px; }
  .services-grid                { grid-template-columns: repeat(3, 1fr); }

    .clinics-section  { padding: 80px 40px; }
  .clinics-grid     { grid-template-columns: repeat(2, 1fr); }
  .clinic-card:nth-child(4),
  .clinic-card:nth-child(5) { grid-column: auto; margin-left: 0; }
}

/* ==========================================
   RESPONSIVE — SMALL TABLET (max 900px)
========================================== */
@media (max-width: 900px) {
  /* Header */
  header                        { padding: 14px 30px; }
  header.scrolled               { padding: 10px 30px; }

  /* Hamburger */
   .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1.5px solid rgba(0, 183, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: border-color 0.3s;
    flex-shrink: 0;
  }
  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .hamburger:hover                        { border-color: var(--blue); }
  .hamburger.is-active span:nth-child(1)  { transform: translateY(7px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2)  { opacity: 0; }
  .hamburger.is-active span:nth-child(3)  { transform: translateY(-7px) rotate(-45deg); }
  .nav-drawer-book {
    display: none !important;
  }

  nav-close {
    display: flex;
  }
  /* RTL close button */
  body[dir="rtl"] .nav-close {
    right: auto;
    left: 16px;
  }
  /* Nav drawer */
  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 40px;
    gap: 8px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
  }
  .navigation.is-open                     { right: 0; }
  .navigation a:not(.nav-book-btn) {
    display: flex !important;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--blue-deep);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 183, 255, 0.1);
  }
  .navigation a:not(.nav-book-btn)::after { display: none; }
  .nav-book-btn {
    margin-top: 16px;
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .lang-switch {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-overlay.is-visible                 { opacity: 1; visibility: visible; }

  /* Hero */
  .main                                   { padding: 100px 30px 60px; }
  body[dir="rtl"] .main                   { padding: 100px 30px 60px; }
  .hero-wrapper                           { justify-content: center; }
  .hero-content                           { text-align: center; max-width: 100%; padding-bottom: 0; }
  .hero-eyebrow                           { justify-content: center; }
  .hero-actions                           { justify-content: center; flex-wrap: wrap; }
  .hero-pills                             { justify-content: center; }
  .hero-name                              { font-size: clamp(2.2rem, 7vw, 3.5rem); }

  /* About */
  .about-section                          { padding: 60px 30px 80px; margin: 30px 20px; }
  .about-wrapper                          { flex-direction: column-reverse; align-items: center; gap: 40px; }
  .about-right                            { flex: unset; width: 100%; display: flex; justify-content: center; }
  .doctor-image-wrapper                   { width: 280px; height: 320px; }
  .about-left                             { text-align: center; }
  .about-eyebrow                          { justify-content: center; }
  .about-stats                            { padding: 20px 16px; }
  .about-extra                            { grid-template-columns: 1fr; }
  .doctor-badge                           { right: 0; }

  /* Articles */
  .articles-section                       { padding: 70px 30px; }
  .articles-grid                          { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .articles-title                         { font-size: 1.9rem; }
  .conferences-section                    { padding: 70px 30px; }
  .conferences-grid                       { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .modal-content                          { padding: 28px 28px 36px; }
  .services-section                       { padding: 70px 30px; }
  .services-grid                          { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* RTL */
  body[dir="rtl"] .navigation             { right: auto; left: -100%; }
  body[dir="rtl"] .navigation.is-open     { left: 0; right: auto; }
  body[dir="rtl"] .hero-wrapper           { justify-content: center; }
  body[dir="rtl"] .hero-content           { text-align: center; }
  body[dir="rtl"] .hero-eyebrow           { justify-content: center; }
  body[dir="rtl"] .hero-actions           { justify-content: center; }
  body[dir="rtl"] .hero-pills             { justify-content: center; }
  body[dir="rtl"] .about-wrapper          { flex-direction: column-reverse; }
  body[dir="rtl"] .about-left             { text-align: center; }
  body[dir="rtl"] .about-eyebrow          { justify-content: center; }
}

  .clinics-section  { padding: 80px 40px; }
  .clinics-grid     { grid-template-columns: repeat(2, 1fr); }
  .clinic-card:nth-child(4),
  .clinic-card:nth-child(5) { grid-column: auto; margin-left: 0; }

/* ==========================================
   RESPONSIVE — MOBILE (max 768px)
========================================== */
@media (max-width: 768px) {
 /* Header — 2 rows on mobile: [logo] then [book | lang | menu] */
 header                        {
    padding: 12px 14px;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "logo logo logo"
      "lang book menu";
    align-items: center;
    row-gap: 10px;
    column-gap: 8px;
    background: rgba(250, 253, 255, 0.96);
    border-bottom: 1px solid rgba(0, 183, 255, 0.16);
    box-shadow: 0 6px 20px rgba(10, 22, 40, 0.07);
  }
  header.scrolled               { padding: 10px 14px; }
  header .lang-switch           {
    grid-area: lang;
    justify-self: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border-width: 1px;
    border-radius: 14px;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(0, 183, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 14px rgba(0, 183, 255, 0.17);
  }
    header .lang-switch span      { display: none; }

   .logo                         {
    grid-area: logo;
    justify-self: center;
    font-size: clamp(0.9rem, 4.4vw, 1.05rem);
    white-space: nowrap;
    max-width: min(92vw, 340px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions               { display: contents; }
  .header-actions .nav-book-btn {
    grid-area: book;
    display: inline-flex !important;
    justify-self: center;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px !important;
    font-size: 0.88rem;
    box-shadow: 0 6px 16px rgba(0, 183, 255, 0.2);
  }
  .hamburger                    {
    grid-area: menu;
    justify-self: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(0, 183, 255, 0.1));
    border-color: rgba(0, 183, 255, 0.42);
    box-shadow: 0 6px 16px rgba(0, 183, 255, 0.16);
    flex-shrink: 0;
  }
  .hamburger span               { width: 19px; height: 2.2px; }
  .navigation                   {
    width: 86%;
    max-width: 300px;
    padding: 78px 24px 40px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  }
  .navigation .nav-book-btn     { display: none !important; }
  .nav-drawer-book {
    display: flex;
    display: none !important;
  }
  /* Hero */
  .main                         { padding: 90px 20px 50px; }
  body[dir="rtl"] .main         { padding: 90px 20px 50px; }
  body.lang-en .main            { background-image: url("Images/EN.svg"); }
  body.lang-ar .main            { background-image: url("Images/EN.svg"); }
  .main                         { background-position: center; }
  .hero-name                    { font-size: 2.2rem; }
  .hero-title                   { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-actions                 { flex-direction: column; align-items: center; gap: 14px; width: 100%; }
  .main-btn                     { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-social                  { justify-content: center; }
  .hero-pills                   { gap: 8px; justify-content: center; }
  .pill                         { font-size: 0.72rem; padding: 6px 12px; }
  .hero-eyebrow                 { font-size: 0.78rem; }
  .hero-content                 { padding: 32px 24px; }

  /* About */
  .about-section                { padding: 44px 16px 60px; margin: 20px 10px; border-radius: 20px; }
  .about-wrapper                { flex-direction: column-reverse; align-items: center; gap: 40px; }
  .about-right                  { flex: unset; width: 100%; display: flex; justify-content: center; }
  .about-title                  { font-size: 1.7rem; }
  .about-description            { font-size: 0.93rem; }
  .about-stats                  { padding: 16px 12px; flex-wrap: wrap; gap: 10px; }
  .stat h3                      { font-size: 1.5rem; }
  .stat span                    { font-size: 0.72rem; }
  .divider                      { display: none; }
  .about-read                   { width: 100%; justify-content: center; }
  .doctor-image-wrapper         { width: 240px; height: 280px; }
  .about-extra                  { grid-template-columns: 1fr; gap: 16px; }
  .doctor-badge                 { right: 0; left: auto; bottom: -10px; }
  .badge-text strong            { font-size: 0.78rem; }
  .badge-text span              { font-size: 0.68rem; }

  /* Articles */
  .articles-section             { padding: 60px 16px; }
  .articles-grid                { grid-template-columns: 1fr; gap: 16px; }
  .conferences-section          { padding: 60px 16px; }
  .conferences-grid             { grid-template-columns: 1fr; gap: 16px; }
  .articles-title               { font-size: 1.7rem; }
  .conferences-title            { font-size: 1.7rem; }
  .conferences-subtitle         { font-size: 0.88rem; }
  .articles-subtitle            { font-size: 0.88rem; }
  .services-section             { padding: 60px 16px; }
  .services-grid                { grid-template-columns: 1fr; gap: 14px; }
  .service-card                 { padding: 18px 14px; }
  .article-img-wrapper          { height: 180px; }
  .article-card-title           { font-size: 0.97rem; }
  .article-card-excerpt         { font-size: 0.82rem; }

  /* Modal */
  .modal-box                    { border-radius: 18px; max-height: 95vh; }
  .modal-img-wrapper            { height: 180px; border-radius: 18px 18px 0 0; }
  .modal-content                { padding: 20px 18px 30px; }
  .modal-content h2             { font-size: 1.3rem; }
  .modal-meta                   { flex-direction: column; gap: 6px; margin-bottom: 20px; padding-bottom: 16px; }
  .modal-body p                 { font-size: 0.9rem; line-height: 1.8; }
  .modal-close                  { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 0.85rem; }
  .modal-download-btn           { width: calc(100% - 36px); margin: 20px 18px 24px; padding: 13px 20px; font-size: 0.88rem; }
  .clinics-section  { padding: 60px 16px; }
  .clinics-grid     { grid-template-columns: 1fr; gap: 16px; }
  .clinic-card:nth-child(4),
  .clinic-card:nth-child(5) { grid-column: auto; margin-left: 0; }
  .clinic-map       { height: 170px; }
  .clinic-details h3 { font-size: 0.93rem; }
  /* RTL */
  body[dir="rtl"] .about-wrapper          { flex-direction: column-reverse; }
  body[dir="rtl"] .doctor-badge           { left: 0; right: auto; }
  body[dir="rtl"] .modal-close            { left: 10px; right: auto; }
  body[dir="rtl"] .navigation             { left: -100%; right: auto; }
  body[dir="rtl"] .navigation.is-open     { left: 0; right: auto; }
  body[dir="rtl"] .modal-img-wrapper .article-tag { right: 14px; left: auto; }
}

/* ==========================================
   SMALL MOBILE (max 400px)
========================================== */
@media (max-width: 400px) {
  .logo                         { font-size: 0.95rem; }
  .hero-name                    { font-size: 1.9rem; }
  .about-section                { margin: 10px 6px; }
  .navigation                   { width: 90%; }
  .modal-overlay                { padding: 10px; }
}

/* ==========================================
   FOOTER
========================================== */
.site-footer {
  background: #0a1628;
  color: #dbe9ff;
  text-align: center;
  padding: 18px 16px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
  letter-spacing: 0.01em;}