/* ==========================================================================
   Mahesh Care Plus Hospital - Premium Design System & Stylesheet
   Brand Identity: Advanced Healthcare With Compassion & Trust
   Location: Washim, Maharashtra
   ========================================================================== */

/* 1. Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* 2. Global CSS Custom Variables */
:root {
  /* Color Palette */
  --color-primary-teal: #0AA6A6;
  --color-primary-teal-rgb: 10, 166, 166;
  --color-secondary-navy: #0D1B2A;
  --color-secondary-navy-rgb: 13, 27, 42;
  --color-accent-pink: #E63973;
  --color-accent-pink-rgb: 230, 57, 115;
  --color-light-neutral: #F1F2F4;
  --color-gray: #6B7280;
  --color-white: #FFFFFF;
  
  /* Additional Premium Dark Tones */
  --color-navy-dark: #07111B;
  --color-navy-light: #152E4B;
  --color-navy-card-bg: rgba(13, 27, 42, 0.95);
  
  /* Typography & Layout spacing */
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1280px;
  --header-height: 100px;
  
  /* Border Radius & Premium Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 10px 30px -10px rgba(13, 27, 42, 0.06);
  --shadow-medium: 0 15px 35px -5px rgba(13, 27, 42, 0.1);
  --shadow-premium: 0 25px 50px -12px rgba(13, 27, 42, 0.15);
  --shadow-accent: 0 15px 30px -5px rgba(230, 57, 115, 0.3);
  --shadow-teal: 0 15px 30px -5px rgba(10, 166, 166, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-secondary-navy);
  background-color: var(--color-light-neutral);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-secondary-navy);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* 4. Common Layout Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

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

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-header .subtitle {
  color: var(--color-primary-teal);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-primary-teal);
  border-radius: 2px;
}

.section-header p {
  color: var(--color-gray);
  font-size: 18px;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 28px;
  }
  .section-header p {
    font-size: 16px;
  }
}

/* 5. Custom Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-teal), #088b8b);
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
  background: linear-gradient(135deg, #09bebe, var(--color-primary-teal));
}

.btn-secondary {
  background-color: var(--color-secondary-navy);
  color: var(--color-white);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  background-color: var(--color-navy-light);
}

.btn-accent {
  background-color: var(--color-accent-pink);
  color: var(--color-white);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
  background-color: #d12e63;
}

.btn-outline {
  border: 2px solid var(--color-primary-teal);
  color: var(--color-primary-teal);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-primary-teal);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

/* 6. Animations (Framer-Motion style scroll reveal) */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.active-reveal {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay modifiers for sequential item entrance animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* 7. Header & Navbar */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(13, 27, 42, 0.98); /* Luxury dark navy background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-normal);
}

.header-wrapper.scrolled {
  background-color: rgba(7, 17, 27, 0.99); /* Slightly darker on scroll */
  box-shadow: var(--shadow-medium);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 24px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: var(--font-body);
}


.logo-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.logo-brand-main {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-white);
  transition: var(--transition-fast);
}

.logo-brand-sub {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-primary-teal);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary-teal);
  transition: var(--transition-fast);
}

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

.nav-link.active {
  color: var(--color-primary-teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  font-size: 28px;
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition-fast);
}

/* Mobile Nav Overlay Styles */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 27, 42, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform var(--transition-slow);
}

.mobile-nav-overlay.open {
  transform: translateY(0);
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--color-white);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
}

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

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 80%;
  max-width: 300px;
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* 8. Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  background-color: #F8F9FA;
  padding-top: calc(var(--header-height) + 40px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-matrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.matrix-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(10, 166, 166, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 166, 166, 0.08) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
}

.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.8;
  will-change: transform;
}

.orb-1 {
  top: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 166, 166, 0.35) 0%, rgba(10, 166, 166, 0) 70%);
  animation: float-orb-1 22s infinite alternate ease-in-out;
}

.orb-2 {
  bottom: -15%;
  left: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(5, 117, 230, 0.16) 0%, rgba(5, 117, 230, 0) 70%);
  animation: float-orb-2 28s infinite alternate ease-in-out;
}

.orb-3 {
  top: 25%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 57, 115, 0.18) 0%, rgba(230, 57, 115, 0) 70%);
  animation: float-orb-3 18s infinite alternate ease-in-out;
}

@keyframes float-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 50px) scale(1.15); }
  100% { transform: translate(-40px, -60px) scale(0.9); }
}

@keyframes float-orb-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 80px) scale(0.85); }
  100% { transform: translate(80px, -40px) scale(1.1); }
}

