.testimonial-section {
  background: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: top;
}
.ptb-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.testimonial-section::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 413px;
  background: rgba(26, 26, 26, 0.7);
  z-index: -1;
}

.swiper .owl-stage-outer {
    max-height: 598px;
}

.testimonial-section .testimonial-image {
  position: absolute;
  width: 100%;
  padding-right: 30px;
}

.testimonial-section .testimonial-image img {
  width: 100%;
  height: unset;
}

.testimonial-section .team-content h2 {
  margin-bottom: 25px;
  color: #fff;
}

.testimonial-section .swiper {
  background: #1b1a42;
  cursor: default;
}
.testimonial-section .swiper:active {
  cursor: grab;
}
.testimonial-section  .m-auto {
  position: relative;
}
.swiper .swiper-slide .qico-quote-right:before {
  color: #fff
}

.testimonial-section .swiper .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1; */
  display: -ms-block;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  padding: 25px 70px;
}

.testimonial-section .swiper .swiper-slide i {
  font-size: 50px;
  line-height: 1;
}

.testimonial-section .swiper .swiper-slide p {
  font-size: 25px;
  color: #fff;
  font-family: var(--title-font-family);
  margin-top: 20px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.testimonial-section .swiper .swiper-slide .client-img {
  position: relative;
  margin-bottom: 20px;
}

.testimonial-section .swiper .swiper-slide .client-img::after {
  position: absolute;
  content: "";
  right: -5px;
  bottom: -5px;
  border-bottom: 40px solid var(--color-primary);
  border-left: 40px solid transparent;
  z-index: -1;
}

.testimonial-section .swiper .swiper-slide .client-info h6 {
  font-family: var(--title-font-family);
  color: #fff;
  line-height: 1.8;
  margin: 0;
  font-size: 18px;
}
.testimonial-section .swiper .swiper-slide .client-info span {
  color: #fff;
}

.testimonial-section.testimonial-two .section-title h2 {
  color: #fff;
}
.testimonial-section .swiper-nav .swiper-button-prev,
.testimonial-section .swiper-nav .swiper-button-next {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  margin-right: 7px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: #fff;
  text-align: center;
  font-size: 26px;
  border: none;
  line-height: 39px;
}
.swiper-button-prev:after,.swiper-button-next:after {
    display: none;
}
.testimonial-section .swiper-nav .swiper-button-prev i,
.testimonial-section .swiper-nav .swiper-button-next i {
  line-height: 1.3;
  font-size: 20px;
}

.testimonial-section .swiper-nav .swiper-button-next {
  margin-right: 0;
}

.testimonial-section .swiper-nav .swiper-button-prev:hover,
.testimonial-section .swiper-nav .swiper-button-next:hover {
  background: #7171c9;
  color: var(--color-primary);
}

.testimonial-section .swiper-nav {
  display: flex;
  position: absolute;
  right: -12.5%;
  top: 35%;
}

.testimonial-section.testimonial-two .swiper-nav .swiper-button-prev {
  left: -50px;
}
.testimonial-section .swiper-button-prev, .testimonial-section .swiper-button-next {
    position: static;
    top: 0;
    width: auto;
    height: auto;
    margin-top: 0;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color,var(--swiper-theme-color));
}
.testimonial-section.testimonial-two .swiper-nav .swiper-button-next {
  right: -50px;
}

@media only screen and (min-width: 992px) and(max-width: 1199px) {
  .testimonial-section .swiper .swiper-nav {
    right: -17%;
  }
}
@media (max-width: 992px) {
  .testimonial-section .swiper-nav {
    margin-top: 30px;
    justify-content: center;
    text-align: center;
    position: unset !important;
  }
}
@media only screen and (min-width: 768px) and(max-width: 991px) {
  .testimonial-section .testimonial-image {
    display: none;
  }
  .testimonial-section .swiper-nav {
    margin-top: 30px;
    justify-content: center;
    text-align: center;
    position: unset !important;
  }
  .testimonial-section .team-content {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 40px;
  }
  .testimonial-section .team-content h2 {
    margin-top: -8px;
  }
  .testimonial-section .swiper {
    background: unset;
    padding: 0;
  }
  .testimonial-section .swiper .swiper-slide {
    background: #1b1a42;
    padding: 25px 15px;
  }
  .testimonial-section .swiper .swiper-slide .client-img {
    margin-bottom: 15px;
  }
  .testimonial-section .swiper .swiper-slide p {
    font-size: 18px !important;
  }
  .testimonial-section .swiper .swiper-nav {
    margin-top: 30px;

    justify-content: center;
    position: absolute;
    left: -10%;
    bottom: 0;
  }

  .testimonial-section.testimonial-two .swiper::before {
    bottom: 80px;
    border-bottom: 60px solid var(--color-primary);
    border-left: 60px solid transparent;
  }

  .testimonial-section.testimonial-two .swiper::after {
    border-top: 60px solid var(--color-primary);
    border-right: 60px solid transparent;
  }
  .ptb-100 {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

@media only screen and (max-width: 767px) {
  .testimonial-section .team-content h2 {
    margin-top: -7px;
  }
  .testimonial-section .testimonial-image {
    display: none;
  }
  .testimonial-section .team-content {
    margin-bottom: 30px;
    text-align: center;
  }
  .testimonial-section .swiper {
    background: unset;
    padding: 0;
  }
  .testimonial-section .swiper .swiper-slide {
    background: #1b1a42;
    padding: 25px 15px;
  }
  .testimonial-section .swiper .swiper-slide .client-img {
    margin-bottom: 15px;
  }
  .testimonial-section .swiper .swiper-slide p {
    font-size: 18px !important;
  }
  .testimonial-section .swiper-nav {
    margin-top: 30px;
    justify-content: center;
    text-align: center;
    position: unset !important;
  }

  .testimonial-section.testimonial-three .swiper::before,
  .testimonial-section.testimonial-two .swiper::before {
    bottom: 80px;
    border-bottom: 60px solid var(--color-primary);
    border-left: 60px solid transparent;
  }
  .testimonial-section.testimonial-three .swiper::after,
  .testimonial-section.testimonial-two .swiper::after {
    border-top: 60px solid var(--color-primary);
    border-right: 60px solid transparent;
  }
  .ptb-100 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .testimonial-section.testimonial-two .section-title h2{
    font-size: 22px !important;
  }
  .testimonial-section .swiper .swiper-slide p{
    font-size: 12px !important;
  }
  .testimonial-section .swiper .swiper-slide i{
    font-size: 34px !important;
  }
  .testimonial-section .swiper-nav{
    margin-top: 10px !important;
  }
}


@media screen and (max-width:830px){
.testimonial-section {
    background-size: cover !important;
}
}
