/* ==========================================================================
   SIDDHI MEDILAB — RED & BLUE HEALTHCARE BRAND THEME
   Authorized Franchise of Lord's Path
   ========================================================================== */

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

:root {
  /* ==========================================================================
     BRAND RED & BLUE COLOR SYSTEM
     Matches Siddhi Medilab Official Logo Identity
     ========================================================================== */
  
  /* Primary Royal Medical Blue (Logo "Siddhi" & Microscope) */
  --brand-blue: #154694;
  --brand-blue-dark: #0B2960;
  --brand-blue-hover: #1A56B8;
  --brand-blue-subtle: #F0F6FD;
  --brand-blue-surface: #E1EDFA;
  --brand-blue-border: #C8DCF8;
  --brand-blue-glow: rgba(21, 70, 148, 0.18);

  /* Vibrant Medical Crimson Red (Logo "MEDILAB" & Cross Accent) */
  --brand-red: #D72638;
  --brand-red-dark: #AF1726;
  --brand-red-hover: #BF1E2F;
  --brand-red-subtle: #FFF1F2;
  --brand-red-surface: #FFE4E6;
  --brand-red-border: #FECDD3;
  --brand-red-glow: rgba(215, 38, 56, 0.22);

  /* Primary Theme Aliases */
  --primary-blue: var(--brand-blue);
  --primary-blue-dark: var(--brand-blue-dark);
  --accent-red: var(--brand-red);
  --accent-red-hover: var(--brand-red-hover);

  /* Backward Compatibility Mappings for Existing Selectors */
  --baby-pink: var(--brand-blue-subtle);
  --soft-blush: var(--brand-blue-subtle);
  --light-blush: #F4F8FD;
  --rose-accent: var(--brand-red);
  --rose-hover: var(--brand-red-hover);
  --rose-dark: var(--brand-red-dark);
  --border-subtle: #E2ECF8;
  --border-pink: var(--border-subtle);
  --border-accent: #BFD8F8;

  /* Neutrals */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFD;
  --text-dark: #0F1E36;
  --text-main: #334155;
  --text-muted: #627289;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(15, 30, 54, 0.05);
  --shadow-md: 0 10px 28px -4px rgba(21, 70, 148, 0.12), 0 4px 10px -2px rgba(215, 38, 56, 0.04);
  --shadow-lg: 0 20px 42px -8px rgba(21, 70, 148, 0.18), 0 8px 18px -4px rgba(215, 38, 56, 0.08);

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

  /* Layout & Animation */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 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);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-blue-border);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(215, 38, 56, 0.6);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px auto;
}

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

.heading-highlight {
  background: linear-gradient(135deg, rgba(21, 70, 148, 0.1) 0%, rgba(215, 38, 56, 0.1) 100%);
  color: var(--brand-blue-dark);
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  border: 1px solid rgba(21, 70, 148, 0.18);
  box-shadow: 0 4px 12px rgba(21, 70, 148, 0.08);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.bg-blush,
.bg-subtle {
  background-color: var(--brand-blue-subtle);
}

.bg-white {
  background-color: var(--bg-white);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, #E02838 0%, #C41C2B 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(215, 38, 56, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #C41C2B 0%, #A51422 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(215, 38, 56, 0.4);
}

.btn-secondary {
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue-border);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 70, 148, 0.25);
}

.btn-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(21, 70, 148, 0.28);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--brand-blue-hover) 0%, var(--brand-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 70, 148, 0.38);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}

.btn-outline:hover {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

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

/* ==========================================================================
   GLOBAL HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition);
}

/* Red & Blue Brand Stripe at the very top */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue) 60%, var(--brand-red) 100%);
  z-index: 1001;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.99);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.brand-logo-img {
  height: 75px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  background-color: #FFFFFF;
  padding: 6px;
  border-radius: 50%;
  border: 3px solid var(--brand-blue-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  margin-bottom: 16px;
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--brand-blue);
  background-color: var(--brand-blue-subtle);
}

.nav-link.active {
  color: var(--brand-blue-dark);
  background-color: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 95px;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--brand-blue-border);
  padding: 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.mobile-nav.open {
  display: block;
  animation: slideDown 0.3s ease;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
}

.mobile-nav-link.active {
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue-dark);
  font-weight: 700;
  border-left: 4px solid var(--brand-red);
}

/* ==========================================================================
   PAGE HERO (For Sub-pages: About Us, Services, Packages, Contact)
   ========================================================================== */
.page-hero {
  padding: 60px 0 70px 0;
  background: linear-gradient(135deg, #EFF5FD 0%, #F8FAFD 50%, #FEF2F2 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
  border-radius: 2px;
}

.page-hero-title {
  font-size: 2.75rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--brand-blue);
  font-weight: 600;
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   HERO SECTION (HOMEPAGE)
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 90px 0;
  background: radial-gradient(circle at 10% 20%, rgba(21, 70, 148, 0.08) 0%, rgba(240, 246, 253, 0.7) 40%, rgba(255, 241, 242, 0.35) 75%, #FFFFFF 100%);
  overflow: hidden;
}

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

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--brand-blue-dark);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--brand-blue-border);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(21, 70, 148, 0.08);
}

.hero-badge svg {
  color: var(--brand-red);
}

.hero-title {
  font-size: 3.25rem;
  margin-bottom: 16px;
  line-height: 1.15;
  color: var(--text-dark);
}

