/* ==========================================================================
   FAYZ MEDICAL HOUSE - CORE DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Primary Brand Colors */
  --primary-50: #e6f8fc;
  --primary-100: #ccf1f9;
  --primary-200: #99e3f3;
  --primary-300: #66d4ed;
  --primary-400: #29c2e6;
  --primary-500: #00b4d8; /* Core Medical Cyan */
  --primary-600: #0096c7;
  --primary-700: #0077b6; /* Core Royal Blue */
  --primary-800: #023e8a;
  --primary-900: #03045e; /* Deep Oceanic Navy */

  /* Neutral Dark / Slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #080d1a;

  /* Accent Colors */
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(2, 62, 138, 0.15);
  --shadow-cyan: 0 10px 25px -5px rgba(0, 180, 216, 0.35);
  --shadow-emerald: 0 10px 25px -5px rgba(16, 185, 129, 0.35);

  /* Glassmorphism & Radii */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
  --topbar-height: 42px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-500);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-700);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-tag.emergency {
  background: rgba(244, 63, 94, 0.1);
  color: var(--accent-rose);
  border-color: rgba(244, 63, 94, 0.25);
}

.badge-tag.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald-dark);
  border-color: rgba(16, 185, 129, 0.25);
}

.section-title {
  font-size: 2.5rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-title span.highlight {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(0, 180, 216, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--slate-800) !important;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

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

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald-dark) 0%, var(--accent-emerald) 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(16, 185, 129, 0.45);
}

.btn-danger {
  background: linear-gradient(135deg, #e11d48 0%, var(--accent-rose) 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(244, 63, 94, 0.35);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(244, 63, 94, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--slate-900) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-pulse {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(0, 180, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); }
}

.btn-pulse-red {
  animation: pulseButtonRed 2s infinite;
}

@keyframes pulseButtonRed {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Top Hotline Bar */
.topbar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--slate-300);
  white-space: nowrap;
  font-size: 0.82rem;
}

.topbar-item a {
  color: var(--slate-200);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-item a:hover {
  color: var(--primary-400);
}

.topbar-badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: livePing 1.5s infinite;
}

@keyframes livePing {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* Topbar Portal Direct Access Pill */
.topbar-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
  transition: all var(--transition-fast);
}

.topbar-portal-btn:hover {
  background: rgba(168, 85, 247, 0.28);
  border-color: #c084fc;
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

[data-theme="day"] .topbar-portal-btn, body.day-mode .topbar-portal-btn {
  background: #ede9fe;
  border-color: #c4b5fd;
  color: #6d28d9 !important;
  box-shadow: 0 1px 4px rgba(109, 40, 217, 0.15);
}

[data-theme="day"] .topbar-portal-btn:hover, body.day-mode .topbar-portal-btn:hover {
  background: #ddd6fe;
  border-color: #8b5cf6;
}

/* Language Selector */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.lang-btn {
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-300);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.lang-btn.active {
  background: var(--primary-500);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
}

/* Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--primary-800);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-logo-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-600);
  font-weight: 700;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--slate-700);
  padding: 0.35rem 0.15rem;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

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

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  cursor: pointer;
  border: 1px solid var(--slate-200);
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--slate-800);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f8fafc 100%);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.shape-blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.shape-blob-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 62, 138, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(50px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-950);
  margin-bottom: 1.25rem;
}

.hero-title span.cyan-text {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(203, 213, 225, 0.6);
}

.trust-badge-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trust-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  flex-shrink: 0;
}

.trust-badge-text {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.25;
}

/* Hero Visual & Quick Card */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 4px solid #ffffff;
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-card-1 {
  position: absolute;
  top: 25px;
  left: -25px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.hero-floating-card-2 {
  position: absolute;
  bottom: 25px;
  right: -20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatSlow 5s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.floating-icon.cyan {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
}

.floating-icon.emerald {
  background: linear-gradient(135deg, var(--accent-emerald-dark), var(--accent-emerald));
}

.floating-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.floating-text span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   EMERGENCY BANNER / HOME VISIT (24/7 CALLOUT)
   ========================================================================== */

.emergency-bar-section {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--primary-900) 100%);
  color: #ffffff;
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.emergency-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.emergency-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.emergency-siren-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.2);
  border: 2px solid var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-rose);
  font-size: 1.75rem;
  flex-shrink: 0;
  animation: sirenFlash 1.5s infinite;
}

