/* ==========================================================================
   SIGMA MEDICAL LABORATORIES — 3D LUXURY LIQUID-GLASS DESIGN SYSTEM
   Deep Obsidian Dark Theme • Holographic 3D Depth • Liquid Glass Shaders
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Barlow:wght@300;400;500;600;700&family=Cairo:wght@400;500;600;700;800;900&display=swap');

@font-face {
  font-family: 'Dirtyline';
  src: url('https://fonts.cdnfonts.com/s/15011/Dirtyline36DaysofType.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   PURE WHITE MEDICAL DESIGN FOUNDATION — ULTRA-CHIC LIGHT LUXURY (DEFAULT)
   ========================================================================== */
:root,
html,
body,
body.theme-light {
  /* Core Pure White & Medical Slate Canvas */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-surface-card: #ffffff;
  
  /* Luminous High-Precision Medical Accents */
  --primary-navy: #0f172a;
  --primary-navy-light: #334155;
  --primary-sigma: #005691;
  --primary-bright: #0284c7;
  --accent-cyan: #0284c7;
  --accent-cyan-light: rgba(2, 132, 199, 0.08);
  --accent-teal: #0d9488;
  --accent-teal-light: rgba(13, 148, 136, 0.08);
  --accent-emerald: #10b981;
  --accent-emerald-light: rgba(16, 185, 129, 0.1);
  --accent-coral: #ff4767;
  --accent-coral-hover: #e03251;
  --accent-coral-light: rgba(255, 71, 103, 0.1);
  --accent-amber: #f59e0b;

  /* Crisp Typography */
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #0f172a;

  /* 3D Glass Borders & Radii */
  --border-light: #e2e8f0;
  --border-hover: rgba(2, 132, 199, 0.4);
  --border-focus: #0284c7;

  /* Soft Ambient 3D Shadows */
  --shadow-3d-base: 0 10px 30px -10px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-3d-cyan: 0 12px 32px -8px rgba(2, 132, 199, 0.2), 0 0 16px 2px rgba(2, 132, 199, 0.1);
  --shadow-3d-emerald: 0 12px 32px -8px rgba(16, 185, 129, 0.2), 0 0 16px 2px rgba(16, 185, 129, 0.1);
  --shadow-3d-coral: 0 12px 32px -8px rgba(255, 71, 103, 0.22), 0 0 18px 2px rgba(255, 71, 103, 0.12);
}

/* Shared radii tokens */
:root {
  --radius-full: 9999px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* Permanently hide dark mode toggle buttons (Light Mode Only) */
.theme-toggle-btn,
.sidebar-theme-toggle,
.tcb-theme-btn,
.hero-theme-toggle {
  display: none !important;
}

/* ==========================================================================
   GLOBAL 3D LIQUID GLASS SHADERS (LIGHT MODE LUXURY)
   ========================================================================== */
.liquid-glass {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), inset 0 1px 1px #ffffff !important;
  position: relative;
  overflow: hidden;
}

.liquid-glass-strong {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.12), inset 0 1px 2px #ffffff !important;
  position: relative;
  overflow: hidden;
}

/* Shared hero title properties */
.hero-title {
  font-family: 'Instrument Serif', 'Cairo', serif !important;
  font-style: italic !important;
  font-size: clamp(40px, 7vw, 96px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
  text-align: center !important;
  text-shadow: 0 2px 16px rgba(2, 132, 199, 0.12) !important;
  margin: 0.5rem 0 !important;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(32px, 10vw, 52px) !important;
    line-height: 1.1 !important;
  }
}

/* ==========================================================================
   FULLSCREEN 3D CLINICAL LAB HERO SECTION (LUMINOUS WHITE PEARL CANVAS)
   ========================================================================== */
.fullscreen-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 2.25rem;
  background-color: #f8fafc !important;
  background-image: linear-gradient(165deg, #f8fafc 0%, #edf5fd 100%) !important;
  color: #0f172a !important;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fullscreen-hero-section {
    padding: 1rem 1rem 2.5rem;
    gap: 2.5rem;
  }
}

/* Visual & Canvas Layer with GSAP 3D Parallax */
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.06);
  transform-origin: center center;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.hero-media-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.6) contrast(1.2) saturate(1.15);
  transform: scale(1.04);
  animation: heroBreathing 16s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes heroBreathing {
  0% { transform: scale(1.03) translate(0, 0); }
  50% { transform: scale(1.07) translate(-0.8%, -0.6%); }
  100% { transform: scale(1.04) translate(0.8%, 0.4%); }
}

.hero-video-media,
.hero-canvas-display {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom,
      rgba(248, 250, 252, 0.45) 0%,
      rgba(237, 245, 253, 0.65) 40%,
      rgba(248, 250, 252, 0.9) 75%,
      #f8fafc 100%
    );
  pointer-events: none;
  z-index: 2;
}

.hero-fallback-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  z-index: 4 !important;
  display: block !important;
  pointer-events: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Floating Liquid-Glass Pill Navigation */
.hero-nav-pill-wrapper {
  position: relative;
  z-index: 40;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  gap: 1.25rem;
}

.hero-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .hero-nav-links {
    display: none;
  }
}

.hero-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.hero-nav-link:hover {
  color: #0284c7;
  text-shadow: none;
}

.hero-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: #0284c7 !important;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav-cta:hover {
  transform: scale(1.04);
  background: #0369a1 !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45) !important;
}

.hero-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #0f172a;
  transition: color 0.25s ease;
}

.hero-logo-group svg rect {
  fill: #0f172a !important;
}

.hero-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.hero-lang-pill:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

/* Center Content & Title */
.hero-center-content {
  position: relative;
  z-index: 30;
  text-align: center;
  max-width: 960px;
  margin: auto;
  padding: 1.5rem 1rem;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  max-width: 95%;
  box-sizing: border-box;
  line-height: 1.4;
  text-align: center;
}

.hero-subtitle-text {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  color: #334155;
  max-width: 720px;
  margin: 1.25rem auto 0;
}

.hero-subtitle-text strong {
  color: #0284c7;
  font-weight: 700;
}

.hero-metrics-strip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  margin-top: 1.25rem !important;
  padding: 0.65rem 1.4rem !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  color: #475569 !important;
  max-width: 95% !important;
  box-sizing: border-box !important;
  line-height: 1.45 !important;
}

