/* ================================================
   S.M. HOSPITAL — Premium Healthcare Website
   Design System & Complete Stylesheet
   ================================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Primary Palette */
  --navy: #0a1f44;
  --navy-dark: #061430;
  --royal-blue: #1a4fa0;
  --royal-blue-light: #2563c4;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0a7a70;

  /* Accent */
  --gold: #c8a84e;
  --gold-light: #d4b85c;
  --gold-dark: #b5963e;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-400: #64748b;
  --gray-500: #475569;
  --gray-600: #334155;
  --dark: #1e293b;

  /* Functional */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 31, 68, 0.06), 0 1px 2px rgba(10, 31, 68, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 31, 68, 0.08), 0 2px 6px rgba(10, 31, 68, 0.04);
  --shadow-lg: 0 12px 40px rgba(10, 31, 68, 0.12), 0 4px 12px rgba(10, 31, 68, 0.06);
  --shadow-xl: 0 20px 60px rgba(10, 31, 68, 0.15), 0 8px 20px rgba(10, 31, 68, 0.08);
  --shadow-gold: 0 4px 20px rgba(200, 168, 78, 0.2);

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

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ---- Section Common ---- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(26, 79, 160, 0.08), rgba(13, 148, 136, 0.08));
  border: 1px solid rgba(26, 79, 160, 0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--royal-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-badge svg {
  width: 16px;
  height: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--teal);
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-400);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-base);
  padding: 0;
}

.header-top-bar {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.top-bar-left a:hover {
  color: var(--gold-light);
}

.top-bar-left svg {
  width: 14px;
  height: 14px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right span {
  color: var(--gold-light);
  font-weight: 500;
}

.header-main {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
  transition: var(--transition-base);
}

.header.scrolled .header-top-bar {
  transform: translateY(-100%);
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
}

.header.scrolled .header-main {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  width: auto;
}

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

.logo-text .hospital-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-text .tagline {
  font-size: 10px;
  color: var(--royal-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--teal));
  border-radius: 1px;
  transition: var(--transition-base);
}

.nav-menu a:hover {
  color: var(--royal-blue);
  background: rgba(26, 79, 160, 0.04);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active {
  color: var(--royal-blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-call-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-call-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 79, 160, 0.3);
}

.btn-call-header svg {
  width: 16px;
  height: 16px;
  animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(0deg); }
}

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

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition-base);
}

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

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

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

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  padding-top: 130px;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 79, 160, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.1), rgba(200, 168, 78, 0.05));
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--royal-blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 79, 160, 0.35);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--navy);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-base);
  border: 2px solid var(--gray-200);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary svg,
.btn-primary svg {
  width: 18px;
  height: 18px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  margin-top: 6px;
  cursor: pointer;
}

.hero-link:hover {
  gap: 12px;
}

.hero-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-base);
}

/* Hero Image */
.hero-image {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 8s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.1), rgba(13, 148, 136, 0.05));
  pointer-events: none;
}

.hero-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

.hero-image-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.hero-image-badge .badge-icon svg {
  width: 20px;
  height: 20px;
}

.hero-image-badge .badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.hero-image-badge .badge-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-400);
}

/* Decorative elements */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero-float-card.card-1 {
  top: 20px;
  right: -20px;
  padding: 14px 18px;
}

.hero-float-card.card-2 {
  bottom: 80px;
  right: -30px;
  padding: 14px 18px;
  animation-delay: 2s;
}

.hero-float-card .float-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--royal-blue), var(--teal));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-float-card .float-icon svg {
  width: 18px;
  height: 18px;
}

.hero-float-card .float-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.hero-float-card .float-sub {
  font-size: 11px;
  color: var(--gray-300);
}

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

/* Hero Highlight Cards */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
  border: 1px solid rgba(10, 31, 68, 0.04);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--teal));
  transform: scaleX(0);
  transition: var(--transition-base);
}

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

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

.highlight-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26, 79, 160, 0.08), rgba(13, 148, 136, 0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--royal-blue);
  transition: var(--transition-base);
}

.highlight-card:hover .highlight-card-icon {
  background: linear-gradient(135deg, var(--royal-blue), var(--teal));
  color: var(--white);
}

