/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* PRIMARY — Deep Medical Navy */
  --primary-50:  #f0f4f8;
  --primary-100: #d9e2ec;
  --primary-200: #bcccdc;
  --primary-300: #9fb3c8;
  --primary-400: #829ab1;
  --primary-500: #627d98;  /* Secondary text */
  --primary-600: #486581;  /* Body text */
  --primary-700: #334e68;  /* Headings */
  --primary-800: #243b53;  /* Dark headings */
  --primary-900: #102a43;  /* Primary brand */

  /* ACCENT — Medical Teal */
  --accent-50:  #f0fdfa;
  --accent-100: #ccfbf1;
  --accent-200: #99f6e4;
  --accent-300: #5eead4;
  --accent-400: #2dd4bf;
  --accent-500: #14b8a6;
  --accent-600: #0d9488;   /* Primary CTA */
  --accent-700: #0f766e;
  --accent-800: #115e59;
  --accent-900: #134e4a;

  /* PREMIUM — Warm Gold */
  --gold-500: #c9a227;
  --gold-600: #b8941f;

  /* NEUTRAL */
  --white: #ffffff;
  --cream: #faf9f7;        /* Section backgrounds */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* SEMANTIC */
  --success: #059669;
  --warning: #d97706;
  --error: #dc2626;

  /* TYPOGRAPHY */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */

  /* Line heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Letter spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;

  /* SPACING SYSTEM (8px Base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* SHADOWS */
  --shadow-sm: 0 1px 2px 0 rgba(16, 42, 67, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(16, 42, 67, 0.07), 0 2px 4px -1px rgba(16, 42, 67, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(16, 42, 67, 0.08), 0 4px 6px -2px rgba(16, 42, 67, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(16, 42, 67, 0.1), 0 10px 10px -5px rgba(16, 42, 67, 0.04);
  --shadow-card-hover: 0 20px 40px -10px rgba(16, 42, 67, 0.15);

  /* BORDER RADIUS */
  --radius-sm: 4px;     
  --radius-md: 8px;     
  --radius-lg: 12px;    
  --radius-xl: 16px;    
  --radius-full: 9999px;

  /* ANIMATION SPECS */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--primary-600);
  background-color: var(--white);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-normal) var(--ease-out);
}

ul, ol {
  list-style: none;
}

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: var(--text-base);
  transition: all var(--duration-fast) var(--ease-out);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--accent-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: var(--white);
  color: var(--primary-900);
  border: 1px solid var(--primary-900);
}

.btn-outline:hover {
  background-color: var(--gray-50);
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
}

.mt-4 { margin-top: var(--space-4); }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-900);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  animation: pulse 2s infinite;
}

.preloader-logo-text {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-2);
}

.preloader-subtext {
  font-family: var(--font-body);
  color: var(--accent-400);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(0.98); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
  background-color: transparent;
  padding: var(--space-4) 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3) 0;
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--primary-900);
  font-weight: 700;
}

.logo-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.logo-subtext::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #0d9488;
}

.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
  }
}

.nav-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--primary-700);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-600);
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
  padding: var(--space-2) 0;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--primary-700);
  font-size: var(--text-sm);
}

.dropdown-menu a:hover {
  background-color: var(--gray-50);
  color: var(--accent-600);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header-cta .btn {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta .btn {
    display: inline-flex;
  }
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-900);
  transition: all 0.3s ease;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--white);
  z-index: 1001;
  transition: right 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 42, 67, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-close {
  color: var(--primary-900);
}

.mobile-nav-links {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-grow: 1;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary-800);
}

.mobile-nav-link.active {
  color: var(--accent-600);
}

.mobile-menu-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--gray-200);
}

/* ==========================================================================
   FLOATING ELEMENTS
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.floating-whatsapp:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.scroll-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

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

.scroll-to-top:hover {
  background-color: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--accent-600);
}

/* ==========================================================================
   GLOBAL SECTION STYLES
   ========================================================================== */
.section {
  padding: var(--space-20) 0;
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-32) 0;
  }
}

.bg-white { background-color: var(--white); }
.bg-cream { background-color: var(--cream); }
.bg-dark { background-color: var(--primary-900); color: var(--white); }

.section-tag {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4);
}

.section-tag.center {
  justify-content: center;
}

