/* Custom testimonial Slider */
.custom-testimonial {
  padding: 45px 0 50px;
  background-color: transparent;
  background-image: radial-gradient(at center center, #9fc4f252 27.88%, #ffffff66 100%);
}
.custom-testimonial .slide-block {
  border-radius: 36px;
  border: 1px solid rgb(217, 217, 217);
  background-color: #fff;
  padding: 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.custom-testimonial .slide-block .message p {
  font-size: 20px;
  line-height: 30px;
  font-weight: 300;
  color: #000;
  letter-spacing: -1px;
  display: -webkit-box;
  -webkit-line-clamp: 7; /* The desired number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Optional: Add text-overflow for older browsers or if -webkit-line-clamp isn't fully supported */
  text-overflow: ellipsis;
}
.custom-testimonial .section-title {
  text-align: center;
  padding: 0px 15px;
  margin-bottom: 50px;
}
.custom-testimonial .slide-block .message {
  margin-bottom: 30px;
}
.custom-testimonial .slide-block .author-details {
  margin-top: auto;
}
.custom-testimonial .slide-block .author-details h5,
.custom-testimonial .slide-block .author-details h6 {
  margin: 0;
  font-size: 24px;
  line-height: 140%;
  font-weight: 500;
  color: #000;
  letter-spacing: -1px;
}
.custom-testimonial .slide-block .author-details h6 {
  font-weight: 300;
  text-align: left;
  font-size: 20px;
  text-transform: initial;
  margin-top: 6px;
}
.custom-testimonial .test-slide {
  padding-left: 15px;
  padding-right: 15px;
  height: inherit !important;
}
.custom-testimonial .slick-track {
  display: flex !important;
}
.custom-testimonial .slick-dots li button {
  padding: 0;
  border: 0;
  font-size: 0 !important;
  height: 26px;
  width: 26px;
  background-color: #d9d9d9;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.custom-testimonial .slick-dots li button:before {
  display: none;
}
.custom-testimonial .slick-dots li {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.custom-testimonial .slick-dots li.slick-active {
  border: 1px solid #112a52;
}
.custom-testimonial .slick-dots {
  display: flex;
  justify-content: center;
  position: relative;
  bottom: auto;
  margin-top: 50px;
}
.custom-testimonial .slick-dots li.slick-active button {
  background-color: #9fc4f2;
}
@media only screen and (max-width: 1399px) {
  .custom-testimonial .test-slide {
    padding-left: 15px;
    padding-right: 15px;
  }
  .custom-testimonial .slide-block {
    padding: 40px 30px;
    border-radius: 30px;
  }
  .custom-testimonial .slide-block .author-details h5,
  .custom-testimonial .slide-block .author-details h6 {
    font-size: 20px;
    line-height: 140%;
  }
  .custom-testimonial .slide-block .message p {
    font-size: 18px;
    line-height: 28px;
  }
  .custom-testimonial .slick-dots li button {
    height: 22px;
    width: 22px;
  }
  .custom-testimonial .slick-dots li {
    width: 40px;
    height: 40px;
  }
}
@media only screen and (max-width: 991px) {
  .custom-testimonial .slick-dots li button {
    height: 18px;
    width: 18px;
  }
  .custom-testimonial .slick-dots li {
    width: 32px;
    height: 32px;
  }
}
@media only screen and (max-width: 767px) {
  .custom-testimonial .slide-block {
    padding: 25px 25px;
    border-radius: 20px;
  }
  .custom-testimonial .slide-block .author-details {
    margin-top: 20px;
  }
  .custom-testimonial .slick-dots li button {
    height: 16px;
    width: 16px;
  }
  .custom-testimonial .slick-dots li {
    width: 28px;
    height: 28px;
  }
  .custom-testimonial .slick-dots {
    margin-top: 30px;
  }
}