@keyframes sirenFlash {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(244, 63, 94, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.emergency-text h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.emergency-text p {
  color: var(--slate-300);
  font-size: 0.95rem;
  margin: 0;
}

.emergency-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   ANONYMITY & GUARANTEE SECTION
   ========================================================================== */

.guarantees-section {
  background: #ffffff;
  position: relative;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.guarantee-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.guarantee-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: var(--primary-300);
  box-shadow: var(--shadow-xl);
}

.guarantee-card:hover::before {
  opacity: 1;
}

.guarantee-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.guarantee-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--slate-900);
}

.guarantee-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   SERVICES & TREATMENT PROGRAMS
   ========================================================================== */

.services-section {
  background: var(--slate-100);
}

.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.service-tab-btn {
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-tab-btn:hover {
  border-color: var(--primary-400);
  color: var(--primary-700);
}

.service-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-cyan);
}

.services-tab-content {
  display: none;
}

.services-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-xl);
}

.service-card-top {
  margin-bottom: 1.5rem;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(0, 119, 182, 0.08));
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-700);
}

.service-badge.popular {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.service-card p {
  color: var(--slate-600);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-features-list {
  margin-bottom: 1.5rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.service-features-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
}

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

.service-price strong {
  display: block;
  font-size: 1.15rem;
  color: var(--primary-800);
}

/* ==========================================================================
   INTERACTIVE COST & TREATMENT CALCULATOR
   ========================================================================== */

.calculator-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eef6fa 100%);
  position: relative;
}

