@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");
body {
  font-family: 'Nunito', sans-serif;
  color: #000000;
  background-color: #fefefe;
  overflow-x: hidden;
}

.layout_padding {
  padding: 90px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}

.layout_margin-top {
  margin-top: 90px;
}

.layout_margin-bottom {
  margin-bottom: 90px;
}

.heading_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.heading_container h2 {
  position: relative;
  font-weight: bold;
  margin-bottom: 0;
}

.heading_container p {
  margin-top: 10px;
  margin-bottom: 0;
}

.heading_container.heading_center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/*header section*/
.hero_area {
  position: relative;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.hero_area .hero_bg_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  overflow: hidden;
  z-index: -1;
}

.hero_area .hero_bg_box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom right;
     object-position: bottom right;
}

.sub_page .hero_area {
  min-height: auto;
  background-color: #1fab89;
}

.sub_page .hero_area .hero_bg_box {
  display: none;
}
.header_section {
  padding: 15px 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}


.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.navbar-brand span {
  font-weight: bold;
  font-size: 24px;
  color: #ffffff;
  text-transform: uppercase;
}
.navbar-brand{
  height: 75px;
  margin-right: 10px;
  margin-left: -30px;
}

.custom_nav-container {
  padding: 0;
}

.custom_nav-container .navbar-nav {
  margin-left: auto;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 5px 20px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .nav_search-btn {
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  color: #ffffff;
}

.custom_nav-container .nav_search-btn:hover {
  color: #62d2a2;
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler {
  padding: 0;
  width: 37px;
  height: 42px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  height: 4px;
  background-color: #ffffff;
  margin: 7px 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::before, .custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  top: -10px;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before, .custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  top: 0;
}
/* ---------- Navigation Hover + Active Stylish Underline ----------- */
.custom_nav-container .navbar-nav .nav-link {
  position: relative;
  color: #ffffff;
  font-weight: 500;
  padding: 5px 20px;
  transition: 0.3s ease;
}

/* Create underline */
.custom_nav-container .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: #004d40;   /* underline color */
  transition: 0.3s ease-in-out;
  border-radius: 3px;
}
.navbar-nav .nav-item .nav-link:hover {
    color: #ffffff !important;
}
.navbar-nav .nav-item.active .nav-link {
    color: #ffffff !important;
}
/* Desktop hover & active (dark navbar) */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: #ffffff !important;
}

/* Mobile view fix (white background) */
@media (max-width: 991px) {
    .navbar-nav .nav-item.active .nav-link {
        color: #000000 !important; /* Black for readability */
        font-weight: 600;
    }

    .navbar-nav .nav-link:hover {
        color: #000000 !important; /* Keep visible on white background */
    }
}




/* On hover underline appears */
.custom_nav-container .navbar-nav .nav-link:hover::after {
  width: 60%;
}

/* Active Page Highlight */
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: black;        /* active text color */
}

/* Active page underline */
.custom_nav-container .navbar-nav .nav-item.active .nav-link::after {
  width: 70%;
}


/*end header section*/
/* slider section */
.slider_section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding: 45px 0 145px 0;
}

.slider_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  color: #1fab89;
}

/* .slider_section .detail-box h1 {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #ffffff;
} */

.slider_section .detail-box h1 {
  text-align: center;
  text-transform: none; /* remove uppercase */
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 15px;
}

.slider_section .detail-box h1 .pre {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  color: #d1d5db; /* soft gray tone */
  letter-spacing: 1px;
  text-transform: uppercase;
}

.slider_section .detail-box h1 .main {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.slider_section .detail-box p {
  color: #fefefe;
  font-size: 14px;
}

.slider_section .detail-box .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -5px;
  margin-top: 25px;
}

.slider_section .detail-box .btn-box a {
  margin: 5px;
  text-align: center;
  width: 165px;
}

.slider_section .detail-box .btn-box .btn1 {
  display: inline-block;
  padding: 10px 15px;
  background-color: #ffffff;
  color: #62d2a2;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid #ffffff;
}

.slider_section .detail-box .btn-box .btn1:hover {
  background-color: transparent;
  color: #ffffff;
}

.slider_section .img-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.slider_section .img-box img {
  width: 100%;
  max-width: 375px;
}



