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

/* --- PREMIUM CSS DESIGN SYSTEM --- */
:root {
  --primary-blue: #0A4D8C;
  --secondary-cyan: #4B9CD3;
  --accent-green: #10B981;
  --accent-green-glow: rgba(16, 185, 129, 0.4);
  --accent-purple: #8B5CF6;
  --bg-dark: #03182E;
  --bg-darker: #020F1D;
  --bg-light: #F8FAFC;
  --bg-card-light: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: #CBD5E1;
  --neon-blue: #38BDF8;
  --neon-cyan: #22D3EE;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* --- GLOWING BUTTONS & CTAs --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0A4D8C; /* Sleek, professional solid Trust Blue color box */
  color: #FFFFFF; /* High-contrast white text */
  font-family: 'Outfit', sans-serif;
  font-weight: 800; /* Extra bold white text */
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 0 #052646, 0 8px 20px rgba(10, 77, 140, 0.25); /* 3D dark navy base shadow */
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-primary:hover::before {
  left: 125%;
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px); /* Lift up slightly */
  box-shadow: 0 8px 0 #052646, 0 12px 25px rgba(10, 77, 140, 0.4); /* Expands 3D depth shadow */
}

/* 3D Clicky Push effect on Click */
.btn-primary:active {
  transform: translateY(4px); /* Pushes down by 4px */
  box-shadow: 0 2px 0 #052646, 0 4px 10px rgba(10, 77, 140, 0.2); /* Absorbs 3D base depth */
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary-blue);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--primary-blue);
  border-bottom-width: 6px; /* Thicker bottom border acts as 3D base */
  cursor: pointer;
  transition: var(--transition-fast);
  transform: translateY(0);
}

.btn-secondary:hover {
  background-color: rgba(10, 77, 140, 0.04);
  transform: translateY(-2px);
  border-bottom-width: 8px; /* Expands 3D depth */
}

.btn-secondary:active {
  transform: translateY(4px); /* Pushes down by 4px */
  border-bottom-width: 2px; /* Absorbs 3D base depth */
}

/* Pulsating WhatsApp CTA */
.btn-whatsapp {
  background: #25D366;
  box-shadow: 0 6px 0 #1B9D4C, 0 8px 20px rgba(37, 211, 102, 0.25); /* 3D bottom base shadow */
  animation: pulse-whatsapp-3d 2s infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(0);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #1B9D4C, 0 12px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
  transform: translateY(4px); /* Pushes down by 4px */
  box-shadow: 0 2px 0 #1B9D4C, 0 4px 10px rgba(37, 211, 102, 0.2);
}

@keyframes pulse-whatsapp-3d {
  0% {
    box-shadow: 0 6px 0 #1B9D4C, 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 6px 0 #1B9D4C, 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 6px 0 #1B9D4C, 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- NAVIGATION HEADER --- */
.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 77, 140, 0.08);
  transition: var(--transition-smooth);
}

