/* ============================================
   CarePlus Multispeciality Hospital
   Premium Healthcare Website - Style System
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --deep-purple: #4B1D6B;
  --royal-violet: #7B3FF2;
  --teal: #00B8A9;
  --coral: #FF6B6B;
  --soft-lavender: #F5F2FA;
  --dark-charcoal: #222222;
  --white: #FFFFFF;

  /* Extended Palette */
  --violet-light: #9D6BF5;
  --violet-dark: #3A0E5C;
  --teal-dark: #009688;
  --teal-light: #4DDDD0;
  --purple-bg: #2D1045;
  --card-bg: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border-light: rgba(255, 255, 255, 0.5);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4B1D6B 0%, #7B3FF2 50%, #00B8A9 100%);
  --gradient-btn: linear-gradient(135deg, #7B3FF2 0%, #00B8A9 100%);
  --gradient-hero: linear-gradient(135deg, #1a0a2e 0%, #2D1045 40%, #1a1a2e 100%);
  --gradient-card: linear-gradient(135deg, rgba(123, 63, 242, 0.1), rgba(0, 184, 169, 0.1));
  --gradient-dark: linear-gradient(180deg, #1a0a2e 0%, #0d0515 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(75, 29, 107, 0.1);
  --shadow-md: 0 4px 20px rgba(75, 29, 107, 0.15);
  --shadow-lg: 0 8px 40px rgba(75, 29, 107, 0.2);
  --shadow-xl: 0 16px 60px rgba(75, 29, 107, 0.25);
  --shadow-glow-violet: 0 0 30px rgba(123, 63, 242, 0.3);
  --shadow-glow-teal: 0 0 30px rgba(0, 184, 169, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1320px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark-charcoal);
  background: var(--soft-lavender);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

section {
  position: relative;
}

.section-padding {
  padding: var(--section-padding);
}

/* ---------- Utility Classes ---------- */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(123, 63, 242, 0.1), rgba(0, 184, 169, 0.1));
  border: 1px solid rgba(123, 63, 242, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--royal-violet);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-charcoal);
}

.section-title-light {
  color: var(--white);
}

.section-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.section-desc-light {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Buttons ---------- */
.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-btn);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(123, 63, 242, 0.3);
}

.btn-primary-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00B8A9 0%, #7B3FF2 100%);
  opacity: 0;
  transition: var(--transition-base);
  z-index: -1;
  border-radius: 50px;
}

.btn-primary-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(123, 63, 242, 0.4);
  color: var(--white);
}

.btn-primary-gradient:hover::before {
  opacity: 1;
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  color: var(--white);
}

.btn-outline-violet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  color: var(--royal-violet);
  border: 2px solid var(--royal-violet);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-outline-violet:hover {
  background: var(--royal-violet);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 30px;
}

.preloader-logo span {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gradient-btn);
  border-radius: 4px;
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---------- Navbar ---------- */
.navbar-premium {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 16px 0;
  transition: var(--transition-base);
}

.navbar-premium.scrolled {
  background: rgba(26, 10, 46, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 63, 242, 0.15);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-premium .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-btn);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: var(--shadow-glow-violet);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-brand-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.navbar-brand-text .brand-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-premium .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-premium .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-btn);
  transition: var(--transition-base);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active {
  color: var(--white) !important;
}

.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after {
  width: 60%;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-btn);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-base);
  box-shadow: 0 4px 15px rgba(123, 63, 242, 0.3);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(123, 63, 242, 0.5);
  color: var(--white) !important;
}

.navbar-toggler {
  border: none !important;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero Section ---------- */
#hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatParticle 15s infinite ease-in-out;
}

@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.1); }
  50% { transform: translate(-20px, -80px) scale(0.9); }
  75% { transform: translate(40px, -30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(123, 63, 242, 0.15);
  border: 1px solid rgba(123, 63, 242, 0.3);
  border-radius: 50px;
  color: var(--violet-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--teal);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stat-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-stat-badge .stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}

.hero-stat-badge .stat-icon.violet { background: rgba(123, 63, 242, 0.25); }
.hero-stat-badge .stat-icon.teal { background: rgba(0, 184, 169, 0.25); }
.hero-stat-badge .stat-icon.coral { background: rgba(255, 107, 107, 0.25); }

.hero-stat-badge .stat-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Hero 3D Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.medical-cross-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  animation: floatRotate 8s ease-in-out infinite;
}

