:root {
  --hospital-navy: #173f63;
  --hospital-blue: #267fba;
  --hospital-sky: #eaf6fc;
  --hospital-green: #82c62a;
  --hospital-green-dark: #5c9f1d;
  --hospital-yellow: #f4d51f;
  --hospital-ink: #18334a;
  --hospital-muted: #607489;
  --hospital-white: #fff;
  --hospital-bg: #f5fafc;
  --hospital-line: rgba(23, 63, 99, .13);
  --hospital-shadow: 0 18px 50px rgba(23, 63, 99, .12);
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--hospital-bg);
  color: var(--hospital-ink)
}

body p,
body li,
body small,
body .text-muted,
body .card-text,
body .lead {
  color: var(--hospital-muted) !important
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body strong {
    color: var(--primary) !important;
}

a {
  text-decoration: none
}

.topbar {
  background: var(--hospital-navy) !important;
  border-bottom: 3px solid var(--hospital-green) !important;
  padding: 9px 0
}

.topbar,
.topbar * {
  color: #fff !important
}

.site-navbar {
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--hospital-line) !important;
  background: rgba(255, 255, 255, .98) !important;
  backdrop-filter: blur(14px)
}

.hospital-logo {
  width: 340px;
  max-width: 50vw;
  height: auto;
  display: block
}

.navbar .nav-link {
  color: var(--hospital-navy) !important;
  font-size: 14px;
  font-weight: 700
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--hospital-green-dark) !important
}

.navbar .nav-link:after {
  background: var(--hospital-green) !important
}

.dropdown-menu {
  border: 1px solid var(--hospital-line) !important;
  border-top: 4px solid var(--hospital-green) !important;
  box-shadow: var(--hospital-shadow) !important
}

.dropdown-item {
  color: var(--hospital-ink) !important
}

.dropdown-item:hover {
  background: var(--hospital-sky) !important;
  color: var(--hospital-blue) !important
}

.btn-hospital,
.btn-appointment,
.btn-custom,
.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px !important;
  padding: 12px 22px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, var(--hospital-blue), var(--hospital-navy)) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 13px 28px rgba(38, 127, 186, .22) !important;
  transition: .3s ease
}

.btn-hospital:hover,
.btn-appointment:hover,
.btn-custom:hover,
.btn-send:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--hospital-green-dark), var(--hospital-green)) !important;
  color: #fff !important
}

.btn-emergency {
  background: #df3e42 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  padding: 11px 18px !important;
  box-shadow: 0 12px 24px rgba(223, 62, 66, .22)
}

.btn-emergency:hover {
  background: #bd292d !important;
  color: #fff !important
}

.hospital-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(9, 39, 65, .94) 0%, rgba(9, 39, 65, .82) 44%, rgba(9, 39, 65, .25) 72%, rgba(9, 39, 65, .12) 100%), url('img/hospital-hero.webp');
  background-size: cover;
  background-position: center;
  padding: 90px 0 120px;
  position: relative;
  overflow: hidden
}

.hospital-hero:after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -78px;
  height: 140px;
  background: var(--hospital-bg);
  border-radius: 50% 50% 0 0/100% 100% 0 0
}

.hospital-hero .container {
  position: relative;
  z-index: 2
}

.hospital-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px
}

.hospital-hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.07;
  letter-spacing: -2px;
  color: #fff !important;
  max-width: 820px;
  margin-bottom: 22px;
  font-weight: 800
}

.hospital-hero h1 span {
  color: #b7eb52 !important
}

.hospital-hero p {
  color: rgba(255, 255, 255, .87) !important;
  font-size: 18px;
  line-height: 1.8;
  max-width: 690px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px
}

.hero-actions .btn-light {
  border-radius: 50px;
  font-weight: 800;
  padding: 12px 22px;
  color: var(--hospital-navy) !important
}

.hero-points {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 38px
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important
}

.hero-point i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(130, 198, 42, .18);
  border: 1px solid rgba(183, 235, 82, .35);
  color: #b7eb52;
  font-size: 19px
}

.hero-point span {
  color: #fff !important;
  font-size: 13px;
  line-height: 1.35
}

.hero-point small {
  display: block;
  color: rgba(255, 255, 255, .7) !important
}

.emergency-ribbon {
  margin-top: -58px;
  position: relative;
  z-index: 3
}

.emergency-panel {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(23, 63, 99, .18);
  padding: 22px;
  border: 1px solid var(--hospital-line)
}