@keyframes float-orb-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -70px) scale(1.2); }
  100% { transform: translate(-70px, 40px) scale(0.85); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

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

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-badge {
  background-color: var(--color-white);
  border: 1px solid rgba(10, 166, 166, 0.2);
  color: var(--color-secondary-navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

.hero-badge i {
  color: var(--color-primary-teal);
  font-size: 14px;
}

.hero-badge-emergency {
  border-color: rgba(230, 57, 115, 0.2);
}

.hero-badge-emergency i {
  color: var(--color-accent-pink);
  animation: pulse-ring 2s infinite;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  color: var(--color-secondary-navy);
  line-height: 1.15;
  margin-bottom: 32px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary-teal), var(--color-secondary-navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheading {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 50px;
  line-height: 1.7;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.hero-btn-group .btn {
  padding: 11px 22px;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
}

/* Unified Hero Emergency Action Button */
.hero-emergency-btn {
  box-shadow: var(--shadow-accent);
}

.hero-emergency-btn i {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Floating Glass Cards */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-doctor-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-doctor-img {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(10, 166, 166, 0.15));
  opacity: 0;
  visibility: hidden;
  transform: translateX(80px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  will-change: opacity, transform;
}

.hero-doctor-img.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-doctor-img.exit {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-80px);
}

@media (max-width: 768px) {
  .hero-doctor-container {
    height: 380px;
  }
  .hero-doctor-img {
    max-height: 380px;
  }
}



@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-badge-group, .hero-btn-group {
    justify-content: center;
  }
  .hero-contact-quick {
    margin: 0 auto;
  }
  .hero-doctor-container {
    max-width: 400px;
    margin-top: 40px;
  }
  .hero h1 {
    font-size: 38px;
  }
}

/* 9. About Section */
.about {
  background-color: #F8F9FA;
  position: relative;
  overflow: hidden;
}

.about-bg-matrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.about-grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(10, 166, 166, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 166, 166, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 30% 50%, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 30% 50%, black 50%, transparent 100%);
}

.about-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  opacity: 0.6;
}

.about-orb-1 {
  top: 20%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(10, 166, 166, 0.12) 0%, transparent 70%);
}

.about-orb-2 {
  bottom: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 117, 230, 0.08) 0%, transparent 70%);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 4px solid var(--color-light-neutral);
}

.about-image-wrapper img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1.15;
}

/* Perfect alignment and layout balancing on desktop screens */
@media (min-width: 992px) {
  .about-grid {
    align-items: stretch;
  }
  .about-visual {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .about-image-wrapper {
    flex: 1;
    display: flex;
  }
  .about-image-wrapper img {
    height: 100%;
    aspect-ratio: auto;
  }
}

.about-trust-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-secondary-navy);
  color: var(--color-white);
  padding: 20px;
  border-radius: var(--radius-md);
  max-width: 200px;
  box-shadow: var(--shadow-premium);
  border-left: 5px solid var(--color-primary-teal);
}

.about-trust-overlay h3 {
  color: var(--color-white);
  font-size: 26px;
  font-weight: 800;
}