/* Hero Bottom Action Row */
.hero-bottom-deck {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .hero-bottom-deck {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
}

.hero-feature-text {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.6;
  color: #64748b;
  max-width: 280px;
}

@media (max-width: 860px) {
  .hero-feature-text {
    text-align: center !important;
    max-width: 100%;
  }
}

.hero-cta-cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-hero-primary:hover {
  transform: scale(1.03);
  background: #0369a1;
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-hero-secondary:hover {
  transform: scale(1.03);
  border-color: #0284c7;
  color: #0284c7;
}

/* ==========================================================================
   DEEP 3D OBSIDIAN STYLING ACROSS THE REST OF THE PLATFORM
   ========================================================================== */
body {
  background-color: var(--bg-page) !important;
  color: var(--text-body) !important;
}

.app-layout {
  background-color: var(--bg-page) !important;
}

.main-viewport {
  background-color: var(--bg-page) !important;
}

/* Clinical Sidebar in 3D Light Liquid Glass */
.clinical-sidebar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-inline-end: 1px solid #e2e8f0 !important;
  box-shadow: 4px 0 24px -4px rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

.sidebar-header {
  border-bottom: 1px solid #f1f5f9 !important;
}

.sidebar-logo-text h2 {
  color: #0f172a !important;
}

.s-nav-item {
  color: #475569 !important;
  border-radius: 12px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.s-nav-item:hover,
.s-nav-item.active {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  transform: translateX(-4px);
  box-shadow: inset 0 0 12px rgba(2, 132, 199, 0.08) !important;
}

body.ltr .s-nav-item:hover,
body.ltr .s-nav-item.active {
  transform: translateX(4px);
}

.s-nav-badge {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

.s-badge-save {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #bbf7d0 !important;
}

.s-badge-hot {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

.sidebar-hotline-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border: 1px solid #bae6fd !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08) !important;
}

.shc-phone {
  color: #0284c7 !important;
}

.top-command-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 0 #e2e8f0, 0 4px 16px -4px rgba(15, 23, 42, 0.06) !important;
  color: #0f172a !important;
}

.tcb-title {
  color: #0f172a !important;
}

.tcb-ticker {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

.ticker-text {
  color: #475569 !important;
}

/* ==========================================================================
   PATIENT COMMAND CENTER — 3D TACTILE DECK
   ========================================================================== */
.command-center-section {
  background: transparent !important;
  padding: 3rem 0 !important;
}

.command-deck-card {
  background: rgba(11, 23, 40, 0.75) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  box-shadow: var(--shadow-3d-base), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.deck-main-title {
  color: #ffffff !important;
}

.text-cyan-glow {
  color: #38bdf8 !important;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.5) !important;
}

.tele-chip {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

/* 3D Tabs Bar */
.pcc-tabs-bar {
  background: rgba(3, 7, 18, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  padding: 0.5rem !important;
}

.pcc-tab {
  background: transparent !important;
  border-radius: 16px !important;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pcc-tab:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
}

.pcc-tab.active {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  box-shadow: 0 8px 24px -4px rgba(56, 189, 248, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
}

.hero-search-box {
  background: rgba(3, 7, 18, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  border-radius: var(--radius-full) !important;
}

.hero-search-box input {
  color: #ffffff !important;
}

.hero-search-box input::placeholder {
  color: #64748b !important;
}

.hero-search-box:focus-within {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

.hero-tag-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border-radius: var(--radius-full) !important;
  transition: all 0.2s ease !important;
}

.hero-tag-btn:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25) !important;
}

/* ==========================================================================
   3D STAT PILLS
   ========================================================================== */
.stat-pill {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  background: rgba(11, 23, 40, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 0.85rem 1rem !important;
  min-height: 82px !important;
  box-sizing: border-box !important;
  box-shadow: var(--shadow-3d-base), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

.stat-pill:hover {
  transform: translateY(-3px) scale(1.02) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: var(--shadow-3d-cyan) !important;
}

.stat-pill-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

.stat-pill-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  flex: 1 !important;
  text-align: start !important;
}

.stat-num {
  color: #38bdf8 !important;
  font-weight: 800 !important;
  font-size: clamp(1.2rem, 1.3vw, 1.45rem) !important;
  line-height: 1.15 !important;
  margin: 0 0 0.15rem 0 !important;
  white-space: nowrap !important;
}

.stat-txt {
  color: #cbd5e1 !important;
  font-size: clamp(0.72rem, 0.8vw, 0.8rem) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
}

/* ==========================================================================
   3D LIFESTYLE BANNER (EGYPTIAN LAB TEAM)
   ========================================================================== */
.lifestyle-banner {
  border-radius: 28px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: var(--shadow-3d-base), 0 0 40px rgba(56, 189, 248, 0.15) !important;
  transform: perspective(1000px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
}

.lifestyle-banner:hover {
  transform: perspective(1000px) translateY(-6px) scale(1.01) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.25) !important;
}

.lifestyle-banner-tag {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.3) !important;
  color: #0369a1 !important;
  border-radius: var(--radius-full) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
}

.lifestyle-banner-tag.lifestyle-banner-tag-coral {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid rgba(225, 29, 72, 0.35) !important;
  color: #be123c !important;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.14), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

.lifestyle-banner-tag.lifestyle-banner-tag-blue {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
  color: #0369a1 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.14), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

body.theme-dark .lifestyle-banner-tag.lifestyle-banner-tag-coral {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1.5px solid rgba(251, 113, 133, 0.45) !important;
  color: #fda4af !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 25px rgba(244, 63, 94, 0.22) !important;
}

body.theme-dark .lifestyle-banner-tag.lifestyle-banner-tag-blue {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  color: #38bdf8 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.22) !important;
}

.lifestyle-banner-cta {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
  transition: all 0.25s ease !important;
}

.lifestyle-banner-cta:hover {
  transform: scale(1.05) !important;
  background: #0369a1 !important;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45) !important;
}

/* ==========================================================================
   3D PRESCRIPTION PROMO CARD
   ========================================================================== */
.rx-promo-card {
  background: linear-gradient(135deg, rgba(11, 23, 40, 0.85) 0%, rgba(8, 17, 30, 0.95) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 28px !important;
  box-shadow: var(--shadow-3d-base), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.rx-promo-card h2 {
  color: #ffffff !important;
}

.rx-promo-card p {
  color: #cbd5e1 !important;
}

.rx-perk-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border-radius: var(--radius-full) !important;
}

/* ==========================================================================
   3D TEST CARDS & DIRECTORY
   ========================================================================== */
.tests-section {
  background: transparent !important;
}

.section-title {
  color: #ffffff !important;
  font-family: 'Instrument Serif', 'Cairo', serif !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
}

.section-tag {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  border-radius: var(--radius-full) !important;
}

.category-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border-radius: var(--radius-full) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.category-pill.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3) !important;
}

/* 3D Test Card with Perspective & Tilt */
.test-card {
  background: #ffffff !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06), inset 0 1px 1px #ffffff !important;
  transform-style: preserve-3d;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease !important;
}

.test-card:hover {
  transform: perspective(1000px) translateY(-8px) scale3d(1.02, 1.02, 1.02) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: var(--shadow-3d-cyan) !important;
}

.test-title-box h3,
.test-title-box h2 {
  color: #ffffff !important;
}

.test-code-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}

.test-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(16, 185, 129, 0.14) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: var(--radius-full) !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}

.test-desc {
  color: #94a3b8 !important;
}

.spec-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.spec-label {
  color: #64748b !important;
}

.spec-val {
  color: #e2e8f0 !important;
}

.spec-val.text-green {
  color: #34d399 !important;
  font-weight: 600 !important;
}

.price-amount {
  color: #38bdf8 !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.4) !important;
}

/* ==========================================================================
   3D HEALTH PACKAGES VIP CARDS
   ========================================================================== */
.packages-teaser-section {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.pkg-card {
  background: rgba(11, 23, 40, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 26px !important;
  box-shadow: var(--shadow-3d-base) !important;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pkg-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  box-shadow: var(--shadow-3d-emerald) !important;
}

.pkg-card.popular {
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: var(--shadow-3d-cyan) !important;
}

.pkg-name {
  color: #ffffff !important;
}

.pkg-price-sale {
  color: #34d399 !important;
}

/* ==========================================================================
/* ==========================================================================
   3D MAIN FOOTER & ACCORDIONS (PURE WHITE LIGHT MEDICAL LUXURY)
   ========================================================================== */
.main-footer,
body.theme-light .main-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.04) !important;
  padding: 4.5rem 0 2rem !important;
}

.footer-brand-name,
body.theme-light .footer-brand-name,
.main-footer h3,
.main-footer h4,
.main-footer strong {
  color: #0f172a !important;
}

.footer-brand-sub {
  color: #0284c7 !important;
}

.footer-desc,
body.theme-light .footer-desc {
  color: #475569 !important;
}

.footer-hotline-card,
body.theme-light .footer-hotline-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
}

.fhc-header span {
  color: #64748b !important;
}

.fhc-phone {
  color: #0284c7 !important;
  text-shadow: none !important;
}

.fhc-caption {
  color: #64748b !important;
}

.footer-accordion-item,
body.theme-light .footer-accordion-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
}

.footer-accordion-header,
body.theme-light .footer-accordion-header {
  color: #0f172a !important;
}

.f-acc-title {
  color: #0f172a !important;
}

.f-acc-indicator {
  color: #0284c7 !important;
}

.f-sublink,
body.theme-light .f-sublink {
  color: #475569 !important;
}

.f-sublink:hover,
body.theme-light .f-sublink:hover {
  color: #0284c7 !important;
}

/* ==========================================================================
   3D UNIFIED CARDS & SECTIONS (COMPLETE COLOR HARMONY)
   ========================================================================== */

/* 1. Core Services Section */
.services-overview-section {
  background: transparent !important;
}

.service-card {
  background: rgba(11, 23, 40, 0.72) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow-3d-base), inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
  transform-style: preserve-3d;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover {
  transform: perspective(1000px) translateY(-8px) scale3d(1.02, 1.02, 1.02) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: var(--shadow-3d-cyan) !important;
  background: rgba(13, 26, 45, 0.85) !important;
}

.service-icon-box {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2) !important;
  border-radius: 16px !important;
}

.service-card:nth-child(2) .service-icon-box {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2) !important;
}

.service-card:nth-child(3) .service-icon-box {
  background: rgba(251, 191, 36, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2) !important;
}

.service-content h3 {
  color: #ffffff !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
}

.service-content p {
  color: #94a3b8 !important;
  line-height: 1.7 !important;
}

.service-link-arrow {
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

/* 2. Health Packages Teaser Cards */
.teaser-package-card {
  background: rgba(11, 23, 40, 0.72) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow-3d-base), inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.teaser-package-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  box-shadow: var(--shadow-3d-emerald) !important;
  background: rgba(13, 26, 45, 0.85) !important;
}

.teaser-package-card h3 {
  color: #ffffff !important;
}

.teaser-package-card p {
  color: #94a3b8 !important;
}

/* 3. Home Visit Highlight */
.home-visit-highlight {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.highlight-content h2 {
  color: #ffffff !important;
}

.highlight-content p {
  color: #cbd5e1 !important;
}

.highlight-image-box {
  border-radius: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: var(--shadow-3d-base), 0 0 35px rgba(56, 189, 248, 0.15) !important;
  overflow: hidden !important;
}

.guarantee-pill {
  background: rgba(11, 23, 40, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  border-radius: 14px !important;
  backdrop-filter: blur(12px) !important;
}

/* 4. Why Sigma (Features Grid) */
.why-section {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.feature-card {
  background: rgba(11, 23, 40, 0.7) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-3d-base), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: var(--shadow-3d-cyan) !important;
  background: rgba(13, 26, 45, 0.85) !important;
}

.feature-card h3 {
  color: #ffffff !important;
  font-size: 1.15rem !important;
}

.feature-card p {
  color: #94a3b8 !important;
}

.feature-icon {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.4)) !important;
}

/* 5. Interactive FAQ Accordion */
.faq-section {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.faq-item {
  background: rgba(11, 23, 40, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow-3d-base) !important;
  transition: all 0.25s ease !important;
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15) !important;
  background: rgba(13, 26, 45, 0.8) !important;
}

.faq-question {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.faq-chevron {
  color: #38bdf8 !important;
}

.faq-answer {
  color: #cbd5e1 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* 6. Direct WhatsApp Consultation Banner */
.direct-consultation-banner {
  background: linear-gradient(135deg, rgba(8, 17, 30, 0.95) 0%, rgba(11, 23, 40, 0.9) 100%) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.1) !important;
}

.consultation-box h3 {
  color: #ffffff !important;
}

.consultation-box p {
  color: #94a3b8 !important;
}

/* ==========================================================================
   7. THEME TOGGLE BUTTONS & SUN/MOON MORPHING
   ========================================================================== */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
  padding: 0;
}

.theme-toggle-btn:hover {
  transform: scale(1.08);
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.theme-icon-sun,
.theme-icon-moon {
  position: absolute;
  font-size: 1.15rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

/* Dark mode (default): show sun icon to switch to light */
body:not(.theme-light) .theme-icon-sun {
  transform: translateY(0) rotate(0deg) scale(1);
  opacity: 1;
}

body:not(.theme-light) .theme-icon-moon {
  transform: translateY(24px) rotate(90deg) scale(0.4);
  opacity: 0;
}

/* Light mode: show moon icon to switch to dark */
body.theme-light .theme-icon-sun {
  transform: translateY(-24px) rotate(-90deg) scale(0.4);
  opacity: 0;
}

body.theme-light .theme-icon-moon {
  transform: translateY(0) rotate(0deg) scale(1);
  opacity: 1;
}

.sidebar-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sidebar-theme-toggle:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

/* ==========================================================================
   8. SEMANTIC BADGES & CARD TOKENS (DARK & LIGHT COMPLIANT)
   ========================================================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-green {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.teaser-pkg-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0.4rem;
  line-height: 1.35;
}

.teaser-pkg-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.teaser-pkg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.teaser-pkg-check {
  font-size: 0.82rem;
  color: #34d399;
  font-weight: 600;
}

.highlight-title {
  color: #ffffff;
  font-family: 'Instrument Serif', 'Cairo', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.highlight-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   9. LIGHT MODE LUXURY DESIGN (CLINICAL TITANIUM & SOFT PEARL GLASS)
   ========================================================================== */
body.theme-light {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-surface-card: #ffffff;
  
  --primary-navy: #0f172a;
  --primary-navy-light: #334155;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #0f172a;
  
  --border-light: #e2e8f0;
  --border-hover: rgba(2, 132, 199, 0.45);
  
  --shadow-3d-base: 0 10px 30px -10px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-3d-cyan: 0 12px 32px -8px rgba(2, 132, 199, 0.2), 0 0 16px 2px rgba(2, 132, 199, 0.1);
  --shadow-3d-emerald: 0 12px 32px -8px rgba(16, 185, 129, 0.2), 0 0 16px 2px rgba(16, 185, 129, 0.1);
  --shadow-3d-coral: 0 12px 32px -8px rgba(255, 71, 103, 0.22), 0 0 18px 2px rgba(255, 71, 103, 0.12);

  background-color: var(--bg-page) !important;
  color: var(--text-body) !important;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.theme-light .app-layout,
body.theme-light .main-viewport {
  background-color: var(--bg-page) !important;
}

/* 9.1 Global Liquid Glass Shaders in Light Mode */
body.theme-light .liquid-glass {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), inset 0 1px 1px #ffffff !important;
}

body.theme-light .liquid-glass::before {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(226, 232, 240, 0.6) 50%,
    rgba(255, 255, 255, 0.95) 100%) !important;
}

body.theme-light .liquid-glass-strong {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.12), inset 0 1px 2px #ffffff !important;
}

/* 9.2 Hero in Light Mode (Luminous Clinical Pearl Canvas) */
body.theme-light .fullscreen-hero-section {
  background-color: #eef5fc !important;
  background-image: linear-gradient(165deg, #eef5fc 0%, #e0eefa 100%) !important;
  color: #0f172a !important;
}

body.theme-light .hero-vignette-overlay {
  background: 
    linear-gradient(to bottom,
      rgba(238, 245, 252, 0.55) 0%,
      rgba(230, 242, 255, 0.65) 40%,
      rgba(238, 245, 252, 0.85) 75%,
      #eef5fc 100%
    ) !important;
}

body.theme-light .hero-media-bg {
  filter: brightness(1.1) contrast(0.9) saturate(0.7) !important;
  opacity: 0.35 !important;
}

body.theme-light .hero-title {
  color: #0f172a !important;
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
  font-style: italic !important;
}

body.theme-light .hero-subtitle-text {
  color: #334155 !important;
}

body.theme-light .hero-subtitle-text strong {
  color: #0284c7 !important;
}

body.theme-light .hero-kicker-pill {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

body.theme-light .hero-metrics-strip {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

body.theme-light .hero-nav-pill {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1), inset 0 1px 2px #ffffff !important;
}

body.theme-light .hero-logo-group {
  color: #0f172a !important;
}

body.theme-light .hero-logo-group svg rect {
  fill: #0f172a !important;
}

body.theme-light .hero-nav-link {
  color: #334155 !important;
}

body.theme-light .hero-nav-link:hover {
  color: #0284c7 !important;
}

body.theme-light .hero-nav-cta {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}

body.theme-light .hero-theme-toggle {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body.theme-light .hero-theme-toggle:hover {
  background: #e0f2fe !important;
  border-color: #38bdf8 !important;
}

body.theme-light .hero-lang-pill {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body.theme-light .hero-lang-pill:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}

body.theme-light .btn-hero-primary {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
}

body.theme-light .btn-hero-primary:hover {
  background: #0369a1 !important;
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.45) !important;
}

body.theme-light .btn-hero-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

body.theme-light .btn-hero-secondary:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

body.theme-light .hero-feature-text {
  color: #64748b !important;
}

/* 9.2 Command Center in Light Mode */
body.theme-light .command-deck-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), inset 0 1px 2px #ffffff !important;
}

body.theme-light .deck-main-title {
  color: #0f172a !important;
}

body.theme-light .text-cyan-glow {
  color: #0284c7 !important;
  text-shadow: none !important;
}

body.theme-light .deck-badge {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

body.theme-light .tele-chip {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.theme-light .tele-chip small {
  color: #64748b !important;
}

body.theme-light .pcc-tabs-bar {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

body.theme-light .pcc-tab {
  color: #475569 !important;
}

body.theme-light .pcc-tab:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #0f172a !important;
}

body.theme-light .pcc-tab.active {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.16) !important;
}

body.theme-light .pcc-tab-text strong {
  color: #1e293b !important;
}

body.theme-light .pcc-tab.active .pcc-tab-text strong {
  color: #0284c7 !important;
}

body.theme-light .pcc-tab-text span {
  color: #64748b !important;
}

body.theme-light .hero-search-box {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04) !important;
}

body.theme-light .hero-search-box input {
  color: #0f172a !important;
}

body.theme-light .hero-search-box input::placeholder {
  color: #94a3b8 !important;
}

body.theme-light .hero-tag-btn {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

body.theme-light .hero-tag-btn:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border-color: #38bdf8 !important;
}

body.theme-light .pcc-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.theme-light .pcc-rx-deck {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.theme-light .pcc-rx-info h4 {
  color: #0f172a !important;
}

body.theme-light .pcc-rx-info p {
  color: #475569 !important;
}

/* 9.3 Stats Ribbon in Light Mode */
body.theme-light .stat-pill {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 0.85rem 1rem !important;
  min-height: 82px !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
}

body.theme-light .stat-pill:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 10px 24px -4px rgba(2, 132, 199, 0.12) !important;
}

body.theme-light .stat-num {
  color: #0284c7 !important;
  font-size: clamp(1.2rem, 1.3vw, 1.45rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 0.15rem 0 !important;
  white-space: nowrap !important;
}

body.theme-light .stat-txt {
  color: #64748b !important;
  font-size: clamp(0.72rem, 0.8vw, 0.8rem) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
}

body.theme-light .stat-divider {
  display: none !important;
}

/* 9.4 Lifestyle Banner in Light Mode */
body.theme-light .lifestyle-banner {
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08) !important;
}

body.theme-light .lifestyle-banner-overlay {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.88) 50%, rgba(241, 245, 249, 0.35) 100%) !important;
}

