/* ===================================================
   DR. RAY ENT CENTRE - Inner Page & Responsive Enhancements
   =================================================== */

.page-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284c7;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.08);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.trust-pill-strip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.06);
}

.cert-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.1);
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  margin-bottom: 12px;
}

.media-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
}

.media-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
}

.about-img-main img,
.about-img-sec img,
.nicu-img-main img,
.nicu-img-sec img,
.hero-image-wrap img {
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 991px) {
  .main-navbar .container {
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .main-navbar .navbar-brand {
    margin-right: auto;
  }
  .brand-name {
    font-size: 1.02rem;
  }
  .brand-tag {
    font-size: 0.65rem;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

.case-img-blur {
  filter: blur(8px);
  transition: filter 0.3s ease;
}

.case-img-blur.revealed {
  filter: blur(0);
}

.navbar-nav .nav-link {
  white-space: nowrap;
  font-size: 0.92rem;
}

@media (max-width: 991px) {
  .page-hero {
    padding: 40px 0 34px;
  }
  .hero-section {
    padding-top: 2.25rem;
  }
  .hero-image-wrap img {
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 575px) {
  .media-card img {
    height: 210px;
  }
  .trust-pill-strip {
    padding: 14px;
  }
}
