
    body {
      font-family: 'Poppins', sans-serif;
      color: #333;
    }

    /* Navbar */
    .header_section {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: #ffffff;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav .nav-link {
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
      color: #007bff !important;
    }

    /* Hero background overlay */
    .hero_bg_box img {
      opacity: 0.15;
    }

    /* Department boxes */
    .department_section .box {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      padding: 20px;
    }

    .department_section .box:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .department_section .img-box img {
      max-width: 70px;
      margin-bottom: 15px;
    }

    .btn-box a {
      background: linear-gradient(90deg, #007bff, #00c6ff);
      padding: 10px 25px;
      border-radius: 30px;
      color: #fff !important;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.3s ease;
    }

    .btn-box a:hover {
      background: linear-gradient(90deg, #0056b3, #0099cc);
    }

    /* About section */
    .about_section .detail-box h2 {
      font-weight: 700;
      font-size: 2rem;
    }

    .about_section .detail-box a {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 25px;
      background: #007bff;
      color: #fff;
      border-radius: 25px;
      transition: background 0.3s ease;
    }

    .about_section .detail-box a:hover {
      background: #0056b3;
    }

    /* Footer */
    .footer_section {
      background: #222;
      color: #aaa;
      padding: 50px 0;
    }

    .footer_section a {
      color: #aaa;
      transition: color 0.3s ease;
    }

    .footer_section a:hover {
      color: #fff;
    }
    



/* cancel any “show on :hover” behavior from the theme */
.custom_nav-container:hover .navbar-collapse,
.custom_nav-container:hover #navbarSupportedContent {
  display: flex !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Desktop only */
@media (min-width: 992px) {
  .header_section .navbar-nav {
    margin-left: auto;
    flex-direction: row;
    gap: 1rem;
  }
}
/* Mobile navbar fix */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    padding: 1rem;
  }
}


/* small screens: allow wrapping so it doesn't overflow */
@media (max-width: 991.98px) {
  .header_section .navbar-nav { flex-wrap: wrap; }
}


/* keep nav items in a row and pushed to the right */
.header_section .navbar-nav {
  margin-left: auto !important;
  flex-direction: row !important;
  gap: 1rem;
}

/* mobile fallback: allow wrapping so links don't overflow on tiny screens */
@media (max-width: 575.98px) {
  .header_section .navbar-nav { flex-wrap: wrap; }
  /* if you want the toggler on ultra-small screens, comment out .navbar-toggler above */
}
/* Welcome Banner */
.welcome_banner {
  background: linear-gradient(90deg, #0d6efd, #2fbfa7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid #0056b3;
}

.welcome_banner h2 {
  font-size: 1.6rem;
  line-height: 1.4;
}

.welcome_banner p {
  font-size: 1rem;
  font-weight: 500;
  color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .welcome_banner h2 {
    font-size: 1.2rem;
  }
  .welcome_banner p {
    font-size: 0.9rem;
  }
}

/* ===== About Section Cards ===== */
.about-cards {
  margin-top: 2rem;
}

/* Doctor Profile Card */
.doctor-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: #ffffff;
}

.doctor-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #0d6efd;
}
.info-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.profile-card {
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: scale(1.03);
}

/* Doctor profile image – FORCE FIX */
.doctor-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

/* ===== FINAL MEDICAL POLISH ===== */

body {
  color: #2c2c2c;
  line-height: 1.7;
}

/* Cards */
.card {
  border-radius: 12px;
  border: 1px solid #e6ecf3;
  background: #ffffff;
}

/* Info cards */
.info-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Profile */
.profile-card {
  background: linear-gradient(180deg, #f9fbff, #ffffff);
}

.doctor-img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border: 4px solid #eaf1ff;
}

/* Headings */
h4, h5 {
  letter-spacing: 0.2px;
}

/* Medical blue */
.text-primary {
  color: #1e4fa1 !important;
}

/* Accordion mobile */
.accordion-button {
  font-weight: 600;
  background: #f8fbff;
}

.accordion-button:not(.collapsed) {
  background: #eaf1ff;
  color: #1e4fa1;
}
.card, .box {
  transition: all 0.3s ease;
}