body.theme-light .lifestyle-banner-title {
  color: #0f172a !important;
}

body.theme-light .lifestyle-banner-title span {
  color: #0284c7 !important;
}

body.theme-light .lifestyle-banner-tag.lifestyle-banner-tag-coral {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid rgba(225, 29, 72, 0.35) !important;
  color: #be123c !important;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.14), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

body.theme-light .lifestyle-banner-tag.lifestyle-banner-tag-blue {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
  color: #0369a1 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.14), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

body.theme-light .lifestyle-banner-cta {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
}

/* 9.5 Prescription Promo Card in Light Mode */
body.theme-light .rx-promo-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.07) !important;
}

body.theme-light .rx-promo-card h2 {
  color: #0f172a !important;
}

body.theme-light .rx-promo-card p {
  color: #475569 !important;
}

body.theme-light .rx-perk-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}

/* 9.6 Section Titles and Tags in Light Mode */
body.theme-light .section-title {
  color: #0f172a !important;
}

body.theme-light .section-subtitle {
  color: #64748b !important;
}

body.theme-light .section-tag {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

/* 9.7 Cards System in Light Mode */
body.theme-light .service-card,
body.theme-light .teaser-package-card,
body.theme-light .test-card,
body.theme-light .feature-card,
body.theme-light .faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06), inset 0 1px 1px #ffffff !important;
}