.header-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-cyan));
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(10, 77, 140, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-item a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

/* Fix navbar Book Now button text color and hover underline bugs */
.nav-item a.btn-primary {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

.nav-item a.btn-primary::after {
  display: none !important;
}

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

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

.nav-item.active a {
  color: var(--primary-blue);
}

.nav-btn {
  padding: 10px 20px !important;
  font-size: 0.85rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* --- THE STICKY FOOTER --- */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(2, 15, 29, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.sticky-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.sticky-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-text strong {
  color: var(--neon-cyan);
}

.sticky-btns {
  display: flex;
  gap: 12px;
}

.sticky-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.sticky-btn-call {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-btn-call:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- HERO CORE & SPLIT ANIMATIONS --- */
.hero-wrapper {
  padding-top: 120px;
  min-height: 95vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 1) 0%, rgba(241, 245, 249, 0.6) 90%);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal-hero-text 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-subtitle::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-blue);
}

.hero-headline {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--bg-dark);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-headline span {
  background: linear-gradient(135deg, var(--primary-blue) 30%, var(--secondary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Animations Split Screen */
.hero-animation-pane {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 480px;
}

.animation-container-3d {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glowing Mind SVG Left Side Hero Styling */
.mind-svg-container {
  position: absolute;
  width: 320px;
  height: 320px;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(10, 77, 140, 0.15));
}

.mind-pulse-glow {
  transform-origin: center;
  animation: pulse-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(75, 156, 211, 0.3));
    opacity: 0.8;
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(75, 156, 211, 0.8));
    opacity: 1;
  }
}

/* Rotating DNA Strand Right Side Styling */
.dna-svg-container {
  position: absolute;
  width: 120px;
  height: 360px;
  right: 10%;
  transform: rotate(15deg);
  z-index: 1;
  opacity: 0.9;
}

.dna-rotate-animation {
  animation: rotate-dna 12s linear infinite;
  transform-origin: center;
}

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

@keyframes reveal-hero-text {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- QUICK SERVICES SECTION --- */
.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-cyan);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: inline-block;
}

.section-main-title {
  font-size: 2.25rem;
  color: var(--bg-dark);
  font-weight: 800;
}

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

.services-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hover-card-service {
  background: var(--bg-card-light);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(10, 77, 140, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hover-card-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.hover-card-service:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 77, 140, 0.08);
  border-color: rgba(10, 77, 140, 0.15);
}

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

.card-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(10, 77, 140, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  color: var(--primary-blue);
  transition: var(--transition-smooth);
}

.hover-card-service:hover .card-icon-container {
  background: var(--primary-blue);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(10, 77, 140, 0.2);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--bg-dark);
  font-weight: 700;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.card-link-arrow {
  margin-top: auto;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-link-arrow span {
  transition: var(--transition-fast);
}

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

/* Microscope animated SVG hover styles */
.microscope-base { transform-origin: center; transition: var(--transition-smooth); }
.hover-card-service:hover .microscope-base { transform: rotate(-5deg); }
.microscope-lens { transform-origin: 18px 12px; transition: var(--transition-smooth); }
.hover-card-service:hover .microscope-lens { transform: translateY(2px) scale(0.95); }

/* Calm Mind SVG Breathing Ring hover styles */
.breathing-ring { transform-origin: 24px 24px; animation: breathing-pulse 4s ease-in-out infinite; }
.hover-card-service:hover .breathing-ring { animation: breathing-pulse 1.5s ease-in-out infinite; }
@keyframes breathing-pulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.9; }
  100% { transform: scale(0.9); opacity: 0.4; }
}

/* Heartbeat line animation */
.heartbeat-wave {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: heartbeat-anim 3s linear infinite;
}
.hover-card-service:hover .heartbeat-wave {
  animation: heartbeat-anim 1.5s linear infinite;
}
@keyframes heartbeat-anim {
  to {
    stroke-dashoffset: 0;
  }
}

/* --- HIGH-TECH INFRASTRUCTURE & PARALLAX --- */
.parallax-infra-section {
  position: relative;
  height: 600px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(rgba(3, 24, 46, 0.8), rgba(3, 24, 46, 0.85)), url('../assets/blood_analyzer_bg.png');
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: white;
}

/* Fallback for iOS/Touch which doesn't support fixed background attachment */
@media (max-width: 1024px) {
  .parallax-infra-section {
    background-attachment: scroll;
  }
}

.parallax-content {
  text-align: center;
  z-index: 3;
  padding: 24px;
}

.glowing-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.8) 50%, rgba(34, 211, 238, 0));
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.8);
  animation: scan-vertical 5s linear infinite;
}

@keyframes scan-vertical {
  0% { top: 0%; }
  100% { top: 100%; }
}

.parallax-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-headline.visible {
  opacity: 1;
  transform: scale(1);
}

.parallax-desc {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text-light-muted);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.parallax-desc.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- PAGE 2: MIND CARE CLINIC (MIND STYLE) --- */
.body-mind-care {
  background-color: #F0F4F8;
}

