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

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Sky Blue Palette */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
  --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #bae6fd 60%, #f0f9ff 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(224,242,254,0.6) 100%);
  --gradient-dark: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
  --gradient-text: linear-gradient(135deg, #0369a1, #0ea5e9, #38bdf8);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(14, 165, 233, 0.08);
  --shadow-md: 0 4px 12px rgba(14, 165, 233, 0.12);
  --shadow-lg: 0 8px 30px rgba(14, 165, 233, 0.15);
  --shadow-xl: 0 20px 60px rgba(14, 165, 233, 0.2);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.3);

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

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

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

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

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
  outline: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-700);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

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

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

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

/* Gradient text utility */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

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

.btn-outline:hover {
  background: var(--primary-50);
  border-color: var(--primary-500);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Glass card */
.glass-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(186, 230, 253, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.3);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger delays */
.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; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(14, 165, 233, 0.1);
  padding: 10px 0;
  border-bottom: 1px solid rgba(186, 230, 253, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.nav-brand-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-brand-text span {
  font-size: 0.72rem;
  color: var(--primary-600);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  font-weight: 600 !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4) !important;
  background: var(--gradient-primary) !important;
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 4px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== CUSTOM MEDICAL / INTERACTIVE CURSOR ===== */
@media (pointer: fine) {
  body {
    cursor: default;
  }
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  background: #0ea5e9;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.04s ease;
  box-shadow: 0 0 10px #38bdf8, 0 0 20px rgba(14, 165, 233, 0.7);
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  margin-left: -18px;
  border: 1.5px solid rgba(14, 165, 233, 0.6);
  background: rgba(14, 165, 233, 0.04);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              margin 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease, 
              border-color 0.25s ease, 
              opacity 0.3s ease;
  will-change: transform;
}

.custom-cursor-ring.cursor-hover {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  background: rgba(14, 165, 233, 0.14);
  border-color: #38bdf8;
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.4);
}

.custom-cursor-ring.cursor-clicking {
  width: 28px;
  height: 28px;
  margin-top: -14px;
  margin-left: -14px;
  background: rgba(14, 165, 233, 0.35);
  border-color: #0284c7;
}

@media (pointer: coarse), (max-width: 768px) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* ===== FOOTER (ATTRACTIVE & STATE-OF-THE-ART) ===== */
.footer {
  background: radial-gradient(ellipse at 85% 0%, rgba(14, 165, 233, 0.14) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 100%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
              linear-gradient(180deg, #070d1e 0%, #030712 100%);
  color: var(--white);
  padding: 85px 0 0;
  position: relative;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 0;
  border-top: 1px solid rgba(14, 165, 233, 0.2);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 35%, #10b981 70%, #0ea5e9 100%);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.7);
}

.footer-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.12) 0%, transparent 75%);
  pointer-events: none;
}

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

/* Footer Brand Column */
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-clinic-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0 0 2px 0;
}

.footer-founder-tag {
  font-size: 0.76rem;
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: block;
}

.footer-bio {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-cert-pill .cert-dot {
  font-size: 0.7rem;
  animation: pulseDot 2s infinite;
}

/* Modern Social Buttons */
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials .social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-socials .social-link:hover {
  transform: translateY(-4px) scale(1.05);
  color: #ffffff;
}

.footer-socials .social-link.fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.footer-socials .social-link.insta:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
}

.footer-socials .social-link.yt:hover {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.footer-socials .social-link.wa:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Links Columns */
.footer-col h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 0.3px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, #0ea5e9, #10b981);
  border-radius: 999px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-links-list li a .arrow {
  color: #0ea5e9;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.footer-links-list li a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-links-list li a:hover .arrow {
  transform: translateX(3px);
  color: #38bdf8;
}

/* Contact Cards in Footer */
.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.footer-contact-item:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.35);
  transform: translateY(-2px);
}

