/* ==========================================================================
   LIFELINE MEDICAL & DIAGNOSTIC CENTRE - PREMIUM STYLESHEET
   Logo Location: images/logo/lifeline.png
   Hero Banner: images/hero-banner.avif
   Derived Brand Palette: Sky Blue (#0284c7), Ocean Blue (#0369a1), Teal (#0d9488)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --primary: #0284c7;
  /* Medical Sky Blue */
  --primary-dark: #0369a1;
  /* Deep Ocean Blue */
  --secondary: #0d9488;
  /* Healthcare Teal */
  --cyan: #06b6d4;
  /* Diagnostic Cyan */
  --accent-green: #22c55e;
  /* WhatsApp / Success Green */
  --accent-rose: #f43f5e;
  /* Emergency Red/Rose */
  --accent-amber: #f59e0b;
  /* Rating Star Yellow */

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

  --white: #ffffff;

  /* Gradients */
  --gradient-logo: linear-gradient(135deg, #0284c7 0%, #0d9488 50%, #06b6d4 100%);
  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  /* Typography */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-bengali: 'Noto Serif Bengali', serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 8px 20px -4px rgba(2, 132, 199, 0.35);

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

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 3rem 0;
}

.section-title-wrapper {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem auto;
}

/* Nav icons and overlay logo — hidden on desktop, used inside mobile overlay only */
.nav-icon,
.nav-overlay-logo {
  display: none;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.section-main-title {
  font-size: 2.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--slate-500);
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background: #e0f2fe;
  color: var(--primary-dark);
  border-color: #bae6fd;
}

.btn-secondary:hover {
  background: #bae6fd;
}

.btn-whatsapp {
  background: var(--accent-green);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #16a34a;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-emergency {
  background: var(--accent-rose);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   3. TOP INFO BAR
   -------------------------------------------------------------------------- */
.top-info-bar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .top-info-bar {
    display: none !important;
  }
}

.top-info-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item i {
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR WITH BRAND LOGO (images/logo/lifeline.png)
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.logo-fallback-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-fallback-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-logo);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.logo-text-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}

.logo-text-sub {
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  white-space: nowrap;
}

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

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-800);
  cursor: pointer;
}

/* Mobile nav close row */
.nav-close-item {
  display: none;
  padding: 0.75rem 1.25rem 0;
  border-bottom: none !important;
}

.nav-close-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: #fee2e2;
  border: none;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-close-btn:hover {
  background: #fca5a5;
}