body.theme-light .service-card:hover,
body.theme-light .teaser-package-card:hover,
body.theme-light .test-card:hover,
body.theme-light .feature-card:hover {
  background: #ffffff !important;
  box-shadow: 0 16px 36px -8px rgba(2, 132, 199, 0.16) !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
}

body.theme-light .service-content h3,
body.theme-light .teaser-pkg-title,
body.theme-light .test-title-box h3,
body.theme-light .feature-card h3,
body.theme-light .highlight-title,
body.theme-light .faq-question {
  color: #0f172a !important;
}

body.theme-light .service-content p,
body.theme-light .teaser-pkg-desc,
body.theme-light .test-desc,
body.theme-light .feature-card p,
body.theme-light .highlight-desc,
body.theme-light .faq-answer {
  color: #475569 !important;
}

/* 9.8 Test Card Contrast Tuning in Light Mode */
body.theme-light .test-card .spec-row {
  border-bottom: 1px solid #f1f5f9 !important;
}

body.theme-light .test-card .spec-label {
  color: #64748b !important;
}

body.theme-light .test-card .spec-val {
  color: #0f172a !important;
  font-weight: 600 !important;
}

body.theme-light .test-card .spec-val.text-green {
  color: #059669 !important;
  font-weight: 700 !important;
}

body.theme-light .test-card .price-amount {
  color: #0284c7 !important;
  text-shadow: none !important;
}

