.infolio-testimonials{
  .sec-head{
    margin-bottom: 80px;
    .sub-title{
      margin-bottom: 25px;
      color: #14cf93;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 2px;
    }
    h2{
      color: #1a1a1a;
      margin: 0 0 0.2rem;
      .light-title{
        font-weight: 200;
      }
    }
    .bord {
      position: relative;
      padding-right: 30px;
      border-top: 1px solid rgba(0, 0, 0, 0.14);
      padding-top: 25px;
      .buttons{
        margin-left: auto;
      }
      &::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        height: 40px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
      }
    }
    .swiper-arrow-control {
      display: flex;
      padding-top: 25px;
    }
    .swiper-arrow-control .swiper-button-prev , .swiper-arrow-control .swiper-button-next {
      i,svg{
        font-size: 14px;
        fill: #1a1a1a;
        color: #1a1a1a;
        path{
          fill: #1a1a1a ;
        }
      }
      position: static;
      width: 50px;
      height: 50px;
      background: rgba(0, 0, 0, 0.01);
      border: 1px solid rgba(0, 0, 0, 0.05);
      border-radius: 50%;
      color: inherit;
      &::after{
        display: none;
      }
    }
    .swiper-button-next {
      margin-left: 15px;
    }
  }
  .infolio-testim-swiper{
    position: relative;
  }
  .swiper-slide{
    padding-top: 50px;
    padding-left: 50px;
  }
  .swiper-container{
    overflow: hidden;
  }

  .item{
    position: relative;
    .quote{
      color: #777;
    }
  .rate-stars{
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px 60px 15px 30px;
    border-radius: 0 0 0 30px;
    i{
      color: #14cf93;
    }
    .shap-left-top {
      position: absolute;
      top: -1px;
      left: -2.05rem;
      transform: rotate(90deg);
      svg {
        width: 2.1rem;
        height: 2.1rem;
      }
    }
    .shap-right-bottom {
      position: absolute;
      bottom: -2.1rem;
      right: -1px;
      transform: rotate(90deg);
      svg {
        width: 2.1rem;
        height: 2.1rem;
      }
    }
  }
    .top-left-svg{
      width:60px;
      height: 60px;
      margin-bottom: 30px;
    }
    .text{
      position: relative;
      .qout-title{
        display: inline-block;
        border: 1px solid rgba(0, 0, 0, 0.1);
      }
      .qout-svg{
        position: absolute;
        left: -40px;
        top: -70px;
        width: 160px;
        path{
          fill: none;
          stroke: #222;
        }
      }
      .top-right{
        svg{
          width: 80px;
          height: 80px;
          margin-bottom: 40px;
          path{
            stroke: #222;
          }
        }
      }
    }

    .photo{
      width: 80px;
      height: 80px;
      border-radius: 50%;
      overflow: hidden;
      img{
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .img-curv{
      position: relative;
      padding: 20px;
      border-radius: 0 30px 0 0;
      background: #1a1a1a;
      .img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        overflow: hidden;
      }
      .shap-left-top {
        position: absolute;
        top: -2.05rem;
        left: -1px;
        transform: rotate(270deg);
        svg{
          width: 2.1rem;
          height: 2.1rem;
        }
      }
      .shap-right-bottom {
        position: absolute;
        bottom: 0;
        right: -2.1rem;
        transform: rotate(270deg);
        svg{
          width: 2.1rem;
          height: 2.1rem;
        }
      }
    }
    .info{
      border-top: 1px solid rgba(0, 0, 0, 0.14);
      .ml-20{
        margin-left: 20px;
      }
      .qout-svg{
        path{
          fill: none;
          stroke: #1a1a1a;
        }
      }
      .ml-auto{
        margin-left:auto;
      }
      h5{
        color: #1a1a1a;
        margin: 0 0 0.2rem;
      }
      span{
        display: inline-block;
      }
      svg{
        width: 80px;
        height: 80px;
      }
    }
  }

  .control-abslout{
    position: absolute;
    bottom: 60px;
    right: 0;
  }
  .swiper-arrow-control {
    display: flex;
    padding-top: 25px;
  }
  .swiper-arrow-control .swiper-button-prev , .swiper-arrow-control .swiper-button-next {
    i,svg{
      font-size: 14px;
      fill: #1a1a1a;
      color: #1a1a1a;
      path{
        fill: #1a1a1a;
      }
    }
    position: static;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: inherit;
    &::after{
      display: none;
    }
  }
  .swiper-button-next {
    margin-left: 15px;
  }
}
@media screen and (max-width: 768px) {
  .infolio-testimonials .control-abslout {
    position: static;
    padding-left: 30px;
    margin-top: 15px;
  }
  .infolio-testimonials .item .text .qout-svg {
    position: absolute;
    left: -30px;
    top: -90px;
    width: 100px;
  }
  .infolio-testimonials .swiper-slide {
    padding-top: 60px;
    padding-left: 30px;
  }
  .infolio-testimonials .sec-head .buttons {
    margin-top: 15px;
  }
  .infolio-testimonials .sec-head .d-flex {
    display: block !important;
  }
  .infolio-testimonials .item .photo {
    width: 60px;
    height: 60px;
  }
  .infolio-testimonials .item .text .top-right svg{
    margin-right: 15px;
  }
  .infolio-testimonials .item .top-left-svg{
    margin-right: 15px;
    margin-left: 15px;
  }

}