.slider_section .carousel-indicators {
  position: unset;
  margin: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section .carousel-indicators li {
  background-color: #ffffff;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  opacity: 1;
}

.slider_section .carousel-indicators li.active {
  width: 20px;
  height: 20px;
}



/* Adjust for smaller devices */

@media (max-width: 576px) {
  .slider_section .detail-box .btn-box {
    padding-left: 110px;
  }
}
@media (max-width: 1024px) {
  .slider_section .detail-box .btn-box {
    padding-left: 110px;
  }
}

/*  Department Section */
.department-section {
  background: linear-gradient(to bottom right, #f4f9f9, #e9f5f2);
  padding: 80px 20px;
  text-align: center;
}

.department-section .heading h2 {
  color: #0c3c35;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.department-section .heading p {
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Department Card */
.department-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.department-card:hover {
  transform: translateY(-12px);
  background: linear-gradient(135deg, #e0fff6, #ffffff);
  box-shadow: 0 18px 45px rgba(0, 150, 136, 0.25);
}


/* Icon Styling */
.department-icon {
  font-size: 48px;
  color: #42cfac;
  margin-bottom: 15px;
  transition: transform 0.5s ease, color 0.3s ease;
}

.department-card:hover .department-icon {
  transform: rotateY(180deg) scale(1.1);
  color: #00695c;
}

/* Text */
.department-card h5 {
  color: #004d40;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.department-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  padding: 0 10px;
}

/* Swiper Pagination */


/* Animation */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .department-card {
    height: auto;
    padding: 25px 15px;
    margin-left: 20px;
  }
  .department-section .heading h2 {
    font-size: 1.8rem;
  }
  .department-section .heading p {
    font-size: 14px;
  }
}




/* Swiper wrapper adjustments */
/* Department Section Swiper */
/* .mySwiper {
  padding-bottom: 0; } */

/* Center pagination below swiper */


/* Pagination dot styles */
/* .swiper-pagination-bullet {
  background: #009688 !important;
  opacity: 0.5;
  transition: opacity 0.3s ease;
} */
/* 
.swiper-pagination-bullet-active {
  background: #00695c !important;
  opacity: 1;
} */


/* Make all department cards same height */
.department-card {
  min-height: 260px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.swiper-slide {
  display: flex;
  justify-content: center;
}



/* For mobile: center slide properly */
@media (max-width: 768px) {
  .swiper-slide {
    display: flex;
    justify-content: center;
  }

  .department-card {
    width: 85%; /* keeps card centered and nice spacing */
    min-height: 260px;
  }
}

.department-card {
  position: relative;
  z-index: 2;
}

.department-card:hover {
  z-index: 999;
}

/* end Department Section */

/* About Section */
.about_section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.about_section .img-box {
  text-align: center;
}

.about_section .img-box img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.about_section .img-box img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.about_section .detail-box {
  padding: 20px 10px;
}

.about_section .heading_container h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.about_section .heading_container h3 span {
  color: #009688;
}

.about_section .heading_container .underline {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #42cfac, #14b8a6);
  border-radius: 4px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.about_section .detail-box p {
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about_section .about_highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about_section .about_highlights li {
  color: #0f172a;
  font-weight: 500;
  margin-bottom: 8px;
}

.about_section .read-btn {
  display: inline-block;
  padding: 12px 34px;
  background: linear-gradient(90deg, #42cfac, #14b8a6);
  color: #ffffff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.about_section .read-btn:hover {
  background: #ffffff;
  color: #14b8a6;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
  border: 2px solid #14b8a6;
}

/* ✅ Animation */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-right"].animate {
  transform: translateX(0);
  opacity: 1;
}

[data-animate="fade-left"].animate {
  transform: translateX(0);
  opacity: 1;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .about_section {
    text-align: center;
    padding: 60px 0;
    margin-top: -65px;
    margin-bottom: 30px;
  }

  .about_section .img-box img {
    max-width: 90%;
  }

  .about_section .detail-box {
    margin-top: 30px;
  }
}

/* End About Section */
/* ===== Doctor Section ===== */
.doctor_section {

  /* background: linear-gradient(135deg, #0f766e 0%, #115e59 100%); */
  background-color: #65cfc4;
  padding: 80px 0;
  color: #ffffff;

/*   background: #42cfac; */

}

.doctor_section .heading_container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
}

.doctor_section .heading_container .underline {
  width: 80px;
  height: 4px;
  background: #58d7b7;
  margin: 10px auto 20px;
  border-radius: 3px;
}

.doctor_section p {
  /* color: #d1fae5; */
  color: white;
  font-size: 16px;
  margin-bottom: 40px;
}

/* Doctor Cards */
.doctor_card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  margin-bottom: 30px;
}

.doctor_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.doctor_card .img-box {
  position: relative;
  overflow: hidden;
}

.doctor_card .img-box img {
  width: 100%;
  transition: transform 0.6s ease;
}

.doctor_card:hover .img-box img {
  transform: scale(1.1);
}

.doctor_card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 128, 102, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.doctor_card:hover .overlay {
  opacity: 1;
}

.social_box a {
  color: #ffffff;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.social_box a:hover {
  color: #42cfac;
}

/* Doctor Details */
.doctor_card .detail-box {
  text-align: center;
  padding: 20px 10px;
}

.doctor_card .detail-box h5 {
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 600;
}

.doctor_card .detail-box h6 {
  color: #009688;
  font-size: 15px;
  margin-top: 5px;
}

/* Button */
.view-btn1 {
  display: inline-block;
  padding: 12px 36px;
  background: linear-gradient(90deg, #42cfac, #14b8a6);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-btn1:hover {
  background: #ffffff;
  color: #14b8a6;
  border: 2px solid #14b8a6;
}

/* ✅ Animation on Scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .doctor_section {
    padding: 60px 0;
  }

  .doctor_card {
    margin-bottom: 25px;
  }

  .doctor_card .detail-box h5 {
    font-size: 1.1rem;
  }

  .doctor_card .detail-box h6 {
    font-size: 14px;
  }

  .view-btn1 {
    padding: 10px 28px;
    font-size: 14px;
  }
}


/*  End Doctor Section */

/*  Footer Section */

.footer-section {
  position: relative;
  background: linear-gradient(135deg, #65cfc4, #65cfc4) !important;
  color: #d1d1d1;
  font-family: 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  z-index: 1;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: black !important;
  position: relative;
}

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

.footer-list li,
.footer-links li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #d1d1d1 !important;
}

.footer-section .row {
  margin-top: -25px;
}

/* .footer-list li i {
  color: black !important;
} */

/* .footer-list i {
  color: black !important;
} */

.footer-list {
  display: flex;              /* puts icon + text in one straight line */
  align-items: center;        /* centers them vertically */
  margin-bottom: 12px;        /* space between rows */
}

.footer-list i {
  font-size: 18px;            /* icon size */
  color: #000;                /* icon color */
}

.footer-list span {
  font-size: 16px;            /* text size */
  color: #fff;                /* text color */
}

.footer-links a {
  text-decoration: none;
  color: #d1d1d1 !important;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #14b8a6 !important;
  padding-left: 4px;
}

.fotter-list .fotter-text{
  color: white !important;
}
/* Footer text color fix */
.footer-section,
.footer-section h5,
/* .footer-section .footer-list li,
.footer-section .footer-list li i, */
.footer-section .footer-list li a {
  color: #ffffff !important;   /* White */
}

.footer-section .footer-list li {
  color: #d9eeee !important;   /* White */
}
/* Footer Titles (Specialties & Facilities) */
.footer-section .footer-title {
  color: black !important;
}

/* Footer Lists (Specialties & Facilities) */
.footer-section .footer-links li {
  color: #d9eeee !important;
}

/* Footer Links if any */
.footer-section .footer-links li a {
  color: #d9eeee !important;
  text-decoration: none;
}

/* Optional: Hover effect for links */
.footer-section .footer-links li a:hover {
  color: black !important;
}

/* Social Icons */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ff6b9c;
  color: #ff6b9c;
  margin-right: 10px;
  transition: 0.3s;
}

.footer-list span{
  padding-left: 23px;
}
 

.footer-social a:hover {
  background: #ff6b9c;
  color: #fff !important;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: -30px;
  font-size: 14px;
  color: white !important;
}

.footer-bottom a {
  color: black !important;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: black !important;
  text-decoration: underline;
}

/* Map Styling */
.map-container iframe {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}

/* ✅ Footer Equal Height Fix */
.footer-section .row.g-5 {
  display: flex;
  flex-wrap: wrap;
}

.footer-section .row.g-5 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }
  .footer-social a {
    margin: 5px;
  }
}
.footer-credit {
  color: #ffffff !important;  /* White */
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

/*# sourceMappingURL=style.css.map */

/* ---------------------------
   Navbar & Logo Styling (Responsive Fix)
--------------------------- */
.header_section {
 
  padding: 10px 0;
}

.navbar {
  align-items: center !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-brand img.logo {
   /* height: 80px; */
  height: 50px;
  width: auto;
  max-height: 80px;
  object-fit: contain;
}

/* Adjust for smaller devices */
@media (max-width: 992px) {
  .navbar-brand img.logo {
    height: 65px;
  }
}

@media (max-width: 768px) {
  .navbar-brand img.logo{
    padding-left: 50px;
  }
  
}

@media (max-width: 576px) {
  .navbar-brand img.logo {
    height: 55px;
    padding-left: 30px;
    width: 80%;
  }
}

/* add new lines */

/* LOGO RESPONSIVE */
.header_section .logo {
  width: 150px;
  max-width: 100%;
}

@media (max-width: 576px) {
  .header_section .logo {
    width: 100px;
  }
}
@media (max-width: 1024px) {
  .header_section .logo {
    padding-left: 40px;
  }
}

/* NAVBAR ITEMS SPACE */
.navbar-nav .nav-link {
  color: #0c3c35 !important;
  font-size: 1rem;
  padding: 10px 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #00897B !important;
}

/* BOOTSTRAP TOGGLER FIX FOR ALL SCREENS */
.navbar-toggler {
  border: none !important;
  outline: none !important;
}

.navbar-toggler span {
  display: block;
  width: 28px;
  height: 3px;
  background: #0c3c35;
  margin: 6px 0;
}

/* COLLAPSED MENU (MOBILE) */
@media (max-width: 992px) {
  .navbar-nav {
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
  }

  .navbar-nav .nav-item {
    margin: 5px 0;
  }
}

/* EXTRA SMALL MOBILES FIX (320px–480px) */
@media (max-width: 480px) {
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .header_section {
    padding: 8px 0;
  }
}

.footer-section {
  background: linear-gradient(135deg, #004d61, #007d8c);
  color: #e8f6f3;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  letter-spacing: 0.5px;
}
.footer-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #1fab89;
  margin-top: 8px;
  border-radius: 2px;
}

.footer-desc {
  font-size: 15px;
  color: #d9eeee;
  line-height: 1.7;
  animation: fadeInUp 1s ease-in-out;
}

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

.footer-links li, .footer-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #d9eeee;
}

.footer-links li a {
  color: #d9eeee;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links li a:hover {
  color: #1fab89;
  padding-left: 5px;
}

.footer-list li i {
  color: #1fab89;
  margin-right: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #1fab89;
  color: black;
  margin-right: 10px;
  transition: 0.3s;
}
.footer-social a:hover {
  background: #1fab89;
  color: #ffffff;
  transform: translateY(-4px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-credit {
  color: #1fab89;
  text-decoration: none;
  transition: 0.3s;
}
.footer-credit:hover {
  color: #ffffff;
  text-decoration: underline;
}
.order-4{
  padding-left: 30px;
}

.map-container iframe {
  width: 100%;
  height: 340px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.4s;
}
.map-container iframe:hover {
  transform: scale(1.02);
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }
  .footer-social a {
    margin: 6px;
  }
  .footer-title::after {
    margin-left: auto;
    margin-right: auto;
  }
  .map-container iframe {
    height: 180px;
  }
}

/* Common Section Base */
section {
  padding: 80px 20px;
  text-align: center;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0c3c35;
  margin-bottom: 10px;
}
.heading p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 16px;
}

.specialities-section {
  background: radial-gradient(circle at top right, #e0fff6 0%, #ffffff 100%);
  padding: 80px 0;
}
.specialities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.spec-card-glass {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  text-align: center;
  padding: 35px 25px;
  transition: all 0.5s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.spec-card-glass i {
  font-size: 40px;
  color: #009688;
  margin-bottom: 15px;
}
.spec-card-glass h5 {
  font-size: 18px;
  font-weight: 600;
  color: #004d40;
  margin-bottom: 8px;
}
.spec-card-glass p {
  color: #333;
  font-size: 14px;
}
.spec-card-glass:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.5);
  box-shadow: 0 15px 40px rgba(0,150,136,0.2);
}

.features-section {
  background: linear-gradient(to right, #ffffff, #f1fffb);
  padding: 80px 0;
}
.features-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  position: relative;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,150,136,0.25);
}
.icon-wrap {
  background: linear-gradient(135deg, #00bfa5, #00897b);
  color: white;
  font-size: 22px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.text h5 {
  margin: 0;
  font-size: 16px;
  color: #004d40;
  font-weight: 600;
}
@media (max-width: 768px) {
  .features-line {
    flex-direction: column;
    align-items: center;
  }
}
.diagnostics-section {
  background: linear-gradient(to bottom, #f6fffd, #e8f9f5);
  padding: 80px 0;
}
.diagnostics-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  justify-items: center;
}
.diag-item {
  text-align: center;
  transition: all 0.4s ease;
}
.diag-item .icon {
  background: linear-gradient(135deg, #00bfa5, #00796b);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
  box-shadow: 0 10px 25px rgba(0,150,136,0.3);
  transition: all 0.4s ease;
}
.diag-item p {
  font-size: 15px;
  font-weight: 600;
  color: #004d40;
}
.diag-item:hover .icon {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0,150,136,0.35);
}
/* ================== SCROLL ANIMATIONS ================== */

/* Base state for all */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* When element is visible */
[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* Different animation types */
[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="slide-left"] {
  transform: translateX(-60px);
}

[data-animate="zoom-in"] {
  transform: scale(0.8);
}

[data-animate="fade-up"].animate,
[data-animate="slide-left"].animate,
[data-animate="zoom-in"].animate {
  opacity: 1;
  transform: none;
}

/* Smooth staggering for child elements */
.specialities-grid [data-animate],
.features-line [data-animate],
.diagnostics-modern [data-animate] {
  transition-delay: calc(var(--i, 0) * 0.15s);
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #62d2a2;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease-in-out;
  z-index: 9999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}
