/*
 * Laverne Health - Design System & Stylesheet
 * Replicating and improving the Care Wings layout.
 * Optimized for mobile-first, high performance, and smooth animations.
 */

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

:root {
  /* Color Palette */
  --primary: #8572b3;
  --primary-light: #f1edfa;
  --primary-dark: #5c4a8a;
  --primary-glow: rgba(133, 114, 179, 0.25);
  
  --accent-green: #00a859;
  --accent-green-dark: #008747;
  --accent-green-light: #e5f6ee;
  
  --accent-cyan: #00d5ed;
  --accent-cyan-light: #e0faff;
  --accent-cyan-dark: #009cb0;
  
  --accent-yellow: #ffb300;
  --accent-yellow-light: #fff8e1;
  
  --accent-pink: #d81b60;
  --accent-pink-light: #fce4ec;
  
  --bg-body: #faf9fc;
  --bg-card: #ffffff;
  --text-main: #2a2538;
  --text-muted: #6f6782;
  --text-white: #ffffff;
  
  --border-light: #ebe8f0;
  
  /* Fonts */
  --font-en-head: 'Outfit', 'Inter', sans-serif;
  --font-en-body: 'Inter', sans-serif;
  --font-ar: 'Tajawal', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 8px rgba(133, 114, 179, 0.08);
  --shadow-md: 0 8px 16px rgba(133, 114, 179, 0.12);
  --shadow-lg: 0 16px 32px rgba(133, 114, 179, 0.16);
  --shadow-hover: 0 20px 40px rgba(133, 114, 179, 0.22);
  
  /* Radii */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 50px;
  
  /* Timing */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-en-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* RTL (Arabic Support) */
body.rtl {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en-head);
  font-weight: 700;
  line-height: 1.25;
}

body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5, body.rtl h6 {
  font-family: var(--font-ar);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }

/* Sticky Top Bar Call/WhatsApp Header */
.top-contact-bar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.top-buttons {
  display: flex;
  gap: 12px;
  flex: 1;
}

.top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  flex: 1;
  text-align: center;
  transition: var(--transition);
}

body.rtl .top-btn {
  font-family: var(--font-ar);
}

.top-btn-call {
  background-color: #16505b; /* CareWings Teal */
}

.top-btn-call:hover {
  background-color: #1a6270;
  transform: translateY(-1px);
}

.top-btn-whatsapp {
  background-color: #00a859; /* CareWings Green */
}

.top-btn-whatsapp:hover {
  background-color: #008747;
  transform: translateY(-1px);
}

.lang-switch-container {
  margin-left: 15px;
}
body.rtl .lang-switch-container {
  margin-left: 0;
  margin-right: 15px;
}

.lang-btn {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(133, 114, 179, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-head);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

body.rtl .lang-btn {
  font-family: var(--font-ar);
}

.lang-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

/* Main Site Header */
.main-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 52px; /* Aligns directly below the top bar on desktop */
  z-index: 1000;
  border-bottom: 1px solid rgba(133, 114, 179, 0.08);
  box-shadow: 0 4px 20px rgba(133, 114, 179, 0.03);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 75px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  text-decoration: none;
  transition: var(--transition);
}

.logo-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(133, 114, 179, 0.15));
}

.logo-icon-svg {
  height: 44px;
  width: 24px;
  flex-shrink: 0;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.logo-title-la {
  font-family: var(--font-en-head);
  font-size: 27px;
  font-weight: 900;
  color: #8572b3;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.logo-title-verne {
  font-family: var(--font-en-head);
  font-size: 27px;
  font-weight: 900;
  color: #5c4a8a; /* primary-dark */
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-family: var(--font-en-body);
  font-size: 8.5px;
  font-weight: 700;
  color: #8f8b99;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.2;
}

/* Footer Logo Container */
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  text-decoration: none;
  margin-bottom: 20px;
}

@keyframes logo-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
}

.logo-icon-svg g, .logo-icon-svg path {
  transform-origin: 165px 320px;
  animation: logo-sway 4s ease-in-out infinite;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-en-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.2px;
}

body.rtl .nav-link {
  font-family: var(--font-ar);
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
}