.tag-line {
  width: 40px;
  height: 2px;
  background-color: var(--accent-600);
  margin-right: var(--space-3);
}

.section-tag.center .tag-line {
  display: none;
}

.tag-text {
  font-size: 12px;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 600;
}

.section-title {
  font-size: var(--text-3xl);
  color: var(--primary-800);
  margin-bottom: var(--space-6);
  max-width: 600px;
}

.section-tag.center + .section-title {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--primary-600);
  max-width: 640px;
  margin: 0 auto var(--space-12);
  line-height: var(--leading-relaxed);
}

.text-accent {
  color: var(--accent-600);
}

.text-link {
  color: var(--accent-600);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.text-link:hover {
  text-decoration: underline;
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--text-lg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  position: relative;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}
.hero-left-bg {
  width: 55%;
  background: linear-gradient(135deg, #faf9f7 0%, #f5f5f0 100%);
}
.hero-right-bg {
  width: 45%;
  background: #0f2027;
  position: relative;
  overflow: hidden;
}
.dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.glow-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20,184,166,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.diagonal-divider {
  position: absolute;
  right: 45%;
  top: 0;
  height: 100%;
  width: 150px;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 80px);
}

@media (min-width: 1024px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-content-left {
  width: 100%;
  text-align: left;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-content-left {
    width: 55%;
    padding-right: 5%;
  }
}

.hero-content-right {
  width: 100%;
  margin-top: var(--space-10);
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-content-right {
    width: 45%;
    margin-top: 0;
  }
}

.parallax-hero {
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
}

/* Hero Image Area */
.hero-image {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .hero-image { margin-top: 0; }
}
.hero-image-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85%;
  background: linear-gradient(145deg, #1f3743 0%, #0f2027 100%);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  z-index: 1;
}
.hero-doctor-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
.image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(20,184,166,0.15) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}
.floating-badge {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: white;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0f2027;
  z-index: 3;
}
.badge-icon {
  width: 24px;
  height: 24px;
  background: #14b8a6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--primary-900);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 52px;
  }
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.hero-call-btn {
  color: var(--primary-900) !important;
  border-color: var(--primary-900) !important;
}

.hero-call-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary-900) !important;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  width: fit-content;
}
.trust-bar .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.trust-bar .num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #0f2027;
  line-height: 1;
}
.trust-bar .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-top: 4px;
}
.trust-bar .divider {
  width: 1px;
  height: 36px;
  background: #e5e7eb;
}



.hero-badge {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background-color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--gold-500);
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-900);
}

.scroll-indicator-container {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-600);
  animation: bounce 2s infinite;
}

.scroll-indicator:hover {
  color: var(--accent-600);
}

.scroll-text {
  font-size: 12px;
  margin-bottom: 8px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ==========================================================================
   ABOUT PREVIEW SECTION
   ========================================================================== */
.about-preview {
  background-color: var(--cream);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-container {
    grid-template-columns: 55% 40%;
    gap: 5%;
  }
}

.about-text {
  margin-bottom: var(--space-8);
}

.about-text p {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--primary-800);
}

.cred-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-image-wrapper {
  position: relative;
  background: linear-gradient(145deg, #f0f4f8 0%, #e8f4f8 100%);
  border-radius: 20px;
  padding: 20px;
}
.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(20,184,166,0.2);
  border-radius: 20px;
  z-index: -1;
}
.about-image-wrapper img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.about-shape {
  display: none;
}

/* Floating card enhancement */
.floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border-left: 4px solid #14b8a6;
  z-index: 3;
}
.floating-card .years {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #0f2027;
}
.floating-card .years span {
  color: #14b8a6;
}
.floating-card .label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ==========================================================================
   EXPERTISE SECTION
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.expertise-card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration-slow) var(--ease-out);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out);
  z-index: -2;
}

.expertise-card.bg-1::before { background-image: url('../images/bg1.jpg'); }
.expertise-card.bg-2::before { background-image: url('../images/bg2.jpg'); }
.expertise-card.bg-3::before { background-image: url('../images/bg3.jpg'); }
.expertise-card.bg-4::before { background-image: url('../images/bg4.jpg'); }

.expertise-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(16, 42, 67, 0.95) 0%, rgba(16, 42, 67, 0.6) 50%, rgba(16, 42, 67, 0.1) 100%);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: -1;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-400);
}

.expertise-card:hover::before {
  transform: scale(1.1);
}