.emergency-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  height: 100%
}

.emergency-item i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--hospital-sky);
  color: var(--hospital-blue);
  font-size: 23px;
  flex: 0 0 auto
}

.emergency-item h5 {
  font-size: 16px;
  margin: 0 0 3px
}

.emergency-item p {
  font-size: 13px;
  margin: 0 !important
}

.section-pad {
  padding: 90px 0
}

.section-soft {
  background: #edf7fb
}

.section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hospital-blue) !important;
  font-weight: 800;
  letter-spacing: 1.3px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 12px
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 15px
}

.section-heading p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto
}

.title-line {
  width: 74px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--hospital-green), var(--hospital-blue));
  margin-top: 17px
}

.title-line.center {
  margin-left: auto;
  margin-right: auto
}

.image-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--hospital-shadow);
  border: 7px solid #fff
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.image-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(23, 63, 99, .92);
  color: #fff !important;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2)
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px
}

.about-list div {
  background: #fff;
  border: 1px solid var(--hospital-line);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--hospital-ink);
  font-weight: 600
}

.about-list i {
  color: var(--hospital-green-dark);
  font-size: 20px
}

.department-card,
.facility-card,
.doctor-profile,
.outreach-card,
.info-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--hospital-line);
  border-radius: 22px;
  box-shadow: var(--hospital-shadow);
  transition: .3s ease;
  overflow: hidden
}

.department-card:hover,
.facility-card:hover,
.outreach-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 65px rgba(23, 63, 99, .17)
}

.department-card {
  padding: 26px
}

.department-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--hospital-sky), #fff);
  display: grid;
  place-items: center;
  color: var(--hospital-blue);
  font-size: 26px;
  margin-bottom: 19px;
  border: 1px solid rgba(38, 127, 186, .12)
}

.department-card h4 {
  font-size: 18px;
  font-weight: 800
}

.department-card p {
  font-size: 14px;
  margin-bottom: 0
}

.department-card a {
  color: var(--hospital-blue) !important;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 14px
}

.facility-card {
  padding: 22px;
  text-align: center
}

.facility-card i {
  font-size: 31px;
  color: var(--hospital-green-dark);
  display: block;
  margin-bottom: 13px
}

.facility-card h5 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 5px
}

.facility-card p {
  font-size: 13px;
  margin: 0 !important
}

.doctor-profile {
  padding: 0
}

.doctor-profile img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center
}

.doctor-content {
  padding: 38px
}

.doctor-badge {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 50px;
  background: #eaf7e2;
  color: var(--hospital-green-dark) !important;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px
}

.credential-list {
  display: grid;
  gap: 12px;
  margin: 22px 0
}

.credential-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.credential-list i {
  color: var(--hospital-green-dark);
  margin-top: 3px
}

.stat-band {
  background: linear-gradient(120deg, var(--hospital-navy), #0e5e89);
  padding: 42px 0;
  color: #fff
}

.stat-band h3 {
  color: #fff !important;
  font-size: 38px;
  font-weight: 800;
  margin: 0
}

.stat-band p {
  color: rgba(255, 255, 255, .72) !important;
  margin: 4px 0 0 !important
}

.gallery-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--hospital-shadow);
  height: 100%;
  background: #fff
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: .4s
}

.gallery-card.portrait img {
  height: 560px
}

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

.gallery-caption {
  padding: 18px 20px
}

.gallery-caption h5 {
  margin: 0 0 5px;
  font-size: 16px
}

.gallery-caption p {
  margin: 0 !important;
  font-size: 13px
}

.outreach-card img {
  width: 100%;
  height: 270px;
  object-fit: cover
}

.outreach-card .content {
  padding: 24px
}