body.theme-light .test-code-badge {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

body.theme-light .test-badge {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

body.theme-light .badge-pill {
  white-space: nowrap !important;
}

body.theme-light .badge-cyan {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

body.theme-light .badge-green {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

body.theme-light .category-pill {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

body.theme-light .category-pill.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
}

body.theme-light .test-search-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* 9.9 Badges in Light Mode */
body.theme-light .badge-cyan {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

body.theme-light .badge-green {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

body.theme-light .teaser-pkg-check {
  color: #059669 !important;
  font-weight: 600 !important;
}

body.theme-light .teaser-pkg-footer {
  border-top-color: #f1f5f9 !important;
}

/* 9.10 Home Visit Highlight in Light Mode */
body.theme-light .guarantee-pill {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

/* 9.11 Why Sigma in Light Mode */
body.theme-light .feature-icon {
  filter: none !important;
}

/* 9.12 FAQ Accordion in Light Mode */
body.theme-light .faq-item[open] {
  border-color: #38bdf8 !important;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.12) !important;
}

body.theme-light .faq-answer {
  border-top: 1px solid #f1f5f9 !important;
}

body.theme-light .faq-chevron {
  color: #0284c7 !important;
}

/* 9.13 Direct Consultation Banner in Light Mode */
body.theme-light .direct-consultation-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.07) !important;
}

body.theme-light .consultation-box h3 {
  color: #0f172a !important;
}

body.theme-light .consultation-box p {
  color: #475569 !important;
}

/* Adaptive Outline Button (for modals, banners, rx card) */
.btn-outline-custom {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

body.theme-light .btn-outline-custom {
  background: #ffffff !important;
  border: 1.5px solid #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12) !important;
}

body.theme-light .btn-outline-custom:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

/* 9.14 Sidebar & Command Bar in Light Mode */
body.theme-light .clinical-sidebar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

body.theme-light .top-command-bar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

body.theme-light .s-nav-item {
  color: #475569 !important;
}

body.theme-light .s-nav-item:hover,
body.theme-light .s-nav-item.active {
  background: rgba(2, 132, 199, 0.08) !important;
  color: #0284c7 !important;
}

body.theme-light .tcb-title,
body.theme-light .sidebar-logo-text h2 {
  color: #0f172a !important;
}

body.theme-light .tcb-ticker {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

body.theme-light .ticker-text {
  color: #475569 !important;
}

body.theme-light .sidebar-hotline-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

body.theme-light .theme-toggle-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.theme-light .theme-toggle-btn:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.25);
}

body.theme-light .main-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

body.theme-light .main-footer h3,
body.theme-light .main-footer h4,
body.theme-light .main-footer strong {
  color: #0f172a !important;
}

body.theme-light .main-footer a {
  color: #475569 !important;
}

body.theme-light .main-footer a:hover {
  color: #0284c7 !important;
}

body.theme-light .footer-bottom p {
  color: #64748b !important;
}

/* ==========================================================================
   10. FLOATING THEME TOAST NOTIFICATION
   ========================================================================== */
.theme-toast-notification {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(8, 17, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 14px 38px -8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.3);
  animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1), toastFadeOut 0.35s ease 1.55s forwards;
  pointer-events: none;
  white-space: nowrap;
}

body.theme-light .theme-toast-notification {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid rgba(2, 132, 199, 0.35);
  box-shadow: 0 14px 38px -8px rgba(15, 23, 42, 0.15), 0 0 20px rgba(2, 132, 199, 0.2);
}

@keyframes toastSlideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-24px) scale(0.92); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  to { opacity: 0; transform: translateX(-50%) translateY(-15px) scale(0.96); }
}

/* ==========================================================================
   11. RESPONSIVE CLINICAL GRIDS (DESKTOP, TABLET & MOBILE)
   ========================================================================== */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

.tests-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

.teaser-packages-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

.features-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
}

@media (max-width: 1199px) and (min-width: 769px) {
  .stats-ribbon-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }
  .stats-ribbon-inner .stat-pill:nth-child(4) {
    grid-column: span 1 !important;
  }
  .stats-ribbon-inner .stat-pill:nth-child(5) {
    grid-column: span 2 !important;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.15rem !important;
  }
  .tests-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.15rem !important;
  }
  .teaser-packages-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.15rem !important;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.15rem !important;
  }
}

/* ==========================================================================
   12. ULTRA-BALANCED MOBILE EXPERIENCE (NO CUT-OFFS, NO MISSING CONTENT)
   ========================================================================== */
@media (max-width: 768px) {
  /* Resilient Mobile Hero */
  .fullscreen-hero-section .hero-nav-pill-wrapper {
    display: none !important;
  }

  .fullscreen-hero-section {
    min-height: calc(100vh - 56px) !important;
    min-height: calc(100svh - 56px) !important;
    padding: 2.25rem 1.15rem 2rem !important;
    gap: 1.25rem !important;
    justify-content: center !important;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 42px) !important;
    line-height: 1.12 !important;
    margin: 0.4rem 0 !important;
  }

  .hero-subtitle-text {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.85rem !important;
    max-width: 100% !important;
  }

  .hero-kicker-pill {
    font-size: 0.74rem !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-metrics-strip {
    font-size: 0.74rem !important;
    padding: 0.4rem 0.75rem !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .hero-bottom-deck {
    margin-top: 0.75rem !important;
    gap: 1rem !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  .hero-bottom-deck .hero-feature-text {
    display: block !important;
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    text-align: center !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    opacity: 0.85 !important;
  }

  .hero-cta-cluster {
    width: 100% !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
  }

  /* Command Center Mobile Architecture */
  .command-center-section {
    padding: 1.5rem 0 !important;
  }

  .command-deck-card {
    padding: 1.25rem 1rem !important;
    border-radius: 20px !important;
  }

  .deck-main-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
  }

  .deck-telemetry {
    gap: 0.5rem !important;
    margin-top: 0.65rem !important;
    flex-wrap: wrap !important;
  }

  .tele-chip {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  /* 4-Pillar Tabs on Mobile (2x2 Balanced Grid with Subtitles Intact) */
  .pcc-tabs-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.55rem !important;
    padding: 0.55rem !important;
    border-radius: 16px !important;
  }

  .pcc-tab {
    padding: 0.85rem 0.6rem !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.4rem !important;
  }

  .pcc-tab-icon {
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }

  .pcc-tab-text strong {
    font-size: 0.82rem !important;
    display: block !important;
    line-height: 1.25 !important;
  }

  .pcc-tab-text span {
    display: block !important;
    font-size: 0.68rem !important;
    opacity: 0.78 !important;
    line-height: 1.2 !important;
  }

  .hero-search-box {
    padding: 0.6rem 0.95rem !important;
  }

  .hero-search-box input {
    font-size: 0.88rem !important;
  }

  /* Mobile Stats Ribbon (Balanced 2-Column Grid) */
  .stats-ribbon {
    padding: 1.5rem 0 !important;
  }

  .stats-ribbon-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    padding: 0 !important;
  }

  .stat-pill {
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 16px !important;
    min-height: 76px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    gap: 0.65rem !important;
    overflow: hidden !important;
  }

  .stat-pill:last-child {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }

  .stat-pill-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
  }

  .stat-pill-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 1 !important;
    text-align: start !important;
  }

  .stat-num {
    font-size: 1.25rem !important;
    line-height: 1.15 !important;
    margin: 0 0 0.15rem 0 !important;
    white-space: nowrap !important;
  }

  .stat-txt {
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .stat-divider {
    display: none !important;
  }

  /* Mobile Grids (Vertical Flow with High Legibility) */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .service-card {
    padding: 1.35rem 1.15rem !important;
    border-radius: 18px !important;
  }

  .tests-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .test-card {
    padding: 1.35rem 1.15rem !important;
    border-radius: 18px !important;
  }

  .teaser-packages-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  .teaser-package-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 20px !important;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .feature-card {
    padding: 1.25rem 0.85rem !important;
    border-radius: 16px !important;
    text-align: center !important;
  }

  .feature-card h3 {
    font-size: 0.92rem !important;
    margin-bottom: 0.35rem !important;
  }

  .feature-card p {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  /* Section Titles & Spacing */
  .services-overview-section,
  .tests-section,
  .packages-teaser-section,
  .why-section,
  .faq-section {
    padding: 2.25rem 0 !important;
  }

  .section-title-wrap {
    margin-bottom: 1.25rem !important;
  }

  .section-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  .section-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.85rem !important;
  }

  /* Lifestyle Banners on Mobile */
  .lifestyle-banner {
    max-height: none !important;
    min-height: 180px !important;
    padding: 1.65rem 1.25rem !important;
    border-radius: 20px !important;
  }

  .lifestyle-banner-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }

  .lifestyle-banner-cta {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.88rem !important;
  }

  /* Prescription Promo Card on Mobile */
  .prescription-promo-wrap {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }

  .rx-promo-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 20px !important;
  }

  .rx-promo-card h2 {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.65rem !important;
  }

  .rx-promo-card p {
    font-size: 0.86rem !important;
    margin-bottom: 0.85rem !important;
    line-height: 1.55 !important;
  }

  .rx-perks {
    gap: 0.5rem !important;
  }

  .rx-perk-item {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.75rem !important;
  }

  .rx-actions-box {
    margin-top: 1.25rem !important;
    gap: 0.65rem !important;
  }

  /* Home Visit Highlight on Mobile */
  .highlight-grid {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
  }

  .highlight-img {
    height: 180px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  .highlight-image-box {
    border-radius: 16px !important;
  }

  .highlight-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }

  .highlight-desc {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1rem !important;
  }

  .guarantee-pills {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .guarantee-pill {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }

  /* FAQ Items on Mobile */
  .faq-item {
    border-radius: 14px !important;
    margin-bottom: 0.65rem !important;
  }

  .faq-question {
    padding: 0.85rem 1rem !important;
    font-size: 0.88rem !important;
  }

  .faq-answer {
    padding: 0 1rem 0.85rem !important;
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
  }

  /* Direct Consultation Banner on Mobile */
  .direct-consultation-banner {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px !important;
  }

  .consultation-box {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.25rem !important;
  }

  .consultation-box > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }
}