.theme-mind-blue {
  color: var(--primary-blue);
}

.mind-hero-section {
  padding-top: 140px;
  background: linear-gradient(180deg, #E2ECF5 0%, #F0F4F8 100%);
  position: relative;
  overflow: hidden;
}

.mind-wire-box {
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Untangling Wire SVG Animations */
.tangled-wire {
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  animation: draw-tangle 8s ease-in-out infinite alternate;
}

.untangled-wire {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: draw-untangle 8s ease-in-out infinite alternate;
}

.glowing-bulb-outline {
  opacity: 0.2;
  transition: var(--transition-smooth);
  animation: bulb-glow-toggle 8s ease-in-out infinite alternate;
}

.bulb-light-rays {
  opacity: 0;
  animation: rays-active 8s ease-in-out infinite alternate;
}

@keyframes draw-tangle {
  0%, 30% { stroke-dashoffset: 0; opacity: 1; }
  70%, 100% { stroke-dashoffset: 1000; opacity: 0.1; }
}

@keyframes draw-untangle {
  0%, 30% { stroke-dashoffset: 800; opacity: 0.1; }
  70%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes bulb-glow-toggle {
  0%, 45% { opacity: 0.15; fill: none; filter: none; }
  70%, 100% { opacity: 1; fill: rgba(254, 240, 138, 0.4); filter: drop-shadow(0 0 15px rgba(253, 224, 71, 0.8)); }
}

@keyframes rays-active {
  0%, 55% { opacity: 0; }
  70%, 100% { opacity: 1; }
}

/* The Expert Portrait Scroll Reveal Section */
.expert-profile-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.reveal-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255,255,255,0.5);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 77, 140, 0) 60%, rgba(10, 77, 140, 0.4) 100%);
  z-index: 1;
}

.expert-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-frame:hover .expert-img {
  transform: scale(1.08);
}

.expert-tag-badge {
  background: rgba(10, 77, 140, 0.1);
  color: var(--primary-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}

.expert-headline {
  font-size: 2.5rem;
  color: var(--bg-dark);
  margin-bottom: 20px;
}

.expert-intro-p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

.expert-bullet-list {
  list-style: none;
  margin-bottom: 30px;
}

.expert-bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.expert-bullet-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

/* Services Grid with Subtle Floating Animations */
.services-floating-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.float-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(10, 77, 140, 0.03);
  border: 1px solid rgba(10, 77, 140, 0.04);
  transition: var(--transition-smooth);
}

.float-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(10, 77, 140, 0.08);
}

.float-card-1 { animation: subtle-float 6s ease-in-out infinite; }
.float-card-2 { animation: subtle-float 6s ease-in-out infinite 2s; }
.float-card-3 { animation: subtle-float 6s ease-in-out infinite 4s; }

@keyframes subtle-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Broken Chain Animation */
.broken-chain-link-1 {
  transform-origin: 16px 20px;
  transition: var(--transition-smooth);
}
.broken-chain-link-2 {
  transform-origin: 32px 28px;
  transition: var(--transition-smooth);
}
.float-card:hover .broken-chain-link-1 {
  transform: translate(-4px, -4px) rotate(-15deg);
}
.float-card:hover .broken-chain-link-2 {
  transform: translate(4px, 4px) rotate(15deg);
}

/* Confidentiality Shield */
.confidentiality-shield-badge {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-blue));
  border-radius: 24px;
  padding: 48px;
  color: white;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.confidentiality-shield-badge::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(75, 156, 211, 0.15) 0%, rgba(255,255,255,0) 70%);
  bottom: -100px;
  right: -50px;
}

.shield-anim-svg {
  width: 96px;
  height: 96px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.4));
  animation: gentle-pulse-shield 3s ease-in-out infinite alternate;
}

@keyframes gentle-pulse-shield {
  0% { transform: scale(0.95); filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.3)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.8)); }
}

/* --- PAGE 3: ADVANCED DIAGNOSTICS & ULTRASOUND --- */
.theme-cyan-accent {
  color: var(--secondary-cyan);
}

