@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;
  text-transform: uppercase;
}

.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 {
  background: linear-gradient(135deg, #004d40, #00bfa5);
}
.header_section {
  padding: 15px 0;
}

.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: 20px;
}

.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;
}
.navbar-nav .nav-link:hover {
  color: #004d40;
}
.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;
}

/*end header section*/


    /* body {
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
      background-color: #f8fcfc;
      color: #333;
    } */

    section.doctors {
      padding: 80px 20px;
      text-align: center;
    }

    .doctors h2 {
      font-size: 2.8rem;
      font-weight: 700;
      color: black;
      margin-bottom: 10px;
    }

    .subtitle {
      color: #555;
      font-size: 1rem;
      margin-bottom: 50px;
    }

    .doctor-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .doctor-card {
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      width: 270px;
      padding: 25px;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translateY(40px);
      animation: fadeIn 1s forwards;
    }

    /* First 4 doctors visible */
    .doctor-card:nth-child(-n+4) {
      opacity: 1;
      transform: translateY(0);
    }

    .doctor-card:hover {
        transform: translateY(-10px) scale(1.07);
        box-shadow: 0 15px 35px rgba(0, 150, 136, 0.3);
        background: linear-gradient(135deg, #e0f7f5, #ffffff);
    }

    .doctor-image {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto 15px;
      border: 4px solid #00bfa5;
      transition: transform 0.4s ease;
    }

    .doctor-card:hover .doctor-image img {
        transform: scale(1.1) rotate(5deg);
        transition: transform 0.4s ease-in-out;
    }

    /* .doctor-card:hover .doctor-image {
      transform: rotateY(180deg); 
    } */

    .doctor-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      backface-visibility: hidden;
    }

    .doctor-name {
      font-size: 1.3rem;
      font-weight: 600;
      color: #004d40;
      margin-bottom: 5px;
    }

    .doctor-speciality {
      color: #00bfa5;
      font-weight: 500;
      font-size: 1rem;
      margin-bottom: 15px;
    }

    .doctor-desc {
      font-size: 0.9rem;
      color: #555;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .view-profile {
      display: inline-block;
      padding: 8px 18px;
      background-color: #00bfa5;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 0.95rem;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .view-profile:hover {
      background-color: #009688;
      transform: scale(1.05);
    }

    .hidden {
      display: none;
    }

    .view-btn {
      margin-top: 50px;
      background: #00bfa5;
      color: #fff;
      border: none;
      padding: 12px 40px;
      font-size: 1.1rem;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .view-btn:hover {
      background: #009688;
    }

    /* Animations */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 768px) {
      .doctor-card {
        width: 90%;
      }
    }


/*# 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: 576px) {
  .navbar-brand img.logo {
    height: 55px;
  }
}
