/* ==========================================================================
   NIRAMOY DIAGNOSTIC & POLYCLINIC - PREMIUM HEALTHCARE STYLESHEET
   Location: Kuthipara, Gobardanga, PIN - 743252
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0f766e 100%);
  --secondary: #0d9488;
  --secondary-dark: #115e59;
  --secondary-light: #ccfbf1;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --accent-light: #dcfce7;
  --emergency: #ef4444;
  --emergency-dark: #dc2626;
  --emergency-glow: rgba(239, 68, 68, 0.25);
  
  /* Neutral Palette */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-bengali: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-cyan: 0 10px 25px -5px rgba(2, 132, 199, 0.25);
  --shadow-emerald: 0 10px 25px -5px rgba(16, 185, 129, 0.25);

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

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Bengali Font Support */
[lang="bn"], .bengali-text, body.lang-bn {
  font-family: var(--font-bengali), var(--font-main);
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TOP EMERGENCY & NOTICE BAR
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #0b192c 0%, #0f2b48 100%);
  color: #e2e8f0;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.notice-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.badge-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--emergency);
  color: var(--white);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  animation: pulse-red 2s infinite;
  text-decoration: none;
}

.badge-emergency:hover {
  background-color: var(--emergency-dark);
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.notice-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.notice-item a {
  color: #38bdf8;
  font-weight: 700;
}
.notice-item a:hover {
  text-decoration: underline;
}

.notice-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.lang-switch-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ==========================================================================
   NAVIGATION BAR & HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 1000;
  transition: var(--transition);
  height: 72px;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.1);
  background-color: rgba(255, 255, 255, 0.98);
  height: 64px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  max-width: 270px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .brand-logo-img {
  height: 42px;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-book-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-cyan);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-book-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(2, 132, 199, 0.4);
}

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.mobile-quick-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.mobile-quick-btn.call {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.mobile-quick-btn.wa {
  background: #25d366;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.mobile-quick-btn:hover {
  transform: scale(1.08);
}

.mobile-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  border: 1.5px solid var(--slate-300);
  color: var(--slate-800);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--slate-200);
  color: var(--primary);
}

/* ==========================================================================
   OFF-CANVAS MOBILE NAVIGATION DRAWER & BACKDROP
   ========================================================================== */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: var(--white);
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

body.drawer-open {
  overflow: hidden;
}

.drawer-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

.drawer-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}

.drawer-brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.drawer-close-btn {
  background: var(--slate-200);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--slate-700);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: var(--emergency);
  color: var(--white);
}

.drawer-body {
  padding: 1.25rem 1.25rem 4rem;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-lang-row {
  margin-bottom: 1.25rem;
}

.drawer-lang-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--slate-100);
  border: 1.5px solid var(--slate-300);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  cursor: pointer;
  transition: var(--transition);
}

.drawer-lang-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.925rem;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-nav-link i {
  width: 22px;
  font-size: 1.1rem;
  color: var(--primary);
  text-align: center;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}

.drawer-cta-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-cyan);
  text-align: center;
  text-decoration: none;
}

.drawer-emergency-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.drawer-emergency-title {
  color: var(--emergency-dark);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.drawer-emergency-phone {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--emergency-dark);
  line-height: 1.2;
  text-decoration: none;
}

.drawer-emergency-phone.secondary {
  font-size: 1rem;
  color: var(--slate-700);
  margin-top: 2px;
}

.drawer-emergency-sub {
  font-size: 0.75rem;
  color: var(--slate-600);
  margin-top: 0.35rem;
}

/* ==========================================================================
   PERSISTENT MOBILE BOTTOM ACTION BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: center;
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--slate-600);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex: 1;
  text-align: center;
  gap: 2px;
}

.bottom-bar-item i {
  font-size: 1.15rem;
}

.bottom-bar-item:hover, .bottom-bar-item:active {
  color: var(--primary);
}

.bottom-bar-item.emergency-call {
  color: var(--emergency);
}
.bottom-bar-item.emergency-call i {
  animation: pulse-red 2s infinite;
}

.bottom-bar-item.whatsapp {
  color: #16a34a;
}

.bottom-bar-item.primary-cta {
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-cyan);
}

/* ==========================================================================
   PAGE HERO / INNER PAGE BANNER
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #07192f 0%, #0c2d48 50%, #0f3d63 100%);
  padding: 4.5rem 0 3.5rem;
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 5;
  max-width: 820px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb-nav span.current {
  color: #e2e8f0;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  background-color: var(--slate-900);
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
  filter: saturate(1.1);
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.85) 50%,
    rgba(15, 23, 42, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(8px);
  color: #7dd3fc;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-cyan);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.4);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-emergency-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--emergency);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--emergency-glow);
  animation: pulse-emergency 2.5s infinite;
  transition: var(--transition);
}

@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

.btn-emergency-hero:hover {
  background: var(--emergency-dark);
  transform: translateY(-2px);
}

/* Hero Key Features Cards / Stats */
.hero-stats-row {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
  width: 100%;
}