.cyan-hero-showcase {
  background: var(--bg-darker);
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  padding-top: 100px;
}

.ultrasound-zoom-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, rgba(2, 15, 29, 0.7) 0%, rgba(2, 15, 29, 0.95) 100%), url('../assets/ultrasound_machine.png');
  background-size: cover;
  background-position: center;
  animation: cinematic-slow-zoom 20s infinite alternate linear;
  z-index: 1;
}

@keyframes cinematic-slow-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

.cyan-hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
}

/* Floating Heart Bubbles Animation */
.corner-welcoming-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.khushboo-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.floating-heart-bubbles-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.floating-bubble {
  position: absolute;
  bottom: -20px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.7), rgba(255, 105, 180, 0.3));
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset -2px -2px 6px rgba(0,0,0,0.1);
  animation: float-up-bubble 7s linear infinite;
}

.floating-bubble::before {
  content: '♥';
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  position: absolute;
  top: 25%;
  left: 30%;
}

@keyframes float-up-bubble {
  0% { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-380px) translateX(30px) scale(1.1); opacity: 0; }
}

/* Technology Slider (Machine Gallery) */
.gallery-viewport {
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  background: white;
}

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

.gallery-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 40px;
  align-items: center;
}

.slide-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tech-tag {
  color: var(--secondary-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.slide-title {
  font-size: 1.8rem;
  color: var(--bg-dark);
  margin-bottom: 16px;
}

.slide-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.gallery-nav-btns {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
  padding-right: 10px;
}

.gallery-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(10, 77, 140, 0.1);
  color: var(--primary-blue);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.gallery-arrow:hover {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 8px 15px rgba(10, 77, 140, 0.15);
}

/* 3-Tier Health Packages */
.pricing-grid-3tier {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 48px 36px;
  border: 1px solid rgba(10, 77, 140, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(10, 77, 140, 0.08);
  border-color: rgba(10, 77, 140, 0.15);
}

.pricing-card.premium-featured {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: white;
  border: none;
  box-shadow: 0 15px 40px rgba(10, 77, 140, 0.2);
}

.pricing-card.premium-featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--secondary-cyan);
  color: var(--bg-darker);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-badge {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--secondary-cyan);
  margin-bottom: 12px;
}

.pricing-card.premium-featured .pricing-badge {
  color: var(--neon-cyan);
}

.pricing-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--bg-dark);
}

.pricing-card.premium-featured .pricing-title {
  color: white;
}

.pricing-cost {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card.premium-featured .pricing-cost {
  color: var(--neon-cyan);
}

.pricing-cost span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card.premium-featured .pricing-cost span {
  color: var(--text-light-muted);
}

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

.pricing-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-card.premium-featured .pricing-list li {
  color: var(--text-light-muted);
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 800;
  font-size: 1.1rem;
}

.pricing-list.has-svg-bullets li {
  padding-left: 0;
}

.pricing-list.has-svg-bullets li::before {
  display: none !important;
}

.pricing-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* --- PAGE 4: ABOUT US & THE EXPERTS --- */
/* Interactive Story Timeline */
.timeline-block {
  position: relative;
  padding: 60px 0;
}

.timeline-line-path {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: rgba(10, 77, 140, 0.1);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-fill {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, var(--primary-blue), var(--secondary-cyan));
  transform: translateX(-50%);
  z-index: 2;
  transition: height 0.1s ease;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 3;
  margin-bottom: 40px;
}

.timeline-row:nth-child(even) .timeline-col-info {
  grid-column: 2;
  text-align: left;
}

.timeline-row:nth-child(even) .timeline-col-date {
  grid-column: 1;
  text-align: right;
  justify-content: flex-end;
}

.timeline-col-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-row:nth-child(odd) .timeline-col-info {
  align-items: flex-end;
  text-align: right;
}

.timeline-col-date {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(10, 77, 140, 0.15);
  transition: var(--transition-smooth);
}

.timeline-row:nth-child(odd) .timeline-col-date {
  grid-column: 2;
}

.timeline-node-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 4px solid rgba(10, 77, 140, 0.2);
  transform: translate(-50%, -50%);
  z-index: 4;
  transition: var(--transition-smooth);
}

