#testimonialSlider {
  background: #fbfbfb;
  width: 100%;
  padding: 6.25rem 0;
}

.testimonialSlider {
  width: min(92%, 1400px);
  margin: auto;
}

/* dots container */
.testimonialSlider .owl-dots {
  text-align: center;
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translate(-50%);
}

/* normal dots */
.testimonialSlider .owl-dot span {
  width: 12px !important;
  height: 12px !important;
  background: #cecece;
  border-radius: 50%;
  display: block;
  margin: 5px;
  transition: 0.3s;
}

/* active dot */
.testimonialSlider .owl-dot.active span {
  background: var(--primary-background-color) !important;
  width: 30px !important;
  border-radius: 20px;
}

.testimonialSlider_title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 2.8rem!important;
  text-align: center;
  color: #333;
  margin-bottom: 4rem;
  font-family: 'Outfit', sans-serif;
}

.testimonialSlider_title span {
  position: relative;
  color: #333; 
   font-style: italic;
}

.testimonialSlider_title span .under {
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 90%;
  height: 0.1875rem;
  background: var(--secondary-background-color);
  border-radius: 0.125rem;
}

.testimonials_container {}

.testimonial_card {
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  border-radius: 1rem;
  padding: 2.125rem;
  box-shadow: 0 0.625rem 2rem rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f1f1;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: space-between;
  transition: transform 0.3s ease;
  margin: 0.625rem;
  gap: 2rem;
}

.testimonial_card:hover {
  transform: translateY(-5px);
}

.testimonial_rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial_rating .testimonial_stars {
  color: #FFC107;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 1.1rem;
}

.testimonial_rating .testimonial_rating_qoute {
  font-size: 1.5rem;
  color: #FEF3E2;
  line-height: 0.5;
  font-family: serif;
  margin-top: 1rem;
}

.testimonial_content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4A4A4A;
  font-weight: 500;
  font-style: italic;
  font-family: "DM Sans", sans-serif;
}

.testimonial_profile {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.testimonial_profile img {
  width: 2.8125rem !important;
  height: 2.8125rem;
  border-radius: 50%;
}

.testimonial_profile p {
  font-size: 1rem;
  font-weight: 800;
  color: #333;
  margin-bottom: -0.35rem;
  /* line-height: 0.5; */
}

.testimonial_profile span {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-weight: 600;
}


@media (max-width: 992px) {
  #testimonialSlider {
    padding: 5rem 0;
  }

  .testimonialSlider {
    width: 90%;
  }

  .testimonialSlider_title {
    margin-bottom: 3rem;
  }

  .testimonial_card {
    padding: 1.75rem;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  #testimonialSlider {
    padding: 4rem 0;
  }

  .testimonialSlider {
    width: 92%;
  }

  .testimonialSlider_title {
    margin-bottom: 2.5rem;
  }

  .testimonial_card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    gap: 1.25rem;
  }

  .testimonial_content {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .testimonial_rating .testimonial_stars {
    font-size: 1rem;
  }

  .testimonial_rating .testimonial_rating_qoute {
    font-size: 1.3rem;
  }

  .testimonial_profile p {
    font-size: 0.95rem;
  }

  .testimonial_profile span {
    font-size: 0.7rem;
  }

  .testimonialSlider .owl-dots {
    bottom: -12%;
  }
}

@media (max-width: 576px) {
  .testimonialSlider_title {
    font-size: 1.8rem;
  }

  .testimonial_card {
    padding: 1.25rem;
    margin: 0.25rem;
  }

  .testimonial_profile {
    gap: 0.75rem;
  }

  .testimonial_profile img {
    width: 2.5rem !important;
    height: 2.5rem;
  }

  .testimonial_content {
    font-size: 0.85rem;
  }

  .testimonialSlider .owl-dots {
    bottom: -10%;
  }

  .testimonialSlider .owl-dot span {
    width: 10px !important;
    height: 10px !important;
  }

  .testimonialSlider .owl-dot.active span {
    width: 24px !important;
  }
}

@media (max-width: 380px) {
  .testimonialSlider_title {
    font-size: 1.5rem;
  }

  .testimonial_card {
    padding: 1rem;
  }

  .testimonial_content {
    font-size: 0.8rem;
  }

  .testimonial_profile p {
    font-size: 0.85rem;
  }

  .testimonial_profile span {
    font-size: 0.65rem;
  }
}