/* ==========================================================================
   13. BORDER BEAM & SPECULAR SWEEP EFFECT
   ========================================================================== */
.border-beam-card {
  position: relative;
  overflow: hidden;
}

.border-beam-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), rgba(16, 185, 129, 0.8), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderBeamSweep 6s linear infinite;
}

@keyframes borderBeamSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   14. MOBILE CLINICAL SIDEBAR & FAST ACTIONS (3D TACTILE LIQUID GLASS)
   ========================================================================== */
.clinical-sidebar {
  background: rgba(6, 14, 26, 0.94) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border-inline-end: 1px solid rgba(56, 189, 248, 0.15) !important;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
}

body.theme-light .clinical-sidebar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-inline-end: 1px solid rgba(2, 132, 199, 0.12) !important;
  box-shadow: 0 0 40px rgba(15, 23, 42, 0.08) !important;
}

.sidebar-highlight-box {
  background: rgba(13, 26, 45, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  padding: 0.9rem !important;
  margin: 1rem 1rem 0.5rem !important;
}

.sidebar-highlight-box .sh-title {
  color: #38bdf8 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 0.65rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

.sidebar-highlight-box .sh-btn {
  background: rgba(3, 7, 18, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sidebar-highlight-box .sh-btn:hover {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.14) !important;
  color: #38bdf8 !important;
  transform: translateY(-2px) !important;
}

.sidebar-highlight-box .sh-btn-coral {
  border-color: rgba(255, 71, 103, 0.3) !important;
}

.sidebar-highlight-box .sh-btn-coral:hover {
  border-color: #ff4767 !important;
  background: rgba(255, 71, 103, 0.16) !important;
  color: #ff4767 !important;
}

body.theme-light .sidebar-highlight-box {
  background: #f0f9ff !important;
  border: 1.5px solid rgba(2, 132, 199, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06) !important;
}

body.theme-light .sidebar-highlight-box .sh-title {
  color: #0369a1 !important;
}

body.theme-light .sidebar-highlight-box .sh-btn {
  background: #ffffff !important;
  border: 1px solid rgba(2, 132, 199, 0.18) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

body.theme-light .sidebar-highlight-box .sh-btn:hover {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

body.theme-light .sidebar-highlight-box .sh-btn-coral {
  border-color: rgba(255, 71, 103, 0.25) !important;
}

body.theme-light .sidebar-highlight-box .sh-btn-coral:hover {
  background: #fff1f2 !important;
  border-color: #ff4767 !important;
  color: #e11d48 !important;
}

/* ==========================================================================
   15. 3D LUXURY PAGE HEADER BANNER (FOR ALL 7 SUBPAGES)
   ========================================================================== */
.page-header-banner {
  position: relative !important;
  background: 
    radial-gradient(circle at 50% -25%, rgba(2, 132, 199, 0.18) 0%, rgba(240, 249, 255, 0.95) 55%, transparent 75%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    #f8fafc !important;
  padding: 4.75rem 1.5rem 4.25rem !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.15) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
}

/* 3D Molecular Matrix Pattern Overlay */
.page-header-banner::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: 
    radial-gradient(rgba(2, 132, 199, 0.15) 1.2px, transparent 1.2px),
    radial-gradient(rgba(16, 185, 129, 0.1) 1.2px, transparent 1.2px) !important;
  background-size: 24px 24px, 48px 48px !important;
  background-position: 0 0, 12px 12px !important;
  opacity: 0.25 !important;
  pointer-events: none !important;
}

/* Specular Top Lighting Beam */
.page-header-banner::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 10% !important;
  right: 10% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.7), rgba(16, 185, 129, 0.7), transparent) !important;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.3) !important;
  pointer-events: none !important;
}

.page-header-banner .container {
  position: relative !important;
  z-index: 2 !important;
}

/* 3D Liquid-Glass Floating Section Tag */
.page-header-banner .section-tag {
  background: rgba(2, 132, 199, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.1) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 0.45rem 1.25rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin-bottom: 1.15rem !important;
  letter-spacing: 0.02em !important;
}

/* Monumental 3D Subpage Heading */
.page-header-banner h1 {
  font-family: 'Barlow', 'Cairo', sans-serif !important;
  color: #0f172a !important;
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 2px 16px rgba(2, 132, 199, 0.12) !important;
}

body.rtl .page-header-banner h1 {
  font-family: 'Cairo', sans-serif !important;
}

/* High-Clarity Descriptive Subtitle */
.page-header-banner p {
  color: #475569 !important;
  font-size: clamp(0.95rem, 2vw, 1.12rem) !important;
  line-height: 1.8 !important;
  max-width: 740px !important;
  margin: 0 auto !important;
}

/* Light Mode Transformation for Subpage Header Banner */
body.theme-light .page-header-banner {
  background: 
    radial-gradient(circle at 50% -25%, rgba(2, 132, 199, 0.18) 0%, rgba(240, 249, 255, 0.95) 55%, transparent 75%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    #f8fafc !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.15) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

body.theme-light .page-header-banner::before {
  opacity: 0.2 !important;
}

body.theme-light .page-header-banner h1 {
  color: #0f172a !important;
  text-shadow: 0 2px 16px rgba(2, 132, 199, 0.15) !important;
}

body.theme-light .page-header-banner p {
  color: #475569 !important;
}

body.theme-light .page-header-banner .section-tag {
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
  color: #0284c7 !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.1) !important;
}

@media (max-width: 768px) {
  .page-header-banner {
    padding: 2.75rem 1.15rem 2.25rem !important;
  }
}

/* ==========================================================================
   16. HOME VISIT SERVICE (HIGH-CONVERSION 3D RESPONSIVE LAYOUT)
   ========================================================================== */
.home-visit-page-section {
  padding: 3.5rem 0 5rem !important;
  position: relative !important;
  background-color: var(--bg-page) !important;
}

/* 2-Column Responsive Layout Grid (Desktop -> 1-Col Mobile) */
.home-visit-layout-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.05fr !important;
  gap: 3.5rem !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 991px) {
  .home-visit-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
}

.home-visit-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0.85rem 0 1rem !important;
  color: #ffffff !important;
}