.timeline-row.active .timeline-col-info {
  opacity: 1;
  transform: translateY(0);
}

.timeline-row.active .timeline-col-date {
  color: var(--primary-blue);
  text-shadow: 0 0 10px rgba(10, 77, 140, 0.1);
}

.timeline-row.active .timeline-node-dot {
  background: var(--primary-blue);
  border-color: var(--secondary-cyan);
  box-shadow: 0 0 15px var(--secondary-cyan);
  transform: translate(-50%, -50%) scale(1.2);
}

.timeline-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
  border: 1px solid rgba(10, 77, 140, 0.05);
  max-width: 480px;
}

.timeline-card h3 {
  font-size: 1.4rem;
  color: var(--bg-dark);
  margin-bottom: 10px;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 3D Flip Card Team Showcase */
.team-flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.flip-box {
  background-color: transparent;
  width: 100%;
  height: 440px;
  perspective: 1000px; /* 3D perspective effect */
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.flip-box-front {
  background-color: white;
  border: 1px solid rgba(10, 77, 140, 0.05);
}

.flip-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.flip-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-front-info {
  padding: 20px 15px;
}

.flip-front-info h3 {
  font-size: 1.25rem;
  color: var(--bg-dark);
  margin-bottom: 4px;
}

.flip-front-info p {
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flip-box-back {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  color: white;
  transform: rotateY(180deg);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.flip-back-title {
  font-size: 1.4rem;
  color: var(--neon-cyan);
  margin-bottom: 6px;
}

.flip-back-subtitle {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.flip-back-degree {
  background: rgba(255,255,255,0.08);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

.flip-back-detail-list {
  list-style: none;
  text-align: center;
  width: 100%;
}

.flip-back-detail-list li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.flip-back-detail-list li strong {
  color: white;
}

/* Virtual Tour Auto-Scrolling Carousel */
.tour-carousel-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.tour-carousel-track {
  display: flex;
  width: calc(250px * 10); /* Accommodate slides duplication */
  animation: scroll-carousel-infinite 30s linear infinite;
}

.tour-carousel-track:hover {
  animation-play-state: paused;
}

.tour-slide {
  width: 320px;
  height: 240px;
  flex-shrink: 0;
  padding: 0 10px;
}

.tour-slide-inner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tour-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.tour-slide-inner:hover img {
  transform: scale(1.1);
}

.tour-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(0deg, rgba(2, 15, 29, 0.8) 0%, rgba(2, 15, 29, 0) 100%);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

@keyframes scroll-carousel-infinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-320px * 4)); }
}

/* --- PAGE 5: CONTACT & BOOK APPOINTMENT --- */
.contact-hero-bounce {
  text-align: center;
  padding: 100px 24px 60px 24px;
  background: radial-gradient(circle at top, rgba(75, 156, 211, 0.1) 0%, rgba(255,255,255,0) 80%);
}

.bouncing-pin-wrap {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
  position: relative;
}

.bouncing-pin-svg {
  width: 64px;
  height: 64px;
  color: var(--primary-blue);
  filter: drop-shadow(0 4px 10px rgba(10, 77, 140, 0.2));
  animation: bounce-pin 2s ease-in-out infinite;
}

.bouncing-pin-shadow {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 6px;
  background: rgba(10, 77, 140, 0.15);
  border-radius: 50%;
  animation: shadow-fade 2s ease-in-out infinite;
}

@keyframes bounce-pin {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

@keyframes shadow-fade {
  0% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(0.6); opacity: 0.4; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Smart Contact Form & Success Animations */
.contact-grid-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.smart-form-box {
  background: white;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(10, 77, 140, 0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field.full-width {
  grid-column: span 2;
}

.form-field label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(10, 77, 140, 0.15);
  background: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(10, 77, 140, 0.08);
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* Success Checkmark overlay states */
.success-overlay-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

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

.success-checkmark-svg {
  width: 100px;
  height: 100px;
  color: var(--accent-green);
  filter: drop-shadow(0 0 15px var(--accent-green-glow));
  margin-bottom: 24px;
  transform: scale(0.5);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay-form.active .success-checkmark-svg {
  transform: scale(1.1);
}

.success-h3 {
  font-size: 1.8rem;
  color: var(--bg-dark);
  margin-bottom: 10px;
}

.success-p {
  color: var(--text-muted);
  max-width: 320px;
  text-align: center;
}

/* Split Responsive Dual Google Maps */
.maps-dual-box {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.map-card-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 77, 140, 0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.map-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(10, 77, 140, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
}

.map-card-icon {
  color: var(--primary-blue);
  font-size: 1.4rem;
}

.map-card-header-info h4 {
  font-size: 1.1rem;
  color: var(--bg-dark);
  margin-bottom: 4px;
}

.map-card-header-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* --- FOOTER & CONTACT INFO --- */
.site-footer {
  background: var(--bg-darker);
  color: white;
  padding: 80px 24px 140px 24px; /* Added spacing at bottom to prevent overlap with sticky footer */
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid-4col {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: white;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--secondary-cyan);
}

.footer-logo-wrap {
  margin-bottom: 20px;
}

.footer-about-text {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

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

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

.footer-links-list a {
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--secondary-cyan);
  padding-left: 4px;
}

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

.footer-contact-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-contact-list li span {
  position: absolute;
  left: 0;
  color: var(--secondary-cyan);
}

.footer-credits-section {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--text-light-muted);
  font-size: 0.85rem;
}

/* --- SCROLL REVEAL CLASSIFICATION --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .services-grid-3col,
  .services-floating-grid,
  .pricing-grid-3tier,
  .team-flip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-split {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-animation-pane {
    height: 380px;
  }
  
  .dna-svg-container {
    right: 20%;
  }
  
  .expert-profile-section,
  .corner-welcoming-section,
  .contact-grid-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .expert-img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 998;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .header-navbar {
    background: white;
  }
  
  .services-grid-3col,
  .services-floating-grid,
  .pricing-grid-3tier,
  .team-flip-grid,
  .footer-grid-4col {
    grid-template-columns: 1fr;
  }
  
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  
  .form-field.full-width {
    grid-column: span 1;
  }
  
  .timeline-line-path,
  .timeline-line-fill {
    left: 20px;
  }
  
  .timeline-node-dot {
    left: 20px;
  }
  
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 45px;
    margin-bottom: 30px;
  }
  
  .timeline-row:nth-child(even) .timeline-col-info,
  .timeline-row:nth-child(odd) .timeline-col-info {
    grid-column: 1;
    align-items: flex-start;
    text-align: left;
  }
  
  .timeline-row:nth-child(even) .timeline-col-date,
  .timeline-row:nth-child(odd) .timeline-col-date {
    grid-column: 1;
    text-align: left;
    justify-content: flex-start;
    font-size: 2.25rem;
  }
  
  .sticky-footer-container {
    flex-direction: column;
    padding: 10px 15px;
    gap: 8px;
    text-align: center;
  }
  
  .sticky-text {
    font-size: 0.8rem;
  }
  
  .sticky-btns {
    width: 100%;
    justify-content: center;
  }
  
  .sticky-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  .site-footer {
    padding-bottom: 160px; /* Space for stacked sticky footer */
  }
  
  .gallery-slide {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .slide-img-wrap {
    height: 220px;
  }
}

/* --- ADDITIONAL HERO VECTOR ANIMATIONS --- */
@keyframes stress-vibration {
  0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 4px rgba(75, 156, 211, 0.3)); }
  100% { transform: scale(1.02) rotate(1deg); filter: drop-shadow(0 0 8px rgba(75, 156, 211, 0.6)); }
}

@keyframes bulb-glow {
  0% { filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.3)); opacity: 0.8; }
  100% { filter: drop-shadow(0 0 22px rgba(245, 158, 11, 0.9)); opacity: 1; }
}

/* --- BRAND-NEW MOTION DESIGN OVERHAUL STYLES --- */

/* 1. Advantages Card & Micro-Animations */
.gear-spin-clockwise {
  transform-origin: center;
  animation: spin-clockwise 10s linear infinite;
}
.gear-spin-counter {
  transform-origin: center;
  animation: spin-counter 8s linear infinite;
}
.float-card:hover .gear-spin-clockwise,
.hover-card-service:hover .gear-spin-clockwise {
  animation-duration: 4s; /* Speed up on hover */
}
.float-card:hover .gear-spin-counter,
.hover-card-service:hover .gear-spin-counter {
  animation-duration: 3s;
}

@keyframes spin-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes spin-counter {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.lock-shackle {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}
.float-card:hover .lock-shackle,
.hover-card-service:hover .lock-shackle {
  transform: translateY(3.5px);
}
.shield-lock-body {
  transition: filter 0.4s ease, fill 0.4s ease;
}
.float-card:hover .shield-lock-body,
.hover-card-service:hover .shield-lock-body {
  filter: drop-shadow(0 0 8px var(--accent-green-glow));
}

.report-paper {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.float-card:hover .report-paper,
.hover-card-service:hover .report-paper {
  transform: scale(1.05) translateY(-2px);
}
.report-checkmark {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.float-card:hover .report-checkmark,
.hover-card-service:hover .report-checkmark {
  stroke-dashoffset: 0;
}
.report-speed-line {
  stroke-dasharray: 12;
  stroke-dashoffset: 12;
  transition: stroke-dashoffset 0.5s ease 0.05s;
}
.float-card:hover .report-speed-line,
.hover-card-service:hover .report-speed-line {
  stroke-dashoffset: 0;
}

/* 2. Holographic Diagnostics Core (Home Hero) */
.holo-heartbeat-wave {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-heartbeat 3.5s linear infinite;
}
@keyframes draw-heartbeat {
  0% { stroke-dashoffset: 600; }
  35% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.holo-circle-glow {
  transform-origin: center;
  animation: pulse-ring 3s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}
@keyframes pulse-ring {
  0% { transform: scale(0.96); opacity: 0.35; }
  100% { transform: scale(1.04); opacity: 0.9; }
}

.holo-data-coords {
  font-family: monospace;
  font-size: 8px;
  fill: var(--neon-cyan);
  opacity: 0.7;
  animation: coordinate-blink 2s steps(4) infinite;
}
@keyframes coordinate-blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.85; }
}

.holo-dna-strand {
  transform-origin: center;
  animation: vertical-dna-rotate 15s linear infinite;
}
@keyframes vertical-dna-rotate {
  0% { transform: rotate(0deg) scale(0.92); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(0.92); }
}

/* 3. Blooming Lotus & Neural Biosensor (Mind Care Hero) */
.lotus-petal {
  transform-origin: 200px 150px;
  animation: lotus-breath 6s ease-in-out infinite alternate;
}
.lotus-petal:nth-child(even) {
  animation-delay: 1.5s;
}
@keyframes lotus-breath {
  0% { transform: scale(0.95) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.05) rotate(3deg); opacity: 1; }
}

.stress-wave-input {
  stroke-dasharray: 20;
  animation: flow-stress 1.2s linear infinite;
}
@keyframes flow-stress {
  to { stroke-dashoffset: -40; }
}

.calm-wave-output {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: flow-calm 6s cubic-bezier(0.16, 1, 0.3, 1) infinite forwards;
}
@keyframes flow-calm {
  0% { stroke-dashoffset: 100; opacity: 0.2; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0.2; }
}

.mind-lotus-center {
  animation: pulse-lotus-glow 3s infinite alternate;
}
@keyframes pulse-lotus-glow {
  0% { filter: drop-shadow(0 0 4px var(--neon-cyan)); }
  100% { filter: drop-shadow(0 0 15px var(--neon-cyan)); }
}

/* Mind Care Cards Custom Nodes */
.brain-pulsing-aura {
  transform-origin: center;
  animation: brain-glow-ring 3s ease-in-out infinite alternate;
}
@keyframes brain-glow-ring {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.08); opacity: 0.9; }
}

.expanding-family-dot {
  transform-origin: center;
  animation: node-bubble-bounce 4s ease-in-out infinite;
}
.expanding-family-dot:nth-child(2) {
  animation-delay: 1.5s;
}
@keyframes node-bubble-bounce {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.15) translateY(-3px); }
}