.stat-card-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  transition: var(--transition);
  min-width: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-card-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(15, 118, 110, 0.45) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #38bdf8;
  flex-shrink: 0;
}

.stat-info {
  min-width: 0;
  flex: 1;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* ==========================================================================
   TRUST & ACCREDITATION BANNER
   ========================================================================== */
.trust-bar {
  background-color: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.trust-badges-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--slate-100);
}

.section-bg-gradient {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  border: 4px solid var(--white);
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-text {
  color: var(--slate-600);
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.highlight-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-800);
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.care-leader-box {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.leader-info h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
}

.leader-info p {
  font-size: 0.825rem;
  color: var(--slate-600);
}

.leader-contact-btn {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

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

/* ==========================================================================
   CORE SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-card.featured-discount {
  border: 2px solid #38bdf8;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.service-card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #fef08a;
  color: #854d0e;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #fde047;
}

.service-card-badge.urgent {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

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

.service-card:hover .service-icon-box {
  background: var(--primary-gradient);
  color: var(--white);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.service-bengali-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-bengali);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features-list li {
  font-size: 0.85rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-features-list li i {
  color: var(--accent);
  font-size: 0.85rem;
}

.service-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-cta-link {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-cta-link:hover {
  color: var(--primary-dark);
  gap: 0.6rem;
}

/* ==========================================================================
   DOCTORS DIRECTORY & SCHEDULE
   ========================================================================== */
.filter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

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

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

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

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

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

.doctor-header {
  position: relative;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--slate-200);
}

.doctor-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  background: var(--white);
}

.doctor-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 2px solid var(--white);
}

.doctor-meta-top {
  flex-grow: 1;
}

.doctor-specialty-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.15);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.doctor-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}

.doctor-qualification {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--slate-600);
}

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

.doctor-affiliation {
  background: var(--slate-50);
  border-left: 3px solid var(--primary);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--slate-700);
  margin-bottom: 1rem;
}

.doctor-affiliation strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--slate-400);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.doctor-experience {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

.doctor-schedule-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.schedule-icon {
  font-size: 1.25rem;
  color: #ca8a04;
}

.schedule-details h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #854d0e;
}

.schedule-details p {
  font-size: 0.9rem;
  font-weight: 700;
  color: #713f12;
}

.doctor-card-footer {
  display: flex;
  gap: 0.75rem;
}

