﻿/* ==========================================================================
   Hospital Affiliation Page - Professional Medical Network Theme
   Dr. Darshan Bafna Orthopaedics
   ========================================================================== */


:root {
  --theme-navy: #001F62;
  --theme-navy-dark: #001238;
  --theme-blue-accent: #0d6efd;
  --theme-blue-light: #e8f0fe;
  --theme-bg-light: #f8fafc;
  --theme-card-bg: #ffffff;
  --theme-text-dark: #1e293b;
  --theme-text-muted: #64748b;
  --theme-border: rgba(0, 31, 98, 0.08);
}

body.ha-page {
  font-family: 'Poppins', sans-serif;
  color: var(--theme-text-dark);
  background-color: var(--theme-bg-light);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ── RELEVANT FULL-WIDTH HERO BANNER (MINIMAL TEXT ONLY) ── */
.ha-fullwidth-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: linear-gradient(rgba(0, 31, 98, 0.45), rgba(0, 18, 56, 0.60)),
              url('../img/hospital-banner.jpg') center 40% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  box-sizing: border-box;
}

.ha-banner-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.ha-banner-title {
  font-family: 'Audiowide', cursive, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}


/* ── SECTION COMMON ─────────────────────────────────────── */
.ha-section-block {
  padding: 65px 0;
}

.ha-section-block.bg-white {
  background-color: #ffffff;
}

.ha-heading-main {
  font-family: "Audiowide", system-ui;
  font-size: 2.25rem;
  color: var(--theme-navy);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.ha-subheading-main {
  font-family: 'Outfit', sans-serif;
  color: var(--theme-text-muted);
  text-align: center;
  font-size: 1.05rem;
  max-width: 740px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

/* ── AFFILIATION PARTNER LOGOS OVERRIDE (MATCH HOMEPAGE) ──── */
.ha-page .hospitalaffiliation-section {
  background-color: #f9f9f9;
  padding: 65px 0;
  min-height: auto;
}

.ha-page .affiliation-heading {
  font-family: "Audiowide", system-ui;
  font-size: 34px;
  font-weight: bold;
  color: #001F62;
  text-align: center;
  margin-bottom: 12px;
}

.ha-page .affiliation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 0 4%;
  margin-left: 0 !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ha-page .affiliation-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  width: 100%;
}

.ha-page .affiliation-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}

.ha-page .affiliation-row-4 .affiliation-logo {
  flex: 0 0 calc(25% - 25px);
  max-width: calc(25% - 25px);
}

.ha-page .affiliation-row-5 .affiliation-logo {
  flex: 0 0 calc(20% - 25px);
  max-width: calc(20% - 25px);
}

.ha-page .affiliation-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.ha-page .affiliation-logo img {
  width: 82%;
  max-height: 85px;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.05), 12px 12px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ha-page .affiliation-logo:hover img {
  transform: translateY(-5px) scale(1.04);
  box-shadow: -3px -3px 8px rgba(0, 0, 0, 0.08), 16px 16px 28px rgba(0, 0, 0, 0.22);
}

.ha-page .affiliation-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #001F62;
  margin-top: 10px;
  text-align: center;
  line-height: 1.3;
}

.ha-page .affiliation-sub {
  font-size: 0.82rem;
  color: #0d6efd;
  font-weight: 600;
  text-align: center;
  margin-top: 3px;
}

/* ── VISUAL FACILITIES (REAL IMAGES) ─────────────────────── */
.facilities-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.facility-image-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  box-shadow: 0 8px 24px rgba(0, 31, 98, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.facility-image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 31, 98, 0.16);
}

.facility-card-img {
  height: 200px;
  width: 100%;
  overflow: hidden;
  background-color: #f1f5f9;
}

.facility-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.facility-card-body {
  padding: 1.25rem;
  text-align: center;
  flex: 1;
}

.facility-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--theme-navy);
  margin-bottom: 6px;
}

.facility-card-desc {
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── 24/7 EMERGENCY BAND ────────────────────────────────── */
.emergency-showcase-band {
  background: linear-gradient(135deg, var(--theme-navy) 0%, var(--theme-navy-dark) 100%);
  border-radius: 20px;
  padding: 42px 30px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 31, 98, 0.25);
  max-width: 1100px;
  margin: 0 auto;
}