.cross-arm {
  position: absolute;
  background: var(--gradient-btn);
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(123, 63, 242, 0.4);
}

.cross-arm.horizontal {
  width: 180px;
  height: 50px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.cross-arm.vertical {
  width: 50px;
  height: 180px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

@keyframes floatRotate {
  0%, 100% { transform: translate(-50%, -50%) rotateY(0deg) rotateX(5deg); }
  50% { transform: translate(-50%, -50%) rotateY(15deg) rotateX(-5deg); }
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.floating-icon.icon-1 {
  top: 10%;
  left: 15%;
  color: var(--coral);
  animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon.icon-2 {
  top: 15%;
  right: 15%;
  color: var(--teal);
  animation: floatIcon 7s ease-in-out infinite 1s;
}

.floating-icon.icon-3 {
  bottom: 20%;
  left: 10%;
  color: var(--violet-light);
  animation: floatIcon 5s ease-in-out infinite 0.5s;
}

.floating-icon.icon-4 {
  bottom: 15%;
  right: 12%;
  color: var(--teal-light);
  animation: floatIcon 8s ease-in-out infinite 1.5s;
}

.floating-icon.icon-5 {
  top: 40%;
  right: 5%;
  color: var(--coral);
  animation: floatIcon 6.5s ease-in-out infinite 0.7s;
}

.floating-icon.icon-6 {
  top: 55%;
  left: 5%;
  color: var(--violet-light);
  animation: floatIcon 7.5s ease-in-out infinite 1.2s;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(5deg); }
  75% { transform: translateY(10px) rotate(-5deg); }
}

/* ECG Line */
.ecg-line {
  position: absolute;
  bottom: 35%;
  left: 5%;
  width: 90%;
  height: 60px;
  overflow: hidden;
  opacity: 0.3;
}

.ecg-line svg {
  width: 200%;
  height: 100%;
  animation: ecgMove 3s linear infinite;
}

.ecg-line svg path {
  stroke: var(--teal);
  stroke-width: 2;
  fill: none;
}

@keyframes ecgMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  z-index: 0;
}

.glow-orb.violet {
  width: 300px;
  height: 300px;
  background: var(--royal-violet);
  top: 20%;
  left: 10%;
  animation: pulseGlow 6s ease-in-out infinite;
}

.glow-orb.teal {
  width: 250px;
  height: 250px;
  background: var(--teal);
  bottom: 10%;
  right: 15%;
  animation: pulseGlow 7s ease-in-out infinite 2s;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.15); }
}

/* Doctor silhouette in hero */
.hero-doctor-silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 400px;
  background: linear-gradient(180deg, rgba(123,63,242,0.15) 0%, rgba(123,63,242,0.02) 100%);
  clip-path: polygon(30% 0%, 70% 0%, 80% 15%, 85% 40%, 90% 70%, 95% 100%, 5% 100%, 10% 70%, 15% 40%, 20% 15%);
  animation: floatDoctor 6s ease-in-out infinite;
}

@keyframes floatDoctor {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-15px); }
}

/* ---------- Future Healthcare Section ---------- */
#future-healthcare {
  background: var(--gradient-dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.future-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#future-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.future-content {
  position: relative;
  z-index: 2;
}

.future-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
}

.future-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.future-central-glow {
  width: 200px;
  height: 200px;
  margin: 0 auto 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 63, 242, 0.3) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: centralPulse 4s ease-in-out infinite;
  position: relative;
}

.future-central-glow::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px solid rgba(123, 63, 242, 0.3);
  animation: spinRing 12s linear infinite;
}

.future-central-glow::after {
  content: '';
  position: absolute;
  inset: 35px;
  border-radius: 50%;
  border: 1px solid rgba(0, 184, 169, 0.3);
  animation: spinRing 8s linear infinite reverse;
}

@keyframes centralPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(123, 63, 242, 0.2); }
  50% { transform: scale(1.08); box-shadow: 0 0 100px rgba(123, 63, 242, 0.35); }
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.central-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 3px;
  text-align: center;
  line-height: 1.5;
}

