/* Navbar section  */


body {
  font-family: "Kanit", serif;
}


/* bottom navbar  */
/* <--- navbar end ---->  */

/* hero section  */

.hero-section {
  position: relative;
  background-image: url('/assets/bgmainimg.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #000;
  background-position: center;
  width: 100%;
  height: 100vh;
  z-index: 5;
  overflow: hidden;
}

/* @media (min-width:1300px){
    .hero-section{
      background-size: cover;
     height: 100vh;
    }
  } */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  /* Adjust opacity here */
}

.hero-section .base-img {
  position: absolute;
  bottom: -135px;
  z-index: 999999;
  width: 100%;
}

.hero-section .base-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-section .text-content {
  position: relative;
  z-index: 10;
  padding: 130px 40px 10px 10px;
  text-align: start;
  max-width: 1000px;
  margin: 0 auto;
  width: 80%;
}

.hero-section .welcome-text h1 {
  font-size: 46px;
  line-height: 72px;
  font-weight: bold;
  color: var(--primary-color);
}

.hero-section .description p {
  font-size: 23px;
  line-height: 37.38px;
  font-weight: normal;
  color: #3d0f3b;
  width: 600px;
  margin-top: 10px;
}

.hero-section .banner-image {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 600px;
  top: -190px;
}

.hero-section .banner-image img {
  position: absolute;
  right: 30px;
  top: 0px;
  width: 500px;
  height: 400px;
}

@media (max-width:1349px) {
  .hero-section .banner-image {
    top: -270px;
  }
}

@media (min-width:1350px) {
  .hero-section .text-content {
    max-width: 1000px;
    width: 50%;
    padding: 130px 10px 10px 100px;
  }

  .hero-section {
    display: flex;
  }

  .hero-section .banner-image {
    overflow: hidden;
    position: relative;
    width: 700px;
    height: 1000px;
    top: 100px;
    max-width: 1700px;
  }

  .hero-section .banner-image img {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 650px;
    height: 513px;
  }
}

@media (max-width:1300px) {
  .hero-section .banner-image {
    top: -150px;
  }

}

@media (max-width:1000px) {
  .hero-section .banner-image {
    top: -100px;
  }

  .hero-section .banner-image img {
    position: absolute;
    right: 30px;
    top: 0px;
    width: 500px;
    height: 400px;
  }

  .hero-section .base-img {
    position: absolute;
    bottom: -110px;

  }
}

@media (max-width:780px) {
  .hero-section .text-content {
    width: 90%;
  }

  .hero-section .welcome-text h1 {
    font-size: 35px;
    line-height: 45px;
  }

  .hero-section .text-content {
    padding: 40px 10px;
  }

  .hero-section .description p {
    font-size: 18px;
    line-height: 33px;
    width: 100%;
  }

  .hero-section .base-img {
    bottom: -50px;
  }

  .hero-section .banner-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 500px;
    top: -30px;
  }

  .hero-section .banner-image img {
    position: absolute;
    right: 30px;
    top: 0px;
    width: 450px;
    height: 400px;
  }
}

@media (max-width:680px) {
  .hero-section .base-img {
    bottom: -30px;
  }
}

@media (max-width:480px) {
  .hero-section .text-content {
    width: 100%;
    padding: 40px 20px;
    justify-content: center;
  }

  .hero-section .welcome-text h1 {
    font-size: 30px;
  }

  .hero-section .description p {
    font-size: 16px;
  }

  .hero-section .base-img {
    bottom: -10px;
    height: 100px;
  }

  .hero-section .base-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-section {
    height: 90vh;
  }

  .hero-section .banner-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 400px;
    top: 0px;
  }

  .hero-section .banner-image img {
    position: absolute;
    right: 0;
    top: 0;
    width: 370px;
    height: 400px;

  }

  .hero-section .welcome-text h1 {
    font-size: 35px;
    line-height: 40px;
  }

  .hero-section .description p {
    line-height: 25px;
  }
}

@media (max-width:370px) {
  .hero-section .base-img {
    bottom: -25px;
    height: 100px;
  }

  .hero-section .banner-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 400px;
    top: -30px;
  }

  .hero-section .banner-image img {
    position: absolute;
    right: 0;
    top: 0;
    width: 350px;
    height: 300px;
    object-fit: cover;
  }
}


.hero-section .consult-button {
  margin-top: 20px;
  background-color: #7F237A;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: normal;
  color: white;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  /* width: 270px; */

}

.hero-section .contact-button {
  margin-left: 10px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: normal;
  background-color: #FFFFFF;
  color: #7F237A;
  border: 1px solid #7F237A;
  border-radius: 999px;
  cursor: pointer;

}

.hero-section .contact-button i {
  margin-top: 3px;
  padding-right: 5px;
}

@media (max-width:440px) {

  .hero-section .consult-button {
    width: 100%;
    padding: 14px 40px;

  }

  .hero-section .contact-button {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
    padding: 10px 40px;

  }
}

.hero-section .icon {
  font-size: 20px;
  margin-right: 5px;
}


/* hero section end  */

/* home services */

.home-service-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-service-main .home-service-one {
  text-align: center;
  padding: 1rem 1rem;
}

.home-service-main .home-service-one h2 {
  font-size: 40px;
  font-weight: 600;
}

.home-service-main .home-service-one p {
  font-size: 24px;
  font-weight: 400;
}

.home-service-main .home-service-two {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: start;
  padding: 1rem 1rem;
  width: 100%;
  max-width: 1300px;
  flex-wrap: wrap;
}

.home-service-main .home-service-two .card-service {
  width: 280px;
  text-align: center;

}

