/* ==========================================================================
   MUCLINIC - Ultra Luxury Healthcare Design System (2026 Elite Edition)
   Crafted for Prestigious Medical Practice & Specialized Clinics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  /* Fonts */
  --mc-font-ar: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --mc-font-en: 'Outfit', system-ui, sans-serif;

  /* Solid Crisp Color Tokens (STRICTLY NO GRADIENTS ON TEXT) */
  --mc-navy-950: #070d1e;
  --mc-navy-900: #0b132b;
  --mc-navy-800: #132247;
  --mc-navy-700: #1c2e5e;

  --mc-primary: #0284c7;       /* Medical Azure */
  --mc-primary-dark: #0369a1;
  --mc-primary-light: #e0f2fe;
  --mc-primary-subtle: #f0f9ff;

  --mc-teal: #0d9488;          /* Surgical Teal */
  --mc-teal-dark: #0f766e;
  --mc-teal-light: #ccfbf1;
  --mc-teal-subtle: #f0fdfa;

  --mc-emerald: #059669;       /* Vital Success */
  --mc-amber: #d97706;         /* Gold / Prestigious Accent */
  --mc-rose: #e11d48;          /* Alert / Emergency */

  --mc-slate-900: #0f172a;
  --mc-slate-800: #1e293b;
  --mc-slate-700: #334155;
  --mc-slate-600: #475569;
  --mc-slate-500: #64748b;
  --mc-slate-400: #94a3b8;
  --mc-slate-200: #e2e8f0;
  --mc-slate-100: #f1f5f9;
  --mc-slate-50: #f8fafc;

  --mc-bg: #f8fafc;
  --mc-surface: #ffffff;
  --mc-surface-elevated: #ffffff;
  --mc-border: #e2e8f0;
  --mc-border-hover: #cbd5e1;

  /* Shadows */
  --mc-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --mc-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --mc-shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --mc-shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(226, 232, 240, 0.9);
  --mc-shadow-xl: 0 25px 50px -12px rgba(11, 19, 43, 0.18);
  --mc-shadow-glow-primary: 0 12px 30px -8px rgba(2, 132, 199, 0.3);
  --mc-shadow-glow-teal: 0 12px 30px -8px rgba(13, 148, 136, 0.3);

  /* Radii */
  --mc-radius-sm: 8px;
  --mc-radius-md: 14px;
  --mc-radius-lg: 20px;
  --mc-radius-xl: 28px;
  --mc-radius-pill: 9999px;
}

/* Base resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mc-font-ar);
  background-color: var(--mc-bg);
  color: var(--mc-slate-800);
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mc-font-ar);
  color: var(--mc-navy-900);
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  color: var(--mc-slate-600);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.mc-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.mc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mc-reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.mc-reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.mc-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================================================
   Top Notification Banner
   ========================================================================== */
.mc-topbar {
  background-color: var(--mc-navy-950);
  color: var(--mc-slate-400);
  font-size: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-topbar a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.mc-topbar a:hover {
  color: #38bdf8;
}

.mc-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--mc-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: mcPulse 1.8s infinite;
}

@keyframes mcPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Glassmorphism Sticky Navbar
   ========================================================================== */
.mc-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mc-border);
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.mc-header.scrolled {
  box-shadow: var(--mc-shadow-md);
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.98);
}

/* Pure Doctor Typography Brand (Strictly NO icon as requested) */
.mc-doctor-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  text-decoration: none !important;
  user-select: none;
}

.mc-doctor-brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0b132b;
  letter-spacing: -0.3px;
  transition: color 0.2s ease;
}

.mc-doctor-brand:hover .mc-doctor-brand-name {
  color: #085464;
}

.mc-doctor-brand-spec {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0284c7;
  margin-top: 1px;
}

/* Clear, Small, Single-Line Nav Links (Never stack words vertically) */
.mc-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mc-nav-link {
  font-weight: 700 !important;
  color: #1e293b !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.88rem !important;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap !important;
  text-decoration: none;
  letter-spacing: -0.2px;
}

.mc-nav-link:hover, .mc-nav-link.active {
  color: #085464 !important;
  background-color: #f0fdfa;
}