.appointment-wrap {
  background: linear-gradient(135deg, #fff, #eff8fc);
  border: 1px solid var(--hospital-line);
  border-radius: 30px;
  box-shadow: var(--hospital-shadow);
  overflow: hidden
}

.appointment-info {
  height: 100%;
  background: linear-gradient(145deg, var(--hospital-navy), #0c6f9c);
  padding: 42px;
  color: #fff
}

.appointment-info h2,
.appointment-info h3,
.appointment-info h4,
.appointment-info strong {
  color: #fff !important
}

.appointment-info p,
.appointment-info li {
  color: rgba(255, 255, 255, .78) !important
}

.appointment-info .info-row {
  display: flex;
  gap: 12px;
  margin-top: 18px
}

.appointment-info .info-row i {
  font-size: 20px;
  color: #b7eb52
}

.appointment-form {
  padding: 42px;
  background: #fff
}

.form-control,
.form-select,
textarea {
  border: 1px solid rgba(23, 63, 99, .18) !important;
  border-radius: 13px !important;
  padding: 13px 14px !important
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: var(--hospital-blue) !important;
  box-shadow: 0 0 0 .2rem rgba(38, 127, 186, .12) !important
}

.inner-hero-strip {
    background: linear-gradient(120deg, rgb(12 52 84), rgb(20 109 151 / 0%)), url(img/hospital-exterior-evening.webp) center / cover !important;
    padding: 100px 0 80px !important;
}

.inner-hero-strip h1,
.inner-hero-strip p,
.inner-hero-strip .badge {
  color: #fff !important
}

.inner-hero-strip .badge {
  background: rgba(255, 255, 255, .12) !important
}

.page-container {
  background: #fff !important;
  border-radius: 26px !important;
  box-shadow: var(--hospital-shadow) !important;
  margin-top: 55px !important;
  margin-bottom: 65px !important;
  max-width: 1120px !important
}

.service-detail-image {
  border-radius: 22px !important;
  border: 0 !important;
  box-shadow: var(--hospital-shadow) !important;
  width: 100%;
  max-height: 480px;
  object-fit: cover
}

.custom-card,
.contact-card,
.card,
.service-card,
.doctor-card {
  border: 1px solid var(--hospital-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--hospital-shadow) !important
}

.custom-card,
.contact-card {
  border-left: 5px solid var(--hospital-green) !important
}

.card:hover,
.custom-card:hover,
.service-card:hover,
.doctor-card:hover,
.contact-card:hover {
  border-color: rgba(130, 198, 42, .65) !important;
  box-shadow: 0 24px 60px rgba(23, 63, 99, .16) !important
}

.card-img-top {
  height: 220px !important
}

.highlight-text,
.text-primary,
.text-secondary {
  color: var(--hospital-blue) !important
}

.underline {
  background: linear-gradient(90deg, var(--hospital-green), var(--hospital-blue)) !important
}

.accordion-button {
  background: var(--hospital-navy) !important
}

.accordion-button:not(.collapsed) {
  background: var(--hospital-blue) !important
}

.site-footer {
  background: linear-gradient(140deg, #102f4a, #174d70) !important;
  padding-top: 78px !important
}

.site-footer,
.site-footer * {
  color: #fff !important
}

.footer-logo {
  width: 100%;
  max-width: 340px;
  height: auto !important;
  background: #fff;
  border-radius: 15px;
  padding: 8px
}

.footer-subtitle,
.footer-text {
  color: rgba(255, 255, 255, .72) !important
}

.footer-links {
  padding: 0;
  list-style: none
}

.footer-links li {
  margin-bottom: 10px
}

.footer-links a {
  color: rgba(255, 255, 255, .78) !important
}

.footer-links a:hover {
  color: #b7eb52 !important
}

.footer-line {
  border-color: rgba(255, 255, 255, .16) !important
}

.social-icon {
  background: rgba(255, 255, 255, .1) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important
}

.floating-whatsapp {
  background: #1faf5c !important
}

.scroll-top {
  background: var(--hospital-blue) !important
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--hospital-shadow)
}

.notice-box {
  background: #fff9d8;
  border: 1px solid rgba(244, 213, 31, .55);
  border-left: 5px solid var(--hospital-yellow);
  border-radius: 16px;
  padding: 18px 20px
}

@media (min-width:1200px) {
  .mega-menu-wide {
    min-width: 610px !important;
    columns: 2
  }
}

@media (max-width:1199px) {
  .hospital-logo {
    width: 330px;
    max-width: 70vw
  }

  .navbar-collapse {
    padding: 16px 0
  }

  .navbar .nav-link {
    padding: 10px 4px !important
  }
}

@media (max-width:991px) {
  .hospital-hero {
    min-height: 640px;
    background-image: linear-gradient(90deg, rgba(9, 39, 65, .94), rgba(9, 39, 65, .75)), url('img/hospital-hero.webp');
    background-position: center;
    padding: 75px 0 110px
  }

  .emergency-ribbon {
    margin-top: -45px
  }

  .section-pad {
    padding: 70px 0
  }

  .doctor-profile img {
    min-height: 430px
  }

  .gallery-card.portrait img {
    height: 450px
  }
}

@media (max-width:767px) {
  .hospital-logo {
    width: 260px;
    max-width: 75vw
  }

  .hospital-hero {
    min-height: 610px;
    padding-top: 60px
  }

  .hospital-hero h1 {
    font-size: 40px;
    letter-spacing: -1px
  }

  .hospital-hero p {
    font-size: 16px
  }

  .hero-points {
    gap: 14px
  }

  .hero-point {
    width: 100%
  }

  .about-list {
    grid-template-columns: 1fr
  }

  .section-pad {
    padding: 58px 0
  }

  .appointment-info,
  .appointment-form,
  .doctor-content {
    padding: 28px
  }

  .gallery-card img {
    height: 245px
  }

  .gallery-card.portrait img {
    height: 420px
  }

  .page-container {
    margin: 25px 12px 45px !important;
    padding: 25px !important
  }

  .inner-hero-strip {
    padding: 70px 0 55px !important
  }

  .footer-logo {
    max-width: 290px
  }
}

@media (max-width:430px) {
  .hospital-logo {
    width: 232px;
    max-width: 72vw
  }

  .hospital-hero h1 {
    font-size: 35px
  }

  .hero-actions .btn {
    width: 100%
  }

  .emergency-panel {
    padding: 12px
  }

  .emergency-item {
    padding: 10px
  }

  .gallery-card.portrait img {
    height: 360px
  }
}

/* Original hospital logo branding */
:root {
  --hospital-navy: #174b78;
  --hospital-blue: #2878b8;
  --hospital-sky: #eef8fd;
  --hospital-green: #91cf22;
  --hospital-green-dark: #66a91f;
  --hospital-bg: #f7fbfd;
  --hospital-line: rgba(40, 120, 184, .15)
}

.site-navbar {
  border-bottom: 3px solid var(--hospital-green) !important
}

.hospital-brand {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 390px;
  padding: 2px 0 !important
}

.hospital-brand-mark {
  width: 70px;
  height: 66px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px
}

.hospital-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.08
}

.hospital-brand-copy strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--hospital-navy) !important;
  white-space: nowrap;
  letter-spacing: -.35px;
  text-transform: uppercase
}