.calc-card-wrapper {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.calc-form-pane {
  padding: 3rem;
}

.calc-step {
  margin-bottom: 2.2rem;
}

.calc-step-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--primary-700);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.calc-option-btn {
  padding: 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-option-btn strong {
  font-size: 0.95rem;
  color: var(--slate-800);
}

.calc-option-btn span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.calc-option-btn:hover {
  border-color: var(--primary-400);
  background: #ffffff;
}

.calc-option-btn.selected {
  border-color: var(--primary-600);
  background: rgba(0, 180, 216, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.calc-option-btn.selected strong {
  color: var(--primary-800);
}

/* Calculator Result Sidebar */
.calc-result-pane {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--primary-900) 100%);
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.calc-result-pane h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.calc-result-pane p {
  color: var(--slate-300);
  font-size: 0.95rem;
}

.calc-summary-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.calc-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.calc-summary-item:last-child {
  border-bottom: none;
}

.calc-summary-item span:first-child {
  color: var(--slate-400);
}

.calc-summary-item span:last-child {
  color: #ffffff;
  font-weight: 600;
}

.calc-price-display {
  text-align: center;
  margin: 1.5rem 0;
}

.calc-price-label {
  font-size: 0.85rem;
  color: var(--slate-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.calc-price-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-heading);
}

.calc-anon-note {
  font-size: 0.8rem;
  color: var(--slate-400);
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   DOCTORS & SPECIALISTS
   ========================================================================== */

.doctors-section {
  background: #ffffff;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.doctor-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.doctor-photo-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #e2e8f0;
}

.doctor-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-photo-wrapper img {
  transform: scale(1.04);
}

.doctor-exp-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-800);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}

.doctor-info {
  padding: 1.8rem;
}

.doctor-specialty {
  color: var(--primary-600);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.doctor-name {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.doctor-bio {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.doctor-tag {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  color: var(--slate-600);
}

/* ==========================================================================
   TREATMENT STAGES (JOURNEY)
   ========================================================================== */

.stages-section {
  background: var(--slate-900);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.stages-section .section-title {
  color: #ffffff;
}

.stages-section .section-subtitle {
  color: var(--slate-300);
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.stage-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.6rem;
  position: relative;
  transition: all var(--transition-normal);
}

.stage-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  border-color: var(--primary-400);
}

.stage-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 180, 216, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.stage-card h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.stage-card p {
  color: var(--slate-300);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==========================================================================
   FACILITY & INPATIENT GALLERY
   ========================================================================== */

.facility-section {
  background: var(--slate-50);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.facility-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.facility-item:hover img {
  transform: scale(1.08);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 65%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.facility-overlay h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.facility-overlay p {
  color: var(--slate-300);
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   PATIENT REVIEWS & TESTIMONIALS
   ========================================================================== */

.reviews-section {
  background: #ffffff;
}

.reviews-header-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  padding: 1.25rem 2rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.review-stat-item {
  text-align: center;
}

.review-stat-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.review-stat-stars {
  color: #f59e0b;
  font-size: 1rem;
}

.review-stat-source {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 600;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
  background: #ffffff;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.review-source-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-700);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */

.faq-section {
  background: var(--slate-100);
}

.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-300);
}

.faq-question {
  padding: 1.4rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-900);
  user-select: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  transition: transform var(--transition-normal), background var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-500);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--slate-600);
  font-size: 0.975rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   LOCATION & INTERACTIVE MAP
   ========================================================================== */

.map-section {
  background: #ffffff;
  padding-bottom: 0;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  align-items: center;
}

.contact-info-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail h5 {
  font-size: 1.05rem;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.contact-detail p {
  color: var(--slate-600);
  font-size: 0.925rem;
  margin: 0;
}

.contact-detail a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-700);
}

.map-frame-container {
  height: 460px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  position: relative;
}

.map-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem 0;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-500);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  font-weight: 700;
}

.footer-nav-list li {
  margin-bottom: 0.75rem;
}

.footer-nav-list a {
  color: var(--slate-400);
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--primary-400);
  padding-left: 4px;
}

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

.footer-disclaimer {
  max-width: 600px;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (QUICK CONTACTS)
   ========================================================================== */

.floating-contact-panel {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.float-btn.telegram {
  background: #229ed9;
}

.float-btn.phone {
  background: linear-gradient(135deg, #10b981, #059669);
  animation: pulseButton 2.2s infinite;
}

.float-btn.call-request {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
}

.float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--slate-900);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* ==========================================================================
   MODAL WINDOWS & FORMS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-2xl);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.modal-header p {
  font-size: 0.925rem;
  color: var(--slate-600);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  color: var(--slate-900);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary-600);
  cursor: pointer;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--slate-900);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

.toast.success {
  background: #065f46;
  border-left: 4px solid #34d399;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   REAL DATA ANALYTICS & CLINICAL STATISTICS SECTION
   ========================================================================== */

.stats-overview-section {
  background: linear-gradient(135deg, var(--slate-950) 0%, #06182c 50%, var(--slate-900) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.stats-overview-section .section-title {
  color: #ffffff;
}

.stats-overview-section .section-subtitle {
  color: var(--slate-300);
}

.stats-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.metric-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  border-color: var(--primary-400);
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.2);
}

.metric-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 1.5rem;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* Analytics Dashboard Card */
.analytics-dashboard-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-2xl);
  backdrop-filter: blur(12px);
}