/* Professional Dual Action CTAs in Navbar */
.mc-btn-booking {
  background: linear-gradient(135deg, #085464 0%, #0d7085 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(8, 84, 100, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.mc-btn-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 84, 100, 0.42);
  background: linear-gradient(135deg, #0d7085 0%, #085464 100%);
  color: #ffffff !important;
}

.mc-btn-portal {
  background: #ffffff;
  color: #0b132b !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.52rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.mc-btn-portal:hover {
  background-color: #f8fafc;
  border-color: #085464;
  color: #085464 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 84, 100, 0.12);
}

.mc-btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.52rem 1.15rem;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mc-btn-whatsapp:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.mc-mobile-menu-btn {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.25rem 0.55rem;
  color: #0b132b;
  background: #ffffff;
}

.mc-mobile-offcanvas {
  max-width: 310px;
  border-left: 1px solid var(--mc-border);
}

.mc-mobile-nav-link {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mc-mobile-nav-link:hover {
  background-color: #f0fdfa;
  color: #085464;
}

/* ==========================================================================
   Luxury Buttons & Badges
   ========================================================================== */
.mc-btn-primary {
  background-color: var(--mc-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--mc-radius-md);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: var(--mc-shadow-glow-primary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.mc-btn-primary:hover {
  background-color: var(--mc-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.45);
}

.mc-btn-teal {
  background-color: var(--mc-teal);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--mc-radius-md);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: var(--mc-shadow-glow-teal);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.mc-btn-teal:hover {
  background-color: var(--mc-teal-dark);
  transform: translateY(-2px);
}

.mc-btn-secondary {
  background-color: #ffffff;
  color: var(--mc-navy-900) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--mc-radius-md);
  border: 1px solid var(--mc-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: var(--mc-shadow-xs);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.mc-btn-secondary:hover {
  background-color: var(--mc-slate-50);
  border-color: var(--mc-border-hover);
  color: var(--mc-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--mc-shadow-sm);
}

.mc-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--mc-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--mc-border);
  box-shadow: var(--mc-shadow-xs);
}

/* ==========================================================================
   Luxury Cards & Glassmorphism
   ========================================================================== */
.mc-card {
  background-color: var(--mc-surface);
  border-radius: var(--mc-radius-lg);
  border: 1px solid var(--mc-border);
  box-shadow: var(--mc-shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.mc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--mc-shadow-lg);
  border-color: var(--mc-border-hover);
}

.mc-card-dark {
  background-color: var(--mc-navy-900);
  color: #ffffff;
  border-radius: var(--mc-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--mc-shadow-xl);
  position: relative;
  overflow: hidden;
}

.mc-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--mc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.mc-card:hover .mc-icon-box {
  transform: scale(1.08);
}

.mc-icon-box.primary {
  background-color: var(--mc-primary-light);
  color: var(--mc-primary);
}

.mc-icon-box.teal {
  background-color: var(--mc-teal-light);
  color: var(--mc-teal);
}

.mc-icon-box.amber {
  background-color: #fef3c7;
  color: var(--mc-amber);
}

.mc-icon-box.emerald {
  background-color: #d1fae5;
  color: var(--mc-emerald);
}

/* ==========================================================================
   Section Headers & Accents
   ========================================================================== */
.mc-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--mc-radius-pill);
  margin-bottom: 0.75rem;
}

.mc-section-tag.primary {
  background-color: var(--mc-primary-light);
  color: var(--mc-primary-dark);
}

.mc-section-tag.teal {
  background-color: var(--mc-teal-light);
  color: var(--mc-teal-dark);
}

.mc-section-tag.dark {
  background-color: rgba(255, 255, 255, 0.12);
  color: #38bdf8;
}

.mc-section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--mc-navy-900);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.mc-section-subtitle {
  font-size: 1.1rem;
  color: var(--mc-slate-600);
  max-width: 680px;
  line-height: 1.7;
}

/* ==========================================================================
   Ultrasound Suite Interactive Feature Cards
   ========================================================================== */
.mc-us-card {
  border-radius: var(--mc-radius-lg);
  overflow: hidden;
  position: relative;
  background-color: #000000;
  box-shadow: var(--mc-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.35s ease;
}

.mc-us-card:hover {
  transform: translateY(-6px);
}

.mc-us-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  opacity: 0.88;
  transition: all 0.5s ease;
}

.mc-us-card:hover .mc-us-img {
  opacity: 1;
  transform: scale(1.04);
}

.mc-us-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 30, 0.1) 0%, rgba(7, 13, 30, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.mc-us-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(7, 13, 30, 0.85);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--mc-radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   Article & Blog Cards
   ========================================================================== */
.mc-article-card {
  background-color: var(--mc-surface);
  border-radius: var(--mc-radius-lg);
  border: 1px solid var(--mc-border);
  box-shadow: var(--mc-shadow-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mc-article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--mc-shadow-lg);
  border-color: var(--mc-border-hover);
}

.mc-article-thumb-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

.mc-article-card:hover .mc-article-thumb {
  transform: scale(1.06);
}

.mc-article-category {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--mc-radius-pill);
}