.hospital-brand-copy small {
  font-size: 10px;
  font-weight: 800;
  color: var(--hospital-blue) !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 6px;
  white-space: nowrap
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: 18px;
  padding: 10px 14px;
  max-width: 390px
}

.footer-brand-mark {
  width: 76px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12
}

.footer-brand-copy strong {
  font-size: 17px;
  color: var(--hospital-navy) !important;
  text-transform: uppercase;
  font-weight: 800
}

.footer-brand-copy span {
  font-size: 10px;
  color: var(--hospital-blue) !important;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-top: 5px
}

.topbar {
  background: linear-gradient(90deg, var(--hospital-navy), var(--hospital-blue)) !important
}

.hospital-hero {
background-image: linear-gradient(90deg, rgb(17 66 105) 0%, rgb(30 112 170 / 0%) 48%, rgba(30, 112, 170, .22) 78%), url(img/hospital-hero.webp);
}

.department-icon,
.emergency-item i {
  background: linear-gradient(145deg, #eef9ff, #f3fbe8)
}

@media (min-width:1200px) and (max-width:1399px) {
  .hospital-brand {
    max-width: 315px;
    gap: 7px
  }

  .hospital-brand-mark {
    width: 58px;
    height: 56px
  }

  .hospital-brand-copy strong {
    font-size: 14px
  }

  .hospital-brand-copy small {
    font-size: 8px;
    letter-spacing: 1.1px
  }

  .navbar .nav-link {
    font-size: 12px !important
  }
}

@media (max-width:1199px) {
  .hospital-brand {
    max-width: 360px
  }

  .navbar-collapse {
    max-height: calc(100vh - 92px);
    overflow-y: auto
  }

  .navbar-toggler {
    border-color: rgba(40, 120, 184, .3) !important
  }
}

@media (max-width:575px) {
  .site-navbar {
    padding: 5px 0 !important
  }

  .hospital-brand {
    max-width: 270px;
    gap: 7px
  }

  .hospital-brand-mark {
    width: 54px;
    height: 52px
  }

  .hospital-brand-copy strong {
    font-size: 12px;
    white-space: normal;
    line-height: 1.12
  }

  .hospital-brand-copy small {
    font-size: 7px;
    letter-spacing: .8px;
    margin-top: 4px
  }

  .navbar-toggler {
    padding: 5px 8px
  }

  .footer-brand-lockup {
    max-width: 100%
  }

  .footer-brand-mark {
    width: 62px;
    height: 60px
  }

  .footer-brand-copy strong {
    font-size: 14px
  }

  .footer-brand-copy span {
    font-size: 8px
  }
}

@media (max-width:380px) {
  .hospital-brand {
    max-width: 235px
  }

  .hospital-brand-mark {
    width: 47px;
    height: 46px
  }

  .hospital-brand-copy strong {
    font-size: 10.5px
  }

  .hospital-brand-copy small {
    font-size: 6px
  }
}
/* =========================================================
   FINAL MOBILE RESPONSIVE FIXES
   - Prevent horizontal page scrolling on phones/tablets
   - Keep section imagery fully covering its frame
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip !important;
  }
}

body,
.site-main,
main,
nav,
section,
footer {
  min-width: 0;
  max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.container,
.container-fluid,
.row,
.row > * {
  min-width: 0;
}

/* Stop long labels, addresses and buttons from making the layout wider. */
.hospital-brand-copy,
.footer-brand-copy,
.section-heading,
.doctor-content,
.appointment-info,
.appointment-form,
.emergency-item,
.department-card,
.outreach-card,
.gallery-card,
.custom-card,
.page-container {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 991.98px) {
  html,
  body {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* AOS horizontal transforms can temporarily create a wider document. */
  [data-aos],
  [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .site-navbar,
  .site-navbar .container {
    width: 100%;
    max-width: 100%;
  }

  .site-navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hospital-brand {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 54px) !important;
    margin-right: 0 !important;
    overflow: hidden;
  }

  .hospital-brand-copy {
    flex: 1 1 auto;
    max-width: 100%;
    overflow: hidden;
  }

  .hospital-brand-copy strong,
  .hospital-brand-copy small {
    display: block;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .navbar-toggler {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .navbar-nav,
  .dropdown-menu,
  .mega-menu,
  .mega-menu-wide {
    width: 100%;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .mega-menu-wide {
    columns: 1 !important;
  }

  .hospital-hero,
  .hospital-hero .container,
  .hospital-hero .row,
  .hospital-hero [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }

  .hospital-hero::after {
    left: 0;
    right: 0;
  }

  .hero-actions,
  .hero-actions .btn,
  .btn-hospital,
  .btn-appointment,
  .btn-custom,
  .btn-send {
    max-width: 100%;
    white-space: normal;
  }

  /* Main content section image: always fill the complete frame on mobile. */
  .image-frame,
  .image-frame[style] {
    width: 100% !important;
    height: clamp(320px, 92vw, 440px) !important;
    min-height: 320px;
    max-width: 100%;
  }

  .image-frame > img {
    width: 100% !important;
    height: 70% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .image-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-width: calc(100% - 28px);
    padding: 11px 13px;
  }

  /* Other website section images also remain full-cover. */
  .doctor-profile > [class*="col-"]:first-child,
  .outreach-card,
  .gallery-card {
    overflow: hidden;
  }

  .doctor-profile > [class*="col-"]:first-child {
    min-height: 400px;
  }

  .doctor-profile > [class*="col-"]:first-child > img,
  .outreach-card > img,
  .gallery-card > img,
  .service-detail-image,
  .camp-feature-img,
  .content-img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .doctor-profile > [class*="col-"]:first-child > img {
    height: 100% !important;
    min-height: 400px;
  }

  .outreach-card > img {
    height: 300px !important;
  }

  .gallery-card > img {
    height: 280px !important;
  }

  .service-detail-image,
  .camp-feature-img,
  .content-img {
    height: 300px !important;
  }

  .page-container {
    width: auto !important;
    max-width: calc(100% - 24px) !important;
  }

  .floating-whatsapp,
  .scroll-top {
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 575.98px) {
  .hospital-brand {
    max-width: calc(100% - 48px) !important;
    gap: 6px;
  }

  .hospital-brand-mark {
    width: 46px;
    height: 46px;
  }

  .hospital-brand-copy strong {
    font-size: 10.5px;
    line-height: 1.15;
  }

  .hospital-brand-copy small {
    font-size: 6.5px;
    line-height: 1.25;
    letter-spacing: .55px;
    margin-top: 3px;
  }

  .navbar-toggler {
    padding: 5px 7px;
  }

  .hospital-hero {
    background-position: center center !important;
  }

  .image-frame,
  .image-frame[style] {
    height: clamp(300px, 94vw, 390px) !important;
    min-height: 300px;
    border-width: 5px;
    border-radius: 22px;
  }

  .image-badge {
    font-size: 12px;
  }

  .doctor-profile > [class*="col-"]:first-child,
  .doctor-profile > [class*="col-"]:first-child > img {
    min-height: 360px;
  }

  .outreach-card > img,
  .gallery-card > img,
  .service-detail-image,
  .camp-feature-img,
  .content-img {
    height: 270px !important;
  }
}


/* INDEX CARDIOLOGY SERVICES & FACILITIES PAGE */
.cardiology-services-section {
  background: #fff;
}

.cardiology-service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(27, 86, 132, .12);
  box-shadow: 0 14px 40px rgba(18, 62, 98, .10);
  color: var(--hospital-navy) !important;
  text-decoration: none !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.cardiology-service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 58px rgba(18, 62, 98, .17);
  border-color: rgba(98, 180, 34, .38);
}

.cardiology-service-image {
  height: 205px;
  overflow: hidden;
  background: var(--hospital-sky);
}

.cardiology-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.cardiology-service-card:hover .cardiology-service-image img {
  transform: scale(1.055);
}

.cardiology-service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.cardiology-service-content h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 9px;
}

.cardiology-service-content p {
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 17px;
}

.cardiology-service-content span {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hospital-blue);
  font-size: 13px;
  font-weight: 800;
}

.facility-detail-card {
  height: 100%;
  padding: 30px 25px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(27, 86, 132, .12);
  box-shadow: 0 14px 40px rgba(18, 62, 98, .09);
  transition: transform .28s ease, box-shadow .28s ease;
}

.facility-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 23px 54px rgba(18, 62, 98, .16);
}

.facility-detail-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 19px;
  background: linear-gradient(145deg, #edf8e5, #eef8ff);
  color: var(--hospital-green-dark);
  font-size: 29px;
}

.facility-detail-card h4 {
  font-size: 18px;
  font-weight: 800;
}

.facility-detail-card p {
  margin: 0;
  font-size: 14px;
}

.facilities-cover {
  height: 480px;
}

@media (max-width: 991.98px) {
  .cardiology-service-card,
  .facility-detail-card {
    max-width: 100%;
  }

  .cardiology-service-image {
    height: 230px;
  }

  .facilities-cover,
  .facilities-cover[style] {
    width: 100% !important;
    height: clamp(320px, 92vw, 440px) !important;
  }

  .facilities-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 575.98px) {
  .cardiology-service-image {
    height: 220px;
  }

  .cardiology-service-content {
    padding: 19px;
  }

  .facility-detail-card {
    padding: 24px 21px;
  }
}

/* INDEX CARDIOLOGY TITLES & GALLERY PREVIEW */
.cardiology-service-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--hospital-navy) !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
  min-height: 24px;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.index-gallery-link {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.index-gallery-card {
  transition: transform .28s ease, box-shadow .28s ease;
}

.index-gallery-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 58px rgba(18, 62, 98, .17);
}

.index-gallery-card img {
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.index-gallery-card .gallery-caption {
  min-height: 126px;
}

.index-gallery-card .gallery-caption h5 {
  color: var(--hospital-navy) !important;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .index-gallery-card img {
    height: 280px !important;
  }
}

@media (max-width: 575.98px) {
  .cardiology-service-title {
    font-size: 17px !important;
  }

  .index-gallery-card img {
    height: 260px !important;
  }

  .index-gallery-card .gallery-caption {
    min-height: auto;
  }
}






.doctor-profile-card {
  background: #ffffff;
  border-radius: 22px;
  border: 2px solid #e3edf7;
  box-shadow: 0 20px 45px rgba(40, 120, 184, 0.12);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.doctor-profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(40, 120, 184, 0.2);
  border-color: #2878b8;
}

.doctor-image-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-image-ring {
  position: absolute;
  inset: 0;
  border-right: 4px solid #2878b8;
  pointer-events: none;
}

.doctor-content {
  padding: 45px 40px;
  height: 100%;
}

.doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf3fb;
  color: #2878b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.doctor-content h2 {
  font-weight: 800;
  color: #1c3d5a;
  margin-bottom: 4px;
}

.doctor-content h5 {
  color: #2878b8;
  font-weight: 600;
  margin-bottom: 0;
}

.credential-list {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.credential-list > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f7fafd;
  border: 1px solid #e3edf7;
  border-radius: 12px;
  padding: 12px 16px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.credential-list > div:hover {
  background: #eaf3fb;
  border-color: #2878b8;
}

.credential-list i {
  color: #2878b8;
  font-size: 20px;
  margin-top: 3px;
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .doctor-profile-card {
    border-radius: 18px;
  }

  .doctor-image-wrap {
    min-height: 300px;
  }

  .doctor-image-ring {
    border-right: none;
    border-bottom: 4px solid #2878b8;
  }

  .doctor-content {
    padding: 28px 22px;
  }

  .doctor-content h2 {
    font-size: 24px;
  }

  .credential-list > div {
    padding: 10px 14px;
  }

  .d-flex.flex-wrap.gap-3 {
    justify-content: center;
  }

  .d-flex.flex-wrap.gap-3 .btn {
    width: 100%;
    text-align: center;
  }
}


/* Attractive Dr Shalini Garg showcase - final */
.doctor-showcase-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(130, 198, 42, .13), transparent 25%),
    radial-gradient(circle at 92% 88%, rgba(38, 127, 186, .13), transparent 28%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
}

.doctor-showcase-section::before,
.doctor-showcase-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.doctor-showcase-section::before {
  width: 220px;
  height: 220px;
  left: -110px;
  top: 55px;
  border: 34px solid rgba(130, 198, 42, .08);
}

.doctor-showcase-section::after {
  width: 300px;
  height: 300px;
  right: -165px;
  bottom: 20px;
  border: 45px solid rgba(38, 127, 186, .07);
}

.doctor-showcase-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, .92fr) minmax(0, 1.28fr);
  min-height: 650px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 99, .12);
  border-radius: 34px;
  box-shadow: 0 28px 75px rgba(23, 63, 99, .17);
}

