/* RMH v3 – saffron glow + lighter overlay + pattern */

:root{
  --brand:#ff6f00;
  --brand-2:#2e7d32;
  --overlay: rgba(0,0,0,0.25); /* lighter overlay so background image is more visible */
}
.card-title {
  color: var(--brand) !important;
  font-weight: 600; /* optional – heading ko thoda bold banane ke liye */
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family:'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#0f172a;
}

/* Background photo with soft dark overlay */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url("./hospital_bg.png") center/cover no-repeat;
}

/* Subtle wave pattern behind everything (like your sample banner) */
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:url("./bg-pattern.svg") repeat;
  opacity:.12; /* adjust 0.08–0.18 to taste */
}

/* Glassy whites */
.bg-white\/80{ background:rgba(255,255,255,.8) }
.bg-white\/75{ background:rgba(255,255,255,.75) }
.bg-white\/60{ background:rgba(255,255,255,.60) }
.bg-blur{ background:rgba(255,255,255,.6); backdrop-filter:blur(8px) }
.backdrop-blur{ backdrop-filter:blur(8px) }

.text-brand{ color:var(--brand) !important }

.btn-brand{
  background:var(--brand);
  color:#fff;
  border:0;
}
.btn-brand:hover{ filter:brightness(.95) }

.btn-outline-brand{
  border-color:var(--brand);
  color:var(--brand);
}
.btn-outline-brand:hover{
  background:var(--brand);
  color:#fff;
}

.text-shadow-strong{ text-shadow:0 3px 12px rgba(0,0,0,.55) }
.text-shadow{ text-shadow:0 2px 8px rgba(0,0,0,.5) }

/* Logo + title */
.logo{
  height:56px;
  width:auto;
  object-fit:contain;
}

/* Saffron title glow like the sample image */
.brand-title{
  font-weight:800;
  letter-spacing:.5px;
  color:#ff6f00;
  text-shadow:
    0 0 10px rgba(255,165,0,.40),
    0 0 22px rgba(255,165,0,.25);
  font-size:clamp(22px, 2.6vw, 40px);
}

.hero{
  min-height:56vh;
  display:flex;
  align-items:center;
}

.section-title{
  font-weight:800;
  margin-bottom:12px;
  color:#0f172a;
}

/* Facilities */
.facility{
  background:#fff;
  border-radius:12px;
  padding:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.facility i{
  color:var(--brand);
  width:22px;
  text-align:center;
  margin-right:6px;
}

/* Doctors */
.doctor{
  overflow:hidden;
  border-radius:12px;
}
.doctor .doc-img{
  height:350px;
  width:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.doctor .card-body{
  padding:14px 14px 18px;
}

/* Gallery */
.gallery-item{
  position:relative;
  display:block;
  border-radius:12px;
  overflow:hidden;
}
.gallery-item img{
  width:100%;
  height:200px;
  object-fit:contain;
  display:block;
}
.gallery-item .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:.2s;
  font-size:28px;
}
.gallery-item:hover .overlay{
  opacity:1;
}

/* Make contact card and map same height on large screens */
#contact .col-lg-6 > div{
  height:100%;
}

@media (max-width:991px){
  .logo{ height:48px }
  .hero{ min-height:48vh }
}
.bg-white-blur-50 {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
#why-rmh .card,
#departments .card,
#team .card {
  color: #1a1a1a;   /* dark neutral text */
}

#why-rmh .card .text-muted,
#departments .card .text-muted,
#team .card .text-muted {
  color: #111111 !important;  /* darker muted */
}
/* Highlight background for Departments heading text */
.dept-highlight {
  background: rgba(255, 255, 255, 0.5); /* 50% opacity */
  padding: 16px 22px;
  border-radius: 10px;
  max-width: 760px;
}

/* Force readable text colors */
.dept-highlight h3 {
  color: #000;
}

.dept-highlight p {
  color: #222;
  line-height: 1.6;
}

/* Glass effect (modern, optional) */
@supports (backdrop-filter: blur(6px)) {
  .dept-highlight {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

/* Mobile optimization */
@media (max-width: 576px) {
  .dept-highlight {
    padding: 14px 16px;
  }
}
/* Strong visible highlight box */
.dept-box {
  background-color: rgba(255, 255, 255, 0.5); /* 50% transparent light fill */
  border: 1.5px solid rgba(0, 0, 0, 0.2);     /* visible border */
  padding: 18px 22px;
  border-radius: 12px;
  max-width: 780px;
}

/* Force readable colors */
.dept-box h3 {
  color: #000 !important;
}

.dept-box .dept-text {
  color: #111 !important;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Mobile refinement */
@media (max-width: 576px) {
  .dept-box {
    padding: 14px 16px;
  }
}
/* Footer social media hover effect */
footer a i.fa-brands {
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

footer a:hover i.fa-brands {
  transform: scale(1.15);
  filter: brightness(1.15);
  opacity: 0.9;
}
/* RMH saffron heading with soft glow */
.rmh-glow-title {
  color: var(--brand); /* your saffron brand color */
  text-shadow:
    0 0 6px rgba(255, 111, 0, 0.35),
    0 0 14px rgba(255, 111, 0, 0.18);
}
/* RMH heading box with 70% transparency */
.rmh-title-box {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.7); /* 70% transparent white */
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* Unified About section box */
.about-unified-box {
  background: rgba(255, 255, 255, 0.7); /* 70% transparency */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