.mc-article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mc-article-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mc-navy-900);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.mc-article-card:hover .mc-article-title {
  color: var(--mc-primary);
}

.mc-article-excerpt {
  font-size: 0.9rem;
  color: var(--mc-slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.mc-article-footer {
  border-top: 1px solid var(--mc-slate-100);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--mc-slate-500);
}

/* ==========================================================================
   Video Library Cards & Play Modals
   ========================================================================== */
.mc-video-card {
  background-color: var(--mc-surface);
  border-radius: var(--mc-radius-lg);
  border: 1px solid var(--mc-border);
  box-shadow: var(--mc-shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.mc-video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--mc-shadow-lg);
}

.mc-video-thumb-wrap {
  position: relative;
  height: 220px;
  background-color: var(--mc-navy-950);
  overflow: hidden;
}

.mc-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: all 0.5s ease;
}

.mc-video-card:hover .mc-video-thumb {
  opacity: 1;
  transform: scale(1.05);
}

.mc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 0 8px rgba(2, 132, 199, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-video-card:hover .mc-play-btn {
  background: var(--mc-primary);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 14px rgba(2, 132, 199, 0.2);
}

.mc-video-duration {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--mc-radius-sm);
  direction: ltr;
}

.mc-video-body {
  padding: 1.25rem;
}

.mc-video-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mc-navy-900);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Doctor Prestige Credentials Card
   ========================================================================== */
.mc-doctor-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.mc-doc-badge-item {
  background: #ffffff;
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

.mc-doc-badge-item:hover {
  border-color: var(--mc-primary);
  box-shadow: var(--mc-shadow-sm);
  transform: translateY(-2px);
}

/* ==========================================================================
   Patient Portal Feature Spotlight
   ========================================================================== */
.mc-portal-mockup {
  background: #ffffff;
  border-radius: var(--mc-radius-xl);
  box-shadow: 0 25px 60px -15px rgba(11, 19, 43, 0.2);
  border: 1px solid var(--mc-border);
  overflow: hidden;
}

.mc-portal-mockup-header {
  background: var(--mc-navy-900);
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Floating WhatsApp & Sticky Mobile Action
   ========================================================================== */
.mc-whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1010;
  background-color: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.3rem;
  border-radius: var(--mc-radius-pill);
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-whatsapp-floating:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 35px -4px rgba(37, 211, 102, 0.65);
}

/* ==========================================================================
   Luxury Footer
   ========================================================================== */
.mc-footer {
  background-color: var(--mc-navy-950);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.mc-footer-link {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.mc-footer-link:hover {
  color: #38bdf8;
  padding-inline-start: 6px;
}

/* ==========================================================================
   Hero Section & Multi-Photo Showcase
   ========================================================================== */
.mc-hero-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 12% 25%, rgba(240, 253, 250, 0.95) 0%, rgba(248, 250, 252, 1) 65%);
  border-bottom: 1px solid var(--mc-border);
  padding: 4.5rem 0 3.75rem 0;
}

.mc-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.5rem;
}

.mc-hero-headline {
  font-size: 2.9rem;
  font-weight: 900;
  color: #0b132b;
  line-height: 1.28;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.mc-hero-headline .text-highlight {
  color: #085464;
}

.mc-hero-bio {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 660px;
}

/* Dual CTAs in Hero */
.mc-hero-btn-primary {
  background: linear-gradient(135deg, #085464 0%, #063d49 100%);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px -4px rgba(8, 84, 100, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.mc-hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -4px rgba(8, 84, 100, 0.6);
  color: #ffffff !important;
}

.mc-hero-btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.38);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.mc-hero-btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -4px rgba(16, 185, 129, 0.52);
  color: #ffffff !important;
}

