.testimonial{
    width: 95%;
    margin: 0 auto;
  padding: 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EFEFEF;
}
.testimonial h1{
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 5px;
}
.testimonial .test-text{
    text-align: center;
}
.testimonial .slide-container{
  max-width: 1120px;
  width: 100%;
  padding: 40px 0;
}
.testimonial .slide-content{
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}
.testimonial .test-card{
  border-radius: 25px;
  background-color: #FFF;
}
.testimonial .image-content,
.testimonial .test-card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}
.testimonial .image-content{
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}
.testimonial .overlay{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--main-color);
  border-radius: 25px 25px 0 25px;
}
.testimonial .overlay::before,
.testimonial .overlay::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: var(--main-color);
}
.testimonial .overlay::after{
  border-radius: 0 25px 0 0;
  background-color: #FFF;
}
.testimonial .test-card-image{
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #FFF;
  padding: 3px;
}
.testimonial .test-card-image .test-card-img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial .name{
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
.testimonial .description{
  font-size: 14px;
  color: #707070;
  text-align: center;
}

.swiper-navBtn{
    color: #202020;
    transition: color 0.3s ease;
}
.swiper-navBtn:hover{
    color: #c7e010;
}
.swiper-navBtn::before,
.swiper-navBtn::after{
  font-size: 35px;
}
.swiper-button-next{
  right: 0;
}
.swiper-button-prev{
  left: 0;
}
.swiper-pagination-bullet{
  background-color: #6E93f7;
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background-color: #4070F4;
}


@media (max-width: 1200px) {
    .testimonial .slide-container {
        max-width: 1000px;
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .testimonial{
        padding: 10px 0 50px 0;
    }
    .testimonial .slide-content{
        margin: 0 10px;
    }
    .swiper-navBtn{
        display: none;
    }
    .testimonial .slide-container {
        max-width: 600px;
        width: 90%;
    }
}

@media (max-width: 500px) {
    .testimonial .slide-container {
        max-width: 300px;
        width: 90%;
    }
    .testimonial h1 {
        font-size: 2rem;
    }
    .testimonial .test-text {
        font-size: 0.8rem;
    }
}