/* ==========================================================================
   GONARD HOSPITAL AND TRAUMA CENTER - Core Stylesheet (English Edition)
   Theme: Medical Blue & Emergency Red (Responsive Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */

:root {
  --primary-blue: #0b5cab;
  --secondary-blue: #073b75;
  --dark-navy: #06264d;
  --light-blue: #e8f2fc;
  --accent-cyan: #0ea5e9;
  --emergency-red: #c91c1d;
  --emergency-dark-red: #a31415;
  --success-green: #15803d;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-light: #dbe4ef;
  --bg-light: #f4f8fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(11, 92, 171, 0.1);
  --shadow-lg: 0 8px 24px rgba(7, 59, 117, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #f0f4f9;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOP EMERGENCY & UTILITY BAR
   ========================================================================== */
.top-bar {
  background: var(--emergency-red);
  color: var(--white);
  padding: 5px 0;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.emergency-pill {
  background: #ffffff;
  color: var(--emergency-red);
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.top-bar-helpline a {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.top-bar-helpline a:hover {
  text-decoration: underline;
  color: #ffe4e6;
}

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

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.top-nav-links li a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 500;
}
.top-nav-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.top-search-input {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 4px 28px 4px 12px;
  font-size: 12px;
  width: 150px;
  transition: var(--transition);
  outline: none;
}
.top-search-input:focus {
  width: 200px;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.top-search-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 11px;
}

/* ==========================================================================
   MAIN BRANDING HEADER
   ========================================================================== */
.main-header {
  background: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.header-logo-area {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hospital-logo-img {
  height: 80px;
  width: auto;
  max-width: 95px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.hospital-logo-img:hover {
  transform: scale(1.02);
}

.header-center-area {
  flex-grow: 1;
  text-align: center;
}

.hospital-main-title {
  font-size: 26px;
  font-weight: 900;
  color: #0b4582;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1.2;
}

.hospital-address-line {
  font-size: 13.5px;
  color: #334155;
  font-weight: 600;
  margin-bottom: 3px;
}

.header-taglines-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ayushman-header-badge {
  display: inline-block;
  background: #fff1f2;
  color: #be123c;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px dashed #f43f5e;
}

.hospital-tagline {
  font-size: 14px;
  font-weight: 800;
  color: var(--emergency-red);
  letter-spacing: 0.5px;
  display: inline-block;
}

.header-nabh-area {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nabh-seal-img {
  height: 88px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}
.nabh-seal-img:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   MAIN NAVIGATION BAR (Single Row Fit Across Desktop)
   ========================================================================== */
.main-navbar {
  background: linear-gradient(180deg, #1668be 0%, #0a478b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 2px solid #07386e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-container {
  display: flex;
  align-items: stretch;
  padding: 0 8px;
}

.nav-links-menu {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  list-style: none;
  width: 100%;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.nav-item:last-child .nav-link {
  border-right: none;
}

.nav-link i {
  font-size: 13px;
  opacity: 0.9;
}

.nav-arrow {
  font-size: 9px !important;
  opacity: 0.8;
  margin-left: 2px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.nav-item.active .nav-link {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #fbbf24;
}

/* Dropdown styling */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 3px solid var(--accent-cyan);
  list-style: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease-in-out;
  padding: 6px 0;
}

.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: #f0f7ff;
  color: var(--primary-blue);
  padding-left: 20px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   FULL-WIDTH IMMERSIVE HERO SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: #06264d;
  border-bottom: 2px solid #cbd5e1;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 420px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease-in-out, visibility 0.7s;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 38, 77, 0.90) 0%, rgba(6, 38, 77, 0.65) 55%, rgba(6, 38, 77, 0.35) 100%);
  display: flex;
  align-items: center;
}

.slide-content {
  color: #ffffff;
  max-width: 720px;
  padding: 0 45px;
  z-index: 10;
}

.slide-tag {
  background: var(--emergency-red);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.slide-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slide-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slide-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
}

.slide-bullets span {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.slider-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Floating Emergency Card on Right Side */
.hero-emergency-card {
  position: absolute;
  top: 35px;
  right: 50px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 20;
  width: 250px;
  border: 2px solid #ef4444;
  text-align: center;
}

.hero-emergency-badge {
  background: var(--emergency-red);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-emergency-phones {
  margin-bottom: 10px;
}
.hero-phone-number {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #0b4582;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.hero-phone-number:hover {
  color: var(--emergency-red);
}

.hero-call-now-btn {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  border-radius: 25px;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  animation: heroPulse 2s infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.hero-call-now-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.5);
}

/* Slider Arrow Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.38);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 15;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover {
  background: var(--emergency-red);
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.slider-dot.active {
  background: var(--emergency-red);
  width: 26px;
  border-radius: 10px;
}

/* ==========================================================================
   QUICK ACTION BAR (Modern Interactive Action Buttons)
   ========================================================================== */
.quick-action-strip {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 2px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 14px 0;
  position: relative;
  z-index: 10;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.quick-action-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.quick-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.quick-action-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex-grow: 1;
}

.quick-action-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  white-space: normal;
  line-height: 1.25;
  letter-spacing: -0.2px;
  display: block;
}

.quick-action-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  white-space: normal;
  line-height: 1.2;
  margin-top: 3px;
  display: block;
}

/* Hover States per Card */
.quick-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

/* Card-Specific Themes */
.card-appointment .quick-action-icon-badge {
  background: #e0f2fe;
  color: #0284c7;
}
.card-appointment:hover {
  border-color: #0284c7;
}
.card-appointment:hover::before {
  background: #0284c7;
}
.card-appointment:hover .quick-action-icon-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

.card-opd .quick-action-icon-badge {
  background: #dcfce7;
  color: #16a34a;
}
.card-opd:hover {
  border-color: #16a34a;
}
.card-opd:hover::before {
  background: #16a34a;
}
.card-opd:hover .quick-action-icon-badge {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
}

.card-departments .quick-action-icon-badge {
  background: #e0e7ff;
  color: #4f46e5;
}
.card-departments:hover {
  border-color: #4f46e5;
}
.card-departments:hover::before {
  background: #4f46e5;
}
.card-departments:hover .quick-action-icon-badge {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
}

.card-patient .quick-action-icon-badge {
  background: #fef3c7;
  color: #d97706;
}
.card-patient:hover {
  border-color: #d97706;
}
.card-patient:hover::before {
  background: #d97706;
}
.card-patient:hover .quick-action-icon-badge {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
}

.card-feedback .quick-action-icon-badge {
  background: #f3e8ff;
  color: #9333ea;
}
.card-feedback:hover {
  border-color: #9333ea;
}
.card-feedback:hover::before {
  background: #9333ea;
}
.card-feedback:hover .quick-action-icon-badge {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  color: #ffffff;
}

/* ==========================================================================
   MAIN 3-COLUMN CORE SECTION (Theme Screenshot Replica)
   ========================================================================== */
.main-core-section {
  padding: 22px 0 28px;
}

.main-core-grid {
  display: grid;
  grid-template-columns: 28% 44% 28%;
  gap: 16px;
  align-items: start;
}

/* Common Section Card Header */
.section-header-banner {
  background: linear-gradient(180deg, #1668be 0%, #0a4687 100%);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.section-header-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-card-wrapper {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* --- COLUMN 1: OUR DEPARTMENTS --- */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
}

.department-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
}
.department-card:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.16);
}

.dept-icon-box {
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.department-card:hover .dept-icon-box {
  transform: scale(1.08);
}
.dept-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dept-title-en {
  font-size: 12.5px;
  font-weight: 800;
  color: #0b4582;
  line-height: 1.25;
}

.dept-title-hi {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

/* --- COLUMN 2: OUR DOCTORS --- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
}

.doctor-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 14px 8px 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.doctor-card:hover {
  border-color: #0284c7;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.16);
}

.doctor-avatar-box {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 10px;
  position: relative;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #38bdf8, 0 4px 10px rgba(2, 132, 199, 0.18);
  background: #f0fdf4;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.doctor-card:hover .doctor-avatar-box {
  transform: scale(1.04);
  box-shadow: 0 0 0 3px #0284c7, 0 6px 16px rgba(2, 132, 199, 0.3);
}
.doctor-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  display: block;
}

.doctor-status-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  border: 2px solid #ffffff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.doctor-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 3px;
}

.doctor-spec {
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  line-height: 1.2;
}

.doctor-spec-hi {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.doctor-card-btn {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b5cab 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 6px rgba(11, 92, 171, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.doctor-card-btn i {
  font-size: 11px;
}
.doctor-card-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.doctor-card.extra-doctor {
  grid-column: 2 / 3;
}

.view-all-doctors-bar {
  text-align: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.view-all-doctors-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: #0b5cab;
  background: #ffffff;
  border: 2px solid #0284c7;
  border-radius: 30px;
  padding: 9px 24px;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.12);
  cursor: pointer;
  transition: all 0.28s ease;
}
.view-all-doctors-btn:hover {
  background: linear-gradient(135deg, #0b5cab 0%, #0284c7 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
  text-decoration: none;
}
.view-all-doctors-btn i {
  font-size: 14px;
}
.view-all-doctors-btn .toggle-arrow {
  font-size: 11px;
  transition: transform 0.25s ease;
}

/* --- COLUMN 3: OUR SERVICES & OPD TIMINGS --- */
.services-section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-list-body {
  padding: 12px 16px;
}

.services-checklist {
  list-style: none;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6.5px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}
.service-item:last-child {
  border-bottom: none;
}

.check-icon {
  color: var(--success-green);
  font-size: 14px;
  flex-shrink: 0;
}

.opd-timings-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.opd-body {
  padding: 12px 16px;
  text-align: center;
}

.opd-title-days {
  font-size: 13px;
  font-weight: 700;
  color: #0c4d92;
  margin-bottom: 4px;
}

.opd-hours {
  font-size: 15px;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 4px;
}

.opd-sunday {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px dashed #f87171;
}

.opd-appointment-cta {
  margin-top: 10px;
}

/* ==========================================================================
   AYUSHMAN BHARAT & FREE TPA BANNER
   ========================================================================== */
.ayushman-banner-section {
  padding: 8px 0 20px;
}

.ayushman-strip {
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #991b1b 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  border: 2px solid #fecaca;
}

.ayushman-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ayushman-icon {
  font-size: 32px;
  color: #fef08a;
}

.ayushman-heading {
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.ayushman-sub {
  font-size: 13px;
  color: #fef2f2;
  font-weight: 500;
}

.ayushman-btn {
  background: #ffffff;
  color: var(--emergency-red);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
}
.ayushman-btn:hover {
  background: #fef2f2;
  color: var(--emergency-dark-red);
}

/* ==========================================================================
   FACILITIES & INFRASTRUCTURE SHOWCASE
   ========================================================================== */
.facilities-showcase-section {
  padding: 10px 0 30px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 22px;
}

.main-sec-badge {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}

.main-sec-title {
  font-size: 24px;
  font-weight: 900;
  color: #0c4d92;
  margin-bottom: 4px;
}

.main-sec-subtitle {
  font-size: 14px;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
}

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

.facility-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #0284c7;
}

.facility-img-box {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.facility-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.facility-card:hover .facility-img-box img {
  transform: scale(1.05);
}

.facility-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 69, 130, 0.9);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
}

.facility-content {
  padding: 16px;
}

.facility-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.facility-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* ==========================================================================
   ABOUT & NABH SECTION
   ========================================================================== */
.about-home-section {
  padding: 10px 0 25px;
}

.about-home-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   QUALITY TRUST BADGES BAR
   ========================================================================== */
.trust-badges-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.trust-badges-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  list-style: none;
  flex-wrap: wrap;
  gap: 15px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0c4d92;
}

.trust-badge-item i {
  font-size: 18px;
}
.trust-badge-item:nth-child(1) i { color: #16a34a; }
.trust-badge-item:nth-child(2) i { color: #0284c7; }
.trust-badge-item:nth-child(3) i { color: #dc2626; }
.trust-badge-item:nth-child(4) i { color: #8b5cf6; }
.trust-badge-item:nth-child(5) i { color: #ec4899; }

/* ==========================================================================
   MAIN FOOTER & ACCREDITATION BAR
   ========================================================================== */
.main-footer {
  background: linear-gradient(180deg, #093c73 0%, #05264b 100%);
  color: #ffffff;
  padding: 18px 0;
  border-top: 3px solid #0284c7;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.footer-item i {
  color: #38bdf8;
  font-size: 15px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}
.social-icon:hover {
  background: #38bdf8;
  color: #06264d;
}

.bottom-accreditation-bar {
  background: #041c38;
  color: #cbd5e1;
  text-align: center;
  padding: 10px 0;
  font-size: 12.5px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   BUTTONS & FORMS
   ========================================================================== */
.btn-primary-custom {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13.5px;
  border: none;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
  color: #ffffff;
}

.btn-outline-custom {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
}
.btn-outline-custom:hover {
  background: #ffffff;
  color: #0b4582;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   MODAL: BOOK APPOINTMENT
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  animation: modal-enter 0.3s ease-out;
}

@keyframes modal-enter {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header-custom {
  background: linear-gradient(180deg, #1668be 0%, #0a4687 100%);
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-custom h3 {
  font-size: 17px;
  font-weight: 800;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.modal-body-custom {
  padding: 20px;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group-custom {
  margin-bottom: 12px;
}

.form-group-custom label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.form-control-custom {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.form-control-custom:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.form-submit-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

/* ==========================================================================
   MOBILE FLOATING EMERGENCY BUTTON
   ========================================================================== */
.floating-mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  padding: 8px 14px;
  z-index: 1500;
  border-top: 1px solid #e2e8f0;
}

.mobile-call-bar-content {
  display: flex;
  gap: 10px;
}

.mobile-call-btn {
  flex: 1;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
}

.mobile-book-btn {
  flex: 1;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.3);
}
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 993px) {
  .nav-links-menu {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 1200px) {
  .hospital-main-title {
    font-size: 23px;
  }
  .nav-link {
    padding: 10px 7px;
    font-size: 12.5px;
  }
  .main-core-grid {
    grid-template-columns: 29% 42% 29%;
  }
  .slider-container {
    height: 380px;
  }
  .quick-action-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .quick-action-btn {
    padding: 10px 8px;
    gap: 8px;
  }
  .quick-action-icon-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .quick-action-title {
    font-size: 12.5px;
  }
  .quick-action-subtitle {
    font-size: 10.5px;
  }
}

@media (max-width: 992px) {
  .main-header .container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .header-logo-area, .header-nabh-area {
    margin-bottom: 4px;
  }
  .header-center-area {
    order: 3;
    width: 100%;
  }
  .hospital-main-title {
    font-size: 20px;
  }
  .nabh-seal-img {
    height: 74px;
  }
  
  .quick-action-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-links-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #0a4687;
    padding: 8px 0;
  }
  .nav-links-menu.show {
    display: flex;
  }
  .nav-link {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    justify-content: flex-start;
  }
  .nav-item.dropdown .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #063466;
    border-top: none;
    padding-left: 20px;
  }
  .nav-item.dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-item {
    color: #e2e8f0;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .main-core-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-container {
    height: 340px;
  }
  .slide-content {
    max-width: 100%;
    padding: 0 24px;
  }
  .slide-title {
    font-size: 26px;
  }
  .hero-emergency-card {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 56px;
  }
  .top-bar {
    font-size: 11.5px;
  }
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }
  .top-nav-links {
    display: none;
  }
  .hospital-logo-img {
    height: 68px;
  }
  .nabh-seal-img {
    height: 68px;
    max-width: 190px;
  }
  .hospital-main-title {
    font-size: 17px;
  }
  .hospital-address-line {
    font-size: 12px;
  }
  .hospital-tagline {
    font-size: 12px;
  }
  
  .slider-container {
    height: 290px;
  }
  .slide-title {
    font-size: 20px;
    line-height: 1.25;
  }
  .slide-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .slide-bullets {
    display: none;
  }
  .slide-tag {
    font-size: 11px;
    padding: 3px 8px;
    margin-bottom: 8px;
  }
  
  .quick-action-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .quick-action-btn {
    padding: 10px 12px;
    gap: 10px;
  }
  .quick-action-icon-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 8px;
  }
  .quick-action-title {
    font-size: 13px;
    font-weight: 800;
    white-space: normal;
  }
  .quick-action-subtitle {
    font-size: 11px;
    font-weight: 600;
    white-space: normal;
  }
  
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }
  .doctor-card.extra-doctor {
    grid-column: auto;
  }
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-badges-list {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }
  
  .footer-contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .floating-mobile-call-bar {
    display: block;
  }
  
  .form-grid-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .quick-action-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nabh-seal-img {
    height: 58px;
    max-width: 170px;
  }
}