/* .home-service-main .home-service-two .card-service h3{
    line-height: 30px;
} */
.home-service-main .home-service-two img {
  width: 100%;
  overflow: hidden;
  object-fit: cover;
}

.card-service h3 {
  font-size: 25px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 10px;

}

.card-service p {
  font-size: 15px;
}

@media (max-width: 450px) {
  .home-service-main .home-service-one h2 {
    font-size: 30px;
  }

  .home-service-main .home-service-one p {
    font-size: 20px;
    line-height: 27px;
  }

  .home-service-main .home-service-two {
    gap: 3rem;
  }


}

@media (min-width:1350px) {
  .home-service-main .home-service-three .emergency-service {
    width: 1200px;
  }
}

.home-service-main .home-service-three {
  position: relative;
  padding: 4rem 0;
  width: 100%;

}

.home-service-main .home-service-three .emergency-service {
  display: flex;
  justify-content: left;
  align-items: start;
  background-color: var(--primary-color);
  width: 1050px;
  height: 280px;
  margin: 2rem 0;
  flex-direction: column;
  padding: 2rem;
  color: white;
  margin: 0 auto;
}

.home-service-main .home-service-three .emergency-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.home-service-main .home-service-three .emergency-text h4 {
  font-size: 25px;
}

.home-service-main .home-service-three .emergency-text i {
  font-size: 25px;
}

.home-service-main .la-heartbeat {
  font-size: 35px;
}

.home-service-main .bghome-service {
  position: absolute;
  right: 0px;
  top: -65px;
  z-index: -1;
  overflow: hidden;
}

.home-service-main .bghome-service img {
  width: 500px;
  height: 500px;
}

.home-service-main .emergency-detail {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 10px;
}

.home-service-main .emergency-detail .desc-one, .home-service-main .emergency-detail .desc-two {
  width: 50%;
}

.home-service-main .emergency-detail .desc-one h5 {
  font-size: 25px;
  font-weight: 500;
  padding: 1rem 0;
}

.home-service-main .emergency-detail .desc-one p {
  font-size: 18px;
  font-weight: 300;
}

.home-service-main .emergency-detail h6 {
  font-size: 20px;
  font-weight: 600;
}

.home-service-main .vertical-line {
  width: 2px;
  height: 130px;
  background-color: #ffffff;
  margin: 0 10px;
  border: none;
}

@media (max-width:1100px) {
  .home-service-main .home-service-three .emergency-service {
    height: auto;
    width: auto;
    margin: 0 2rem;
  }

  .home-service-main .home-service-three .emergency-detail {
    flex-direction: column;
    width: 100%;
  }

  .home-service-main .emergency-detail .desc-one, .home-service-main .emergency-detail .desc-two {
    width: 90%;
  }

  .home-service-main .vertical-line {
    width: 100%;
    height: 2px;
    margin: 0;
  }
}

@media (max-width:400px) {
  .home-service-main .home-service-three .emergency-service {
    padding: 1rem 1rem;
  }

  .home-service-main .home-service-three .emergency-service {
    margin: 0 1rem;
  }

  .home-service-main .home-service-three .emergency-text h4 {
    font-size: 22px;
  }

  .home-service-main .home-service-three .emergency-text i {
    font-size: 22px;
  }

  .home-service-main .emergency-detail .desc-one h5 {
    font-size: 20px;
    font-weight: 500;
    padding: 1rem 0;
  }
}

@media (max-width:600px) {

  .home-service-main .home-service-three .emergency-text h4 {
    font-size: 22px;
  }

  .home-service-main .home-service-three .emergency-text i {
    font-size: 22px;
  }

  .home-service-main .emergency-detail .desc-one h5 {
    font-size: 20px;
    font-weight: 500;
    padding: 1rem 0;
  }
}

/* <--- services end ---->  */

/* why choose us  */

.doctor-profiles {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
}

@media (max-width:900px) {
  .doctor-profiles {
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
}

.doctor-profiles .doctor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.doctor-profiles .main-container {
  position: relative;
  margin: 30px 0;
}

.doctor-profiles .img-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid black;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  padding: 20px 20px 0 20px;
}

.doctor-profiles .img-container img {
  width: 60px;
  height: 60px;
}

.doctor-profiles .arc1 {
  position: absolute;
  top: -13px;
  right: -13px;
}

.doctor-profiles .arc2 {
  position: absolute;
  bottom: -13px;
  left: -13px;
}

.doctor-card h4 {
  font-size: 20px;
  font-weight: 400;
}

.doctor-card p {
  font-size: 15px;
  font-weight: 300;
}

/* <--- why choose end ---->  */

/* testimonials  */


.testimonials-section {
  text-align: center;
  padding: 50px 0;
}

.testimonials-section .slider-container {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

@media (max-width:450px) {
  .testimonials-section .slider-container {
    width: 90%;
  }
}

.testimonials-section .slider {
  display: flex;
  width: calc(300px * 6);
  animation: slide 10s linear infinite;
  gap: 15px;
}

.testimonials-section .testimonial {
  min-width: 300px;
  background-color: #f3e9f2;
  border-radius: 10px;
  padding: 30px 45px;
  /* margin: 0 15px; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonials-section .testimonial p {
  text-align: start;
}

.testimonials-section .testimonial img {
  border-radius: 50%;
}

.testimonials-section .rating .la-star {
  font-size: 16px;
  color: gold;
}

.testimonials-section .rating {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.testimonials-section .rating-profile {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.testimonials-section .rating-profile h3 {
  font-size: 17px;
  color: var(--primary-color);
}

.testimonials-section .rating-profile p {
  font-size: 12px;
}



/* Keyframes for infinite sliding */
@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* <--- testimonials end ---->  */
.concave-shape {
  width: 300px;
  height: 100px;
  background-color: #6a1b9a;
}