/*----GANERAL----*/

* {
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
  color: black;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair", serif !important;
}

body {
  font-family: "Poppins", sans-serif !important;
  font-size: 14px !important;
}

a {
  text-decoration: none !important;
}

html {
  scroll-behavior: smooth;
}

P {
  color: #000;
  font-size: 15px;
  font-weight: 300;
}

.d-padding {
  padding-block: 70px;
}


.text-justify {
  text-align: justify;
}

body::-webkit-scrollbar {
  width: 10px !important;
  /* Adjust as needed */

}

body::-webkit-scrollbar-thumb {
  background-color: #005489 !important;
  border-radius: 4px !important;
}



#carouselExampleAutoplaying::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.form-control.border {
  border: 1px solid #c5d7e2 !important;
  color: #000 !important;
  padding: 10px 50px 10px 20px !important;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  font-size: 15px;
  border-radius: 30px;
}

.overlay {
  background: linear-gradient(0deg, black, transparent);
  position: absolute;
  bottom: 0;
  left: 0;
  height: 60vh;
  width: 1000%;
}

.a-more {
  color: #fff;
  background: rgb(0, 84, 137);
  padding: 8px 25px;
  border-radius: 20px;
  font-size: 13px;
}

.a-more i {
  color: #fff;
}

.bg-two {
  background: rgb(250, 250, 250);
}

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

.alnoor-color {
  color: rgb(0, 84, 137);
}

.text-theme {
  color: rgb(0, 84, 137);
}

.main-head {
  font-size: 55px;
  font-family: "Playfair", serif;
  font-weight: bold;
  line-height: 60px;
}

.main-para {
  font-size: 16px;
  font-weight: 300;
}

.sub-head {
  font-size: 16px;
  color: #6f6f6f;
  text-transform: uppercase;
  font-weight: 600;
}


/*-------------------navbar----------------------------------*/


#nav-btn {
  border-radius: 20px;
  border: 1px solid black;
  padding: 5px 20px;
}

.navbar .container {
  background: #fff;
  border-radius: 10px;
  padding-block: 5px;
}

.nav-mb {
  padding-top: 150px !important;
}

.navbar-active {
  background: #fff !important;
}

.nav-link {
  font-size: 15px;
}

.nav-link.active {
  color: #005489 !important;
  font-weight: bold;
}

.nav-contact a {
  background: #005489;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 30px;
}

.mini-header {
  height: 35px;
  padding: 0 240px !important;
  position: absolute;
}

.carousel-caption {
  position: absolute !important;
  right: 15% !important;
  bottom: 3.25rem !important;
  left: 15% !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  color: #fff !important;
  text-align: center !important;
}

