/* ==========================================================================
   NPHRI HOSPITAL - MODERN HEALTHCARE DESIGN SYSTEM
   National Pharma Hospital & Research Institute, Thanjavur
   ========================================================================== */

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

:root {
  /* Color Palette */
  --primary: #0f3b6c;
  --primary-dark: #0a2544;
  --primary-light: #165ba8;
  --secondary: #0284c7;
  --secondary-light: #38bdf8;
  --accent: #0ea5e9;
  --accent-soft: #e0f2fe;
  
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-soft: #ecfdf5;
  
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  
  --amber: #f59e0b;
  --amber-soft: #fffbeb;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  
  /* Neutral Grays */
  --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-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.03);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-glow: 0 10px 30px -5px rgba(2, 132, 199, 0.25);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s 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;
  color-scheme: light;
}

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

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

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

ul, ol {
  list-style: none;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-sm {
  max-width: 960px;
}

/* ==========================================================================
   TOP EMERGENCY BAR & HEADER
   ========================================================================== */

.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item i {
  color: var(--secondary-light);
  font-size: 0.95rem;
}

.emergency-pill {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ffffff;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--danger);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.8);
  animation: pulseAnimation 1.6s infinite;
}

@keyframes pulseAnimation {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.nabh-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ==========================================================================
   STICKY MAIN NAVIGATION
   ========================================================================== */

.main-header {
  background: var(--white);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header.is-sticky {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

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

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-link {
font-size: 0.82rem;
    font-weight: 900;
  color: var(--slate-700);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: space-around;
    align-content: flex-start;
    flex-wrap: wrap;
}

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

/* Dropdowns */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 270px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1010;
  max-height: 480px;
  overflow-y: auto;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
}

.dropdown-item i {
  color: var(--secondary);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.dropdown-item:hover {
  background-color: var(--accent-soft);
  color: var(--primary);
}

/* Header Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 59, 108, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 6px 18px rgba(15, 59, 108, 0.35);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background-color: var(--accent-soft);
}

.btn-emergency {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

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

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */

.hero-slider-container {
  position: relative;
  background: #081628;
  color: var(--white);
  overflow: hidden;
}

.hero-slide {
  display: none;
  position: relative;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(135deg, #07192f 0%, #0f3b6c 50%, #0e5b9e 100%);
  animation: fadeIn 0.6s ease;
}

.hero-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

.hero-slide-nav {
  position: absolute;
  bottom: 25px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
}

.hero-slide-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.hero-slide-btn:hover {
  background: var(--secondary);
}

.hero-slide-dots {
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: #38bdf8;
  width: 28px;
  border-radius: 9999px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
}

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

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: #bae6fd;
  margin-bottom: 1.25rem;
}

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

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -25px;
  background: var(--white);
  color: var(--slate-900);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  border: 1px solid var(--slate-100);
}

.floating-icon {
  width: 46px;
  height: 46px;
  background: var(--emerald-soft);
  color: var(--emerald);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.floating-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

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

.hero-top-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  z-index: 2;
}

.hero-top-badge img {
  height: 28px;
  width: auto;
}

/* ==========================================================================
   QUICK SCHEDULE & EMERGENCY CARDS STRIP
   ========================================================================== */

.quick-bar-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quick-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--slate-100);
  transition: var(--transition);
  position: relative;
}

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

.quick-card.highlight {
  background: linear-gradient(135deg, var(--primary), #0c335d);
  color: var(--white);
}

.quick-card.highlight h4, .quick-card.highlight p {
  color: var(--white);
}

.quick-card.highlight p {
  opacity: 0.9;
}

.quick-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--accent-soft);
  color: var(--secondary);
}

.quick-card.highlight .quick-icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  color: #38bdf8;
}

.quick-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
}

.quick-card p {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.55;
}

.quick-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.quick-card.highlight .quick-card-link {
  color: #38bdf8;
}

/* ==========================================================================
   DEPARTMENTS SLIDER / CAROUSEL VIEW
   ========================================================================== */

.dept-slider-container {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 2rem;
}

.dept-slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.dept-slide-item {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
}

.dept-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.slider-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-arrow-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #f1f5f9;
}

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

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

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

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

/* ==========================================================================
   DEPARTMENT CARD
   ========================================================================== */

.dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--slate-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.dept-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.dept-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.dept-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.dept-icon-floating {
  position: absolute;
  bottom: -22px;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--white);
}

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

.dept-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.dept-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.dept-features {
  margin-top: auto;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}

.dept-feat-tag {
  display: inline-block;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.dept-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dept-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   ABOUT BEST HOSPITAL SECTION
   ========================================================================== */

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

.about-images-stack {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 90%;
  height: 440px;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: 10px;
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-card img {
  height: 60px;
  width: auto;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--slate-800);
  font-size: 0.92rem;
}

.pillar-item i {
  color: var(--secondary);
  font-size: 1.15rem;
}

.about-perks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.perk-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

.perk-entry i {
  color: var(--emerald);
}

/* ==========================================================================
   STAT COUNTERS ROW
   ========================================================================== */

.counters-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3.5rem 0;
}

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