/* Page Header for Inner Pages (About Us, Contact Us) */
.page-header {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.page-header-title {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header-breadcrumb {
  font-size: 1rem;
  color: #7dd3fc;
}

.page-header-breadcrumb a {
  color: var(--slate-300);
}

.page-header-breadcrumb a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   5. REDESIGNED HERO SECTION WITH STYLIZED TRUST BADGE BACKGROUNDS
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  background: #bae6fd;
  color: var(--primary-dark);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CLEAN BENGALI TYPOGRAPHY USING NOTO SERIF BENGALI */
.bengali-title {
  font-family: var(--font-bengali);
  font-size: 1.65rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.hero-desc {
  color: var(--slate-600);
  font-size: 1.08rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* STYLIZED BACKGROUND CARDS FOR TRUST BADGES */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-800);
  background: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.trust-badge-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.trust-badge-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  background: rgba(13, 148, 136, 0.12);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* HERO IMAGE CONTAINER (images/hero-banner.avif) */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  height: 420px;
  background: var(--slate-800);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.hero-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--slate-200);
}

.hero-floating-icon {
  width: 46px;
  height: 46px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. QUICK STATS
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

/* Icon badge — hidden on desktop, visible on mobile */
.stat-icon-wrap {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0 auto 0.6rem;
  flex-shrink: 0;
}

.stat-card h3 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.stat-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Mobile: 2×2 app-style cards */
@media (max-width: 600px) {
  .stats-section {
    padding: 2rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .stat-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.25rem 0.75rem 1rem;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stat-icon-wrap {
    display: flex;
  }

  .stat-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.15rem;
    line-height: 1.1;
  }

  .stat-card p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
  }
}

/* --------------------------------------------------------------------------
   7. SERVICES GRID
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.service-icon-box {
  width: 54px;
  height: 54px;
  background: var(--slate-100);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. COMPREHENSIVE HEALTHCARE SERVICES (CREATIVE ICON GRID)
   -------------------------------------------------------------------------- */
.services-icon-section {
  background: linear-gradient(160deg, #0b1120 0%, #0f172a 55%, #0d2035 100%);
  position: relative;
  overflow: hidden;
}

.services-icon-section .section-subtitle {
  background: rgba(255, 255, 255, 0.08);
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.25);
}

.services-icon-section .section-main-title {
  color: #ffffff;
}

.services-icon-section .section-description {
  color: rgba(255, 255, 255, 0.6);
}

/* Decorative background circles */
.services-icon-section::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.services-icon-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

/* Grid: 4 cols → 2 → 1 */
.services-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .services-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .services-icon-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card ── */
.svc-icon-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.svc-icon-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--c, #0284c7);
  box-shadow: 0 0 0 1px var(--c, #0284c7), 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* Accent bar — slides in from left on hover */
.svc-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--c, #0284c7);
  border-radius: 16px 0 0 16px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-icon-card:hover .svc-accent-bar {
  transform: scaleY(1);
}

/* Icon circle */
.svc-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: var(--c, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.nav-close-item {
  cursor: pointer;
}

.svc-icon-card:hover .svc-icon-wrap {
  background: var(--c, #0284c7);
  color: #ffffff;
  border-color: var(--c, #0284c7);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--c, #0284c7) 45%, transparent);
  transform: rotate(-5deg) scale(1.08);
}

/* Card body */
.svc-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.svc-card-body p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  flex: 1;
}

.svc-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c, #0284c7);
  transition: gap 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
  margin-top: auto;
}

.svc-icon-card:hover .svc-cta-link {
  gap: 0.7rem;
  opacity: 1;
}

/* Large watermark number */
.svc-number {
  position: absolute;
  bottom: -12px;
  right: 12px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  letter-spacing: -4px;
  pointer-events: none;
  transition: color 0.3s ease;
  user-select: none;
}

.svc-icon-card:hover .svc-number {
  color: rgba(255, 255, 255, 0.07);
}

/* ── Stats ribbon ── */
.svc-stats-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  position: relative;
  z-index: 1;
}

.svc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 2rem;
  text-align: center;
}

.svc-stat i {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.svc-stat strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
}

.svc-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.svc-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}







/* --------------------------------------------------------------------------
   CHECK REPORT BANNER
   -------------------------------------------------------------------------- */
.check-report-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  padding: 2.5rem 0;
}