body.theme-light .home-visit-heading {
  color: #0f172a !important;
}

.home-visit-lead {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  color: rgba(226, 232, 240, 0.85) !important;
  margin-bottom: 2rem !important;
}

body.theme-light .home-visit-lead {
  color: #475569 !important;
}

/* 3D Guarantee Cards */
.home-guarantee-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1.15rem !important;
  background: rgba(11, 23, 40, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 1.25rem 1.35rem !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.home-guarantee-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

body.theme-light .home-guarantee-card {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

.home-guarantee-card h4 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 0.35rem !important;
}

body.theme-light .home-guarantee-card h4 {
  color: #0f172a !important;
}

.home-guarantee-card p {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
}

body.theme-light .home-guarantee-card p {
  color: #64748b !important;
}

.guarantee-icon-box {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.guarantee-icon-box.cyan {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.guarantee-icon-box.coral {
  background: rgba(255, 71, 103, 0.15) !important;
  color: #ff4767 !important;
  border: 1px solid rgba(255, 71, 103, 0.3) !important;
}

.guarantee-icon-box.emerald {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* Home WhatsApp CTA Card */
.home-whatsapp-card {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  border-radius: 20px !important;
  padding: 1.35rem 1.5rem !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body.theme-light .home-whatsapp-card {
  background: rgba(16, 185, 129, 0.06) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

.wa-round-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35) !important;
}

/* 3D Liquid-Glass Booking Form Card */
.home-visit-form-card {
  background: rgba(11, 23, 40, 0.82) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 28px !important;
  padding: 2.5rem 2.25rem !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.home-visit-form-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 20% !important;
  right: 20% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), rgba(255, 71, 103, 0.8), transparent) !important;
  pointer-events: none !important;
}

body.theme-light .home-visit-form-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(2, 132, 199, 0.18) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

.visit-form-title {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 0.4rem !important;
}

body.theme-light .visit-form-title {
  color: #0f172a !important;
}

.visit-form-desc {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 1.75rem !important;
}

body.theme-light .visit-form-desc {
  color: #64748b !important;
}

/* 2-Column Responsive Form Row */
.form-row-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.15rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

.form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.form-label {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-light .form-label {
  color: #334155 !important;
}

/* 3D Form Inputs */
.home-visit-form-card .form-input {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(3, 7, 18, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 0.85rem 1.1rem !important;
  font-size: 0.95rem !important;
  color: #ffffff !important;
  outline: none !important;
  transition: all 0.25s ease !important;
}

.home-visit-form-card .form-input:focus {
  border-color: #38bdf8 !important;
  background: rgba(3, 7, 18, 0.8) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25) !important;
}

body.theme-light .home-visit-form-card .form-input {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.theme-light .home-visit-form-card .form-input:focus {
  border-color: #0284c7 !important;
  background: #ffffff !important;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.18) !important;
}

/* Prescription Attachment 3D Dashed Card */
.form-prescription-attach {
  border: 2px dashed rgba(56, 189, 248, 0.35) !important;
  background: rgba(56, 189, 248, 0.04) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1rem !important;
  text-align: center !important;
  transition: all 0.25s ease !important;
}

.form-prescription-attach:hover {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
  transform: translateY(-2px) !important;
}

body.theme-light .form-prescription-attach {
  border-color: rgba(2, 132, 199, 0.3) !important;
  background: rgba(2, 132, 199, 0.04) !important;
}

@media (max-width: 768px) {
  .home-visit-form-card {
    padding: 1.65rem 1.25rem !important;
    border-radius: 22px !important;
  }
}

/* ==========================================================================
   17. GLOBAL MOBILE RESPONSIVENESS & ZERO OVERFLOW POLISH
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.app-layout,
.main-viewport,
.container {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   18. 3D INTERACTIVE TESTS CAROUSEL & TOUCH SLIDER (SIDE-BY-SIDE + AUTO-PLAY)
   ========================================================================== */
.tests-slider-container {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 0.5rem !important;
  margin: 1.5rem 0 0.5rem !important;
}

.tests-slider-viewport {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 1rem 0.5rem 1.5rem !important;
}

.tests-slider-viewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.tests-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 1.25rem !important;
  width: max-content !important;
  min-width: 100% !important;
  padding: 0.5rem 0.5rem !important;
  box-sizing: border-box !important;
}

/* 3D Liquid-Glass Test Card */
.test-card {
  width: 100% !important;
  background: rgba(11, 23, 40, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 24px !important;
  padding: 1.75rem 1.5rem !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.tests-slider-track .test-card {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 85vw !important;
  min-width: 280px !important;
  scroll-snap-align: center !important;
}

.tests-slider-track .test-card:hover,
.tests-slider-track .test-card.active-slide {
  transform: translateY(-4px) scale(1.02) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.25) !important;
}

/* 3D Border Specular Glow on Card */
.tests-slider-track .test-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 15% !important;
  right: 15% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.9), rgba(16, 185, 129, 0.8), transparent) !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.8) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Light Mode Adaptations */
body.theme-light .tests-slider-track .test-card,
body.theme-light .test-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(2, 132, 199, 0.18) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

body.theme-light .tests-slider-track .test-card:hover,
body.theme-light .tests-slider-track .test-card.active-slide {
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.15) !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
}

.test-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  margin-bottom: 0.85rem !important;
  width: 100% !important;
}

.test-badges-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.test-title-box {
  width: 100% !important;
}

.test-title-box h3,
.test-title-box h2 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  width: 100% !important;
  margin: 0 !important;
  word-break: break-word !important;
}

body.theme-light .test-title-box h3,
body.theme-light .test-title-box h2 {
  color: #0f172a !important;
}

.test-code-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 8px !important;
  font-family: var(--font-ar, 'Cairo'), -apple-system, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 0.28rem 0.65rem !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  max-width: 100% !important;
}

body.theme-light .test-code-badge {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

.test-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2) !important;
  border-radius: 9999px !important;
  font-family: var(--font-ar, 'Cairo'), -apple-system, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 0.28rem 0.75rem !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  max-width: 100% !important;
}

body.theme-light .test-badge {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
  box-shadow: none !important;
}

.test-desc {
  color: rgba(226, 232, 240, 0.8) !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  margin: 0.85rem 0 1.25rem !important;
  flex-grow: 1 !important;
}

body.theme-light .test-desc {
  color: #475569 !important;
}

.test-specs {
  background: rgba(3, 7, 18, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 0.75rem 0.9rem !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

body.theme-light .test-specs {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.spec-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.82rem !important;
}

.spec-label {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.theme-light .spec-label {
  color: #64748b !important;
}

.spec-val {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.theme-light .spec-val {
  color: #0f172a !important;
}

.spec-val.text-green {
  color: #34d399 !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.3) !important;
}

/* 3D Glowing Price & CTA Footer */
.test-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.theme-light .test-footer {
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

.price-amount {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.4) !important;
  letter-spacing: -0.01em !important;
}

body.theme-light .price-amount {
  color: #0284c7 !important;
  text-shadow: none !important;
}

/* Floating Navigation Buttons (Prev & Next) */
.slider-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(11, 23, 40, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.slider-nav-btn:hover {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.45) !important;
}

body.theme-light .slider-nav-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12) !important;
}

body.theme-light .slider-nav-btn:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}

/* LTR Positions */
.slider-nav-btn.prev-btn {
  left: -18px !important;
}

.slider-nav-btn.next-btn {
  right: -18px !important;
}

/* RTL Positions (Arabic) */
body.rtl .slider-nav-btn.prev-btn {
  left: auto !important;
  right: -18px !important;
}

body.rtl .slider-nav-btn.next-btn {
  right: auto !important;
  left: -18px !important;
}

body.rtl .slider-nav-btn.prev-btn svg,
body.rtl .slider-nav-btn.next-btn svg {
  transform: rotate(180deg);
}

/* Indicators / Dots Wrapper */
.slider-dots-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  margin-top: 1.25rem !important;
}