/* 4. Sonar Sweep & Doppler Pulse Panel (Diagnostics Hero) */
.sonar-sweep-line {
  transform-origin: 200px 150px;
  animation: sonar-scan 4s linear infinite;
}
@keyframes sonar-scan {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fetal-pulse {
  transform-origin: 200px 150px;
  animation: baby-pulse-heart 2s ease-in-out infinite alternate;
}
@keyframes baby-pulse-heart {
  0% { transform: scale(0.98); opacity: 0.75; filter: drop-shadow(0 0 3px var(--neon-cyan)); }
  100% { transform: scale(1.02); opacity: 1; filter: drop-shadow(0 0 15px var(--neon-cyan)); }
}

.doppler-wave-flow {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: flow-doppler 3.5s linear infinite;
}
@keyframes flow-doppler {
  to { stroke-dashoffset: 0; }
}

.sonar-ring-pulse {
  transform-origin: 200px 150px;
  animation: ring-ripple 3.5s ease-out infinite;
}
@keyframes ring-ripple {
  0% { r: 10; opacity: 0.8; stroke-width: 1px; }
  100% { r: 90; opacity: 0; stroke-width: 2px; }
}

/* Package List Bullet Icons */
.pkg-bullet-svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  vertical-align: middle;
  margin-right: 8px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pricing-card:hover .pkg-bullet-svg {
  transform: scale(1.25) rotate(8deg);
}

/* 5. About Story Timeline SVG Animations */
.beaker-liquid {
  animation: bubble-liquid-wave 4s ease-in-out infinite alternate;
  transform-origin: bottom center;
}
@keyframes bubble-liquid-wave {
  0% { transform: skewX(-2.5deg); }
  100% { transform: skewX(2.5deg); }
}

.beaker-bubble {
  animation: rise-bubble 3.2s ease-in infinite;
}
.beaker-bubble:nth-child(2) { animation-delay: 0.9s; }
.beaker-bubble:nth-child(3) { animation-delay: 1.8s; }
@keyframes rise-bubble {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-28px) scale(1.15); opacity: 0; }
}

.synapse-flash-node {
  animation: node-flash 2.5s ease-in-out infinite alternate;
  transform-origin: center;
}
.synapse-flash-node:nth-child(even) {
  animation-delay: 1.25s;
}
@keyframes node-flash {
  0% { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.network-line-pulse {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: pulse-network-line 3s linear infinite;
}
@keyframes pulse-network-line {
  to { stroke-dashoffset: -40; }
}

/* 6. Contact Micro-Animations */
.phone-shake {
  transform-origin: center;
}
.btn-primary:hover .phone-shake,
.sticky-btn:hover .phone-shake,
.map-card-item:hover .phone-shake,
.footer-contact-list li:hover .phone-shake {
  animation: shake-vibrate 0.4s ease infinite;
}
@keyframes shake-vibrate {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}

.mail-flap {
  transform-origin: top center;
  transition: transform 0.4s ease;
}
.footer-contact-list li:hover .mail-flap {
  transform: rotateX(160deg);
}

.nav-brand:hover .brand-logo-circle {
  animation: heart-beat-brand 0.8s ease infinite;
}
@keyframes heart-beat-brand {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.08); }
  60% { transform: scale(1.02); }
}