.check-report-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.check-report-icon {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.check-report-text {
  flex: 1;
  min-width: 200px;
}

.check-report-text h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.check-report-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.check-report-btn {
  background: var(--white) !important;
  color: var(--primary-dark) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.check-report-btn:hover {
  background: #f0f9ff !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   9. COMPLETE DIAGNOSTIC SOLUTIONS (REDESIGNED CATEGORY GRID)
   -------------------------------------------------------------------------- */
.diagnostic-solutions-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  padding: 5rem 0;
}

.diag-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.diag-category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.diag-category-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.diag-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.diag-cat-icon {
  width: 46px;
  height: 46px;
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.diag-category-header h4 {
  font-size: 1.05rem;
  color: var(--slate-900);
  font-weight: 700;
}

.diag-test-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.diag-test-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--slate-600);
  font-weight: 500;
}

.diag-test-list li i {
  color: var(--secondary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.diag-cta-row {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.diag-cta-row p {
  color: var(--slate-600);
  font-size: 1rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. HEALTH PACKAGES SLIDER
   -------------------------------------------------------------------------- */
.packages-section {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #0c2740 100%);
  position: relative;
  overflow: hidden;
  /* Prevent any child from causing horizontal page overflow */
  max-width: 100%;
}

.packages-section .section-subtitle {
  background: rgba(255, 255, 255, 0.12);
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.3);
}

.packages-section .section-main-title {
  color: #ffffff;
}

.packages-section .section-description {
  color: rgba(255, 255, 255, 0.65);
}

.packages-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.packages-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

/* Slider wrapper */
.pkg-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.pkg-slider-track-outer {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.pkg-slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each slide shows 3 cards at once on desktop */
.pkg-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
}

.pkg-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pkg-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pkg-card-header {
  background: var(--pkg-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pkg-icon {
  width: 48px;
  height: 48px;
  background: var(--pkg-color);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--pkg-color) 40%, transparent);
}

.pkg-card-header h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
  line-height: 1.2;
}

.pkg-count {
  font-size: 0.78rem;
  color: var(--pkg-color);
  font-weight: 700;
  background: var(--pkg-light);
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--pkg-light);
}

.pkg-test-list {
  list-style: none;
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pkg-test-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.pkg-test-list li i {
  color: var(--secondary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pkg-book-btn {
  margin: 0 1.5rem 1.5rem;
  width: calc(100% - 3rem);
}

/* Nav buttons */
.pkg-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
  z-index: 2;
}

.pkg-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.pkg-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Dots */
.pkg-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pkg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.pkg-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* Responsive slider */
@media (max-width: 900px) {
  .pkg-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 600px) {
  .pkg-slide {
    flex: 0 0 100%;
  }

  .pkg-nav-btn {
    display: none;
  }
}





/* --------------------------------------------------------------------------
   9. DOCTORS DIRECTORY (8 SPECIALIST DOCTORS)
   -------------------------------------------------------------------------- */
.doctors-section {
  background: #f1f5f9;
}

.doctors-filter-wrapper {
  margin-bottom: 2.5rem;
}

.doctors-search-bar {
  max-width: 550px;
  margin: 0 auto 1.5rem auto;
  position: relative;
}

.doctors-search-bar input {
  width: 100%;
  padding: 0.9rem 1.5rem 0.9rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.doctors-search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.doctors-search-bar i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}

.filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.doctor-image-wrapper {
  position: relative;
  height: 260px;
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  overflow: hidden;
}

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

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

.image-provision-notice {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #7dd3fc;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.doctor-badge-exp {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: var(--white);
  color: var(--slate-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.doctor-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--slate-900);
}

.doctor-designation {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.specialist-title-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 0.4rem;
}

.specialist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.spec-pill {
  font-size: 0.75rem;
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

.doctor-schedule-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.doctor-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. MAP & CONTACT STYLES
   -------------------------------------------------------------------------- */
.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  margin-top: 2.5rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   11. MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 1.5rem;
}

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

.modal-card {
  background: var(--white);
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.92);
  transition: var(--transition-normal);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

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

.modal-header {
  background: var(--slate-900);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-title {
  font-size: 1.25rem;
  color: var(--white);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--slate-700);
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-brand-name {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* ==========================================================================
   12. COMPREHENSIVE RESPONSIVE STYLES
   ========================================================================== */

/* ---------- MOBILE NAV DRAWER ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-check-report {
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.active {
  display: block;
  opacity: 1;
}

@media (max-width: 900px) {

  /* ── Hide close button (no longer needed) ── */
  .nav-close-item {
    display: none !important;
  }

  /* ── CREATIVE MOBILE NAVBAR: Compact sticky header ── */
  .navbar {
    background: rgba(15, 23, 42, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
  }

  .nav-container {
    height: 64px;
  }

  /* Logo on dark navbar */
  .logo-text-title {
    color: #ffffff;
  }

  .logo-text-sub {
    color: #38bdf8;
  }

  /* ── Full-screen overlay drawer ── */
  .nav-menu {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 60%, #0c1f35 100%);
    z-index: 1200;
    padding: 5.5rem 1.5rem 8rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  /* ── Overlay logo block ── */
  .nav-overlay-logo {
    display: flex !important;
    align-items: center;
    gap: 0.85rem;
    padding: 0 0.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.75rem;
  }

  .nav-overlay-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .nav-overlay-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nav-overlay-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1;
  }

  .nav-overlay-sub {
    font-size: 0.68rem;
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: none;
  }

  /* Nav links with icons inside overlay */
  .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    width: 100%;
    border-radius: 14px;
    margin-bottom: 0.35rem;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  /* Show icons inside overlay only */
  .nav-link i.nav-icon {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    font-size: 1rem;
    color: #38bdf8;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.12);
  }

  .nav-link:hover i.nav-icon,
  .nav-link.active i.nav-icon {
    background: linear-gradient(135deg, #0284c7, #0d9488);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  }

  .nav-link::after {
    display: none;
  }

  /* ── Mobile hamburger toggle — dark version ── */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    font-size: 1.1rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 1300;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s ease;
  }

  .mobile-toggle:hover {
    background: rgba(255,255,255,0.18);
  }

  /* ── Close (X) pinned at top-right of the overlay ── */
  .nav-close-btn {
    display: flex !important;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1400;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
  }

  .nav-close-btn:hover {
    background: rgba(239,68,68,0.3);
    color: #ffffff;
  }

  /* ── Check Report button on dark nav ── */
  .navbar .btn-primary {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    padding: 0.5rem 0.85rem !important;
  }

  /* ── Hero ── */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 340px;
    margin: 0 auto;
  }

  /* ── Services icon grid ── */
  .services-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .svc-icon-card {
    padding: 1.25rem 1rem 1rem;
  }

  .svc-number {
    font-size: 3.5rem;
  }

  .svc-stats-ribbon {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
    padding: 1rem 0.75rem !important;
    margin-top: 2rem !important;
    background: linear-gradient(145deg, #0f172a, #1e293b) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  }

  .svc-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.9rem 0.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    text-align: center !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
  }

  .svc-stat:active {
    transform: scale(0.97) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .svc-stat i {
    font-size: 1.4rem !important;
    color: #38bdf8 !important;
    margin-bottom: 0.3rem !important;
    filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.4)) !important;
  }

  .svc-stat strong {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
  }

  .svc-stat span {
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin-top: 2px !important;
  }

  .svc-stat-divider {
    display: none !important;
  }

  /* ── Diagnostic grid ── */
  .diag-categories-grid {
    grid-template-columns: 1fr;
  }

  .diag-cta-row {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .diag-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Doctors ── */
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* ── Check report banner ── */
  .check-report-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

  /* ── Package slider ── */
  .pkg-nav-btn {
    display: none;
  }

  .pkg-slide {
    flex: 0 0 calc(100vw - 3rem);
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ── Section padding ── */
  .section-padding {
    padding: 2rem 0;
  }

  .section-main-title {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* ── Home sample collection ── */
  .home-col-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Stats grid ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Filter pills ── */
  .filter-pills {
    gap: 0.4rem;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .services-icon-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-title {
    font-size: 1.7rem;
  }

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

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   12. MOBILE BOTTOM QUICK ACTION BAR & OPTIMIZED MOBILE LAYOUT
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Room for mobile sticky bottom bar */
  }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 0.35rem 0.5rem;
  }

  .mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 600;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-bar-item i {
    font-size: 1.15rem;
    color: #0284c7;
  }

  .mobile-bar-item.whatsapp i {
    color: #22c55e;
  }

  .mobile-bar-item.primary {
    background: linear-gradient(135deg, #0284c7, #0d9488);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.4rem 0.5rem;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  }

  .mobile-bar-item.primary i {
    color: #ffffff;
  }

  /* Doctor card mobile app styling */
  .doctor-card {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  }

  /* Modal bottom sheet on mobile */
  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: 88vh !important;
    overflow-y: auto;
  }

  /* Mobile Health Checkup Packages — Native touch carousel, no page overflow */
  .pkg-slider-wrapper {
    position: relative !important;
    display: block !important;
    /* Clip everything so the track can't bleed past the section */
    overflow: hidden !important;
    margin: 0 -1rem !important;         /* negative margin to reach edge */
    padding: 0 !important;
  }

  .pkg-nav-btn {
    display: none !important;
  }

  .pkg-slider-track-outer {
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    /* Side padding creates the "peek" effect */
    padding: 0.75rem 1rem 1.5rem !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }

  .pkg-slider-track-outer::-webkit-scrollbar {
    display: none !important;
  }

  .pkg-slider-track {
    display: flex !important;
    gap: 1rem !important;
    transform: none !important;
    width: auto !important;             /* let flex items define the width */
  }

  .pkg-slide {
    /* 88vw fits nicely with side peek without page bleed */
    flex: 0 0 calc(88vw - 2rem) !important;
    min-width: 260px !important;
    max-width: 340px !important;
    scroll-snap-align: start !important;
    height: auto !important;
  }

  .pkg-card {
    background: linear-gradient(145deg, #1e293b, #0f172a) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    padding: 0 0 1.25rem 0 !important;
    height: 100% !important;
  }

  .pkg-card-header {
    padding: 1.25rem 1.25rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .pkg-card-header h3 {
    text-align: left !important;
    font-size: 1.1rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  .pkg-test-list {
    padding: 1rem 1.25rem !important;
    text-align: left !important;
    gap: 0.65rem !important;
  }

  .pkg-test-list li {
    font-size: 0.85rem !important;
    color: #cbd5e1 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .pkg-book-btn {
    margin: 0.5rem 1.25rem 0 !important;
    width: calc(100% - 2.5rem) !important;
    border-radius: 12px !important;
    padding: 0.75rem !important;
    font-weight: 700 !important;
  }

  .pkg-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    margin-top: 1rem !important;
    padding-bottom: 0.5rem !important;
  }
}

/* --------------------------------------------------------------------------
   14. FLOATING WHATSAPP GROUP BUTTON & PAGE MOBILE RESPONSIVENESS
   -------------------------------------------------------------------------- */
.floating-whatsapp-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  padding: 0.7rem 1.25rem 0.7rem 0.85rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: floatGroupPulse 3s infinite ease-in-out;
}

.floating-whatsapp-group:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.whatsapp-group-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  color: #ffffff;
}

.whatsapp-group-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.whatsapp-group-title {
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.whatsapp-group-sub {
  font-size: 0.72rem;
  opacity: 0.92;
  white-space: nowrap;
}

@keyframes floatGroupPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.75);
  }
}

/* About & Contact Page Grid Utilities */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}

.about-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

/* Mobile Breakpoint Refinements for About & Contact */
@media (max-width: 768px) {
  .floating-whatsapp-group {
    bottom: 76px;
    right: 14px;
    padding: 0.55rem 1rem 0.55rem 0.65rem;
  }

  .floating-whatsapp-group .whatsapp-group-sub {
    display: none;
  }

  .floating-whatsapp-group .whatsapp-group-title {
    font-size: 0.82rem;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-cards-grid {
    margin-bottom: 2rem;
    gap: 1rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  .map-wrapper iframe {
    height: 320px;
  }

  .page-header {
    padding: 2.5rem 1rem;
  }

  .page-header-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .floating-whatsapp-group .whatsapp-group-text {
    display: none;
  }

  .floating-whatsapp-group {
    padding: 0.6rem;
    border-radius: 50%;
  }

  .whatsapp-group-icon {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    background: transparent;
  }
}

/* --------------------------------------------------------------------------
   15. PRINT
   -------------------------------------------------------------------------- */
@media print {
  body>*:not(.modal-overlay) {
    display: none !important;
  }
}