.counter-box h3 {
  font-size: 2.85rem;
  color: #38bdf8;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   CHAIRMAN HIGHLIGHT CARD
   ========================================================================== */

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

.chairman-photo-col {
  position: relative;
  background: linear-gradient(180deg, var(--slate-900), var(--primary-dark));
}

.chairman-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.chairman-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.chairman-badge h5 {
  color: var(--white);
  font-size: 1rem;
}

.chairman-badge p {
  color: #38bdf8;
  font-size: 0.8rem;
}

.chairman-body-col {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chairman-quote {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--slate-800);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--secondary);
  padding-left: 1.25rem;
}

/* ==========================================================================
   INSPIRING STORIES / TESTIMONIALS
   ========================================================================== */

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

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

.stars-row {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.65;
  font-style: italic;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--secondary);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   COMMITTED CULTURE CTA BANNER
   ========================================================================== */

.culture-cta-banner {
  background: linear-gradient(135deg, #091e38 0%, #0f3b6c 50%, #0284c7 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   MASTER HEALTH CHECKUP PACKAGES
   ========================================================================== */

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

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

.checkup-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.checkup-card.popular {
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow);
}

.popular-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.checkup-header {
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(180deg, var(--slate-50), var(--white));
  border-bottom: 1px solid var(--slate-100);
}

.checkup-header h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.checkup-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.checkup-price .amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.checkup-price .period {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.checkup-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.checkup-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.checkup-tests-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.checkup-tests-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--slate-800);
}

.checkup-tests-list li i {
  color: var(--emerald);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.checkup-footer {
  margin-top: auto;
}

.checkup-footer .btn {
  width: 100%;
}

/* ==========================================================================
   FACILITIES SHOWCASE
   ========================================================================== */

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

.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

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

.facility-img-wrap {
  height: 210px;
  overflow: hidden;
}

.facility-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.facility-body {
  padding: 1.5rem;
}

.facility-body h4 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.facility-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.facility-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.facility-highlights li {
  font-size: 0.82rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.facility-highlights li i {
  color: var(--emerald);
  font-size: 0.85rem;
}

/* ==========================================================================
   INSTITUTE CALLOUT
   ========================================================================== */

.institute-banner {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 4rem;
  box-shadow: var(--shadow-xl);
}

.inst-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.inst-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #7dd3fc;
  margin-bottom: 1rem;
}

.inst-title {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.inst-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.inst-courses-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.course-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
}

.inst-media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   PHOTO GALLERY
   ========================================================================== */

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

.gallery-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery-overlay span {
  color: #38bdf8;
  font-size: 0.78rem;
}

/* ==========================================================================
   APPOINTMENT BOOKING SECTION
   ========================================================================== */

.booking-section {
  background: linear-gradient(135deg, #091e38 0%, #0f3b6c 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
}

.booking-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

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

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

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  background: #081628;
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
}

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

.footer-brand h4 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-row i {
  color: var(--secondary-light);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
}

/* ==========================================================================
   FLOATING BUTTONS: WHATSAPP & SCROLL TO TOP
   ========================================================================== */

/* Floating WhatsApp Enquiry */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp i {
  font-size: 1.5rem;
}

.floating-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* Floating Scroll To Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(15, 59, 108, 0.3);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.4);
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 0.4rem 0.5rem;
}

.mobile-bottom-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.45rem 0.2rem;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
}

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

.mobile-bottom-item.emergency {
  color: #dc2626;
  background: #fef2f2;
}

.mobile-bottom-item.whatsapp {
  color: #059669;
  background: #ecfdf5;
}

.mobile-bottom-item.appointment {
  color: var(--primary);
  background: #e0f2fe;
}

/* ==========================================================================
   ALERTS
   ========================================================================== */

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.alert-success {
  background-color: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-badge-wrap {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-media-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
  .quick-cards-grid {
    grid-template-columns: 1fr;
  }
  .dept-slide-item {
    flex: 0 0 calc(50% - 0.75rem);
  }
  .facilities-grid, .checkup-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .chairman-card, .inst-grid, .booking-grid {
    grid-template-columns: 1fr;
  }
  .chairman-photo-col {
    height: 320px;
  }
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid var(--primary);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-actions .btn-whatsapp span, .nav-actions .btn-appointment span {
    display: none;
  }
  .nav-actions .btn-whatsapp, .nav-actions .btn-appointment {
    padding: 0.45rem 0.75rem;
    font-size: 1rem;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .dept-slide-item {
    flex: 0 0 100%;
  }
  .facilities-grid, .checkup-grid, .testimonials-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .booking-card {
    padding: 1.75rem;
  }
  .about-main-img {
    width: 100%;
    height: 280px;
  }
  .about-badge-card {
    position: static;
    margin-top: 1rem;
  }
  .hero-floating-card {
    left: 10px;
    bottom: -15px;
  }
  .floating-whatsapp {
    bottom: 75px;
    left: 15px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }
  .floating-whatsapp .whatsapp-text {
    display: none;
  }
  .scroll-to-top {
    bottom: 75px;
    right: 15px;
    width: 44px;
    height: 44px;
  }
  .mobile-sticky-bottom {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
}