.about-trust-overlay p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content .primary-text {
  font-size: 17px;
  color: var(--color-secondary-navy);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-content .secondary-text {
  font-size: 15px;
  color: var(--color-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-item {
  background: var(--color-white);
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 27, 42, 0.04);
  transition: all var(--transition-normal);
  overflow: hidden;
  will-change: transform;
}

.stat-item-1 {
  animation: float 6s ease-in-out infinite;
}

.stat-item-2 {
  animation: float 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.stat-item-3 {
  animation: float 6.5s ease-in-out infinite;
  animation-delay: 1s;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 166, 166, 0.04) 0%, rgba(230, 57, 115, 0.02) 100%);
  opacity: 0;
  z-index: 1;
  transition: var(--transition-normal);
  pointer-events: none;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: rgba(10, 166, 166, 0.2);
}

.stat-item:hover::after {
  opacity: 1;
}

.stat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(10, 166, 166, 0.08);
  color: var(--color-primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto 16px auto;
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.stat-item-2 .stat-icon-box {
  background-color: rgba(13, 27, 42, 0.06);
  color: var(--color-secondary-navy);
}

.stat-item-3 .stat-icon-box {
  background-color: rgba(230, 57, 115, 0.08);
  color: var(--color-accent-pink);
}

.stat-item:hover .stat-icon-box {
  transform: scale(1.1) rotate(10deg);
  background-color: var(--color-primary-teal);
  color: var(--color-white);
  box-shadow: var(--shadow-teal);
}

.stat-item-2:hover .stat-icon-box {
  background-color: var(--color-secondary-navy);
  box-shadow: var(--shadow-medium);
}

.stat-item-3:hover .stat-icon-box {
  background-color: var(--color-accent-pink);
  box-shadow: var(--shadow-accent);
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-secondary-navy);
  margin-bottom: 6px;
  display: block;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 12px;
  color: var(--color-gray);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-content h3 {
    font-size: 24px;
  }
}

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

/* 10. Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 27, 42, 0.03);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 166, 166, 0.05) 0%, rgba(13, 27, 42, 0.02) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(10, 166, 166, 0.2);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(10, 166, 166, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-teal);
  font-size: 24px;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background-color: var(--color-primary-teal);
  color: var(--color-white);
  box-shadow: var(--shadow-teal);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link i {
  transition: var(--transition-fast);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* 11. Why Choose Us Section */
.why-choose {
  background-color: var(--color-white);
}

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

.why-card {
  background-color: var(--color-light-neutral);
  padding: 30px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 20px;
  border: 1px solid rgba(13, 27, 42, 0.02);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  background-color: var(--color-white);
  box-shadow: var(--shadow-medium);
  border-color: rgba(10, 166, 166, 0.15);
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(10, 166, 166, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-teal);
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon-box {
  background-color: var(--color-secondary-navy);
  color: var(--color-white);
}

.why-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-info p {
  color: var(--color-gray);
  font-size: 14px;
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 12. Doctors Section */
.doctors-slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 20px 0 40px 0;
}

.doctors-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.doctor-slide-item {
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Width overrides for layout responsiveness */
@media (min-width: 992px) {
  .doctor-slide-item {
    width: calc((100% - 60px) / 3); /* 3 cards visible */
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .doctor-slide-item {
    width: calc((100% - 30px) / 2); /* 2 cards visible */
  }
}

@media (max-width: 767px) {
  .doctor-slide-item {
    width: 100%; /* 1 card visible */
  }
}

.doctor-profile-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.04);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-profile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

.doctor-img-box {
  position: relative;
  aspect-ratio: 1.6;
  background-color: var(--color-light-neutral);
  overflow: hidden;
}

/* Placeholder avatar design */
.doctor-placeholder-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 166, 166, 0.05) 0%, rgba(13, 27, 42, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  color: rgba(10, 166, 166, 0.28);
  transition: var(--transition-slow);
}

.doctor-profile-card:hover .doctor-placeholder-avatar {
  background: linear-gradient(135deg, rgba(10, 166, 166, 0.1) 0%, rgba(13, 27, 42, 0.12) 100%);
  color: rgba(10, 166, 166, 0.4);
  transform: scale(1.03);
}

.doctor-specialty-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-secondary-navy);
  color: var(--color-white);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
}

.doctor-info-box {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.doctor-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 0;
  color: var(--color-secondary-navy);
}

.doctor-experience-badge {
  background-color: rgba(10, 166, 166, 0.08);
  color: var(--color-primary-teal);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.doctor-degree {
  color: var(--color-primary-teal);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.doctor-bio {
  font-size: 13px;
  color: var(--color-gray);
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.doctor-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-secondary-navy);
  font-weight: 600;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 27, 42, 0.06);
}

.doctor-availability i {
  color: var(--color-primary-teal);
  font-size: 13px;
}

.btn-doctor {
  margin-top: auto;
  width: 100%;
}

/* Control buttons & indicators for Doctor slider */
.doctors-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.doctor-control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid rgba(13, 27, 42, 0.08);
  color: var(--color-secondary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
}

.doctor-control-btn:hover {
  background-color: var(--color-primary-teal);
  color: var(--color-white);
  border-color: var(--color-primary-teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}

.doctor-indicators {
  display: flex;
  gap: 10px;
  align-items: center;
}

.doctor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(13, 27, 42, 0.15);
  cursor: pointer;
  transition: var(--transition-normal);
}

.doctor-dot.active {
  background-color: var(--color-primary-teal);
  width: 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-teal);
}

/* 13. Facilities Section */
.facilities {
  background-color: var(--color-white);
}

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

.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 280px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 4px solid var(--color-light-neutral);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

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

.facility-card:hover .facility-img {
  transform: scale(1.1);
}

.facility-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.95) 15%, rgba(13, 27, 42, 0.4) 60%, rgba(13, 27, 42, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  box-sizing: border-box;
  transition: var(--transition-normal);
}

.facility-card:hover .facility-overlay {
  background: linear-gradient(to top, rgba(10, 166, 166, 0.95) 15%, rgba(13, 27, 42, 0.5) 60%, rgba(13, 27, 42, 0.1) 100%);
}

.facility-overlay h3 {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.facility-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  transform: translateY(15px);
  opacity: 0;
  transition: var(--transition-normal);
}

.facility-card:hover .facility-overlay p {
  transform: translateY(0);
  opacity: 1;
}

/* 14. Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, var(--color-secondary-navy) 0%, var(--color-navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 166, 166, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.testimonials .section-header h2 {
  color: var(--color-white);
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-marquee-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0 40px 0;
  z-index: 2;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.testimonials-marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

/* Pause scroll when hovering over the marquee container so users can read */
.testimonials-marquee-container:hover .testimonials-marquee-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
  text-align: left;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 166, 166, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px -15px rgba(10, 166, 166, 0.12);
}