.slider-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: pointer !important;
  padding: 0 !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.slider-dot.active {
  width: 28px !important;
  background: #38bdf8 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
}

body.theme-light .slider-dot {
  background: #cbd5e1 !important;
  border-color: #94a3b8 !important;
}

body.theme-light .slider-dot.active {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.4) !important;
}

/* Responsive Mobile Adjustments */
@media (max-width: 768px) {
  .slider-nav-btn {
    display: none !important;
  }

  .tests-slider-container {
    padding: 0 !important;
    margin: 1rem 0 0.5rem !important;
  }

  .tests-slider-viewport {
    padding: 0.5rem 0.5rem 1.25rem !important;
  }

  .tests-slider-track {
    gap: 1.15rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  .tests-slider-track .test-card {
    flex: 0 0 300px !important;
    width: 300px !important;
    max-width: 84vw !important;
    min-width: 260px !important;
    padding: 1.5rem 1.3rem !important;
    border-radius: 20px !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   19. IOS SAFARI & WEBKIT PARITY SHADERS (IDENTICAL TO CHROME/ANDROID)
   ========================================================================== */
html {
  -webkit-text-size-adjust: 100% !important;
}

/* Universal clean light medical canvas */
html,
body,
html:not(.theme-light),
body:not(.theme-light) {
  background-color: #f8fafc !important;
}

body {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

/* Universal Clean Glass Shaders (Identical Across Android, iPhone, Safari & Chrome) */
.liquid-glass,
.liquid-glass-strong,
.command-deck-card,
.home-visit-form-card,
.home-guarantee-card,
.clinical-sidebar,
.page-header-banner,
.top-command-bar,
.hero-nav-pill {
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
}

/* Momentum Touch Scrolling for iOS Safari */
.tests-slider-viewport,
.clinical-sidebar,
.pcc-panels-wrap {
  -webkit-overflow-scrolling: touch !important;
}

/* ============================================================
   LIGHT MODE GLOBAL FOUNDATION & PAGE SECTIONS
   ============================================================ */
html.theme-light,
body.theme-light {
  background-color: #f8fafc !important;
}

/* Page-level sections: pure white, soft shadows */
body.theme-light section,
body.theme-light .section-wrap {
  background: #ffffff;
}

body.theme-light .stats-ribbon {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 2rem 0 !important;
}

body.theme-light .stats-ribbon-inner {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

body.theme-light .stat-pill-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

/* Command Center — clean white card in light mode */
body.theme-light .command-center-section {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(219, 234, 254, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(224, 242, 254, 0.4) 0%, transparent 60%),
    #f8fafc !important;
  padding: 3rem 0 !important;
}

body.theme-light .command-center-section::before {
  display: none !important;
}

body.theme-light .command-center-section::after {
  display: none !important;
}

body.theme-light .hero-mesh-overlay {
  display: none !important;
}

body.theme-light .hero-blob-1,
body.theme-light .hero-blob-2 {
  display: none !important;
}

body.theme-light .deck-badge {
  font-size: 0.75rem !important;
}

/* Search & input area in light */
body.theme-light .hero-search-box {
  border-radius: 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), inset 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

body.theme-light .hero-search-box input {
  background: transparent !important;
  color: #0f172a !important;
  border: none !important;
  box-shadow: none !important;
}

body.theme-light .hero-search-box input:focus {
  box-shadow: none !important;
}

body.theme-light .hero-search-icon svg {
  stroke: #0284c7;
}

/* Lifestyle / visit banner in light mode */
body.theme-light .lifestyle-banner {
  border-radius: 20px !important;
  overflow: hidden !important;
}

/* Section alternating: every other major section slightly tinted */
body.theme-light .stats-ribbon + section,
body.theme-light .service-section,
body.theme-light .packages-teaser-section,
body.theme-light .features-section {
  background: #f8fafc !important;
}

body.theme-light .tests-section,
body.theme-light .rx-promo-section,
body.theme-light .faq-section {
  background: #ffffff !important;
}

/* Improved card elevations */
body.theme-light .service-card {
  border-radius: 18px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

body.theme-light .service-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.18) !important;
}

body.theme-light .test-card {
  border-radius: 18px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

body.theme-light .test-card:hover {
  transform: translateY(-4px) !important;
}

body.theme-light .teaser-package-card {
  border-radius: 20px !important;
}

/* Footer in Pure White & Light Medical Luxury */
body.theme-light .main-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

/* Top command bar: crisp white glass */
body.theme-light .top-command-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 1px 0 #e2e8f0, 0 4px 16px -4px rgba(15, 23, 42, 0.06) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Sidebar: clean white in light mode */
body.theme-light .clinical-sidebar {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 4px 0 24px -4px rgba(15, 23, 42, 0.08) !important;
}

body.theme-light .sidebar-hotline-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border: 1px solid #bae6fd !important;
}

body.theme-light .shc-phone {
  color: #0284c7 !important;
  font-weight: 700 !important;
}

body.theme-light .shc-wa-btn {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #bbf7d0 !important;
}

/* Section title & tag polish */
body.theme-light .section-title {
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}

body.theme-light .section-tag {
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* FAQ: cleaner white cards */
body.theme-light .faq-item {
  border-radius: 16px !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

body.theme-light .direct-consultation-banner {
  border-radius: 24px !important;
  border: 1px solid #e2e8f0 !important;
}

/* Scroll reveal in light mode */
body.theme-light .reveal.revealed,
body.theme-light .reveal-left.revealed,
body.theme-light .reveal-right.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Category pills bar */
body.theme-light .category-pills-wrap {
  background: #f1f5f9 !important;
  border-radius: 14px !important;
  padding: 0.5rem !important;
}

/* Mobile: ensure sidebar and top bar look clean */
@media (max-width: 768px) {
  body.theme-light .top-command-bar {
    background: rgba(255, 255, 255, 0.98) !important;
  }

  body.theme-light .command-center-section {
    padding: 1.5rem 0 !important;
  }

  body.theme-light .command-deck-card {
    background: #ffffff !important;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
  }

  body.theme-light .fullscreen-hero-section {
    background-color: #f8fafc !important;
  }
}

/* ==========================================================================
   20. RESPONSIVE SUBPAGES & TOUCH PRECISION (MOBILE + LAPTOP)
   ========================================================================== */
.contact-layout-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: 3.5rem !important;
  align-items: flex-start !important;
}

@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
}

.about-layout-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 4rem !important;
  align-items: center !important;
}

@media (max-width: 900px) {
  .about-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* Zero Horizontal Overflow Guaranteed Across All Mobile Viewports */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* Touch targets & clean buttons on mobile devices */
@media (max-width: 768px) {
  .btn,
  .btn-coral,
  .btn-hero-primary,
  .btn-hero-secondary,
  .category-pill,
  .s-nav-item {
    min-height: 44px;
    touch-action: manipulation;
  }

  .page-header-banner h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
  }
}





