/* SECTION WRAPPER */
.hospital-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 22px;
  max-width: 1200px;
  margin: 24px auto;
}

/* GRID */
.hospital-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Space between multiple hospital blocks */
.hospital-grid + .hospital-grid {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #eef1f6;
}

@media (max-width: 980px) {
  .hospital-grid {
    grid-template-columns: 1fr;
  }
}

/* LEFT IMAGE */
.hospital-media {
  border-radius: 26px;
  overflow: hidden;
  background: #f3f6fb;
  height: 360px;
}
.hospital-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT CONTENT */
.hospital-title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

/* Rating row */
.hospital-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.g-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e8edf5;
  display: grid;
  place-items: center;
  position: relative;
  background: #fff;
}
.g-text {
  font-weight: 900;
  font-size: 14px;
  color: #0f172a;
}
.g-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.95;
}
.g-blue {
  background: #4285f4;
  top: 4px;
  left: 10px;
}
.g-red {
  background: #ea4335;
  top: 10px;
  right: 4px;
}
.g-yellow {
  background: #fbbc05;
  bottom: 4px;
  left: 10px;
}
.g-green {
  background: #34a853;
  top: 10px;
  left: 4px;
}

.stars {
  display: flex;
  gap: 4px;
}
.stars svg {
  width: 16px;
  height: 16px;
  fill: #f4bf2a;
}

.reviews-link {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: underline;
}

/* Address */
.hospital-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
  margin: 10px 0 14px;
}
.icon-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffedd5;
  position: relative;
  flex: 0 0 18px;
}
.icon-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #f97316;
}

/* Badges */
.hospital-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6f7fb;
  border: 1px solid #e8edf5;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.badge-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
}
.badge-red {
  background: #fee2e2;
}
.badge-green {
  background: #dcfce7;
}
.badge-blue {
  background: #dbeafe;
}

/* Description */
.hospital-desc {
  margin: 10px 0 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  max-width: 62ch;
}
.readmore {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}
.readmore:hover {
  text-decoration: underline;
}

/* Top specialities */
.hospital-subtitle {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.spec-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e8edf5;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}
.pill:hover {
  background: #f8fafc;
}
.pill-more {
  color: #2563eb;
}

/* CTA buttons */
.hospital-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #2563eb;
  color: #2563eb;
  font-weight: 800;
  background: #fff;
}
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #0b4f98;
  background: #0b4f98;
  color: #fff;
  font-weight: 800;
}

.btn-ico,
.btn-phone {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.18;
}
.btn-solid .btn-phone {
  opacity: 0.22;
}

.clinic-footer {
  margin-top: 22px;
  background: #ffffff;
  border-top: 1px solid #eef1f6;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1.1fr 1fr;
  gap: 22px;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }
}

/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.footer-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(37, 99, 235, 0.04)
  );
  border: 1px solid #e8edf5;
  position: relative;
}
.footer-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 8px;
  background: #2563eb;
  opacity: 0.18;
}
.footer-name {
  font-weight: 900;
  font-size: 16px;
  color: #0f172a;
}
.footer-sub {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
}
.footer-desc {
  margin: 10px 0 14px;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  max-width: 56ch;
}

.footer-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fbtn-outline {
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #2563eb;
  color: #2563eb;
  font-weight: 900;
  background: #fff;
  min-width: 170px;
  text-align: center;
}
.fbtn-solid {
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #0b4f98;
  background: #0b4f98;
  color: #fff;
  font-weight: 900;
  min-width: 170px;
  text-align: center;
}
.fbtn-outline:hover {
  background: #f8fafc;
}
.fbtn-solid:hover {
  filter: brightness(1.05);
}

/* Columns */
.footer-title {
  margin: 8px 0 12px;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}
.footer-links a:hover {
  color: #2563eb;
}

/* Pills */
.footer-pill {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid #e8edf5;
  background: #f6f7fb;
  margin-bottom: 10px;
}

.fp-ico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e2e8f0;
  position: relative;
  flex: 0 0 34px;
}
.fp-ico::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  background: #0f172a;
  opacity: 0.12;
}

/* tiny variations */
.fp-phone {
  background: #dbeafe;
}
.fp-mail {
  background: #dcfce7;
}
.fp-pin {
  background: #ffedd5;
}
.fp-clock {
  background: #ede9fe;
}

.fp-label {
  font-size: 12px;
  font-weight: 900;
  color: #64748b;
  margin-bottom: 2px;
}
.fp-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
}
.fp-val a {
  color: #0f172a;
  text-decoration: none;
}
.fp-val a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Branch chips */
.branch-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.branch-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8edf5;
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #eef1f6;
  background: #fbfcff;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .footer-bottom {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.fb-left {
  color: #475569;
  font-weight: 700;
  font-size: 13px;
}

.fb-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e8edf5;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
}
.social:hover {
  background: #f8fafc;
  color: #2563eb;
}

.soc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  opacity: 0.25;
}

@media (max-width: 520px) {
  .hospital-card {
    padding: 16px;
    border-radius: 16px;
    margin: 18px 12px;
  }
  .hospital-media {
    height: 240px;
    border-radius: 18px;
  }
  .hospital-title {
    font-size: 22px;
  }
  .hospital-desc {
    font-size: 13.5px;
  }
  .btn-outline,
  .btn-solid {
    width: 100%;
    min-width: 0;
  }
  .footer-bottom {
    gap: 10px;
  }
}

/* Fixed header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef1f6;
}

/* Push page content down so header doesn’t cover hero */
body {
  padding-top: 78px; /* adjust if your header height differs */
}
.specIcon svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: var(--blue); /* or any color */
}
