/*----------------------------------
  SECTION TITLE 
  -----------------------------------*/
.maha-testimonial-wrap .section-title-wrap {
  position: relative;
  margin-bottom:6rem;
}

.maha-testimonial-wrap .section-title-wrap .section-title {
  display: inline-block;
  position: relative;
  margin: 5px 0 40px;
  text-transform: capitalize;
  line-height: 1.4;
  font-size: calc(1.525rem + 3.3vw);
}

@media (min-width: 1200px) {
  .maha-testimonial-wrap .section-title-wrap .section-title {
    font-size: 2rem;
  }
}

.maha-testimonial-wrap .section-title-wrap .section-title::before,
.maha-testimonial-wrap .section-title-wrap .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 20px;
  height: 8px;
  border-radius: 4px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  background-color: var(--color-primary);
  -webkit-animation: animate 6s linear infinite;
  animation: animate 6s linear infinite;
}

.maha-testimonial-wrap .section-title-wrap .section-title::before {
  right: 50%;
  margin-right: 4px;
}

.maha-testimonial-wrap .section-title-wrap .section-title::after {
  left: 50%;
  margin-left: 4px;
}

.maha-testimonial-wrap .section-title-wrap p {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0;
  max-width: 1200px;
}

@-webkit-keyframes animate {
  0% {
    width: 20px;
  }

  25% {
    width: 50px;
  }

  50% {
    width: 50px;
  }

  75% {
    width: 100px;
  }

  100% {
    width: 100px;
  }
}

@keyframes animate {
  0% {
    width: 20px;
  }

  25% {
    width: 50px;
  }

  50% {
    width: 50px;
  }

  75% {
    width: 100px;
  }

  100% {
    width: 100px;
  }
}

/*-------------------------------
  TESTIMONIALS
  --------------------------------*/
.maha-testimonial-wrap {
  padding: 150px 0;
  background-color: #fff;
}

@media (min-width: 1200px) {
  .maha-testimonial-wrap {
    padding: 100px 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .maha-testimonial-wrap {
    padding: 80px 0;
  }
}
@media (max-width: 991px) {
  .maha-testimonial-wrap {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .maha-testimonial-wrap .section-title-wrap {
  position: relative;
  margin-bottom:3rem;
}
}


.maha-testimonial-wrap .testimonial-slider {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: transparent url(./pics/testimonial-bg.png) 0 0/100% 100%;
  padding: 30px 15px;
}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .testimonial-slider {
    padding: 90px 30px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-testimonial-wrap .testimonial-slider {
    padding: 90px 60px;
  }
}

.maha-testimonial-wrap .testimonial-slider .testimonials-text {
  position: relative;
  padding: 20px;
}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text {
    padding: 30px 60px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text {
    padding: 30px 180px;
  }
}

.maha-testimonial-wrap .testimonial-slider .testimonials-text p {
  margin-bottom: 0;
  /*font-size: calc(1.275rem + 0.3vw);*/
  font-size: 1rem;
}

@media (min-width: 1200px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
  }
}

.maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-top-wrap {
  position: absolute;
  left: 0;
  top: 10px;
}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-top-wrap {
    left: 30px;
    top: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-top-wrap {
    left: 150px;
    top: 20px;
  }
}

.maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-top-wrap i {
  font-size: 30px;
  color: var(--color-primary);
  opacity: 0.2;
  filter: alpha(opacity=20);
}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-top-wrap i {
    font-size: 60px;
  }
}

.maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-wrap {
  position: absolute;
  right: 0;
  bottom: 10px;
}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-wrap {
    right: 70px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-wrap {
    right: 150px;
    bottom: 20px;
  }
}

.maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-wrap i {
  font-size: 30px;
  color: var(--color-primary);
  opacity: 0.2;
  filter: alpha(opacity=20);
}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-text .testimonials-quote-wrap i {
    font-size: 60px;
  }
}

.maha-testimonial-wrap .testimonial-slider .testimonials-title {
  font-size: 15px;
  margin-bottom: 115px;
  color: var(--color-second);
}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .testimonial-slider .testimonials-title {
    font-size: 20px;
  }
}

.maha-testimonial-wrap .swiper-testimonial-pagination {
  position: absolute;
  text-align: center;
  bottom: 100px !important;

}

@media only screen and (min-width: 992px) {
  .maha-testimonial-wrap .swiper-testimonial-pagination {
    bottom: 150px !important;
  }
}

.maha-testimonial-wrap .swiper-testimonial-pagination .swiper-pagination-bullet {
  opacity: 0.5;
  filter: alpha(opacity=50);
  background-color: var(--color-second);
}

.maha-testimonial-wrap .swiper-testimonial-pagination .swiper-pagination-bullet-active {
  opacity: 0.8;
  filter: alpha(opacity=80);
  background-color: var(--color-primary);
}

.maha-testimonial-wrap .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background-color: #fff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.maha-testimonial-wrap .swiper-pagination-bullet-active {
  width: 55px;
  border-radius: 15px;
  background-clip: padding-box;
}