.expertise-card:hover::after {
  background: linear-gradient(to top, rgba(16, 42, 67, 0.98) 0%, rgba(16, 42, 67, 0.8) 50%, rgba(16, 42, 67, 0.3) 100%);
}

.expertise-icon {
  display: none;
}

.expertise-card-title {
  font-size: var(--text-2xl);
  text-align: left;
  margin-bottom: var(--space-4);
  color: var(--white);
  transition: transform var(--duration-normal) var(--ease-out);
}

.expertise-card:hover .expertise-card-title {
  color: var(--accent-300);
  transform: translateY(-4px);
}

.expertise-list {
  margin-bottom: var(--space-6);
  opacity: 0.9;
}

.expertise-list li {
  font-size: var(--text-sm);
  color: var(--gray-200);
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  line-height: var(--leading-normal);
}

.expertise-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-400);
  border-radius: 50%;
}

.expertise-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  background-color: var(--accent-600);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(10px);
}

.expertise-card:hover .expertise-link {
  opacity: 1;
  transform: translateY(0);
}

.expertise-link:hover {
  background-color: var(--accent-500);
  transform: translateY(0) translateX(4px) !important;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  position: relative;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px;
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  background-color: rgba(255,255,255,0.07);
  border-color: rgba(20,184,166,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(20,184,166,0.15);
  color: #14b8a6;
  margin-bottom: var(--space-6);
  padding: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-icon {
  background: rgba(20,184,166,0.25);
  transform: scale(1.05);
}

.feature-title {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
}

.feature-desc {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  background-color: var(--accent-600);
  padding: var(--space-20) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  position: relative;
}

@media (min-width: 768px) {
  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -50%;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
  }
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--white);
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: var(--space-4) 0;
}

.testimonials-carousel {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-6);
  scrollbar-width: none; /* Firefox */
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-500);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - var(--space-3));
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - var(--space-4));
  }
}

.quote-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-200);
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--primary-700);
  font-style: italic;
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--primary-900);
}

.author-condition {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--gold-500);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   AWARDS SECTION
   ========================================================================== */
.awards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .awards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.premium-award {
  background-color: #faf9f7;
  border-top: 3px solid #c9a227;
  border-radius: 0 0 12px 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all var(--duration-normal) var(--ease-out);
}

.premium-award:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-top-width: 4px;
}

.award-icon-gold {
  width: 48px;
  height: 48px;
  color: #c9a227;
  margin: 0 auto var(--space-4);
}

.premium-award .award-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: var(--space-2);
}

.premium-award .award-org {
  font-family: var(--font-body);
  font-size: 14px;
  color: #6b7280;
  margin-bottom: var(--space-4);
}

.premium-award .award-year {
  background-color: var(--accent-600);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================================
   SCROLL ANIMATION CLASSES (Intersection Observer target classes)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-flip {
  opacity: 0;
  transform: translateY(30px) perspective(1000px) rotateX(-30deg);
  transform-origin: center center;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.scroll-reveal-flip.visible {
  opacity: 1;
  transform: translateY(0) perspective(1000px) rotateX(0deg);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.scroll-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.scroll-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.scroll-reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-reveal-stagger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.scroll-reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Booking Section
   ========================================================================== */
.booking-section {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.booking-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.booking-desc {
    color: var(--neutral-300);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--white);
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.contact-method:hover, .contact-method:focus-visible {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-400);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

/* Booking Form */
.booking-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    color: var(--text-color);
}

.form-title {
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--neutral-100);
    border: 1px solid var(--neutral-300);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-100);
}

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

.form-submit {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.125rem;
}

.form-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366; /* WhatsApp Green */
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.whatsapp-link:hover, .whatsapp-link:focus-visible {
    color: #128C7E;
}

.response-time {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--neutral-500);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--neutral-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--neutral-300);
}

.blog-img-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-card .blog-img {
    width: 100%;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-500);
    color: var(--primary-900);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 0.75rem;
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
    align-self: flex-start;
}

.blog-link:hover, .blog-link:focus-visible {
    color: var(--primary-800);
    transform: translateX(4px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

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

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

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover, .faq-question:focus-visible {
    color: var(--primary-600);
    background-color: var(--neutral-50);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--neutral-600);
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-900);
    color: var(--neutral-300);
    padding: 5rem 0 2rem;
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--neutral-400);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-links a:hover, .social-links a:focus-visible {
    background-color: var(--accent-500);
    color: var(--primary-900);
    transform: translateY(-4px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-500);
}

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

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