body.tcg-dark-mode {
  .infolio-testimonials{
    .item{
      .quote{
        color: #c6c8c9;
      }
      .text{
        .qout-svg{
          path{
            fill: none;
            stroke: #fff;
          }
        }
        .qout-title{
          border-color: rgba(255, 255, 255, 0.1);
        }
        .top-right{
          svg{
            path{
              stroke: #FFFFFF;
            }
          }
        }
      }
      .info{
        .qout-svg{
          path{
            fill: none;
            stroke: #fff;
          }
        }
        border-color: rgba(255, 255, 255, 0.14);
        h5{
          color: #fff;
        }
      }
    }
    .sec-head{
      h2{
        color: #fff;
      }
      .bord{
        border-color:rgba(255, 255, 255, 0.14);
        &:after{
          border-color: rgba(255, 255, 255, 0.1);
        }
      }
      .swiper-arrow-control .swiper-button-prev , .swiper-arrow-control .swiper-button-next {
        i,svg{
          fill: #ffffff;
          color: #ffffff;
          path{
            fill: #ffffff ;
          }
        }
        background: rgba(255, 255, 255, 0.01);
        border-color: rgba(255, 255, 255, 0.05);
      }
    }
    .swiper-arrow-control .swiper-button-prev , .swiper-arrow-control .swiper-button-next {
      i,svg{
        fill: white;
        color: white;
        path{
          fill: white;
        }
      }
      background-color: rgba(255, 255, 255, 0.01);
      border-color: rgba(255, 255, 255, 0.05);
    }
  }
}

@media (prefers-color-scheme: dark) {
  body.tcg-auto-mode {
    .infolio-testimonials{
      .item{
        .quote{
          color: #c6c8c9;
        }
        .text{
          .qout-svg{
            path{
              fill: none;
              stroke: #fff;
            }
          }
          .qout-title{
            border-color: rgba(255, 255, 255, 0.1);
          }
          .top-right{
            svg{
              path{
                stroke: #FFFFFF;
              }
            }
          }
        }
        .info{
          .qout-svg{
            path{
              fill: none;
              stroke: #fff;
            }
          }
          border-color: rgba(255, 255, 255, 0.14);
          h5{
            color: #fff;
          }
        }
      }
      .sec-head{
        h2{
          color: #fff;
        }
        .bord{
          border-color:rgba(255, 255, 255, 0.14);
          &:after{
            border-color: rgba(255, 255, 255, 0.1);
          }
        }
        .swiper-arrow-control .swiper-button-prev , .swiper-arrow-control .swiper-button-next {
          i,svg{
            fill: #ffffff;
            color: #ffffff;
            path{
              fill: #ffffff ;
            }
          }
          background: rgba(255, 255, 255, 0.01);
          border-color: rgba(255, 255, 255, 0.05);
        }
      }
      .swiper-arrow-control .swiper-button-prev , .swiper-arrow-control .swiper-button-next {
        i,svg{
          fill: white;
          color: white;
          path{
            fill: white;
          }
        }
        background-color: rgba(255, 255, 255, 0.01);
        border-color: rgba(255, 255, 255, 0.05);
      }
    }
  }
}