.doctor-showcase-image {
  position: relative;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  background: var(--hospital-navy);
}

.doctor-showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 10px solid rgba(255, 255, 255, .12);
  border-radius: 34px 0 0 34px;
  pointer-events: none;
}

.doctor-showcase-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.012);
  transition: transform .6s ease;
}

.doctor-showcase-card:hover .doctor-showcase-image img {
  transform: scale(1.045);
}

.doctor-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 35, 55, .02) 32%, rgba(10, 35, 55, .84) 100%),
    linear-gradient(90deg, rgba(23, 63, 99, .08), transparent 45%);
  z-index: 1;
}

.doctor-photo-pill {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 56px);
  padding: 10px 15px;
  color: #ffffff !important;
  background: rgba(23, 63, 99, .86);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.doctor-photo-pill i {
  color: var(--hospital-green) !important;
  font-size: 15px;
}

.doctor-photo-caption {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.doctor-photo-caption span {
  display: inline-block;
  margin-bottom: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--hospital-navy) !important;
  background: var(--hospital-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .75px;
  text-transform: uppercase;
}

.doctor-photo-caption strong {
  color: #ffffff !important;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -.8px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, .24);
}

.doctor-photo-caption small {
  margin-top: 7px;
  color: rgba(255, 255, 255, .9) !important;
  font-size: 16px;
  font-weight: 600;
}

.doctor-showcase-content {
  position: relative;
  min-width: 0;
  padding: 54px 52px 50px;
  background:
    linear-gradient(135deg, rgba(234, 246, 252, .56), transparent 42%),
    #ffffff;
}

.doctor-showcase-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--hospital-green), var(--hospital-blue));
}

