/* -----------------------testimonial section start--------------------- */
.testimonial_sec {
  overflow: hidden;
  position: relative;
}

.testimonial_sec .heading-44 {
  margin-bottom: 5px;
}

.testimonial_sec .sm-title {
  margin-bottom: 53px;
  color: #322A2D;
  font-weight: 500;
}

.testimonial_slider:not(.slick-initialized) {
  display: flex;
  column-gap: 30px;
}

.testimonial_slider:not(.slick-initialized)>li:not(:nth-child(-n + 3)) {
  display: none;
}

.testimonial_slider {
  width: calc(100% + 30px);
  margin: 0 -15px 40px;
}

.testimonial_slider li {
  padding-left: 0;
  margin-bottom: 0;
}

.testimonial_slider li:before {
  display: none;
}

.testimoial-box {
  background-color: #e3eef6;
  padding: 58px 60px 58px 70px;
  text-align: left;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.testimonial_title .heading-22 {
  font-weight: bold;
  line-height: 26px;
  margin-bottom: 18px;
  color: #2d2d2d;
  font-family: "Instrument Sans";
}

.testimonial_sec .rate_wrap {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.testimonial_sec .intro-sec {
  border-bottom: 1px solid rgb(0 0 0 / 10%);
  margin-bottom: 42px;
  padding-bottom: 42px;
  align-items: center;
}

.testimonial_sec .intro-sec .heading-40 {
  margin-bottom: 0;
}

.testimonial_sec .title-sec .heading-22 {
  color: var(--darkorange);
  font-weight: 500;
  font-family: "Afacad Flux";
  margin-bottom: 9px;
}

.testimonial_title {
  text-align: left;
  overflow-y: hidden;
  height: 148px;
  padding-right: 10px;
}

.testimonial_title {
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 2px;
  }
}

/* ----------Custom Scroll--------- */
.testimonial_title::-webkit-scrollbar-track {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.testimonial_title::-webkit-scrollbar {
  width: 2px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.testimonial_title::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: var(--blue);
}

.testimonal-quote {
  margin-bottom: 20px;
}

.testimoial-box p {
  font-size: 18px;
  font-weight: normal;
  font-style: italic;
  line-height: 24px;
  letter-spacing: 0px;
  color: #2a2d32;
  margin-bottom: 0px;
  font-family: "Instrument Sans";
}

.author-nm {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0px;
  line-height: 21px;
  color: #171717;
  text-transform: capitalize;
  font-family: auto;
  margin-bottom: 4px;
  margin-top: 29px;
  position: relative;
  font-family: "Instrument Sans";
}

.author-sub-nm {
  font-size: 18px;
  font-weight: 400;
  font-family: "Afacad Flux";
  color: #000000;
}

.testimonial_slider:not(.slick-initialized) li {
  flex: 1;
}

.testimonial_slider.slick-initialized {
  margin: 0 -25px;
}

.testimonial_slider.slick-initialized .slick-slide {
  display: block;
  padding: 0 25px;
}

.testimonial_slider .slick-slide.slick-active {
  opacity: 1;
}

.testimonial_sec .slider_btn a.button {
  margin: 0;
}

.testimonial_sec .btnlist {
  justify-content: center;
  margin-top: 50px;
}

.testimonial_listing {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: center;
}

.testimonial_listing li {
  width: calc(33.33% - 23px);
  padding: 0;
  margin: 0;
}

.testimonial_listing li:before {
  display: none;
}

.testimonial_sec .btm-line {
  padding-bottom: 211px;
}

/* ------------------ Testimonial Page -------------------- */
.testimonialpg {
  .testimonial-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 0;

    li {
      padding-left: 0;
      width: calc(33.33% - 27px);
      margin-bottom: 0;

      &::after {
        content: none;
      }
    }
  }
}

@media (max-width: 1599px) {
  .testimoial-box {
    padding: 40px 30px 40px 40px;
  }

  .testimonial_slider.slick-initialized .slick-slide {
    display: block;
    padding: 0 12px;
  }

  .testimonial_slider.slick-initialized {
    margin: 0 -12px;
  }

  .testimonial_sec .btm-line {
    padding-bottom: 100px;
  }
}

@media (max-width: 1439.99px) {

  /* ------------------ Testimonial Page -------------------- */
  .testimonialpg {
    .testimonial-listing {
      gap: 30px;

      li {
        width: calc(33.33% - 20px);
      }
    }
  }
}

@media (max-width: 1199.99px) {
  .testimonial_sec .btm-line {
    padding-bottom: 90px;
  }

  /* ------------------ Testimonial Page -------------------- */
  .testimonialpg {
    .testimonial-listing {
      gap: 20px;

      li {
        width: calc(33.33% - 14px);
      }
    }
  }
}

@media (max-width: 991.99px) {
  .testimonial_sec .btm-line {
    padding-bottom: 80px;
  }

  .testimonial_sec .heading-44 {
    margin-bottom: 10px;
  }

  .testimonial_sec .sm-title {
    margin-bottom: 30px;
  }

  .testimoial-box {
    padding: 30px 20px 30px 30px;
  }

  .author-nm {
    line-height: 1.1;
    margin-top: 20px;
  }

  /* ------------------ Testimonial Page -------------------- */
  .testimonialpg {
    .testimonial-listing {
      gap: 20px;

      li {
        width: calc(50% - 10px);
      }
    }
  }
}

@media (max-width: 767.99px) {
  .testimonial_sec .btm-line {
    padding-bottom: 70px;
  }

  .testimonial_sec .sm-title {
    margin-bottom: 15px;
  }

  .testimoial-box {
    padding: 20px 10px 20px 20px;
  }

  .testimoial-box p {
    font-size: 16px;
    line-height: 1.2;
  }

  .author-nm {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 8px;
  }

  .testimonial_title {
    height: 155px;
  }

  .testimonial_sec .rate_wrap {
    gap: 2px;

    img {
      width: 14px;
    }
  }
}

@media (max-width: 575px) {
  .testimoial-box {
    padding: 23px 15px 23px 20px;
  }

  .testimonial_title {
    padding-right: 5px;
  }

  .testimonial_title .heading-22 {
    margin-bottom: 15px;
  }

  .testimoial-box p {
    height: 100%;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: unset;
  }
}

@media (max-width: 480px) {

  /* ------------------ Testimonial Page -------------------- */
  .testimonialpg {
    .testimonial-listing {
      gap: 15px;

      li {
        width: 100%;
      }
    }
  }
}