/********** Template CSS **********/
:root {
    --primary: #0f7148;
    --secondary: #14203a;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
  /* Background image */
  background-image: url(../img/hospital.jpg);
  /* Background properties */
  background-repeat: no-repeat;
  background-size: cover;
  /* Additional background properties for compatibility */
  background-position: center center;
  /* Fallback background color */
  background-color: #f0f0f0; /* Choose a suitable fallback color */
}

@media only screen and (max-width: 600px) {
  .logo-img{
      width: 150px; /* Decrease the logo size for smaller screens */
  }
}
.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.page-header {
    background: url(../img/emergency_2.jpg) top left no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}
  .service-menu {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

  .service-menu h2 {
    color: #007bff;
  }

  .service-menu .list-group-item {
    background-color: transparent;
    border: none;
    border: 1px solid #dee2e6;
    margin: 10px 10px;
    border-radius: 10px;
    text-align: center;
  }

  .service-menu .list-group-item:last-child {
    border-bottom: none;
  }

  .service-menu .list-group-item:hover {
    background-color: #e9ecef;
  }
  .service-img-padding {
    padding: 20px;
  } 
  .service-items p {
    font-size: 18px;
    line-height: 1.6;
    color: #000; 
    font-family: 'Times New Roman', Times, serif;
}
.service-items ul li{
    font-size: 18px;
    line-height: 1.6; 
    color: #000; 
    font-family: 'Times New Roman', Times, serif;

}
.slider_area .single_slider {
    height: 600px;
    width:100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  @media (max-width: 767px) {
    /* line 8, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
    .slider_area .single_slider {
      height: 500px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 991px) {
    /* line 8, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
    .slider_area .single_slider {
      height: 700px;
    }
  }
  
  /* line 20, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
  .slider_area .single_slider .slider_text > span {
    text-transform: uppercase;
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    font-family: "Work Sans", sans-serif;
    display: block;
  }
  
  /* line 28, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
  .slider_area .single_slider .slider_text h3 {
    color: #fff;
    font-family: "Work Sans", sans-serif;
    font-size: 70px;
    font-weight: 300;
    line-height: 85px;
    margin-top: 22px;
    margin-bottom: 42px;
  }
  
  /* line 36, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
  .slider_area .single_slider .slider_text h3 span {
    font-weight: 700;
  }
  
  @media (max-width: 767px) {
    /* line 28, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
    .slider_area .single_slider .slider_text h3 {
      font-size: 33px;
      line-height: 1.2;
      margin-bottom: 20px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 991px) {
    /* line 28, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
    .slider_area .single_slider .slider_text h3 {
      font-size: 55px;
      line-height: 65px;
    }
  }
  
  /* line 49, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
  .slider_area .single_slider .slider_text p {
    font-size: 18px;
    font-weight: 400;
    color: #070606;
    margin-bottom: 40px;
    margin-top: 10px;
  }
  
  @media (min-width: 992px) and (max-width: 1200px) {
    /* line 49, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
    .slider_area .single_slider .slider_text p {
      font-size: 16px;
    }
  }
  
  @media (max-width: 767px) {
    /* line 49, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/_slider.scss */
    .slider_area .single_slider .slider_text p {
      font-size: 16px;
    }
  }
  .overlay::before {
    background-image: -moz-linear-gradient(0deg, rgba(73, 146, 119, 0.6) 21%, rgba(73, 146, 119, 0.8) 22%, rgba(73, 146, 119, 0.3) 100%, #499277 100%);
    background-image: -webkit-linear-gradient(0deg, rgba(73, 146, 119, 0.6) 21%, rgba(73, 146, 119, 0.8) 22%, rgba(73, 146, 119, 0.3) 100%, #499277 100%);
    background-image: -ms-linear-gradient(0deg, rgba(73, 146, 119, 0.6) 21%, rgba(73, 146, 119, 0.8) 22%, rgba(73, 146, 119, 0.3) 100%, #499277 100%);
}
.overlay::before {
  background-image: -moz-linear-gradient(0deg, rgba(73, 146, 119, 0.6) 21%, rgba(73, 146, 119, 0.8) 22%, rgba(73, 146, 119, 0.3) 100%, #499277 100%);
  background-image: -webkit-linear-gradient(0deg, rgba(73, 146, 119, 0.6) 21%, rgba(73, 146, 119, 0.8) 22%, rgba(73, 146, 119, 0.3) 100%, #499277 100%);
  background-image: -ms-linear-gradient(0deg, rgba(73, 146, 119, 0.6) 21%, rgba(73, 146, 119, 0.8) 22%, rgba(73, 146, 119, 0.3) 100%, #499277 100%);
}

  .slider_bg_1 {
    background-image: url(../img/hospital.jpg);
   }
   .overlay {
    position: relative;
    z-index: 0;
  }
  
  /* line 145, ../../Arafath/CL/january 2020/241. Medical/HTML/scss/theme-default.scss */
  .overlay::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .boxed-btn5 {
    border: 1px solid #fff;
    color: #fff;
    display: inline-block;
    padding: 17px 24px;
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
    color: #fff !important;
    text-transform: capitalize;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
  }
  .doctor-details-container {
    background-color: #f8f9fa; /* Light gray background */
    border: 1px solid #ced4da; /* Gray border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;  
    margin-bottom: 20px; 
    color:black;
  }

  /* Style for doctor image */
  .doctor-img {
    border-radius: 10px; /* Rounded corners for the image */
    height: 300px;
  }

  /* Style for doctor name */
  .doctor-name {
    color: #13C5DD; /*Blue color for doctor name*/
    margin-top: 10px; /* Add some space above the name */
  }
  .doctor-name h3
  {
     color:#13C5DD;
  }  
  .service-icon img {
    width: 80px; /* Adjust as needed */
    height: 80px; /* Adjust as needed */
    border-radius: 50%; /* Makes the images round */
    border: 3px solid #fff; /* Adds a border around the images */
    transition: transform 0.3s ease-in-out; /* Adds a smooth transition effect */
}

.service-icon img:hover {
    transform: scale(1.1); /* Scales up the image slightly on hover */
}
.hospital-name {
  font-size: 2.5rem; /* Adjust the font size as needed */
  font-weight: bold; /* Make the text bold */
  letter-spacing: 2px; /* Add some letter spacing for clarity */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle shadow effect */
  /* You can add more custom styles as needed */
}
/* Custom CSS for doctors page */

.card {
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  transition: opacity 0.3s;
}

.card:hover .card-img-top {
  opacity: 0.7;
}
.custom-height
{
  height:400px;
  width:100%;
  
}
.primary-color {
  color: rgb(7, 6, 60); /* Example color */
}

.additional-info {
  padding: 20px;
  background-color: #f8f9fa; /* Light grey background */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
font-family: 'Times New Roman', Times, serif;
font-size:20px;
color: black;
}