/* ==========================================================================
   Bhopal Multispeciality Hospital (BMH) - Creative, Minimal & Modern Design System
   High visual impact, authentic real hospital photography, minimal word count
   ========================================================================== */

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

:root {
  /* Primary Navy Palette */
  --navy-950: #051326;
  --navy-900: #0a1f3d;
  --navy-800: #0f2d57;
  --navy-700: #173d72;
  --navy-600: #1e4e8c;
  --navy-500: #2563eb;
  --navy-100: #e8f0fe;
  --navy-50:  #f4f8fd;

  /* Clinical Teal / Emerald */
  --teal-800: #08544c;
  --teal-700: #0c6d62;
  --teal-600: #0f877a;
  --teal-500: #129d8e;
  --teal-400: #14b8a6;
  --teal-200: #bbf0e9;
  --teal-100: #e2f8f5;
  --teal-50:  #f2fbf9;

  /* Emergency Accent */
  --rose-700: #be123c;
  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --rose-100: #ffe4e6;
  --rose-50:  #fff1f2;

  /* Neutrals */
  --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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Elevation */
  --shadow-xs: 0 1px 2px rgba(10, 31, 61, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 31, 61, 0.05);
  --shadow-md: 0 6px 16px -2px rgba(10, 31, 61, 0.06), 0 2px 6px -1px rgba(10, 31, 61, 0.03);
  --shadow-lg: 0 16px 32px -4px rgba(10, 31, 61, 0.08), 0 4px 12px -2px rgba(10, 31, 61, 0.03);
  --shadow-xl: 0 24px 48px -8px rgba(10, 31, 61, 0.12);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1220px;
  --header-height: 74px;
  --topbar-height: 40px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--teal-200);
}

.section-title {
  color: var(--navy-900);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--slate-600);
}

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

.section-padding-sm {
  padding: 40px 0;
}

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--slate-50); }
.bg-navy  { background-color: var(--navy-900); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-teal {
  background-color: var(--teal-600);
  color: var(--white);
}
.btn-teal:hover {
  background-color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(15, 135, 122, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}
.btn-outline:hover {
  background: var(--navy-50);
  border-color: var(--navy-700);
}

.btn-danger {
  background-color: var(--rose-600);
  color: var(--white);
}
.btn-danger:hover {
  background-color: var(--rose-700);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

/* ==========================================================================
   Header & Minimal Menu
   ========================================================================== */
.topbar {
  background-color: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
}

.topbar-emergency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fecdd3;
  font-weight: 600;
}
.topbar-emergency strong {
  color: #fff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--rose-500);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(244, 63, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hospital-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--teal-200);
}

/* Minimalist Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--slate-700);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--navy-900);
  background-color: var(--slate-100);
}

.nav-link.active {
  color: var(--navy-900);
  font-weight: 700;
  background-color: var(--navy-50);
}

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

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* ==========================================================================
   Creative Bento Grid & Visual Showcase
   ========================================================================== */
.bento-hero {
  position: relative;
  background: linear-gradient(135deg, #071932 0%, #0c274c 60%, #103869 100%);
  color: var(--white);
  padding: 50px 0 60px;
  overflow: hidden;
}

.bento-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #2dd4bf;
  margin-bottom: 16px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
}
.hero-stat-pill strong {
  display: block;
  font-size: 1.4rem;
  color: #fff;
  font-family: var(--font-heading);
}
.hero-stat-pill span {
  font-size: 0.74rem;
  color: #94a3b8;
}

/* Real Hospital Photo Frame with Floating Badge */
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.hero-photo-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-photo-frame:hover img {
  transform: scale(1.03);
}

.hero-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 19, 38, 0.95) 80%);
  padding: 24px 20px 16px;
  color: #fff;
}

/* Bento Grid System for Departments & Facilities */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.bento-card-media {
  position: relative;
  height: 190px;
  background: var(--slate-100);
  overflow: hidden;
}

.bento-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-card-media img {
  transform: scale(1.04);
}

.bento-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 31, 61, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.bento-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bento-card-body h3 {
  font-size: 1.18rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.bento-card-body p {
  font-size: 0.86rem;
  color: var(--slate-600);
  margin-bottom: 12px;
  flex-grow: 1;
}

.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.bento-pill {
  font-size: 0.74rem;
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ==========================================================================
   Creative Doctor Cards with Authentic Portraits
   ========================================================================== */
.doctor-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.doctor-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--slate-300);
}

.doctor-portrait-box {
  position: relative;
  height: 250px;
  background: linear-gradient(180deg, #eef4fb 0%, #d8e5f5 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.doctor-portrait-box img {
  max-height: 94%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.doctor-bento-card:hover .doctor-portrait-box img {
  transform: scale(1.03);
}

.doctor-badge-role {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.doctor-bento-content {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.doctor-bento-content h3 {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.doctor-spec-label {
  font-size: 0.85rem;
  color: var(--teal-700);
  font-weight: 600;
  margin-bottom: 6px;
}

.doctor-degree-label {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.doctor-opd-badge {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.doctor-opd-badge strong {
  display: block;
  font-size: 0.84rem;
}

/* ==========================================================================
   State Felicitation & Honors Gallery
   ========================================================================== */
.awards-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.award-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.award-photo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.award-photo-desc {
  padding: 14px;
  font-size: 0.82rem;
  color: var(--slate-700);
  line-height: 1.4;
}

/* ==========================================================================
   Packages Minimal Grid
   ========================================================================== */
.package-card-minimal {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.package-card-minimal:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}

.package-card-minimal h3 {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.package-card-minimal .pkg-tag {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 14px;
}

.pkg-test-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pkg-test-pill {
  font-size: 0.76rem;
  background: var(--teal-50);
  color: var(--teal-800);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--teal-100);
}

/* ==========================================================================
   TPA & Insurances Grid
   ========================================================================== */
.tpa-partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.tpa-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  transition: all var(--transition-fast);
}

.tpa-card:hover {
  border-color: var(--navy-600);
  color: var(--navy-900);
}

/* ==========================================================================
   Clean Footer
   ========================================================================== */
.footer-clean {
  background-color: var(--navy-950);
  color: #94a3b8;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav li a {
  color: #94a3b8;
  font-size: 0.86rem;
}
.footer-nav li a:hover {
  color: var(--white);
}

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

/* ==========================================================================
   Patient Testimonials & Clinical Recovery Stories
   ========================================================================== */
.trust-rating-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.trust-stars {
  color: #f59e0b;
  font-size: 0.95rem;
}

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

.testimony-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.testimony-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}

.testimony-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.testimony-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-800);
  border: 1px solid var(--teal-200);
}

.testimony-quote {
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
  flex-grow: 1;
}

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

.author-info h4 {
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.76rem;
  color: var(--slate-500);
}

.verified-recovery-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimony-clinical-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 14px;
}

.testimony-thumb-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--slate-300);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.testimony-thumb-img:hover {
  transform: scale(1.06);
}

.testimony-thumb-text {
  font-size: 0.76rem;
  color: var(--slate-600);
  line-height: 1.35;
}

.testimony-thumb-text strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.8rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-hero-grid { grid-template-columns: 1fr; }
  .bento-grid, .doctor-bento-grid, .testimony-grid { grid-template-columns: repeat(2, 1fr); }

  .awards-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tpa-partner-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .mobile-nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 999;
  }
  .nav-menu.show { display: flex; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .bento-grid, .doctor-bento-grid, .awards-gallery-grid, .testimony-grid { grid-template-columns: 1fr; }
  .tpa-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