.highlight-card-icon svg {
  width: 26px;
  height: 26px;
}

.highlight-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}

.highlight-card p {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about {
  background: var(--off-white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.05);
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 5px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-experience-badge .big-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-light);
}

.about-experience-badge .badge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content .section-badge {
  margin-bottom: 12px;
}

.about-text {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-stat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(26, 79, 160, 0.08), rgba(13, 148, 136, 0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-blue);
}

.about-stat-icon svg {
  width: 22px;
  height: 22px;
}

.about-stat h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.about-stat p {
  font-size: 13px;
  color: var(--gray-400);
}

/* ================================================
   KUMUTHA FERTILITY CENTRE
   ================================================ */
.fertility {
  background: linear-gradient(180deg, var(--white) 0%, rgba(13, 148, 136, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.fertility::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.fertility .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.fertility-content {
  order: 1;
}

.fertility-visual {
  order: 2;
  position: relative;
}

.fertility-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  padding: 5px;
}

.fertility-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fertility-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.fertility-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.fertility-text {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 32px;
}

.fertility-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.fertility-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition-base);
}

.fertility-service-item:hover {
  border-color: var(--teal);
  transform: translateX(4px);
}

.fertility-service-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.fertility-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.fertility-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fertility-image-wrapper:hover img {
  transform: scale(1.05);
}

.fertility-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 31, 68, 0.3) 100%);
  pointer-events: none;
}

/* ================================================
   DOCTORS SECTION
   ================================================ */
.doctors {
  background: var(--off-white);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid rgba(10, 31, 68, 0.04);
}

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

.doctor-image {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

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

.doctor-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(0deg, rgba(10, 31, 68, 0.4), transparent);
  pointer-events: none;
}

.doctor-info {
  padding: 28px;
}

.doctor-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.doctor-qualification {
  font-size: 14px;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 10px;
}

.doctor-specialization {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 6px;
}

.doctor-description {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 20px;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.doctor-tag {
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(26, 79, 160, 0.06), rgba(13, 148, 136, 0.06));
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--royal-blue);
}

.btn-appointment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.btn-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 79, 160, 0.3);
}

.btn-appointment svg {
  width: 16px;
  height: 16px;
}

/* ================================================
   SPECIALITIES / SERVICES
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--teal));
  transform: scaleX(0);
  transition: var(--transition-base);
}

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

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(26, 79, 160, 0.06), rgba(13, 148, 136, 0.06));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--royal-blue);
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  transform: scale(1.1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.service-card p {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ================================================
   DIAGNOSTIC FACILITIES
   ================================================ */
.diagnostics {
  background: var(--off-white);
}

.diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diagnostic-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid rgba(10, 31, 68, 0.04);
}

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

.diagnostic-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.diagnostic-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.diagnostic-card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 31, 68, 0.6) 100%);
}

.diagnostic-card-image h3 {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  z-index: 2;
}

.diagnostic-card-body {
  padding: 24px;
}

.diagnostic-card-body ul {
  list-style: none;
}

.diagnostic-card-body li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}

.diagnostic-card-body li:last-child {
  border-bottom: none;
}

.diagnostic-card-body li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ================================================
   FACILITIES GRID
   ================================================ */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.facility-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 1px solid var(--gray-100);
  cursor: pointer;
}

.facility-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--royal-blue);
}

.facility-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(26, 79, 160, 0.06), rgba(13, 148, 136, 0.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--royal-blue);
  transition: var(--transition-base);
}

.facility-item:hover .facility-icon {
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  transform: rotateY(180deg);
}

.facility-icon svg {
  width: 28px;
  height: 28px;
}

.facility-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-choose {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(26, 79, 160, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(13, 148, 136, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

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

.why-choose .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-base);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  border-color: rgba(200, 168, 78, 0.3);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.15), rgba(200, 168, 78, 0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold-light);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ================================================
   GALLERY
   ================================================ */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 31, 68, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 40px;
  height: 40px;
  color: var(--white);
  transform: scale(0.5);
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay svg {
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ================================================
   PATIENT JOURNEY
   ================================================ */
.journey {
  background: var(--off-white);
}

.journey-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.journey-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.journey-step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--royal-blue), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(26, 79, 160, 0.25);
}