.card:hover, .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.profile-card {
  overflow: hidden;
}
/* 🔥 FORCE doctor image fix (production-safe) */
img.doctor-img {
  width: 180px !important;
  height: 180px !important;
  max-width: 180px !important;
  max-height: 180px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.profile-card img {
  overflow: hidden !important;
}
/* =========================
   MOBILE RESPONSIVE FIX
   ========================= */

@media (max-width: 767px) {

  /* Center profile card */
  .profile-card {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  /* Doctor image responsive */
  .profile-card .doctor-img {
    width: 140px !important;
    height: 140px !important;
    max-width: 140px !important;
    max-height: 140px !important;
    object-fit: cover;
    margin: 0 auto 1rem auto;
    display: block;
  }

  /* Reduce name size */
  .profile-card h4 {
    font-size: 1.1rem;
  }

  /* Reduce qualification text */
  .profile-card p {
    font-size: 0.9rem;
  }
}
@media (max-width: 767px) {

  .about_section .col-lg-8 {
    padding-left: 0;
    padding-right: 0;
  }

  .info-card {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}
/* FIX: Show about section content on mobile */
@media (max-width: 768px) {
  .info-card .card-body {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  .info-card .card-body p,
  .info-card .card-body ul,
  .info-card .card-body li {
    display: block !important;
    visibility: visible !important;
  }
}
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-size: 1.05rem;
  }
}
/* ===============================
   Floating WhatsApp Button
   =============================== */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 56px;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

/* Mobile optimization */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    line-height: 52px;
    bottom: 16px;
    right: 16px;
  }
}
/* CTA buttons spacing consistency */
.cta-buttons .btn {
  min-width: 180px;
}

/* Admin button subtle look */
.admin-btn {
  opacity: 0.75;
}

.admin-btn:hover {
  opacity: 1;
}
/* ===== SPACE COMPRESSION FIX ===== */
section {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.container.my-5 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.container.mt-3 {
  margin-top: 1rem !important;
}
.hero_bg_box img {
  opacity: 0.08 !important;
  transform: scale(1.05);
}
.cta-buttons .btn {
  min-width: 200px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
/* ================================
   VISUAL HIERARCHY IMPROVEMENTS
   (Problem 3 Fix)
================================ */

/* Strengthen headings hierarchy */
h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.35;
}

h4,
h5 {
  font-weight: 600;
  line-height: 1.4;
}

/* Medical-premium info cards */
.info-card {
  border-left: 5px solid #1e4fa1;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle hover (professional, not flashy) */
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Icon emphasis inside cards */
.info-card .fa {
  background: #eaf1ff;
  color: #1e4fa1;
  padding: 8px;
  border-radius: 50%;
  font-size: 14px;
}
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  z-index: 9999;
}

.mobile-sticky-bar a {
  font-weight: 600;
  color: #1e4fa1;
  text-decoration: none;
}
.trust-strip h4 {
  font-size: 1.8rem;
}

.trust-strip small {
  letter-spacing: 0.3px;
}
/* ============================
   MOBILE UX REFINEMENT (CRITICAL)
   ============================ */
@media (max-width: 768px) {

  /* 1️⃣ Soften accordion headers */
  .accordion-button {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #e6ecf3;
  }

  .accordion-button:not(.collapsed) {
    background: #f4f8ff;
    color: #1e4fa1;
  }

  /* 2️⃣ Remove desktop card feel on mobile */
  .info-card {
    border-left: none;
    box-shadow: none;
    background: transparent;
    margin-bottom: 0;
  }

  /* 3️⃣ Improve text readability */
  .accordion-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #333;
    padding: 0.75rem 1rem;
  }

  /* 4️⃣ Reduce icon dominance */
  .accordion-button .fa {
    background: transparent;
    padding: 0;
    font-size: 14px;
  }

  /* 5️⃣ Reduce excessive spacing */
  section {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  /* 6️⃣ Trust strip mobile optimization */
  .trust-strip {
    margin-top: 1.5rem;
    padding: 0.5rem 0;
  }

  .trust-strip h4 {
    font-size: 1.3rem;
  }

  .trust-strip small {
    font-size: 0.75rem;
  }
}
@media (max-width: 768px) {
  body {
    padding-bottom: 60px;
  }
}