.btn-book-doctor {
  flex: 1;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  padding: 0.7rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-book-doctor:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn-doctor-call {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-doctor-call:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ==========================================================================
   HEALTH CHECKUP PACKAGES
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

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

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

.package-card.highlighted {
  border: 2px solid var(--secondary);
  position: relative;
}

.popular-ribbon {
  position: absolute;
  top: 15px;
  right: -30px;
  transform: rotate(45deg);
  background: var(--secondary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  z-index: 5;
}

.package-header {
  padding: 2rem 2rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--slate-200);
}

.package-discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.package-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.package-ideal {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.package-body {
  padding: 1.5rem 2rem;
  flex-grow: 1;
}

.package-tests-count {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.package-tests-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.package-tests-list li {
  font-size: 0.85rem;
  color: var(--slate-700);
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--slate-200);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.package-tests-list li i {
  color: var(--accent);
  font-size: 0.85rem;
}

.package-tests-list li:last-child {
  border-bottom: none;
}

.package-footer {
  padding: 1.25rem 2rem 1.75rem;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.package-cta-btn {
  flex: 1;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.package-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn-view-tests {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-view-tests:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}

/* ==========================================================================
   INTERACTIVE LAB TEST DISCOUNT & SAVINGS CALCULATOR
   ========================================================================== */
.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.calc-left {
  padding: 2.5rem;
}

.calc-title-box {
  margin-bottom: 1.5rem;
}

.calc-title-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.calc-title-box p {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.test-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom Scrollbar */
.test-selection-grid::-webkit-scrollbar {
  width: 6px;
}
.test-selection-grid::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}

.test-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.test-checkbox-label:hover {
  border-color: var(--primary);
  background: #f0f9ff;
}

.test-checkbox-label.checked {
  background: #e0f2fe;
  border-color: var(--primary);
}

.test-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.test-info input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.test-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
}

.test-rates {
  text-align: right;
}

.test-mrp {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-decoration: line-through;
}

.test-our-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.calc-right {
  background: linear-gradient(135deg, #0a2540 0%, #0f172a 100%);
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.selected-count-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-left: 0.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #94a3b8;
}

.price-row.total-market {
  text-decoration: line-through;
}

.price-row.savings {
  color: #4ade80;
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(74, 222, 128, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(74, 222, 128, 0.25);
  margin: 1.25rem 0;
}

.price-row.final-niramoy {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
}

.price-row.final-niramoy span.amount {
  color: #38bdf8;
  font-size: 2rem;
}

.calc-cta-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-book-tests-wa {
  background: #25d366;
  color: var(--white);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-book-tests-wa:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
}

/* ==========================================================================
   24 HOURS EMERGENCY SERVICES CALLOUT
   ========================================================================== */
.emergency-banner-section {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 50%, #450a0a 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.emergency-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.4) 0%, transparent 70%);
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.emergency-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fecaca;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.emergency-heading {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.emergency-desc {
  font-size: 1rem;
  color: #fecaca;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.emergency-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.emergency-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--white);
}

.emergency-call-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--slate-900);
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.emergency-call-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--emergency-dark);
  margin-bottom: 0.25rem;
}

.emergency-call-box p {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
}

.emergency-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.phone-card-btn {
  background: #fef2f2;
  border: 2px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--emergency-dark);
  font-size: 1.35rem;
  font-weight: 800;
  transition: var(--transition);
}

.phone-card-btn:hover {
  background: var(--emergency);
  color: var(--white);
  border-color: var(--emergency);
  transform: scale(1.02);
}

.incharge-badge {
  font-size: 0.8rem;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

/* ==========================================================================
   FACILITIES & LAB PHOTO SHOWCASE
   ========================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.facility-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  height: 320px;
  cursor: pointer;
  group: "";
}

.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-card:hover .facility-img {
  transform: scale(1.08);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.facility-overlay h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.facility-overlay p {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ==========================================================================
   AUTHENTIC NOTICE BOARD & FLYERS GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--slate-100);
}

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

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

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 132, 199, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

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

.gallery-caption {
  padding: 1rem;
}

.gallery-caption h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.775rem;
  color: var(--slate-500);
}

/* ==========================================================================
   APPOINTMENT BOOKING FORM SECTION
   ========================================================================== */
.appointment-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  padding: 5rem 0;
}

.appointment-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}

.appointment-info-col {
  background: linear-gradient(135deg, #0284c7 0%, #0f766e 100%);
  color: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.appointment-info-col h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.appointment-info-col p {
  font-size: 0.95rem;
  color: #e0f2fe;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.appointment-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
}

.appointment-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.appointment-benefits li i {
  color: #86efac;
  font-size: 1.1rem;
}

.quick-help-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.quick-help-box h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.quick-help-box p {
  font-size: 0.8rem;
  color: #bae6fd;
  margin-bottom: 0.5rem;
}

.quick-help-box a {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.appointment-form-col {
  padding: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: var(--transition);
}

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

.form-buttons-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-submit-wa {
  flex: 1;
  background: #25d366;
  color: var(--white);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-submit-wa:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
}

.btn-submit-form {
  flex: 1;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-submit-form:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

/* ==========================================================================
   LOCATION, MAP & CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
}

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

.info-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-block:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.info-details p, .info-details a {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.info-details a:hover {
  color: var(--primary);
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  transition: var(--transition);
}

.social-btn.fb {
  background: #1877f2;
}

.social-btn.insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.wa {
  background: #25d366;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.map-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 450px;
}

.map-header-bar {
  padding: 1rem 1.5rem;
  background: var(--slate-900);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-header-bar h5 {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-directions {
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-directions:hover {
  background: var(--primary-dark);
}

.map-iframe {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  border: none;
  min-height: 400px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--slate-900);
  color: #94a3b8;
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.footer-links {
  list-style: none;
}

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

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-timing-item {
  margin-bottom: 0.75rem;
}

.footer-timing-item strong {
  color: var(--white);
  display: block;
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.825rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  position: relative;
}

.floating-btn.wa {
  background: #25d366;
  animation: pulse-wa 2.5s infinite;
}

.floating-btn.emergency {
  background: var(--emergency);
  animation: pulse-red 2s infinite;
}

.floating-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.25rem;
}

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

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--emergency);
  color: var(--white);
}

/* Image Lightbox Modal */
.lightbox-content {
  max-width: 850px;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}

.lightbox-title {
  color: var(--white);
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS, PHONES & SMALL SCREENS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .nav-menu {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.825rem;
  }
  .about-grid, .calc-wrapper, .appointment-card, .contact-grid, .emergency-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal scrolling & allocate space for bottom bar */
  body {
    padding-bottom: 65px;
    overflow-x: hidden;
  }

  /* Compact Top Notice Bar */
  .top-notice-bar {
    padding: 0.35rem 0;
  }
  .notice-wrapper {
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  .notice-left {
    gap: 0.6rem;
  }
  .notice-item.notice-timing,
  .notice-item.notice-loc {
    display: none;
  }
  .notice-item.notice-phone span[data-i18n] {
    display: none;
  }
  .badge-emergency {
    font-size: 0.7rem;
    padding: 0.18rem 0.55rem;
  }
  .badge-emergency span {
    display: inline;
  }
  .notice-item.notice-phone a {
    font-size: 0.8rem;
  }
  .lang-switch-btn {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
  }

  /* Mobile Header */
  .site-header {
    height: 60px;
  }
  .site-header.scrolled {
    height: 56px;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 190px;
  }
  .desktop-nav {
    display: none;
  }
  .btn-book-nav {
    display: none;
  }
  .mobile-header-actions {
    display: flex;
  }

  /* Persistent Mobile Bottom Navigation Bar */
  .mobile-bottom-bar {
    display: flex;
  }

  /* Floating Actions Position on Mobile */
  .floating-actions {
    bottom: 80px;
    right: 14px;
    gap: 0.6rem;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding: 3rem 0 3.5rem;
    min-height: auto;
  }
  .hero-pill-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-cta-group a {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stat-card-glass {
    padding: 0.85rem;
    gap: 0.65rem;
  }
  .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
  .stat-value {
    font-size: 1.25rem;
  }
  .stat-label {
    font-size: 0.725rem;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 1.25rem 0;
  }
  .trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .trust-icon-wrap {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .trust-text h4 {
    font-size: 0.85rem;
  }
  .trust-text p {
    font-size: 0.75rem;
  }

  /* About Section Fix: Eliminate horizontal overflow from floating card */
  .about-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    max-width: 100%;
    box-shadow: var(--shadow-md);
  }
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .care-leader-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .leader-contact-btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids */
  .services-grid,
  .doctors-grid,
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .service-card,
  .doctor-card,
  .package-card {
    border-radius: var(--radius-lg);
  }
  .service-card {
    padding: 1.5rem;
  }
  .doctor-header {
    padding: 1.25rem;
    gap: 0.85rem;
  }
  .doctor-avatar-wrap {
    width: 76px;
    height: 76px;
  }
  .doctor-name {
    font-size: 1.15rem;
  }
  .doctor-body {
    padding: 1.25rem;
  }
  .package-header, .package-body, .package-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Section Headers */
  .section {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .section-subtitle {
    font-size: 0.925rem;
  }

  /* Filter Navigation on Mobile */
  .filter-nav {
    gap: 0.35rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Calculator on Mobile */
  .calc-left, .calc-right {
    padding: 1.5rem;
  }
  .test-selection-grid {
    grid-template-columns: 1fr;
    max-height: 350px;
  }
  .price-row.final-niramoy span.amount {
    font-size: 1.65rem;
  }

  /* Emergency Section */
  .emergency-heading {
    font-size: 1.75rem;
  }
  .emergency-call-box {
    padding: 1.5rem;
  }
  .phone-card-btn {
    font-size: 1.2rem;
    padding: 0.75rem;
  }

  /* Facilities */
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .facility-card {
    height: 220px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
  .gallery-thumb-wrap {
    height: 180px;
  }

  /* Appointment Booking Form */
  .appointment-info-col,
  .appointment-form-col {
    padding: 1.75rem 1.25rem;
  }
  .appointment-info-col h3 {
    font-size: 1.65rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-buttons-row {
    flex-direction: column;
  }

  /* Map Container */
  .map-container {
    min-height: 350px;
  }
  .map-iframe {
    min-height: 320px;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .stat-card-glass {
    padding: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .stat-value {
    font-size: 1.15rem;
  }
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .doctor-header {
    flex-direction: row;
    align-items: center;
  }
  .doctor-avatar-wrap {
    width: 65px;
    height: 65px;
  }
  .doctor-name {
    font-size: 1.1rem;
  }
  .doctor-card-footer {
    flex-direction: column;
  }
  .btn-doctor-call {
    width: 100%;
    height: 42px;
  }
  .modal-content {
    width: 95%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
  }
  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
  }
}