.footer-links a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--accent-500);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
}

.footer-links a:hover, .footer-links a:focus-visible {
    color: var(--accent-400);
    padding-left: 0.5rem;
}

.footer-links a:hover::before, .footer-links a:focus-visible::before {
    opacity: 1;
    transform: translateX(0);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--accent-500);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact a:hover, .footer-contact a:focus-visible {
    color: var(--accent-400);
}

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

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--neutral-500);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover, .footer-legal a:focus-visible {
    color: var(--white);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Responsive Utilities (Updates for new sections)
   ========================================================================== */
@media (max-width: 1024px) {
    .booking-grid {
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form-wrapper {
        padding: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
/* ============================================
   REFINEMENTS v2 — hero entrance, avatars, covers,
   grid staggers, scoped colors, reduced motion
   ============================================ */

/* --- Hero staggered entrance (triggered by body.loaded from preloader JS) --- */
.hero-content > * {
    opacity: 0;
}
.hero-image-wrapper {
    opacity: 0;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(16px) scale(0.985); }
    to   { opacity: 1; transform: none; }
}

body.loaded .hero-content > * {
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
body.loaded .hero-content > *:nth-child(1) { animation-delay: 0.15s; }
body.loaded .hero-content > *:nth-child(2) { animation-delay: 0.30s; }
body.loaded .hero-content > *:nth-child(3) { animation-delay: 0.45s; }
body.loaded .hero-content > *:nth-child(4) { animation-delay: 0.60s; }
body.loaded .hero-content > *:nth-child(5) { animation-delay: 0.75s; }

body.loaded .hero-image-wrapper {
    animation: heroFadeIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.50s forwards;
}

/* --- Images (moved out of inline styles) --- */
.hero-img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}
.about-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    position: relative;
    z-index: 2;
    display: block;
}

/* --- Testimonial initials avatars --- */
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #ffffff;
    flex-shrink: 0;
}
.avatar--teal  { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.avatar--navy  { background: linear-gradient(135deg, #1e3a5f, #33507a); }
.avatar--gold  { background: linear-gradient(135deg, #a8842c, #d4af37); }

/* --- Blog gradient covers (replacing stock photos) --- */
.blog-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
}
.blog-cover svg {
    width: 76px;
    height: 76px;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-cover svg {
    transform: scale(1.12);
}
.cover--teal  { background: linear-gradient(135deg, #115e59, #14b8a6); }
.cover--green { background: linear-gradient(135deg, #14532d, #22c55e); }
.cover--navy  { background: linear-gradient(135deg, #172554, #3b82f6); }

/* --- Grid reveal staggers (replaces inline transition-delays) --- */
.stats-grid > .scroll-reveal:nth-child(2),
.expertise-grid > .scroll-reveal-stagger:nth-child(2),
.features-grid > .scroll-reveal-scale:nth-child(2),
.testimonials-carousel > .scroll-reveal-stagger:nth-child(2),
.blog-grid > .scroll-reveal-stagger:nth-child(2),
.faq-container > .scroll-reveal-stagger:nth-child(2) {
    transition-delay: 0.12s;
}
.stats-grid > .scroll-reveal:nth-child(3),
.expertise-grid > .scroll-reveal-stagger:nth-child(3),
.features-grid > .scroll-reveal-scale:nth-child(3),
.testimonials-carousel > .scroll-reveal-stagger:nth-child(3),
.blog-grid > .scroll-reveal-stagger:nth-child(3),
.faq-container > .scroll-reveal-stagger:nth-child(3) {
    transition-delay: 0.24s;
}
.stats-grid > .scroll-reveal:nth-child(4),
.expertise-grid > .scroll-reveal-stagger:nth-child(4),
.features-grid > .scroll-reveal-scale:nth-child(4),
.faq-container > .scroll-reveal-stagger:nth-child(4) {
    transition-delay: 0.36s;
}
.faq-container > .scroll-reveal-stagger:nth-child(5) {
    transition-delay: 0.48s;
}

/* --- Scoped colors (moved out of inline styles) --- */
.why-choose-us .tag-text       { color: var(--accent-400); }
.why-choose-us .section-title  { color: var(--white); }
.why-choose-us .section-subtitle { color: var(--primary-300); }

.footer .logo-name     { color: var(--white); }
.footer .logo-subtext  { color: var(--accent-400); }

.awards-section          { padding-bottom: var(--space-32); }
.awards-header           { margin-bottom: var(--space-12); }

/* --- Accessibility: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-content > *,
    .hero-image-wrapper {
        opacity: 1 !important;
        animation: none !important;
    }
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-scale,
    .scroll-reveal-stagger {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================
   REFINEMENTS v3 — industry-level polish
   Missing token aliases, top utility bar, header
   contrast, hero pill, carousel controls, misc.
   ============================================ */

/* --- Legacy token aliases (were used but never defined) --- */
:root {
  --neutral-50:  #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;

  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;

  --text-color: var(--gray-800);
  --transition-fast: all 150ms ease;
  --transition-normal: all 300ms ease;
}

/* --- Anchor offset for fixed header --- */
html {
  scroll-padding-top: 84px;
}

::selection {
  background-color: var(--accent-400);
  color: var(--primary-900);
}

/* --- Top utility bar (hours / location / phone) --- */
.top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-8);
  max-height: 80px;
  padding: 9px 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: max-height 350ms var(--ease-out),
              padding 350ms var(--ease-out),
              opacity 250ms ease;
}

.header.scrolled .top-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

@media (max-width: 1024px) {
  .top-bar { display: none; }
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-300);
  flex-shrink: 0;
}

a.top-bar-item:hover { color: var(--white); }

/* --- Header contrast before scroll over dark hero (Removed) --- */

/* --- Hero polish --- */
.hero { padding-top: 0; }

.hero-container { min-height: 100vh; }

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #34d399;
  opacity: 0.7;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

body.loaded .hero-content > *:nth-child(6) { animation-delay: 0.90s; }

/* --- Hero polish --- */

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.1875rem; }
}

.scroll-indicator { color: rgba(255, 255, 255, 0.75); }
.scroll-indicator:hover { color: var(--accent-300); }

/* --- Testimonial carousel controls --- */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--primary-800);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.ctrl-btn:hover {
  background-color: var(--accent-600);
  border-color: var(--accent-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ctrl-btn svg { width: 22px; height: 22px; }

/* --- Blog image covers (replaces inline styles) --- */
.blog-card .blog-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: auto;
}

/* --- About shape softening --- */
.about-shape {
  top: 24px;
  left: 24px;
  z-index: 0;
}

.about-img { position: relative; }

/* --- Form select alignment --- */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

/* --- Footer link arrows reserve space to avoid layout shift --- */
.footer-links a::before { min-width: 0; }

/* ==========================================================================
   ENHANCED HOVER EFFECTS & ANIMATIONS
   ========================================================================== */

/* Cards */
.expertise-card, .blog-card, .feature-card, .premium-award {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}
.expertise-card:hover, .blog-card:hover, .feature-card:hover, .premium-award:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Buttons */
.btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,148,136,0.3);
}

/* Links with arrows */
.text-link {
  transition: color 0.2s ease;
}
.text-link::after {
  display: inline-block;
  transition: transform 0.25s ease;
  margin-left: 4px;
}
.text-link:hover::after {
  transform: translateX(4px);
}

/* Images in cards */
.blog-img, .hero-doctor-img, .about-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-img {
  transform: scale(1.06);
}

/* Hero Load Animations */
@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes heroSlideRight {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes badgePop {
  0% { opacity: 0; transform: scale(0); }
  70% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-anim-text-1, .hero-anim-text-2, .hero-anim-text-3, .hero-anim-sub, .hero-anim-cta {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}
.hero-anim-text-1 { animation-delay: 0.8s; }
.hero-anim-text-2 { animation-delay: 0.9s; }
.hero-anim-text-3 { animation-delay: 1.0s; }
.hero-anim-sub { animation-delay: 1.2s; }
.hero-anim-cta { animation-delay: 1.4s; }

.hero-anim-trust {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 2.0s;
  opacity: 0;
}

.hero-anim-img img {
  animation: heroSlideRight 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.6s;
  opacity: 0;
}

.floating-badge {
  animation: badgePop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 1.8s;
  opacity: 0;
}

/* ==========================================================================
   OPD TIMINGS SECTION
   ========================================================================== */
.opd-section {
  background-color: #f8fafc;
}
.opd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 768px) {
  .opd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .opd-grid { grid-template-columns: repeat(4, 1fr); }
}
.opd-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-500);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.opd-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: rgba(20,184,166,0.6);
}
.opd-card-header {
  padding: 24px 24px 16px;
  text-align: center;
  flex-grow: 1;
}
.opd-clinic-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 8px;
}
.opd-address {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
  min-height: 40px;
}
.opd-timings-info {
  padding: 0 24px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-700);
}
.opd-timings-info p {
  margin-bottom: 8px;
}
.opd-timings-info p:last-child {
  margin-bottom: 0;
}
.opd-map-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  background-color: #e5e7eb;
}
.opd-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.opd-map-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-700);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
  text-decoration: none;
  transition: background 0.2s;
}
.opd-map-btn:hover {
  background: #f8fafc;
}
.opd-map-btn svg {
  width: 14px;
  height: 14px;
  stroke: #14b8a6;
}