.future-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.future-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.future-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: var(--transition-base);
}

.future-info-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(123, 63, 242, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.future-info-card:hover::before {
  opacity: 1;
}

.future-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.future-card-icon.violet { background: rgba(123, 63, 242, 0.15); color: var(--violet-light); }
.future-card-icon.teal { background: rgba(0, 184, 169, 0.15); color: var(--teal); }
.future-card-icon.coral { background: rgba(255, 107, 107, 0.15); color: var(--coral); }

.future-info-card h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.future-info-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Floating 3D elements in future section */
.future-float-element {
  position: absolute;
  z-index: 1;
  opacity: 0.15;
}

.dna-helix {
  width: 80px;
  height: 200px;
  top: 15%;
  left: 5%;
  animation: rotateDNA 10s linear infinite;
}

.dna-strand {
  position: absolute;
  width: 4px;
  height: 100%;
  border-radius: 4px;
}

.dna-strand:first-child {
  left: 20px;
  background: var(--royal-violet);
  animation: waveDNA 3s ease-in-out infinite;
}

.dna-strand:last-child {
  right: 20px;
  background: var(--teal);
  animation: waveDNA 3s ease-in-out infinite reverse;
}

@keyframes rotateDNA {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes waveDNA {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(2.5); }
}

/* ---------- About Section ---------- */
#about {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-container {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--gradient-card);
}

.about-3d-illustration {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0eaff 0%, #e0f7f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-medical-icon {
  font-size: 8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: floatIcon 6s ease-in-out infinite;
}

.about-float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: floatIcon 5s ease-in-out infinite;
  z-index: 2;
}

.about-float-badge.badge-1 {
  top: 15%;
  right: -10px;
  animation-delay: 0s;
}

.about-float-badge.badge-2 {
  bottom: 15%;
  left: -10px;
  animation-delay: 1.5s;
}

.about-float-badge .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}

.about-float-badge .badge-icon.violet { background: var(--royal-violet); }
.about-float-badge .badge-icon.teal { background: var(--teal); }

.about-float-badge .badge-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark-charcoal);
}

.about-float-badge .badge-label {
  font-size: 0.75rem;
  color: #999;
}

.about-content .about-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark-charcoal);
}

.about-content .about-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-features {
  list-style: none;
  margin-bottom: 40px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 500;
  color: #444;
}

.about-features li i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 184, 169, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: var(--soft-lavender);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid transparent;
}

.stat-card:hover {
  border-color: rgba(123, 63, 242, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- Departments Section ---------- */
#departments {
  padding: 100px 0;
  background: var(--soft-lavender);
}

.dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
}

.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-btn);
  opacity: 0;
  transition: var(--transition-base);
  z-index: 0;
  border-radius: var(--radius-lg);
}

.dept-card:hover {
  transform: translateY(-12px) rotateX(3deg) rotateY(-3deg);
  box-shadow: var(--shadow-xl);
}

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

.dept-card:hover .dept-icon,
.dept-card:hover .dept-name,
.dept-card:hover .dept-desc {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.dept-card:hover .dept-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.dept-card:hover .dept-icon {
  transform: rotateY(360deg);
}

.dept-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-base);
}

.dept-icon {
  font-size: 2rem;
  transition: transform 0.6s ease;
}

.dept-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-charcoal);
  transition: var(--transition-fast);
}

.dept-desc {
  font-size: 0.9rem;
  color: #888;
  transition: var(--transition-fast);
  line-height: 1.5;
}

/* ---------- Doctors Section ---------- */
#doctors {
  padding: 100px 0;
  background: var(--white);
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform-style: preserve-3d;
}

.doctor-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: var(--shadow-xl);
}

.doctor-photo {
  height: 260px;
  background: linear-gradient(135deg, #f0eaff, #e0f7f5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.doctor-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--white), transparent);
}

.doctor-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  z-index: 1;
  box-shadow: var(--shadow-glow-violet);
}

.doctor-info {
  padding: 24px;
  text-align: center;
}

.doctor-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 6px;
}