.nav-booking-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-head);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(133, 114, 179, 0.2);
}
body.rtl .nav-booking-btn {
  font-family: var(--font-ar);
}

.nav-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(133, 114, 179, 0.35);
  color: var(--text-white);
}

/* Hamburger & Mobile Nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background-color: var(--bg-card);
  z-index: 998;
  padding: 100px 30px 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: var(--transition);
}

body.rtl .mobile-nav {
  right: auto;
  left: -100%;
}

.mobile-nav.active {
  right: 0;
}
body.rtl .mobile-nav.active {
  right: auto;
  left: 0;
}

.mobile-nav .nav-link {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.rtl .mobile-nav .nav-link {
  transform: translateX(-30px);
}

.mobile-nav.active .nav-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .nav-link:nth-child(2) { transition-delay: 0.18s; }
.mobile-nav.active .nav-link:nth-child(3) { transition-delay: 0.26s; }
.mobile-nav.active .nav-link:nth-child(4) { transition-delay: 0.34s; }

.mobile-nav .nav-booking-btn {
  opacity: 0;
  transform: translateX(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
body.rtl .mobile-nav .nav-booking-btn {
  transform: translateX(-30px);
}
.mobile-nav.active .nav-booking-btn {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.42s;
}

/* Floating Pulsing WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--accent-green);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 168, 89, 0.35);
  z-index: 996;
  transition: var(--transition);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-green);
  opacity: 0.4;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 28px rgba(0, 168, 89, 0.5);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

body.rtl .floating-whatsapp {
  right: auto;
  left: 25px;
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(26, 22, 37, 0.4);
  backdrop-filter: blur(3px);
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  padding: 12px 0 30px;
}

.hero-section > .container {
  max-width: 100%;
  padding: 0 15px;
}

.hero-card {
  position: relative;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 45%, #250954 100%);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(50, 15, 100, 0.25);
  min-height: 520px;
  display: flex;
}

/* Decorative glowing circle orb in card background */
.hero-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 213, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── "Healthcare" Big Text ── */
.hero-bg-text {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: clamp(3.2rem, 14.5vw, 10rem);
  font-weight: 950;
  font-family: var(--font-en-head);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

#hero-bg-text-span {
  color: rgba(255, 255, 255, 0.08);
  transition: color 0.7s ease, text-shadow 0.7s ease;
}

#hero-bg-text-span.filled {
  color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
}

/* ── Nurse (Right Side Asymmetry) ── */
.hero-nurse-wrap {
  position: absolute;
  bottom: 0;
  right: 6%;
  height: 92%; /* Takes up 92% of the card height */
  width: 40%;  /* Takes up 40% of card width on right side */
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: all 0.5s ease;
}

body.rtl .hero-nurse-wrap {
  right: auto;
  left: 6%;
}

.hero-nurse-wrap .hero-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Content Layer (Left Side Asymmetry) ── */
.hero-content-layer {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 45px 50px;
  display: flex;
  align-items: center;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 56%; /* Grouped text column takes 56% width on left */
  max-width: 620px;
}

body.rtl .hero-text-col {
  align-items: flex-start; /* text-align right will be handled by body.rtl */
}

.hero-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap; /* Prevent tag wrapping */
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #5b21b6;
  margin-left: -8px;
  background-color: #ccc;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.avatar-group img:first-child {
  margin-left: 0;
}

body.rtl .avatar-group img {
  margin-left: 0;
  margin-right: -8px;
}

body.rtl .avatar-group img:first-child {
  margin-right: 0;
}

.stats-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.stats-text span {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent-cyan);
}

.hero-actions-row {
  margin-top: 10px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), #00b8cc);
  color: #15003b;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-head);
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 213, 237, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.rtl .hero-cta {
  font-family: var(--font-ar);
}

