.navbar-nav .nav-link {
    color: #0c2b4b !important;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.navbar-brand:hover {
    text-decoration: none;
}


/* Ensure body has no margin that interferes */
body {
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-wrapper {
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.main-heading {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #0d6efd;
    font-weight: 600;
    font-size:2.5rem;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 1rem 0;
    line-height: 1.3;
}

.hero-img {
    width: 100%;
    height: 280px; /* Desired height */
    object-fit: cover;
    display: block;
}

/* Assessment box */
.assessment-box {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 30px 0 20px 0;
    text-align: center;
    font-weight: bold;
    border-left: 5px solid #0d6efd;
    width: fit-content;
}

.info-section {
  background-color: #007BFF; /* Bootstrap primary blue */
  padding: 40px 0;
}

.info-section i {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}


.info-box {
    padding: 20px;
    flex: 1;
    text-align: center;
    border-right: 1px solid #fff;
}

.info-box:last-child {
    border-right: none;
}

.emergency-bar {
    background-color: #dc3545; /* deep red for emergency */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-break-message p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.services-section {
  background-color: #808080;
}

.service-card {
  background-color: #fff;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2rem;
  color: #007BFF;
}

/* Why Choose Us section */
.why-choose-us {
    background-color: #f0f8ff; /* Light blue background */
}

.icon-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.icon-box:hover {
    transform: translateY(-5px);
}

.icon-box .emoji {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.footer {
  background-color: #013a63; /* deep hospital blue */
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

/* Footer logo image style */
.footer-logo {
  max-width: 100px;
  height: auto;
}

/* Custom logo text styling */
.footer-logo-text {
  text-align: center;
  color: white;
  margin-bottom: 10px;
  line-height: 1.2;
}

.footer-logo-text .crown {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.footer-logo-text .hospital-name {
  font-family: 'Georgia', serif;
  font-weight: bold;
  font-size: 1.8rem;
  margin: 0;
  line-height: 1.3;
}

.footer-logo-text .hospital-name span {
  font-size: 1.5rem;
  display: block;
}

.footer-logo-text .hospital-sub {
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 4px;
}

.testimonials-section {
  background-color: #f9fbfd;
}

.testimonial-card {
  background-color: white;
  border-left: 5px solid #0077b6;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
}

.testimonial-card .stars {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.doctors-section {
  background-color: #0077b6;
}

.doctor-card {
  min-height: 230px;
}

.stats-section p {
  font-size: 1.1rem;
}

/* ----------------------------------------------------------------------------------
   About Hero Banner
   Full-width, high-res background with dark overlay for text readability.
---------------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  height: 300px;
  background: url('https://images.unsplash.com/photo-1567428484483-3feea6b2a8c2?ixlib=rb-4.0.3&amp;auto=format&amp;fit=crop&amp;w=1080&amp;q=80') center/cover no-repeat;
}
.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d6efd;
}
.about-hero .hero-content {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------------------------
   Mission & Vision Section
   (Uses default Bootstrap for spacing; no extra CSS needed here.)
---------------------------------------------------------------------------------- */

/* ----------------------------------------------------------------------------------
   Core Values Section
   Light background, balanced columns.
---------------------------------------------------------------------------------- */
.about-section {
  background-color: #f8f9fa;
}

/* ----------------------------------------------------------------------------------
   Statistics Section
   Dark blue background, white text
---------------------------------------------------------------------------------- */
.stats-section {
  background-color: #013a63;
}
.stats-section h3 {
  font-size: 2.5rem;
}
.stats-section p {
  font-size: 1.1rem;
}

/* ----------------------------------------------------------------------------------
   Meet Our Team Carousel
   Cards with rounded avatars and subtle shadow.
---------------------------------------------------------------------------------- */
.team-card img {
  object-fit: cover;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 40px 40px;
  width: 40px;
  height: 40px;
}

/* ----------------------------------------------------------------------------------
   History Timeline
   Vertical line with year icons and content cards
---------------------------------------------------------------------------------- */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 4px;
  height: 100%;
  background: #0d6efd;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0d6efd;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-weight: bold;
  font-size: 1.1rem;
}
.timeline-content {
  background-color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------------------------------------------------
   Responsive Tweaks for Mobile
---------------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .about-hero {
    height: 250px;
  }
  .timeline::before {
    left: 15px;
  }
  .timeline-icon {
    left: -10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}


/* ------------------------------------------
   Hero Banner for Services Page
------------------------------------------- */
.services-hero {
  position: relative;
  height: 350px;
  background: url('https://images.unsplash.com/photo-1588776814546-ec1a27875f77?ixlib=rb-4.0.3&amp;auto=format&amp;fit=crop&amp;w=1080&amp;q=80')
              center/cover no-repeat;
}
.services-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d6efd;
}
.services-hero .hero-content {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------
   Services Grid Section
------------------------------------------- */
.services-list {
  background-color: #f9f9f9;
}
.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2rem;
  color: #007BFF;
}

/* Ensure the bullet lists inside cards aren’t too tight */
.service-card ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

/* Responsive tweaks: stack on smaller screens */
@media (max-width: 767px) {
  .service-card {
    margin-bottom: 1.5rem;
  }
}

.contact-page h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-page .btn-primary {
  background-color: #007BFF; /* ensure this matches your brand color */
  border-color: #007BFF;
}

.contact-page .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.ratio iframe {
  border-radius: 8px;
}

.doctor-img {
  height: 40px;
  width: 50%;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