.doctor-showcase-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.doctor-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--hospital-green-dark) !important;
  background: rgba(130, 198, 42, .12);
  border: 1px solid rgba(130, 198, 42, .23);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.doctor-section-label i {
  color: var(--hospital-blue) !important;
}

.doctor-showcase-content h2 {
  max-width: 690px;
  margin: 0;
  color: var(--hospital-navy) !important;
  font-size: clamp(34px, 3.25vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.doctor-qualification {
  margin: 13px 0 0;
  color: var(--hospital-blue) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.doctor-heart-mark {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--hospital-blue), var(--hospital-navy));
  box-shadow: 0 16px 30px rgba(38, 127, 186, .22);
  transform: rotate(5deg);
}

.doctor-heart-mark i {
  color: #ffffff !important;
  font-size: 32px;
}

.doctor-intro {
  margin: 24px 0 0;
  color: #536f86 !important;
  font-size: 16px;
  line-height: 1.85;
}

.doctor-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.doctor-highlight-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(23, 63, 99, .11);
  border-radius: 16px;
  background: #f8fbfd;
  transition: .3s ease;
}

.doctor-highlight-item:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 127, 186, .35);
  background: #ffffff;
  box-shadow: 0 12px 25px rgba(23, 63, 99, .10);
}

.doctor-highlight-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--hospital-blue), var(--hospital-navy));
  box-shadow: 0 9px 20px rgba(38, 127, 186, .17);
}