/* ==========================================================================
   MOBILE HERO FIXES
   ========================================================================== */
@media (max-width: 1023px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
  }
  .hero-left-bg {
    width: 100%;
  }
  .hero-right-bg, .diagonal-divider {
    display: none;
  }
  .hero-container {
    padding-top: 20px;
    padding-bottom: 60px;
    text-align: center;
  }
  .hero-content-left {
    align-items: center;
    padding-right: 0;
  }
  .hero-badge {
    justify-content: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .trust-indicators {
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-top: 30px;
  }
  .trust-item {
    padding: 10px;
  }
  .trust-item:not(:last-child)::after {
    display: none;
  }
}

/* Patient-Centred Care Cards */
.care-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
}

.care-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: rgba(20,184,166,0.3);
}

.care-card .feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(20,184,166,0.1);
  color: #14b8a6;
  margin-bottom: var(--space-6);
  padding: 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.care-card:hover .feature-icon {
  background: rgba(20,184,166,0.2);
  transform: scale(1.05);
}

.care-title {
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}

.care-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: var(--leading-relaxed);
}

/* Consultation Popup */
.consult-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(16, 42, 67, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.consult-popup-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 750px;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.consult-popup-overlay.active .consult-popup-content {
    transform: translateY(0) scale(1);
}

.consult-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-600);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.consult-popup-close:hover {
    background: rgba(0,0,0,0.1);
    color: var(--primary-900);
}