.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--teal));
  opacity: 0.3;
}

.journey-step-icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 79, 160, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--royal-blue);
}

.journey-step-icon svg {
  width: 22px;
  height: 22px;
}

.journey-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.journey-step p {
  font-size: 13px;
  color: var(--gray-400);
}

/* ================================================
   APPOINTMENT FORM
   ================================================ */
.appointment {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 100%);
  position: relative;
  overflow: hidden;
}

.appointment::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.appointment-info h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.appointment-info p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.appointment-contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.appointment-contact-list li svg {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}

.appointment-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.appointment-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

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

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--gray-600);
  background: var(--white);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(26, 79, 160, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 79, 160, 0.35);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: var(--gray-400);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--royal-blue), var(--teal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-contact.call {
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--white);
}

.btn-contact.whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-contact.directions {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-200);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-contact svg {
  width: 18px;
  height: 18px;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================================================
   EMERGENCY CTA
   ================================================ */
.emergency-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 50%, var(--teal-dark) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emergency-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(200, 168, 78, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.emergency-cta .container {
  position: relative;
  z-index: 2;
}

.emergency-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: pulse-glow 2s ease-in-out infinite;
}

.emergency-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.emergency-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.emergency-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

.emergency-cta .btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-full);
  font-size: 17px;
  font-weight: 700;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
}

.emergency-cta .btn-emergency:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.emergency-cta .btn-emergency svg {
  width: 22px;
  height: 22px;
  color: var(--royal-blue);
}

.emergency-phone {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  letter-spacing: 1px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logos img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-brand .footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold-light);
  font-size: 16px;
}

.footer-brand .footer-phone svg {
  width: 18px;
  height: 18px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-links a:hover::before {
  width: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Footer Social Media Icons ---- */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}

/* ================================================
   FLOATING ACTIONS
   ================================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-base);
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-base);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
}

.floating-call-mobile {
  display: none;
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26, 79, 160, 0.4);
  transition: var(--transition-base);
  cursor: pointer;
}

.floating-call-mobile svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

/* ================================================
   SCROLL REVEAL ANIMATION
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Tablet Large (< 1200px) */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .nav-menu a {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* Tablet (< 1024px) */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .header-top-bar {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
    z-index: 1000;
    gap: 4px;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .nav-menu a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 110px;
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-secondary {
    right: auto;
    left: 20px;
    bottom: -30px;
  }

  .fertility .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fertility-visual {
    order: 1;
  }

  .fertility-content {
    order: 2;
  }

  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .facilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .appointment .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .journey-steps {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .journey-step {
    flex: 0 0 30%;
  }

  .journey-step:not(:last-child)::after {
    display: none;
  }
}

/* Mobile Large (< 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .hero-title {
    font-size: clamp(30px, 7vw, 42px);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .highlight-card {
    padding: 20px 16px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .fertility-services {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .diagnostics-grid {
    grid-template-columns: 1fr;
  }

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

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.tall {
    grid-row: span 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .contact-buttons {
    flex-direction: column;
  }

  .btn-contact {
    width: 100%;
    justify-content: center;
  }

  .journey-step {
    flex: 0 0 45%;
  }

  .floating-call-mobile {
    display: flex;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .appointment-form-wrapper {
    padding: 28px 20px;
  }

  .hero-float-card {
    display: none;
  }
}

/* Mobile Small (< 480px) */
@media (max-width: 480px) {
  .hero-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .highlight-card {
    padding: 16px 12px;
  }

  .highlight-card-icon {
    width: 44px;
    height: 44px;
  }

  .highlight-card h4 {
    font-size: 13px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 20px 14px;
  }

  .facilities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-logos img {
    height: 48px;
  }

  .logo img {
    height: 48px;
  }

  .logo-text .hospital-name {
    font-size: 15px;
  }

  .journey-step {
    flex: 0 0 100%;
  }
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 31, 68, 0.5);
  z-index: 999;
  opacity: 0;
  transition: var(--transition-base);
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

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

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

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Print Styles */
@media print {
  .header,
  .floating-whatsapp,
  .floating-call-mobile,
  .back-to-top {
    display: none !important;
  }

  .hero {
    padding-top: 0;
    min-height: auto;
  }
}