.doctor-highlight-icon i {
  color: #ffffff !important;
  font-size: 20px;
}

.doctor-highlight-item div {
  min-width: 0;
}

.doctor-highlight-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--hospital-ink) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.doctor-highlight-item small {
  display: block;
  color: var(--hospital-muted) !important;
  font-size: 12px;
  line-height: 1.45;
}

.doctor-care-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 5px solid var(--hospital-green);
  border-radius: 0 15px 15px 0;
  background: linear-gradient(90deg, rgba(130, 198, 42, .12), rgba(234, 246, 252, .78));
}

.doctor-care-strip i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--hospital-green-dark) !important;
  font-size: 19px;
}

.doctor-care-strip span {
  color: #4d687e !important;
  font-size: 13px;
  line-height: 1.65;
}

.doctor-care-strip strong {
  color: var(--hospital-navy) !important;
}

.doctor-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.doctor-appointment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid rgba(38, 127, 186, .28);
  border-radius: 999px;
  color: var(--hospital-navy) !important;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  transition: .3s ease;
}

.doctor-appointment-btn i {
  color: var(--hospital-blue) !important;
}

.doctor-appointment-btn:hover {
  color: #ffffff !important;
  border-color: var(--hospital-blue);
  background: var(--hospital-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(38, 127, 186, .2);
}

.doctor-appointment-btn:hover i {
  color: #ffffff !important;
}

@media (max-width: 1199.98px) {
  .doctor-showcase-card {
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  }

  .doctor-showcase-content {
    padding: 46px 38px 44px;
  }

  .doctor-heart-mark {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .doctor-showcase-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 28px;
  }

  .doctor-showcase-image {
    min-height: 620px;
  }

  .doctor-showcase-image::after {
    border-radius: 28px 28px 0 0;
  }

  .doctor-showcase-content::before {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--hospital-green), var(--hospital-blue));
  }
}