.doctor-specialty {
  color: var(--royal-violet);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.doctor-qualification {
  color: #999;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.doctor-experience {
  color: #777;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.doctor-rating {
  color: #FFB800;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.doctor-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.doctor-actions .btn-sm-gradient {
  padding: 8px 18px;
  font-size: 0.82rem;
  border-radius: 50px;
  font-weight: 600;
  background: var(--gradient-btn);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.doctor-actions .btn-sm-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

.doctor-actions .btn-sm-outline {
  padding: 8px 18px;
  font-size: 0.82rem;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  color: var(--royal-violet);
  border: 1.5px solid var(--royal-violet);
  cursor: pointer;
  transition: var(--transition-base);
}

.doctor-actions .btn-sm-outline:hover {
  background: var(--royal-violet);
  color: var(--white);
}

/* ---------- Services Section ---------- */
#services {
  padding: 100px 0;
  background: var(--soft-lavender);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover .service-icon-wrap {
  background: var(--gradient-btn);
}

.service-card:hover .service-icon-wrap i {
  color: var(--white);
  transform: scale(1.15);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-base);
}

.service-icon-wrap i {
  font-size: 1.5rem;
  color: var(--royal-violet);
  transition: var(--transition-base);
}

.service-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.6;
}

/* ---------- Why Choose Us Section ---------- */
#why-choose-us {
  padding: 100px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  transition: var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-btn);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition-base);
}

.why-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

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

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  transition: var(--transition-base);
}

.why-icon.violet { background: rgba(123, 63, 242, 0.15); color: var(--violet-light); }
.why-icon.teal { background: rgba(0, 184, 169, 0.15); color: var(--teal); }
.why-icon.coral { background: rgba(255, 107, 107, 0.15); color: var(--coral); }

.why-card h5 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Appointment Section ---------- */
#appointment {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.appointment-form-container {
  background: var(--soft-lavender);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(123, 63, 242, 0.1);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.appointment-form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 63, 242, 0.08), transparent);
  border-radius: 50%;
}

.appointment-form-container::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 184, 169, 0.06), transparent);
  border-radius: 50%;
}

.form-floating-card {
  position: relative;
  z-index: 1;
}

.premium-input {
  width: 100%;
  padding: 14px 20px;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-charcoal);
  transition: var(--transition-base);
  outline: none;
}

.premium-input:focus {
  border-color: var(--royal-violet);
  box-shadow: 0 0 0 4px rgba(123, 63, 242, 0.1);
}

.premium-input::placeholder {
  color: #aaa;
}

.premium-select {
  width: 100%;
  padding: 14px 20px;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-charcoal);
  transition: var(--transition-base);
  outline: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%237B3FF2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.premium-select:focus {
  border-color: var(--royal-violet);
  box-shadow: 0 0 0 4px rgba(123, 63, 242, 0.1);
}

.premium-textarea {
  width: 100%;
  padding: 14px 20px;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-charcoal);
  transition: var(--transition-base);
  outline: none;
  resize: vertical;
  min-height: 100px;
}

.premium-textarea:focus {
  border-color: var(--royal-violet);
  box-shadow: 0 0 0 4px rgba(123, 63, 242, 0.1);
}

.form-label-premium {
  font-weight: 600;
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 8px;
  display: block;
}

.appointment-info-side {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.appointment-info-side::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123, 63, 242, 0.2), transparent);
  border-radius: 50%;
}

.appointment-info-side h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.appointment-info-side p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.appt-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.appt-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.appt-info-text h6 {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.appt-info-text span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Success popup */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-popup {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 50px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  transform: scale(0.8);
  transition: var(--transition-spring);
  box-shadow: var(--shadow-xl);
}

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

.success-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto 24px;
  box-shadow: var(--shadow-glow-violet);
}

.success-popup h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-charcoal);
  margin-bottom: 12px;
}

.success-popup p {
  color: #888;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ---------- Facilities Section ---------- */
#facilities {
  padding: 100px 0;
  background: var(--soft-lavender);
}

.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 260px;
  transition: var(--transition-base);
}

.facility-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.facility-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: var(--transition-slow);
}

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

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(75, 29, 107, 0.85), rgba(75, 29, 107, 0.1));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-base);
}

.facility-card:hover .facility-overlay {
  opacity: 1;
}

.facility-overlay h5 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.facility-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.facility-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-base);
}