.footer-contact-item .icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.footer-contact-item strong {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-item span {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-bottom-left strong {
  color: rgba(255, 255, 255, 0.85);
}

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

.patient-care-tag {
  font-size: 0.78rem;
  color: #38bdf8;
  font-weight: 500;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #38bdf8;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.page-header .breadcrumb a {
  color: var(--primary-600);
}

.page-header .breadcrumb span {
  color: var(--gray-400);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--white);
  border: 1px solid var(--primary-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-500);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== SVG ICONS INLINE ===== */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   DYNAMIC CONSULTATION POPUP MODAL (Matching Image Layout)
   ========================================== */
.enquiry-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

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

.enquiry-modal-card {
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 660px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 70px -15px rgba(15, 23, 42, 0.4);
  position: relative;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.enquiry-modal-overlay.active .enquiry-modal-card {
  transform: scale(1) translateY(0);
}

/* Top Banner Header */
.enquiry-modal-banner-wrapper {
  padding: 10px 10px 0 10px;
  position: relative;
  flex-shrink: 0;
}

.enquiry-modal-banner {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #3b82f6 100%);
  border-radius: 18px;
  padding: 16px 20px;
  position: relative;
  color: #ffffff;
  overflow: hidden;
  min-height: 115px;
  display: flex;
  align-items: center;
}

.enquiry-modal-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.modal-banner-text {
  width: 62%;
  position: relative;
  z-index: 2;
}

.modal-banner-text h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.modal-banner-text p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  font-weight: 400;
}

.modal-doctor-img {
  position: absolute;
  right: -10px;
  bottom: -5px;
  height: 140px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(-4px 8px 12px rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  background: #ffffff;
  color: #1e293b;
  border-radius: 50%;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  transform: scale(1.1) rotate(90deg);
  background: #f1f5f9;
}

/* Form Body */
.enquiry-modal-body {
  padding: 18px 24px 22px 24px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.enquiry-modal-body::-webkit-scrollbar {
  width: 5px;
}

.enquiry-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.enquiry-form-group {
  margin-bottom: 14px;
  position: relative;
}

.enquiry-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 3px;
}

.enquiry-input-control {
  width: 100%;
  padding: 6px 0;
  border: none;
  border-bottom: 1.5px solid #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  color: #0f172a;
  background: transparent;
  transition: border-color 0.3s ease;
}

.enquiry-input-control:focus {
  outline: none;
  border-bottom-color: #6366f1;
}

.enquiry-input-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.enquiry-select-control {
  width: 100%;
  padding: 6px 0;
  border: none;
  border-bottom: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  color: #0f172a;
  background: transparent;
  cursor: pointer;
}

.enquiry-select-control:focus {
  outline: none;
  border-bottom-color: #6366f1;
}

.btn-enquiry-submit {
  padding: 10px 32px;
  background: transparent;
  border: 1.5px solid #6366f1;
  color: #6366f1;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-enquiry-submit:hover {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}

/* Success View inside Modal */
.enquiry-success-view {
  text-align: center;
  padding: 30px 20px;
  display: none;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
  animation: pulse 1.5s infinite;
}

.enquiry-success-view h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.enquiry-success-view p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
}

/* Floating Quick Ask Button (Bottom Left) */
.floating-enquiry-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-enquiry-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.floating-enquiry-btn .dot-pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
  animation: pulse 1.8s infinite;
}

/* Screen Height Adjustments (Small Laptops / Mobile Screens) */
@media (max-height: 720px) {
  .enquiry-modal-card {
    max-height: 94vh;
  }
  .enquiry-modal-banner {
    min-height: 95px;
    padding: 12px 16px;
  }
  .modal-banner-text h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .modal-banner-text p {
    font-size: 0.74rem;
  }
  .modal-doctor-img {
    height: 115px;
    right: -5px;
  }
  .enquiry-modal-body {
    padding: 14px 20px 18px 20px;
  }
  .enquiry-form-group {
    margin-bottom: 10px;
  }
  .enquiry-form-group label {
    font-size: 0.76rem;
    margin-bottom: 2px;
  }
  .enquiry-input-control, .enquiry-select-control {
    padding: 4px 0;
    font-size: 0.86rem;
  }
  .btn-enquiry-submit {
    padding: 8px 28px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .enquiry-modal-card {
    border-radius: 20px;
  }
  .enquiry-modal-banner {
    min-height: 105px;
    padding: 14px 16px;
    border-radius: 14px;
  }
  .modal-banner-text {
    width: 65%;
  }
  .modal-banner-text h3 {
    font-size: 1.02rem;
  }
  .modal-doctor-img {
    height: 125px;
    right: -5px;
  }
  .enquiry-modal-body {
    padding: 14px 18px 18px 18px;
  }
  .floating-enquiry-btn span:not(.dot-pulse) {
    display: none;
  }
  .floating-enquiry-btn {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ===== FAQ SECTION (Shared) ===== */
.faq-section {
  background: var(--white);
}

.faq-wrapper {
  max-width: 850px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.faq-item.active {
  background: var(--white);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  gap: 16px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-base);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