.emergency-showcase-band h3 {
  font-family: "Audiowide", system-ui;
  font-size: 2.1rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.emergency-showcase-band p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 740px;
  margin: 0 auto 22px auto;
  line-height: 1.65;
}

.emergency-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: var(--theme-navy) !important;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.emergency-call-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* ── DIAGNOSTIC & REHAB CARDS ───────────────────────────── */
.ha-service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  border: 1px solid var(--theme-border);
  box-shadow: 0 8px 24px rgba(0, 31, 98, 0.08);
}

.ha-service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--theme-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ha-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ha-service-list li {
  font-size: 0.94rem;
  color: var(--theme-text-dark);
  margin-bottom: 12px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ha-service-list li i {
  color: #10b981;
  margin-top: 4px;
  font-size: 1rem;
}

/* ── MAP & CLINIC INFO ──────────────────────────────────── */
.ha-clinic-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  border: 1px solid var(--theme-border);
  box-shadow: 0 8px 24px rgba(0, 31, 98, 0.08);
  display: flex;
  flex-direction: column;
}

.ha-clinic-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--theme-navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ha-clinic-address {
  font-size: 0.95rem;
  color: var(--theme-text-dark);
  line-height: 1.6;
  margin-bottom: 18px;
}

.ha-clinic-timings {
  margin-bottom: 22px;
}

.ha-clinic-timings h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--theme-navy);
  margin-bottom: 8px;
}

.ha-clinic-timings ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: var(--theme-text-muted);
}

.ha-clinic-timings ul li {
  margin-bottom: 6px;
}

.ha-clinic-actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ha-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--theme-navy);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ha-btn-solid:hover {
  background-color: var(--theme-navy-dark);
  transform: translateY(-2px);
}

.ha-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: transparent;
  color: var(--theme-navy) !important;
  border: 1.5px solid var(--theme-navy);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ha-btn-outline:hover {
  background-color: var(--theme-blue-light);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .ha-banner-title {
    font-size: 2.5rem;
  }
  .ha-heading-main, .ha-page .affiliation-heading {
    font-size: 28px;
  }
  .ha-page .affiliation-row-4 .affiliation-logo,
  .ha-page .affiliation-row-5 .affiliation-logo {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}

@media (max-width: 767px) {
  .ha-fullwidth-banner {
    padding-top: 120px;
    min-height: 380px;
    padding-bottom: 45px;
  }
  .ha-banner-title {
    font-size: 1.95rem;
  }
  .ha-banner-subtitle {
    font-size: 0.92rem;
  }
  .ha-banner-desc {
    font-size: 1rem;
  }
  .ha-page .affiliation-row-4 .affiliation-logo,
  .ha-page .affiliation-row-5 .affiliation-logo {
    flex: 0 0 calc(50% - 14px);
    max-width: calc(50% - 14px);
  }
  .ha-page .affiliation-logo img {
    width: 95%;
  }
  .emergency-showcase-band {
    padding: 30px 20px;
  }
  .emergency-showcase-band h3 {
    font-size: 1.6rem;
  }
}

/* ── HOSPITAL AFFILIATION OVERVIEW SEO SECTION ── */
.ha-overview-lead {
  font-family: 'Outfit', sans-serif;
  color: #334155;
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 960px;
}

.ha-info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 28px;
  border: 1px solid rgba(0, 31, 98, 0.08);
  box-shadow: 0 4px 20px rgba(0, 31, 98, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ha-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(0, 31, 98, 0.08);
}

.ha-info-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ha-info-card-header i {
  font-size: 1.75rem;
  color: var(--theme-navy) !important;
}

.ha-info-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--theme-navy);
  margin: 0;
}

.ha-info-card p {
  font-family: 'Outfit', sans-serif;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.ha-evaluation-box {
  background: #f8fafc;
  border: 1px solid rgba(0, 31, 98, 0.09);
  border-radius: 14px;
  padding: 32px 30px;
}

.ha-eval-sub-block h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--theme-navy);
  margin-bottom: 12px;
}

.ha-eval-sub-block p {
  font-family: 'Outfit', sans-serif;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.75;
}

@media (min-width: 992px) {
  .ha-eval-sub-block.border-start-lg {
    border-left: 1px solid rgba(0, 31, 98, 0.12);
    padding-left: 28px;
  }
}
.banner-breadcrumb {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