.facility-card:hover .facility-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  text-align: center;
  transform: scale(0.8);
  transition: var(--transition-spring);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-icon {
  font-size: 6rem;
  margin-bottom: 20px;
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.lightbox-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Testimonials Section ---------- */
#testimonials {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-card {
  background: var(--soft-lavender);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(123, 63, 242, 0.1);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  font-family: serif;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-glow-violet);
}

.testimonial-card .testimonial-text {
  font-size: 1.08rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .testimonial-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-charcoal);
  margin-bottom: 4px;
}

.testimonial-card .testimonial-role {
  color: #999;
  font-size: 0.85rem;
}

.testimonial-rating {
  color: #FFB800;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft-lavender);
  border: 2px solid rgba(123, 63, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-violet);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel-btn:hover {
  background: var(--royal-violet);
  color: var(--white);
  border-color: var(--royal-violet);
  transform: scale(1.1);
}

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

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(123, 63, 242, 0.2);
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

.carousel-dot.active {
  background: var(--royal-violet);
  width: 30px;
  border-radius: 5px;
}

/* ---------- Contact Section ---------- */
#contact {
  padding: 100px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(123, 63, 242, 0.3);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-icon.violet { background: rgba(123, 63, 242, 0.15); color: var(--violet-light); }
.contact-icon.teal { background: rgba(0, 184, 169, 0.15); color: var(--teal); }
.contact-icon.coral { background: rgba(255, 107, 107, 0.15); color: var(--coral); }

.contact-card h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.contact-form-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.contact-form-glass .premium-input,
.contact-form-glass .premium-textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.contact-form-glass .premium-input::placeholder,
.contact-form-glass .premium-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form-glass .premium-input:focus,
.contact-form-glass .premium-textarea:focus {
  border-color: var(--royal-violet);
  box-shadow: 0 0 0 4px rgba(123, 63, 242, 0.15);
}

.contact-form-glass .form-label-premium {
  color: rgba(255, 255, 255, 0.7);
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(1.1);
}

/* ---------- Footer ---------- */
#footer {
  background: #0d0515;
  padding: 80px 0 30px;
  position: relative;
}

.footer-logo-section {
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-btn);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo-text .brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo-text .sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-description {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(123, 63, 242, 0.1);
  border: 1px solid rgba(123, 63, 242, 0.2);
  border-radius: 50px;
  color: var(--violet-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 20px;
}

.footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-btn);
  border-radius: 3px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--violet-light);
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
  background: var(--gradient-btn);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-violet);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Floating Action Buttons ---------- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9990;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.fab-btn:hover {
  transform: scale(1.15);
}

.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--royal-violet); }
.fab-emergency { background: var(--coral); animation: emergencyPulse 2s infinite; }

@keyframes emergencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
}

.fab-tooltip {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark-charcoal);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

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

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-glow-violet);
  z-index: 9990;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ---------- Responsive Design ---------- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .future-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-visual {
    height: 400px;
    margin-top: 40px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .future-title {
    font-size: 2.2rem;
  }

  .future-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-visual {
    height: 380px;
    margin-bottom: 40px;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .appointment-info-side {
    margin-top: 40px;
    height: auto;
  }

  :root {
    --section-padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-visual {
    height: 320px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .future-title {
    font-size: 1.9rem;
  }

  .future-cards-row {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment-form-container {
    padding: 30px 20px;
  }

  .contact-form-glass {
    padding: 30px 20px;
  }

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

  .floating-actions {
    bottom: 20px;
    right: 20px;
  }

  .fab-btn {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
  }

  :root {
    --section-padding: 60px 0;
  }

  .medical-cross-3d {
    width: 120px;
    height: 120px;
  }

  .cross-arm.horizontal {
    width: 120px;
    height: 34px;
  }

  .cross-arm.vertical {
    width: 34px;
    height: 120px;
  }

  .floating-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-stat-badge {
    padding: 10px 14px;
    width: 100%;
  }

  .hero-stat-badge .stat-text {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .navbar-cta {
    display: none;
  }

  .about-content .about-title {
    font-size: 1.8rem;
  }

  .testimonial-card {
    padding: 30px 24px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--soft-lavender);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-btn);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--royal-violet);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(123, 63, 242, 0.2);
  color: var(--deep-purple);
}