.analytics-tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.analytics-card-title {
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.analytics-card-sub {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin: 0;
}

.analytics-nav-btns {
  display: flex;
  gap: 0.6rem;
}

.analytics-nav-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-300);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.analytics-nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.analytics-nav-btn.active {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.analytics-pane {
  display: none;
}

.analytics-pane.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

/* Treatment Distribution Bars */
.treatment-bars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.treatment-bar-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.treatment-bar-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.treatment-bar-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.treatment-bar-count {
  font-size: 0.9rem;
  color: #38bdf8;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill.cyan { background: linear-gradient(90deg, #0077b6, #00b4d8); }
.progress-fill.emerald { background: linear-gradient(90deg, #059669, #10b981); }
.progress-fill.amber { background: linear-gradient(90deg, #d97706, #f59e0b); }
.progress-fill.purple { background: linear-gradient(90deg, #7c3aed, #a855f7); }

.treatment-bar-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* Yearly Growth Chart */
.yearly-chart-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: flex-end;
  height: 260px;
  padding-top: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
}

.yearly-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0.6rem;
}

.yearly-bar {
  width: 100%;
  max-width: 54px;
  background: linear-gradient(to top, var(--primary-700), #38bdf8);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: height 1s ease;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.yearly-bar:hover {
  background: linear-gradient(to top, var(--primary-600), #7dd3fc);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.yearly-bar-value {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.yearly-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-300);
}

/* Doctor Referral Leaderboard */
.doctor-leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.doctor-leader-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.doctor-leader-rank {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.doctor-leader-rank.top1 {
  background: #f59e0b;
  color: #ffffff;
}

.doctor-leader-rank.top2 {
  background: #94a3b8;
  color: #ffffff;
}

.doctor-leader-rank.top3 {
  background: #b45309;
  color: #ffffff;
}

.doctor-leader-details {
  flex-grow: 1;
}

.doctor-leader-details h5 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.doctor-leader-details p {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin: 0;
}

.doctor-leader-count {
  text-align: right;
}

.doctor-leader-count strong {
  display: block;
  font-size: 1.15rem;
  color: #38bdf8;
  font-family: var(--font-heading);
}

.doctor-leader-count span {
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* Financial Performance & Payment Split */
.financial-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.financial-split-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.financial-split-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-400);
  transform: translateY(-3px);
}

.financial-split-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.financial-split-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.financial-split-badge.cash {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.financial-split-badge.card {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.financial-split-badge.rate {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.financial-split-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.financial-split-sub {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* Quarterly Dynamics Grid */
.quarterly-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quarter-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quarter-card:hover {
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.08);
}

.quarter-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.quarter-patients {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.quarter-revenue {
  font-size: 0.9rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 0.5rem;
}

.quarter-detail {
  font-size: 0.75rem;
  color: var(--slate-400);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
}

/* ==========================================================================
   DAY & NIGHT DUAL-THEME ENGINE FOR MAIN WEBSITE (index.html)
   ========================================================================== */

/* Theme Switcher Button */
.theme-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
}

.theme-switch-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   NIGHT MODE (🌙 High-Contrast Dark Theme Overrides)
   ========================================================================== */
[data-theme="night"], [data-theme="dark"], body.night-mode, body.dark-mode {
  background-color: #030a16 !important;
  color: #e2e8f0 !important;
}

[data-theme="night"] h1, [data-theme="night"] h2, [data-theme="night"] h3, 
[data-theme="night"] h4, [data-theme="night"] h5, [data-theme="night"] h6,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, 
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
  color: #ffffff !important;
}

[data-theme="night"] p, [data-theme="dark"] p {
  color: #e2e8f0;
}

[data-theme="night"] .topbar, [data-theme="dark"] .topbar {
  background: #020610;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="night"] .main-header, [data-theme="dark"] .main-header {
  background: rgba(4, 12, 26, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="night"] .main-header.scrolled, [data-theme="dark"] .main-header.scrolled {
  background: rgba(4, 12, 26, 0.98);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="night"] .brand-logo-title, [data-theme="dark"] .brand-logo-title {
  color: #ffffff;
}

[data-theme="night"] .brand-logo-subtitle, [data-theme="dark"] .brand-logo-subtitle {
  color: #38bdf8;
}

[data-theme="night"] .nav-link, [data-theme="dark"] .nav-link {
  color: #e2e8f0;
}

[data-theme="night"] .nav-link:hover, [data-theme="night"] .nav-link.active,
[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: #38bdf8;
}

[data-theme="night"] .hero-section, [data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 40%),
              #030a16;
}

[data-theme="night"] .hero-description, [data-theme="dark"] .hero-description {
  color: #e2e8f0 !important;
}

[data-theme="night"] .trust-badge-card, [data-theme="dark"] .trust-badge-card {
  background: #0a1b33;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="night"] .trust-badge-text, [data-theme="dark"] .trust-badge-text {
  color: #ffffff;
}

[data-theme="night"] .hero-floating-card-1, [data-theme="night"] .hero-floating-card-2,
[data-theme="dark"] .hero-floating-card-1, [data-theme="dark"] .hero-floating-card-2 {
  background: rgba(10, 27, 51, 0.96);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="night"] .floating-text strong, [data-theme="dark"] .floating-text strong {
  color: #ffffff;
}

[data-theme="night"] .floating-text span, [data-theme="dark"] .floating-text span {
  color: #e2e8f0;
}

[data-theme="night"] .btn-secondary, [data-theme="dark"] .btn-secondary {
  background: #0a1b33;
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

[data-theme="night"] .btn-secondary:hover, [data-theme="dark"] .btn-secondary:hover {
  background: #122c54;
  border-color: #38bdf8;
  color: #38bdf8 !important;
}

[data-theme="night"] .service-card, [data-theme="dark"] .service-card,
[data-theme="night"] .doctor-card, [data-theme="dark"] .doctor-card,
[data-theme="night"] .review-card, [data-theme="dark"] .review-card,
[data-theme="night"] .faq-item, [data-theme="dark"] .faq-item,
[data-theme="night"] .contact-card, [data-theme="dark"] .contact-card,
[data-theme="night"] .calc-card, [data-theme="dark"] .calc-card,
[data-theme="night"] .facility-card, [data-theme="dark"] .facility-card,
[data-theme="night"] .stage-card, [data-theme="dark"] .stage-card,
[data-theme="night"] .guarantee-card, [data-theme="dark"] .guarantee-card {
  background: #0a1b33;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="night"] .section-title, [data-theme="dark"] .section-title,
[data-theme="night"] .service-title, [data-theme="dark"] .service-title,
[data-theme="night"] .doctor-name, [data-theme="dark"] .doctor-name,
[data-theme="night"] .faq-question, [data-theme="dark"] .faq-question,
[data-theme="night"] .contact-title, [data-theme="dark"] .contact-title,
[data-theme="night"] .facility-title, [data-theme="dark"] .facility-title,
[data-theme="night"] .stage-title, [data-theme="dark"] .stage-title,
[data-theme="night"] .guarantee-title, [data-theme="dark"] .guarantee-title,
[data-theme="night"] .review-author-name, [data-theme="dark"] .review-author-name {
  color: #ffffff !important;
}

[data-theme="night"] .section-subtitle, [data-theme="dark"] .section-subtitle,
[data-theme="night"] .service-description, [data-theme="dark"] .service-description,
[data-theme="night"] .doctor-specialty, [data-theme="dark"] .doctor-specialty,
[data-theme="night"] .faq-answer, [data-theme="dark"] .faq-answer,
[data-theme="night"] .contact-desc, [data-theme="dark"] .contact-desc,
[data-theme="night"] .facility-desc, [data-theme="dark"] .facility-desc,
[data-theme="night"] .stage-desc, [data-theme="dark"] .stage-desc,
[data-theme="night"] .guarantee-desc, [data-theme="dark"] .guarantee-desc,
[data-theme="night"] .review-text, [data-theme="dark"] .review-text,
[data-theme="night"] .doctor-exp, [data-theme="dark"] .doctor-exp,
[data-theme="night"] .doctor-desc, [data-theme="dark"] .doctor-desc {
  color: #e2e8f0 !important;
}

[data-theme="night"] .service-tab-btn, [data-theme="dark"] .service-tab-btn {
  background: #071324;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

[data-theme="night"] .service-tab-btn:hover, [data-theme="dark"] .service-tab-btn:hover {
  color: #ffffff;
  border-color: var(--primary-400);
}

[data-theme="night"] .service-tab-btn.active, [data-theme="dark"] .service-tab-btn.active {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  border-color: #38bdf8;
}

[data-theme="night"] .calc-container, [data-theme="dark"] .calc-container,
[data-theme="night"] .calc-result-box, [data-theme="dark"] .calc-result-box {
  background: #0d2342;
  border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="night"] .calc-label, [data-theme="dark"] .calc-label {
  color: #ffffff;
}

[data-theme="night"] .calc-select, [data-theme="dark"] .calc-select,
[data-theme="night"] .form-input, [data-theme="dark"] .form-input,
[data-theme="night"] .form-textarea, [data-theme="dark"] .form-textarea,
[data-theme="night"] .form-select, [data-theme="dark"] .form-select {
  background: #061325;
  border-color: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

[data-theme="night"] .calc-select:focus, [data-theme="dark"] .calc-select:focus,
[data-theme="night"] .form-input:focus, [data-theme="dark"] .form-input:focus {
  border-color: #38bdf8;
  background: #0a1b33;
}

[data-theme="night"] .modal-box, [data-theme="dark"] .modal-box {
  background: #0a1b33;
  border-color: rgba(56, 189, 248, 0.3);
  color: #e2e8f0;
}

[data-theme="night"] .modal-header, [data-theme="dark"] .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="night"] .treatment-bar-item, [data-theme="dark"] .treatment-bar-item,
[data-theme="night"] .quarter-card, [data-theme="dark"] .quarter-card,
[data-theme="night"] .doctor-leader-card, [data-theme="dark"] .doctor-leader-card,
[data-theme="night"] .financial-split-box, [data-theme="dark"] .financial-split-box {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="night"] .treatment-bar-footer span, [data-theme="dark"] .treatment-bar-footer span,
[data-theme="night"] .quarter-detail, [data-theme="dark"] .quarter-detail,
[data-theme="night"] .doctor-leader-details p, [data-theme="dark"] .doctor-leader-details p,
[data-theme="night"] .metric-desc, [data-theme="dark"] .metric-desc {
  color: #e2e8f0 !important;
}

[data-theme="night"] .footer-section, [data-theme="dark"] .footer-section {
  background: #020610;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="night"] .footer-bottom, [data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   DAY MODE (☀️ High-Contrast Light Theme Overrides)
   ========================================================================== */
[data-theme="day"], [data-theme="light"], body.day-mode, body.light-mode {
  background-color: #f8fafc !important;
  color: #1e293b !important;
}

[data-theme="day"] h1, [data-theme="day"] h2, [data-theme="day"] h3, 
[data-theme="day"] h4, [data-theme="day"] h5, [data-theme="day"] h6,
body.day-mode h1, body.day-mode h2, body.day-mode h3, 
body.day-mode h4, body.day-mode h5, body.day-mode h6 {
  color: #0f172a !important;
}

[data-theme="day"] p, body.day-mode p {
  color: #334155;
}

[data-theme="day"] .hero-description, body.day-mode .hero-description {
  color: #334155 !important;
}

[data-theme="day"] .section-title, body.day-mode .section-title {
  color: #0f172a !important;
}

[data-theme="day"] .section-subtitle, body.day-mode .section-subtitle {
  color: #334155 !important;
}

[data-theme="day"] .trust-badge-card, body.day-mode .trust-badge-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="day"] .trust-badge-text, body.day-mode .trust-badge-text {
  color: #0f172a;
}

[data-theme="day"] .hero-floating-card-1, [data-theme="day"] .hero-floating-card-2,
body.day-mode .hero-floating-card-1, body.day-mode .hero-floating-card-2 {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="day"] .floating-text strong, body.day-mode .floating-text strong {
  color: #0f172a !important;
}

[data-theme="day"] .floating-text span, body.day-mode .floating-text span {
  color: #475569 !important;
}

[data-theme="day"] .service-card, body.day-mode .service-card,
[data-theme="day"] .doctor-card, body.day-mode .doctor-card,
[data-theme="day"] .review-card, body.day-mode .review-card,
[data-theme="day"] .faq-item, body.day-mode .faq-item,
[data-theme="day"] .contact-card, body.day-mode .contact-card,
[data-theme="day"] .calc-card, body.day-mode .calc-card,
[data-theme="day"] .facility-card, body.day-mode .facility-card,
[data-theme="day"] .stage-card, body.day-mode .stage-card,
[data-theme="day"] .guarantee-card, body.day-mode .guarantee-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="day"] .service-title, body.day-mode .service-title,
[data-theme="day"] .doctor-name, body.day-mode .doctor-name,
[data-theme="day"] .faq-question, body.day-mode .faq-question,
[data-theme="day"] .contact-title, body.day-mode .contact-title,
[data-theme="day"] .facility-title, body.day-mode .facility-title,
[data-theme="day"] .stage-title, body.day-mode .stage-title,
[data-theme="day"] .guarantee-title, body.day-mode .guarantee-title,
[data-theme="day"] .review-author-name, body.day-mode .review-author-name {
  color: #0f172a !important;
}

[data-theme="day"] .service-description, body.day-mode .service-description,
[data-theme="day"] .doctor-desc, body.day-mode .doctor-desc,
[data-theme="day"] .doctor-exp, body.day-mode .doctor-exp,
[data-theme="day"] .faq-answer, body.day-mode .faq-answer,
[data-theme="day"] .contact-desc, body.day-mode .contact-desc,
[data-theme="day"] .facility-desc, body.day-mode .facility-desc,
[data-theme="day"] .stage-desc, body.day-mode .stage-desc,
[data-theme="day"] .guarantee-desc, body.day-mode .guarantee-desc,
[data-theme="day"] .review-text, body.day-mode .review-text {
  color: #334155 !important;
}

[data-theme="day"] .doctor-specialty, body.day-mode .doctor-specialty {
  color: #0284c7 !important;
  font-weight: 700;
}

[data-theme="day"] .service-tab-btn, body.day-mode .service-tab-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}

[data-theme="day"] .service-tab-btn:hover, body.day-mode .service-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="day"] .service-tab-btn.active, body.day-mode .service-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

[data-theme="day"] .calc-label, body.day-mode .calc-label {
  color: #0f172a;
}

[data-theme="day"] .calc-select, body.day-mode .calc-select,
[data-theme="day"] .form-input, body.day-mode .form-input,
[data-theme="day"] .form-textarea, body.day-mode .form-textarea,
[data-theme="day"] .form-select, body.day-mode .form-select {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="day"] .calc-select:focus, body.day-mode .calc-select:focus,
[data-theme="day"] .form-input:focus, body.day-mode .form-input:focus {
  border-color: #0284c7;
  background: #ffffff;
}

[data-theme="day"] .calc-result-box, body.day-mode .calc-result-box {
  background: #e0f2fe;
  border-color: #bae6fd;
}

[data-theme="day"] .calc-result-title, body.day-mode .calc-result-title {
  color: #0369a1;
}

[data-theme="day"] .calc-result-value, body.day-mode .calc-result-value {
  color: #0284c7;
}

[data-theme="day"] .modal-box, body.day-mode .modal-box {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #1e293b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

[data-theme="day"] .modal-header, body.day-mode .modal-header {
  border-bottom-color: #e2e8f0;
}