.hero-cta:hover {
  background: var(--text-white);
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.hero-cta svg {
  transition: transform 0.3s ease;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}
body.rtl .hero-cta:hover svg {
  transform: translateX(-4px);
}

/* Specialized Service Chips Section */
.chips-section {
  padding: 24px 0;
  background: linear-gradient(180deg, var(--accent-cyan-light) 0%, rgba(240, 252, 255, 0.5) 100%);
  border-bottom: 1px solid rgba(0, 213, 237, 0.1);
}

.chips-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.chips-title {
  font-size: 1.15rem;
  text-align: center;
  color: #0b5059;
  max-width: 850px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
}

.service-chip {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(133, 114, 179, 0.04);
  cursor: pointer;
  border: 1px solid rgba(133, 114, 179, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-chip:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(133, 114, 179, 0.22);
  border-color: transparent;
}

/* Yellow Action Bar Banner */
.yellow-action-bar {
  background-color: var(--accent-yellow);
  color: #4a3600;
  padding: 25px 0;
}

.action-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.action-bar-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.action-bar-text p {
  font-size: 1rem;
  opacity: 0.9;
}

.action-bar-btn {
  background-color: #4a3600;
  color: var(--text-white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-head);
  font-weight: 700;
  white-space: nowrap;
}
body.rtl .action-bar-btn {
  font-family: var(--font-ar);
}

.action-bar-btn:hover {
  background-color: var(--text-white);
  color: #4a3600;
  transform: translateY(-2px);
}

/* Emergency Night Doctor Card Section */
.emergency-section {
  padding: 70px 0;
}

.emergency-card {
  background: linear-gradient(135deg, #0e2f31 0%, #154447 50%, #1e5c60 100%);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  box-shadow: 0 25px 60px rgba(14, 47, 49, 0.25);
  border: 1px solid rgba(0, 213, 237, 0.15);
  position: relative;
  overflow: hidden;
}

/* Subtle background glow decorative circle */
.emergency-card::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 213, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.emergency-info {
  flex: 1;
  color: var(--text-white);
  z-index: 2;
}

.emergency-tag {
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
  border: 1px solid rgba(0, 213, 237, 0.3);
  background: rgba(0, 213, 237, 0.06);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.emergency-title {
  font-size: 2.4rem;
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.emergency-desc {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 520px;
  line-height: 1.6;
}

.emergency-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.emergency-btn-call {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dark));
  color: #0c2b2d;
  font-family: var(--font-en-head);
  font-weight: 800;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 213, 237, 0.25);
}
body.rtl .emergency-btn-call { font-family: var(--font-ar); }

.emergency-btn-call:hover {
  background: var(--text-white);
  color: #103436;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.35);
}

.emergency-btn-whatsapp {
  background: linear-gradient(135deg, #00c76a, #008747);
  color: var(--text-white);
  font-family: var(--font-en-head);
  font-weight: 800;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 168, 89, 0.25);
}
body.rtl .emergency-btn-whatsapp { font-family: var(--font-ar); }

.emergency-btn-whatsapp:hover {
  background: #00a859;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 168, 89, 0.4);
}

.emergency-img-container {
  flex: 0 0 320px;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.emergency-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(14, 47, 49, 0.4) 0%, transparent 100%);
  pointer-events: none;
}

.emergency-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.emergency-card:hover .emergency-img-container img {
  transform: scale(1.06);
}

/* Services Grid Section */
.services-section {
  padding: 60px 0;
  background-color: var(--bg-body);
}

.section-header {
  margin-bottom: 45px;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto 15px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(133, 114, 179, 0.04);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(133, 114, 179, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(133, 114, 179, 0.14);
  border-color: rgba(133, 114, 179, 0.22);
}

.service-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(42, 37, 56, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-family: var(--font-en-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.55;
  flex: 1;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(133, 114, 179, 0.08);
  padding-top: 20px;
}

.service-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.service-price span {
  display: block;
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-top: 2px;
}

.service-book-btn {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(133, 114, 179, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-book-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(133, 114, 179, 0.25);
}

/* Magenta Card Doctor on Call Detail */
.magenta-card-section {
  padding: 40px 0;
}

.magenta-card {
  background: linear-gradient(135deg, #ad1457, #6a0035);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.magenta-content {
  flex: 1;
  z-index: 2;
}

.magenta-tag {
  background-color: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
}

.magenta-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.magenta-title-solid {
  color: var(--text-white);
}
.magenta-title-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-white);
}
body.rtl .magenta-title-outline {
  color: var(--text-white);
  -webkit-text-stroke: none;
}

.magenta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 500px;
}

.magenta-btn {
  background-color: var(--accent-cyan);
  color: #6a0035;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-head);
  font-weight: 800;
}
body.rtl .magenta-btn { font-family: var(--font-ar); }

.magenta-btn:hover {
  background-color: var(--text-white);
  transform: translateY(-2px);
}

.magenta-img-container {
  flex: 0 0 320px;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.magenta-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Booking Form Section */
.booking-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #faf9fc 0%, var(--primary-light) 50%, #faf9fc 100%);
  border-top: 1px solid rgba(133, 114, 179, 0.08);
  border-bottom: 1px solid rgba(133, 114, 179, 0.08);
}

.booking-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(133, 114, 179, 0.12);
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  border: 1px solid rgba(133, 114, 179, 0.15);
  position: relative;
}

.booking-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(133, 114, 179, 0.04) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 0 0 var(--radius-lg) 0;
}