@keyframes slideInTop {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

/*----------------home---------------------------*/

.banner-section {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: end;
}

.banner-head-div .banner-sub {
  color: #fff;
  font-size: 17px;
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  width: fit-content;
}

.banner-head-div .banner-head {
  color: #fff;
  font-family: "Playfair", serif;
  font-size: 80px;
  line-height: 80px;
}

.banner-head-div p {
  color: #fff;
  font-size: 17px;
  font-weight: 200;
}

.banner-section .overlay {
  position: absolute;
  background: linear-gradient(90deg, black, transparent);
  width: 100%;
  height: 100%;
  z-index: 2;
}

.banner-section .container {
  position: relative;
  z-index: 3;
}

.banner-section .carousel {
  height: 100%;
  position: absolute;
  width: 100%;
}

.banner-section .carousel-inner {
  height: 100%;
}

.banner-section .carousel-item {
  height: 100%;
}

.banner-section .carousel-inner img {
  filter: brightness(.8);
  height: 100%;
  object-fit: cover;
}

.banner-button .one {
  background: #005489;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 12px;
  width: fit-content;
  gap: 10px;
  border-radius: 30px;
}

.banner-button {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 100%;
  justify-content: end;
}

.banner-button .one i {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  color: #005489;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-text-stroke: .3px;
  font-size: 18px;
}

.banner-button .two {
  background: #ffffff;
  color: #005489;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 12px;
  width: fit-content;
  gap: 10px;
  border-radius: 30px;
}

.banner-button .two i {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #005489;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}


/* ---------------------- */

.head-shot {
  background: rgb(95 199 228 / 27%);
  border-radius: 20px;
  padding: 5px 20px;
  font-weight: bold;
  font-size: 14px;
  color: rgb(0 94 120);
  margin-bottom: 5px;
  display: flex;
  width: fit-content;
}

.home-heading {
  font-size: 62px;
  font-weight: bold;
}

.about-dr-div {
  background: #fff;
  border-radius: 20px;
  width: 230px;
  padding: 15px;
  position: relative;
  top: 420px;
}

.about-mission-section {
  background: #e1e9ef;
}

.about-dr-div h6 {
  font-size: 13px;
}

.about-dr-div p {
  font-size: 11px;
}

.about-dr-div span {
  font-size: 11px;
  font-weight: bold;
}



.home-services {
  height: 100%;
  background: rgb(250, 250, 250);
  padding: 25px 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

}

.home-services-icon {
  height: 90px;
  width: 90px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-services span {
  font-size: 32px;
  font-family: "Playfair", serif;
  font-weight: 600;
}

.home-services p {
  font-size: 15px;
  font-weight: 300;
  height: 70px;
  overflow-y: scroll;
}

.home-services p::-webkit-scrollbar {
  display: none;
}

.carousal-icon {
  width: 45px;
  height: 45px;
  background: #005489;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  outline: none;
}

.home-department {
  height: 100%;
  width: 90%;
}

.home-department-icon {
  height: 120px;
  width: 120px;
  padding: 20px;
  background: rgba(107, 197, 221, 25%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-department-icon img {
  width: 75%;
  filter: invert(26%) sepia(70%) saturate(563%) hue-rotate(175deg) brightness(95%) contrast(90%) !important;

}

.home-department span {
  font-size: 32px;
  font-family: "Playfair", serif;
  font-weight: 600;
  line-height: normal;
}

.service-banner-image img {
  width: 100%;
  height: 675px;
  object-fit: contain;
}

.home-doctors-div {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-doctors {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
}

.home-doctors img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #b2cad9;
}

.doctors-name span {
  font-size: 25px;
  font-family: "Playfair", serif;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;

}

.doctor-slick .slick-slide {
  transition: transform 0.3s ease;
  transform: scale(0.8);
  opacity: 0.9;
}

.doctor-slick .slick-center {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}


.home-doctors-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
}

.home-testimonial {
  padding: 15px;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  display: flex;
}

.home-testimonial-img {
  border-radius: 10px;
  height: 195px;
}

.home-testimonial-img img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

.home-testimonial i {
  color: rgb(0, 84, 137);
}

.testi-slick .slick-slide {
  margin: 0 10px;
  /* 1px on each side = 2px total gap */
}

.home-news-letter {
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-news-letter img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 20px;
  position: absolute;
}

.home-news-letter-div {
  position: relative;
  width: 100%;
  text-align: center;
}

.home-news-letter-sub {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.home-news-letter-div h5 {
  font-weight: 300;
}

.home-news-letter-div input {
  border-radius: 30px;
  border: none;
  width: 30%;
  font-size: 14px;
  padding-left: 25px;
}

#news-letter-icon {
  width: 45px;
  height: 45px;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  outline: none;
}

.h-doctors-section {
  background: #dfe8ee;
}

.footer-section {
  background: #fff;
}

/*----------------------about-----------------------------*/

.about-home {
  width: 100%;
  position: relative;
  height: 100%;
}

.about-home-img-div {
  width: 75%;
  height: 80%;
}

.about-home-img-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.about-home-img-div-2 {
  width: 40%;
  height: 250px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.about-home-img-div-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.about-mision {
  padding: 0px 25px;
  height: 100%;
  border-right: 1px solid #b9b9b9;
}

.about-mision span {
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
  font-family: "Playfair", serif;

}

.about-mision p {
  font-size: 15px;
  font-weight: 300;
}

.about-why-div {
  width: 80%;
  height: 500px;
  background: rgb(197, 215, 226);
}

.about-why-div-1 {
  width: 80%;
  height: 500px;
  background: rgb(197, 215, 226);
  position: relative;
}

.about-why-div-1::before {
  content: "";
  background: rgb(197, 215, 226);
  rotate: 4deg;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  z-index: -1;
}

.about-why-div-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-why-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(100, 150, 182);
}

.about-why-icon img {
  width: 50%;
  height: 50%;
  object-fit: cover;
}

/*-------------------------------------------------------*/

.h-service-section {
  background: #c8d9e3;
}

.service-home-icon {
  background: rgb(0, 84, 137);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
      align-items: center;
}

.service-home-more {
  color: black;
  font-weight: bold;
  font-size: 15px;
}

.service-department-div {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}

.service-department-div .head {
  height: 130px;
  overflow-y: scroll;
}

.service-department-div .head::-webkit-scrollbar {
  display: none;
}

.service-department-div span {
  font-size: 23px;
  line-height: normal;
  font-family: "Playfair", serif;
  font-weight: bold;
}

.service-department-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgb(100, 150, 182);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.service-department-icon img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.search-bar {
  /* width: 90%; */
  background: rgb(197, 215, 226);
  display: flex;
  align-items: center;
  border-radius: 60px;
  padding: 0px 0px 0px 20px;
  justify-content: space-between;
}

.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  float: 1;
}

.search-bar button {
  border: none;
  outline: none;
  background: rgb(0, 84, 137);
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.doctor-view-img {
  height: 470px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;

}

.doctor-view-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.contact-section {
  background: linear-gradient(to top, #ffffff 50%, #c5d7e2 50%);
}


.blog-view-div img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.doctors-card {
  width: 100%;
  padding: 5px;
  background: #ffffff;
  border-radius: 10px;
}

.doctors-card img {

  object-fit: cover;
  height: 360px;
  border-radius: 5px;
}

.doctors-card p {
  font-size: 12px;
}

.contact-div {
  padding: 50px;
  border-radius: 20px;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.contact-div-info {
  padding: 70px 30px;
  border-radius: 10px;
}

.contact-div-info-icon {
  margin-top: 30px;
  margin-left: 35px;
  display: flex;
}

.contact-div-info-icon i {
  font-size: 20px;
}

.contact-div-info-icon a {
  color: black;
  margin-left: 20px;
  font-size: 15px;
  font-weight: 500;
}

.contact-input input {
  border: none;
  background: none;
  border-bottom: 1px solid black;
  border-radius: inherit;
}

.contant-form-div {
  width: 80%;
}

.contant-form-div label {
  font-size: 16px;
}

.blog-card {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  height: 100%;
}

.blog-card .card-title {
  font-size: 25px;
  font-weight: 500;
}

.blog-card img {
  width: 100%;
  padding: 19px;
  height: 340px;
  object-fit: cover;
  border-radius: 25px 25px 25px 25px;
}

.blog-card-date span {
  font-size: 14px;
}

.blog-card-date p {
  font-size: 13px;
  font-style: italic;
}

/*---------------footer-------------------------------*/

.footer-align {
  display: flex;
  justify-content: center;
}

.h-depat-btn-div {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 6px;
  height: 100%;
}

.footer-logo p {
  width: 85%;
}


@media only screen and (max-width: 767px) {

  .container{
          padding-inline: 20px !important;
  }
  
  .service-banner-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
  
  .navbar .container {
    background: #fff;
    border-radius: 10px;
    padding-block: 5px;
    margin-inline: 20px;
    padding-inline: 10px !important;
}

  .search-bar input {
    border: none;
    outline: none;
    background: transparent;
    float: 1;
    width: 80% !important;
  }

  .h-testi-head{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo p {
    width: 100%;
  }

  .banner-head br {
    display: none;
  }
  
  .doctor-slick .slick-slide {
  transition: transform 0.3s ease;
  transform:normal;
  opacity: 1;
}

.doctor-slick .slick-center {
  transform: normal;
  opacity: 1;
  z-index: 2;
}




  .home-home-img {
    width: 100%;
    height: 255px;
    object-fit: contain;
  }

  .home-home-img-2 {
    width: 385px;
  }

  .home-home-img-3 {
    width: 250px;
  }

  .home-heading {
    font-size: 40px;
  }

  .home-department {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .mob-text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mob-mb {
    margin-bottom: 25px;
  }

  .home-news-letter {
    height: 190px;
  }


  .home-news-letter-div h2 {
    font-size: 25px;
  }

  .home-news-letter-div h5 {
    font-size: 14px;
  }

  .home-news-letter-div input {
    width: 70%;
  }

  .top-0 {
    top: 0px !important;
  }

  .top-60 {
    top: 60px !important;
  }

  .home-home-img-3-div {
    margin-top: 30px !important;
  }

  .a-more-div {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .w-sm-100 {
    width: 100% !important;
  }

  .div-align {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-home-img-div-2 {
    width: 50%;
    height: 200px;
    margin-top: -124px;
    margin-left: 165px;
  }

  .contact-div-info {
    padding: 70px 11px;
    border-radius: 10px;
  }

  .contact-div {
    padding: 20px;
    border-radius: 20px;
    background: #fff;
  }

  .banner-head-div .banner-head {
    color: #fff;
    font-family: "Playfair", serif;
    font-size: 40px;
    line-height: 45px;
  }

  .banner-head-div p {
    color: #fff;
    font-size: 15px;
    font-weight: 200;
  }

  .banner-head-div .banner-sub {
    font-size: 14px;
    padding: 8px 16px;
  }

  .banner-head-div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .banner-button {
    justify-content: center;
  }

  .main-head {
    font-size: 40px;
    line-height: 45px;
  }

  .about-home-img-div {
    width: 90%;
    height: 345px;
  }

  .about-why-div-1 {
    height: 300px;
  }

  .main-para {
    font-size: 14px;
  }

  .about-mision p {
    font-size: 14px;
  }

  .service-department-div .head {
    text-align: center;
  }

  .blog-view-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .h-about-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .h-depat-btn-div {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
  }

  .home-department {
    width: 100%;
  }

  .about-count-div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-head-div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-banner-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-contact {
    text-align: center;
            margin-block: 15px;
  }

}

@media only screen and (min-width: 768px) and (max-width: 990px) {
  .banner-head-div .banner-head {
    font-size: 55px;
    line-height: 60px;
  }

  .mob-mb {
    margin-bottom: 25px;
  }

  .service-department-div .head {
    height: 120px;
    overflow-y: scroll;
  }

  .contact-div {
    padding: 35px;
  }

  .banner-head-div .banner-sub {
    font-size: 15px;
    padding: 8px 16px;
  }

  .banner-head-div p {
    font-size: 16px;
  }

  .main-head {
    font-size: 37px;
    line-height: normal;
  }

  .main-para {
    font-size: 14px;
  }

  .banner-button .one {
    padding: 5px 5px 5px 10px;
    gap: 5px;
    font-size: 14px;
  }

  .banner-button .two {
    padding: 5px 5px 5px 10px;
    gap: 5px;
    font-size: 14px;
  }

  .home-department span {
    font-size: 24px;
  }

  .blog-card .card-title {
    font-size: 22px;
    line-height: 28px;
  }

  .home-services span {
    font-size: 25px;
  }

  .home-services {
    padding: 20px;
  }

  .home-services p {
    font-size: 14px;
    height: 65px;
    overflow-y: scroll;
  }

  P {
    font-size: 14px;
  }
}

@media only screen and (min-width: 991px) and (max-width: 1200px) {
  .banner-head-div .banner-head {
    font-size: 55px;
    line-height: 60px;
  }

  .mob-mb {
    margin-bottom: 25px;
  }

  .service-department-div .head {
    height: 120px;
    overflow-y: scroll;
  }

  .contact-div {
    padding: 35px;
  }

  .banner-head-div .banner-sub {
    font-size: 15px;
    padding: 8px 16px;
  }

  .banner-head-div p {
    font-size: 16px;
  }

  .main-head {
    font-size: 37px;
    line-height: normal;
  }

  .main-para {
    font-size: 14px;
  }

  .banner-button .one {
    padding: 5px 5px 5px 10px;
    gap: 5px;
    font-size: 14px;
  }

  .banner-button .two {
    padding: 5px 5px 5px 10px;
    gap: 5px;
    font-size: 14px;
  }

  .home-department span {
    font-size: 24px;
  }

  .blog-card .card-title {
    font-size: 22px;
    line-height: 28px;
  }

  .home-services span {
    font-size: 25px;
  }

  .home-services {
    padding: 20px;
  }

  .home-services p {
    font-size: 14px;
    height: 65px;
    overflow-y: scroll;
  }

  P {
    font-size: 14px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
  .banner-head-div .banner-head {
    font-size: 65px;
    line-height: 70px;
  }

  .service-department-div .head {
    height: 120px;
    overflow-y: scroll;
  }

  .contact-div {
    padding: 35px;
  }

  .banner-head-div .banner-sub {
    font-size: 15px;
    padding: 8px 16px;
  }

  .banner-head-div p {
    font-size: 16px;
  }

  .main-head {
    font-size: 45px;
    line-height: 50px;
  }

  .main-para {
    font-size: 15px;
  }

  .home-department span {
    font-size: 24px;
  }

  .blog-card .card-title {
    font-size: 22px;
    line-height: 28px;
  }

  .home-services span {
    font-size: 25px;
  }

  .home-services {
    padding: 20px;
  }

  .home-services p {
    font-size: 14px;
    height: 65px;
    overflow-y: scroll;
  }

  P {
    font-size: 14px;
  }
}

@media only screen and (min-width: 1400px) and (max-width: 1800px) {
  .banner-head-div .banner-head {
    font-size: 70px;
    line-height: 75px;
  }

  .banner-head-div .banner-sub {
    font-size: 15px;
    padding: 8px 16px;
  }

  .banner-head-div p {
    font-size: 16px;
  }

  .main-head {
    font-size: 50px;
    line-height: 55px;
  }

  .main-para {
    font-size: 15px;
  }

  .home-department span {
    font-size: 26px;
  }

  .blog-card .card-title {
    font-size: 22px;
    line-height: 28px;
  }
}


@media (min-width: 1801px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1500px !important;
  }
}