@media (max-width: 767.98px) {
  .doctor-showcase-section {
    padding-left: 0;
    padding-right: 0;
  }

  .doctor-showcase-section .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .doctor-showcase-card {
    width: 100%;
    border-radius: 24px;
  }

  .doctor-showcase-image {
    min-height: clamp(470px, 126vw, 620px);
  }

  .doctor-showcase-image img {
    object-position: center 18%;
  }

  .doctor-showcase-image::after {
    border-width: 7px;
    border-radius: 24px 24px 0 0;
  }

  .doctor-photo-pill {
    top: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .doctor-photo-caption {
    left: 24px;
    right: 24px;
    bottom: 25px;
  }

  .doctor-photo-caption strong {
    font-size: 35px;
  }

  .doctor-showcase-content {
    padding: 36px 24px 32px;
  }

  .doctor-showcase-content h2 {
    font-size: 34px;
    letter-spacing: -.8px;
  }

  .doctor-intro {
    font-size: 15px;
    line-height: 1.75;
  }
}

@media (max-width: 575.98px) {
  .doctor-showcase-image {
    min-height: 480px;
  }

  .doctor-photo-pill {
    font-size: 10px;
    letter-spacing: .35px;
    padding: 8px 12px;
  }

  .doctor-photo-caption strong {
    font-size: 31px;
  }

  .doctor-photo-caption small {
    font-size: 14px;
  }

  .doctor-showcase-content {
    padding: 32px 20px 28px;
  }

  .doctor-section-label {
    font-size: 10px;
    line-height: 1.45;
  }

  .doctor-showcase-content h2 {
    font-size: 29px;
    line-height: 1.16;
  }

  .doctor-qualification {
    font-size: 13px;
  }

  .doctor-highlights-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .doctor-highlight-item {
    padding: 13px 14px;
  }

  .doctor-showcase-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .doctor-showcase-actions .btn,
  .doctor-appointment-btn {
    width: 100%;
  }
}