.hero-subtitle-primary {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-white);
  border: 8px solid var(--bg-white);
  box-shadow: var(--shadow-lg);
}

.hero-img-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* Floating Info Cards */
.floating-badge {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--brand-blue-border);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-top-left {
  top: 30px;
  left: -20px;
}

.badge-bottom-right {
  bottom: 40px;
  right: -20px;
  animation-delay: 2s;
}

.floating-badge-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--brand-blue-subtle) 0%, #DCEAFC 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.2rem;
  border: 1px solid var(--brand-blue-border);
}

.floating-badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.floating-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HOMEPAGE QUICK SERVICES & WHY CHOOSE US
   ========================================================================== */
.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quick-service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 18px;
}

.quick-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-blue-border);
  box-shadow: 0 12px 28px rgba(21, 70, 148, 0.12);
}

.quick-service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-blue-subtle) 0%, #DCEAFC 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--brand-blue-border);
  transition: var(--transition);
}

.quick-service-card:hover .quick-service-icon {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #FFFFFF;
}

.quick-service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-red-border);
  box-shadow: 0 12px 28px rgba(215, 38, 56, 0.12);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-red-subtle) 0%, #FEE2E2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-size: 1.3rem;
  margin: 0 auto 16px auto;
  border: 1px solid var(--brand-red-border);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--brand-red) 0%, #A51422 100%);
  color: #FFFFFF;
}

.why-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   ABOUT PAGE COMPONENTS (Mission, Stats, Certificate, Gallery)
   ========================================================================== */
.about-narrative-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-sm);
}

.about-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 16px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.mission-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-blue);
  box-shadow: 0 10px 25px rgba(21, 70, 148, 0.12);
}

.mission-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.mission-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue);
}

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

.stat-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-box:hover {
  border-color: var(--brand-blue-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  margin-bottom: 6px;
}

/* Alternate stat values between Blue and Red */
.stat-box:nth-child(2) .stat-val,
.stat-box:nth-child(4) .stat-val {
  color: var(--brand-red);
}

.stat-lbl {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Certificate Section */
.cert-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.cert-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 8px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.cert-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition);
}

.cert-image-wrap:hover img {
  transform: scale(1.03);
}

.cert-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFF9E6;
  color: #B45309;
  border: 1px solid #FCD34D;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cert-title {
  font-size: 1.85rem;
  margin-bottom: 16px;
}

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

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(21, 70, 148, 0.78) 0%, rgba(215, 38, 56, 0.72) 100%);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--bg-white);
  font-size: 2rem;
}

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

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

/* ==========================================================================
   SERVICES PAGE COMPONENTS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-border);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brand-blue-subtle) 0%, #DCEAFC 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 20px;
  border: 1px solid var(--brand-blue-border);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #FFFFFF;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.placeholder-tests-box {
  background-color: var(--brand-blue-subtle);
  border: 1.5px dashed var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  margin-top: 50px;
}

/* ==========================================================================
   HEALTH PACKAGES PAGE COMPONENTS
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.package-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-border);
}

.package-card.highlighted {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 12px 32px rgba(21, 70, 148, 0.14);
  transform: scale(1.02);
}

.package-card.highlighted:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 36px rgba(21, 70, 148, 0.2);
}

.package-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #BC1C2C 100%);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(215, 38, 56, 0.35);
}

.package-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-subtle);
}

.old-price {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-red);
}

.package-disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 24px;
  background-color: var(--brand-blue-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-blue-border);
  margin-top: 30px;
}

/* ==========================================================================
   CONTACT PAGE & FORM COMPONENTS
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-details-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background-color: var(--brand-blue-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
  border: 1px solid var(--brand-blue-border);
}

.contact-info-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.contact-info-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-white);
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(21, 70, 148, 0.15);
}

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

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  grid-column: span 2;
  flex-wrap: wrap;
}

/* ==========================================================================
   FLOATING MOBILE CTA BAR
   ========================================================================== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1500;
}

.mobile-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mobile-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  background-color: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  text-align: center;
}

.mobile-cta-btn.highlight {
  background: linear-gradient(135deg, var(--brand-red) 0%, #BC1C2C 100%);
  color: var(--bg-white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(215, 38, 56, 0.3);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 25, 46, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2001;
  transition: var(--transition);
}

.lightbox-close:hover {
  background-color: var(--brand-red);
  color: #FFFFFF;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
}

.toast {
  background-color: #0B192E;
  color: var(--bg-white);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border-left: 4px solid var(--brand-red);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUp 0.3s ease;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.footer {
  background-color: #0B192E;
  color: #CBD5E1;
  padding: 70px 0 30px 0;
  position: relative;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue) 60%, var(--brand-red) 100%) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--brand-red);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: #60A5FA;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748B;
}

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

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

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

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .cert-card, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid, .packages-grid, .gallery-grid, .quick-services-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid, .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-actions .btn {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .page-hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .services-grid, .packages-grid, .gallery-grid, .quick-services-grid, .stats-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-actions {
    grid-column: span 1;
    flex-direction: column;
  }
  .why-grid, .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .badge-top-left {
    top: 15px;
    left: 10px;
  }
  .badge-bottom-right {
    bottom: 20px;
    right: 10px;
  }
  .mobile-cta-bar {
    display: block;
  }
  .section-padding {
    padding: 50px 0;
  }
  body {
    padding-bottom: 60px;
  }
}