.booking-header {
  text-align: center;
  margin-bottom: 40px;
}

.booking-header h2 {
  font-family: var(--font-en-head);
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.booking-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  letter-spacing: 0.2px;
}

body.rtl .form-group label {
  font-family: var(--font-ar);
}

.form-control {
  border: 1px solid #ebe8f0;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-en-body);
  font-size: 0.98rem;
  background-color: #fdfcff;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.rtl .form-control {
  font-family: var(--font-ar);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--text-white);
  box-shadow: 0 0 0 4px rgba(133, 114, 179, 0.15);
}

.form-control::placeholder {
  color: #a39bb8;
}

.booking-submit-btn {
  background: linear-gradient(135deg, #00c76a 0%, #009e53 100%);
  color: var(--text-white);
  font-family: var(--font-en-head);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 168, 89, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 15px;
}

body.rtl .booking-submit-btn {
  font-family: var(--font-ar);
}

.booking-submit-btn:hover {
  background: linear-gradient(135deg, #00d975 0%, #00ad5b 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 168, 89, 0.4);
}

.booking-submit-btn:active {
  transform: translateY(-1px);
}

/* Experience / Stats split card section */
.experience-section {
  padding: 60px 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.experience-stats-card {
  background: linear-gradient(135deg, #124c4f, #1b7a82);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.experience-num {
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 10px;
}

.experience-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.experience-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.experience-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.experience-feature svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-cyan);
  flex-shrink: 0;
}

.experience-img-box {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.experience-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reviews / Slider Section */
.reviews-section {
  padding: 90px 0;
  background-color: #faf9fc;
  border-bottom: 1px solid rgba(133, 114, 179, 0.05);
}

.reviews-slider {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.reviews-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide {
  flex: 0 0 100%;
  padding: 20px;
}

.review-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: 0 15px 40px rgba(133, 114, 179, 0.06);
  border: 1px solid rgba(133, 114, 179, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(133, 114, 179, 0.1);
}

/* Elegant decorative double quotes */
.review-card::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 35px;
  font-family: 'Outfit', Georgia, serif;
  font-size: 10rem;
  color: rgba(133, 114, 179, 0.06);
  line-height: 1;
  pointer-events: none;
}

body.rtl .review-card::before {
  left: auto;
  right: 35px;
  content: '”';
}

.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.star {
  width: 22px;
  height: 22px;
  fill: var(--accent-yellow);
  transition: transform 0.3s ease;
}

.review-card:hover .star {
  transform: scale(1.1);
}

.review-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 28px;
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.review-author {
  font-family: var(--font-en-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  position: relative;
  z-index: 2;
}

body.rtl .review-author {
  font-family: var(--font-ar);
}

.review-location {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 3px;
  position: relative;
  z-index: 2;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(133, 114, 179, 0.18);
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot.active {
  background-color: var(--primary);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(133, 114, 179, 0.4);
}

/* Footer Styles */
.main-footer {
  background-color: #161220;
  color: #a39bb8;
  padding: 80px 0 30px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 70px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-licence {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.footer-heading {
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}
body.rtl .footer-heading::after {
  left: auto;
  right: 0;
}

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

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 5px;
}
body.rtl .footer-links a:hover {
  padding-left: 0;
  padding-right: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Animations system */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */

/* Desktop enhancements */
@media (min-width: 769px) {
  .hero-section > .container {
    padding: 0 20px;
  }
  .hero-card {
    min-height: 560px;
  }
  .hero-content-layer {
    min-height: 560px;
    padding: 40px 40px 35px;
  }
  .hero-top-row {
    margin-top: 80px;
  }
  .hero-nurse-wrap .hero-img {
    height: 480px;
  }
  .hero-bg-text {
    font-size: 9rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .hero-tag {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
  .avatar-group img {
    width: 38px;
    height: 38px;
  }
  .stats-text {
    font-size: 0.88rem;
  }
  .stats-text span {
    font-size: 1.05rem;
  }
  .hero-cta {
    padding: 13px 28px;
    font-size: 0.92rem;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Top Contact Bar adjustments */
  .top-contact-bar {
    display: none; /* Hide top bar on mobile */
  }

  .main-header {
    top: 0; /* Sticky at the very top on mobile */
  }

  .desktop-nav {
    display: none !important;
  }

  .logo-icon-svg {
    height: 34px;
    width: 18px;
  }

  .logo-title-la, .logo-title-verne {
    font-size: 21px;
  }

  .logo-subtitle {
    font-size: 7px;
    letter-spacing: 0.8px;
  }

  .mobile-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .lang-btn-mobile {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-sticky-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--bg-card);
    box-shadow: 0 -4px 12px rgba(133, 114, 179, 0.12);
    border-top: 1px solid var(--border-light);
    z-index: 1002;
  }

  .bottom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-en-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
  }

  body.rtl .bottom-btn {
    font-family: var(--font-ar);
  }

  .bottom-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .bottom-btn-call {
    background-color: #16505b;
  }

  .bottom-btn-whatsapp {
    background-color: #00a859;
  }

  .floating-whatsapp {
    display: none !important; /* Hide floating whatsapp to prevent overlaps with sticky bottom bar */
  }

  body {
    padding-bottom: 60px; /* Add padding to prevent content from being covered by bottom bar */
  }

  /* Hero Section adjustments */
  .hero-section {
    padding: 6px 0 18px;
  }

  .hero-section > .container {
    padding: 0 8px;
  }

  .hero-card {
    border-radius: 16px;
  }

  .hero-nurse-wrap {
    height: 78%; /* Take up 78% of card height on mobile */
    bottom: -2px;
    width: 55% !important; /* Increased to 55% to scale up height */
    right: 0% !important;
  }

  body.rtl .hero-nurse-wrap {
    right: auto !important;
    left: 0% !important;
  }

  .hero-nurse-wrap .hero-img {
    height: 100%;
    width: auto;
  }

  .hero-content-layer {
    padding: 16px 15px 18px;
  }

  .hero-text-col {
    width: 64% !important;
  }

  .hero-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }

  .hero-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  .hero-cta {
    padding: 9px 16px;
    font-size: 0.74rem;
  }

  /* Specialized Service Chips */
  .chips-title {
    font-size: 1rem;
    padding: 0 10px;
  }

  .chips-wrapper {
    padding: 0 10px;
  }

  .service-chip {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Action Bar adjustments */
  .action-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .action-bar-btn {
    width: 100%;
  }

  /* Emergency Section adjustments */
  .emergency-card {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .emergency-desc {
    margin: 0 auto 25px;
  }

  .emergency-actions {
    justify-content: center;
    width: 100%;
  }

  .emergency-actions a {
    flex: 1;
    text-align: center;
    min-width: 150px;
  }

  .emergency-img-container {
    width: 100%;
    height: 220px;
    flex: none;
  }

  /* Services Grid adjustments */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Magenta Card adjustments */
  .magenta-card {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }
  .magenta-title {
    justify-content: center;
  }

  .magenta-desc {
    margin: 0 auto 25px;
  }

  .magenta-img-container {
    width: 100%;
    height: 220px;
    flex: none;
  }

  /* Experience adjustments */
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .experience-img-box {
    height: 280px;
  }

  /* Booking Form adjustments */
  .booking-box {
    padding: 25px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