.testimonial-card i.quote-icon {
  font-size: 28px;
  color: var(--color-primary-teal);
  opacity: 0.15;
  position: absolute;
  top: 24px;
  right: 24px;
  transition: var(--transition-normal);
}

.testimonial-card:hover i.quote-icon {
  transform: scale(1.1) rotate(-5deg);
  opacity: 0.3;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: #FFC107;
  font-size: 13px;
  filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.2));
}

.testimonial-text {
  font-size: 14.5px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-teal) 0%, #0575e6 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(10, 166, 166, 0.2);
}

.testimonial-author-info {
  text-align: left;
}

.testimonial-author-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.testimonial-author-info p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

@media (max-width: 600px) {
  .testimonial-card {
    width: 300px;
    padding: 24px 20px;
  }
  .testimonial-text {
    font-size: 14px;
  }
}

/* 15. Appointment Section */
.appointment {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.appointment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.appointment-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10, 166, 166, 0.1) 0%, rgba(10, 166, 166, 0) 70%);
  z-index: 1;
}

.appointment-info h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.appointment-info p {
  color: var(--color-gray);
  margin-bottom: 30px;
}

.appointment-contact-card {
  background-color: var(--color-light-neutral);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 27, 42, 0.03);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.appointment-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(10, 166, 166, 0.1);
  color: var(--color-primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.appointment-contact-icon.emergency {
  background-color: rgba(230, 57, 115, 0.1);
  color: var(--color-accent-pink);
}

.appointment-contact-text span {
  font-size: 12px;
  color: var(--color-gray);
  display: block;
  font-weight: 600;
}

.appointment-contact-text h4 {
  font-size: 18px;
  font-weight: 700;
}

/* Appointment Form Glassmorphism card */
.appointment-form-container {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(13, 27, 42, 0.05);
}

.appointment-form h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

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

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary-navy);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--color-light-neutral);
  border: 2px solid transparent;
  color: var(--color-secondary-navy);
  font-weight: 500;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary-teal);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(10, 166, 166, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.btn-form {
  width: 100%;
  margin-top: 10px;
}

/* Form Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.success-modal {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 90%;
  box-shadow: var(--shadow-premium);
  text-align: center;
  transform: scale(0.85);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .success-modal {
  transform: scale(1);
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(10, 166, 166, 0.1);
  color: var(--color-primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px auto;
}

.success-modal h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.success-modal p {
  color: var(--color-gray);
  margin-bottom: 24px;
  font-size: 15px;
}

@media (max-width: 991px) {
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .appointment-form-container {
    padding: 24px;
  }
}

/* 16. Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-card {
  background-color: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 20px;
  border: 1px solid rgba(13, 27, 42, 0.03);
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: rgba(10, 166, 166, 0.08);
  color: var(--color-primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-detail-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-detail-info p {
  color: var(--color-gray);
  font-size: 14px;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 4px solid var(--color-white);
  height: 100%;
  min-height: 350px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .map-wrapper {
    min-height: 300px;
  }
}

/* 17. Footer */
.footer {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.footer-description {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}

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

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

.social-icon:hover {
  background-color: var(--color-primary-teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}

.footer-col-title {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--color-primary-teal);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 10px;
  color: var(--color-primary-teal);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-teal);
  transform: translateX(4px);
}

.footer-emergency-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  transition: var(--transition-fast);
}

.footer-emergency-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(230, 57, 115, 0.2);
}

.footer-emergency-title {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.footer-emergency-title i {
  color: var(--color-accent-pink);
  animation: pulse-ring 2s infinite;
}

.footer-emergency-number {
  font-size: 16px;
  color: var(--color-white);
  font-weight: 700;
  display: block;
  transition: var(--transition-fast);
}

.footer-emergency-number:hover {
  color: var(--color-accent-pink);
}

.footer-bottom {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* 18. Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 998;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 24px;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-4px);
}

.floating-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
}

.floating-whatsapp:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .floating-widgets {
    bottom: 20px;
    right: 20px;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

/* ==========================================
   19. Scroll Animation & Progress Styles
   ========================================== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  z-index: 1002;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary-teal), var(--color-accent-pink));
  border-radius: 0 2px 2px 0;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 8px rgba(10, 166, 166, 0.5);
}

/* Staggered Scroll Reveal System classes */
.scroll-reveal-card {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  will-change: transform, opacity;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Custom visual micro-movements on scroll */
.hero-doctor-container:hover .hero-doctor-img.active {
  transform: scale(1.03) translateY(-5px);
}

.about-image-wrapper img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.hero-glow {
  will-change: transform;
}
