@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

/*  row style */
.col {
  width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  top: calc(50% - 4%);
}

.swiper {
  /* overflow: visible; */
}

.stat {
  background-color: #f2f2f2;
  padding: 3rem 1rem;
  border-radius: 0.7rem;
  text-align: center;
  width: 160px;
}

.testimonial {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin: 10px 70px 130px;
  border-radius: 1rem;
  padding: 1.4rem 1.4rem 4rem 1.4rem;

}
.testimonials .swiper-button-next {
  right:30px;
}

.testimonials .swiper-button-prev {
  left: 30px;
}
.swiper-slide.swiper-slide-visible.swiper-slide-active{
  background: url(https://evolvecommerce.co.uk/wp-content/uploads/2023/04/quotee-removebg-preview.png)no-repeat;
  background-position: 4% 1%;
}
.swiper-button-prev:after,.swiper-button-next:after{
   font-size: 20px;
}
.testimonial::before {
  content: url(quote.png);
  width: 30px;
  height: 30px;
  left: 21px;
  position: absolute;
  top: 0;
}

.testimonial-header {
  display: flex;
  gap: 1.2rem;
}

img {
  width: 100%;
  height: 100%;
}

.testimonial-main-img {
  width: 100%;
  height: 270px;
}

.testimonial-main-img img {
  border-radius: 0.8rem;
  height: 100% !important;
  border-radius: 0.7rem !important;
}

.stats-wrapper {
  gap: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials .testimonial-header .stat .counter {
  color: #6ec1e4;
  font-size: 30px !important;
  line-height: 1;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  padding-bottom: 4px;
}

.testimonials .testimonial-header .stat>*:nth-child(2) {
  color: #252525;
  font-size: 14px;
  text-shadow: none;
  line-height: 1.1;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  display: block;
}

.swiper-button-next, .swiper-button-prev {
  top: 40% !important;
  background-image: none !important;
}

/* testimonial body  */
.testimonial-body {
  color: #252525;
  font-size: 14px;
  text-shadow: none;
  line-height: 1.5;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-align: center;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  font-weight: 400;
  padding: 2rem 0 1.8rem 0;
  font-family: "Poppins", sans-serif;
}

.testimonial .testimonial-footer .author span {
  color: #6ec1e4;
  font-size: 20px;
  font-weight: 400;
}

/* testimonial footer */
.testimonial-footer {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 1rem;
  padding: 1.4rem;
}

.testimonial-footer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
}

.testimonial .author-img {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
}

.testimonial .meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.testimonial .meta .author-name span {
  color: #6ec1e4;
  font-size: 18px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.testimonial .meta .designation span {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.testimonial .author-img img {
  border-radius: 50%;
}

.counter {
  display: inline-block;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.counter-value {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #ddd;
}

.counter-percent {
  display: inline-block;
  margin-left: 10px;
  font-size: 16px;
  font-weight: normal;
  color: #999;
}

/* counter */

.testimonial .counter {
  display: inline-flex;
}
span.bold-company {
    font-weight: 600 !important;
}

@media screen and (max-width: 1200px) {
  .testimonial-header {
    flex-direction: column-reverse;
  }

  .testimonials .testimonial-header .stat .counter {
    color: #6ec1e4;
    font-size: 22px !important;
  }

  .testimonial-main-img {
    height: auto;
  }

  .stat {
    padding: 1rem 1rem;
    width: 130px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: calc(50% - 10%);
  }

  .stats-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonial {
    margin: 10px 10px 166px;
  }

  .testimonial-body {
    display: none;
  }

  .testimonial-footer {
    margin-top: 20px;
    position: absolute;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    background-color: #fff;
    width: calc(100% - 110px);
    padding: 1rem;
  }

  .testimonial .meta .author-name span {
    font-size: 14px;
  }

  .testimonial .meta .designation span {
    font-size: 12px;
  }

  .testimonial .author-img {
    width: 60px;
    height: 60px;
  }

  .testimonials .swiper-button-next {
    right: -6px;
  }

  .testimonials .swiper-button-prev {
    left: -6px;
  }
  .testimonial .author-img {
    width: 50px;
    height: 50px;
}
.testimonial .meta .author-name span {
  font-size: 14px;
}
.swiper-slide.swiper-slide-visible.swiper-slide-active {
  background-position: 0% 0%;
  padding: 10px;
}
}