.consult-popup-img {
    flex: 0 0 40%;
    background: var(--surface-100);
    position: relative;
}

.consult-popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consult-popup-text {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consult-popup-text h2 {
    color: var(--primary-900);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.consult-popup-text p {
    color: var(--text-600);
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.consult-popup-actions {
    display: flex;
    gap: 15px;
}

.consult-popup-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px;
}

@media (max-width: 768px) {
    .consult-popup-content {
        flex-direction: column;
        max-width: 400px;
    }
    .consult-popup-img {
        height: 200px;
        flex: none;
    }
    .consult-popup-text {
        padding: 30px 20px;
    }
    .consult-popup-text h2 {
        font-size: 1.7rem;
    }
    .consult-popup-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    /* Prevent the entire page from overflowing horizontally */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Make sure the main container padding is respected */
    .container {
        padding: 0 16px !important;
    }

    /* Force rigidly styled grids to stack vertically on mobile */
    .content-wrap, 
    .contact-grid,
    .trust-grid,
    .disease-grid,
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Override aggressive inline padding that squeezes text */
    .article, 
    .blog-content,
    .contact-card,
    .contact-form-card,
    article[style*="padding"] {
        padding: 24px 20px !important;
    }

    /* Ensure large headings scale down properly and don't push the screen */
    h1, .disease-hero h1, .page-header h1 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }
    
    p.lead, .disease-hero p.lead, .page-header p.lead {
        font-size: 1.05rem !important;
    }

    /* Adjust oversized hero areas */
    .disease-hero, .page-header {
        padding: 120px 0 40px !important;
        min-height: auto !important;
    }
    
    /* Make sure images never overflow their container */
    img, .article-img {
        max-width: 100% !important;
        height: auto !important;
    }
}
    
    /* Ensure breadcrumbs can wrap on small screens */
    .breadcrumb {
        flex-wrap: wrap !important;
    }