.mc-cta-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Horizontal Stats Counter Row */
.mc-hero-stats-row {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.mc-hero-stat-item {
  display: flex;
  flex-direction: column;
}

.mc-hero-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #085464;
  line-height: 1;
  letter-spacing: -0.5px;
  font-family: var(--mc-font-en), var(--mc-font-ar);
}

.mc-hero-stat-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 0.45rem;
}

/* Doctor Portrait Card & Multi-Photo Slideshow */
.mc-hero-portrait-card {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.mc-doctor-slideshow {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(8, 84, 100, 0.2), 0 0 0 1px rgba(226, 232, 240, 0.85);
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
}

.mc-doctor-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s;
}

.mc-doctor-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Flash / Glimmer (وميض) Overlay Animation */
.mc-hero-flash-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(204, 251, 241, 0.6) 45%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  mix-blend-mode: overlay;
}

.mc-hero-flash-overlay.flash-active {
  animation: mcHeroGlimmerFlash 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes mcHeroGlimmerFlash {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  30% {
    opacity: 0.95;
    transform: scale(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* Floating Glassmorphism Badges */
.mc-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 0.8rem 1.25rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.mc-floating-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.18);
}

.mc-badge-rating {
  top: 1.75rem;
  left: -1.75rem;
}

.mc-badge-hospital {
  bottom: 2.25rem;
  right: -1.75rem;
}

.mc-floating-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.mc-floating-badge-icon.teal {
  background-color: #085464;
  color: #ffffff;
}

.mc-floating-badge-icon.emerald {
  background-color: #10b981;
  color: #ffffff;
}

.mc-floating-badge-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0b132b;
  line-height: 1.2;
}

.mc-floating-badge-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #085464;
  margin-top: 2px;
}

.mc-floating-badge-sub {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

/* Slideshow Indicators (Dots) */
.mc-slideshow-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 19, 43, 0.55);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 9999px;
  z-index: 7;
}

.mc-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mc-slide-dot.active {
  background: #ffffff;
  width: 22px;
  border-radius: 9999px;
}

/* ==========================================================================
   Responsive Utilities & Mobile Optimization
   ========================================================================== */
@media (max-width: 991.98px) {
  .mc-hero-section {
    padding: 2.5rem 0 2rem 0;
    text-align: center;
  }
  
  .mc-hero-pill {
    margin-bottom: 1rem;
    font-size: 0.8rem;
  }

  .mc-hero-headline {
    font-size: 2rem;
    line-height: 1.3;
  }

  .mc-hero-bio {
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0 auto 1.75rem auto;
  }

  .mc-hero-actions {
    justify-content: center !important;
  }

  .mc-hero-btn-primary, .mc-hero-btn-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }

  .mc-hero-stats-row {
    justify-content: space-around;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .mc-hero-stat-number {
    font-size: 1.65rem;
  }

  .mc-hero-stat-label {
    font-size: 0.8rem;
  }

  .mc-hero-portrait-card {
    max-width: 320px;
    margin-top: 2.5rem;
  }

  .mc-doctor-slideshow {
    height: 380px;
    border-radius: 26px;
  }

  .mc-floating-badge {
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    gap: 0.6rem;
  }

  .mc-floating-badge-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .mc-floating-badge-title {
    font-size: 0.78rem;
  }

  .mc-floating-badge-val, .mc-floating-badge-sub {
    font-size: 0.7rem;
  }

  /* Keep badges positioned safely inside viewport on mobile */
  .mc-badge-rating {
    top: 0.75rem;
    left: 0.5rem;
  }

  .mc-badge-hospital {
    bottom: 1rem;
    right: 0.5rem;
  }

  .mc-section-title {
    font-size: 1.85rem;
  }

  .mc-whatsapp-floating span {
    display: none;
  }

  .mc-whatsapp-floating {
    padding: 0.8rem;
    border-radius: 50%;
    bottom: 1.5rem;
    left: 1.5rem;
  }
}
