.testimonial-section-wrap .petfun-carousel{
    overflow: hidden;
}

.testimonial-section-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.testimonial-section-wrap .testi-thumb-wrapper {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.testimonial-section-wrap .testi-carousel-wrap {
    flex: 0 0 auto;
    width: 58.33333333%;
    padding-left: 40px;
}

.testi-thumb-inner-wrapper{
    width: 450px;
    height: 450px;
    position: relative;
}

.testi-thumb-active {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.testi-thumb-active .testi-thumb-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s linear;
}

.testi-thumb-active:not(.is-mask) .testi-thumb-img {
    border: 6px solid #fff;
    box-shadow: 0px 0px 20px 0.5px rgb(0 0 0 / 20%);
    border-radius: 50%;
}

.testi-thumb-active.is-mask .testi-thumb-img{
    mask-image: url(../../img/testimonial-shape.png);
    -webkit-mask-image: url(../../img/testimonial-shape.png);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

.test-nav-wrap {
    position: absolute;
    left: 50%;
    bottom: -22.5px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.test-nav-wrap .swiper-nav {
    color: #FF6B35;
    font-size: 20px;
    width: 45px;
    height: 45px;
    line-height: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.test-nav-wrap .swiper-nav svg.nav-bg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: auto;
    color: #f9f3e3;
    transition: all 0.3s ease-in-out;
}

.test-nav-wrap .swiper-nav svg:not(.nav-bg) {
    fill: currentColor;
    width: auto;
    height: 20px;
    z-index: 1;
}

.test-nav-wrap .swiper-nav:hover{
    color: #ffff;
    transition: all 0.3s ease-in-out;
}

.test-nav-wrap .swiper-nav:hover .nav-bg{
    color: #FF6B35;
    transition: all 0.3s ease-in-out;
}

.testi-thumb-wrapper .testi-custom-pagination {
    position: absolute;
    width: 100%;
    height: 100%;
    left: auto;
    right: 0;
    top: 0;
    bottom: auto;
}

.testi-thumb-wrapper .testi-custom-pagination > span {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 5px solid #fff;
    box-shadow: 0px 0px 20px 0.5px rgb(0 0 0 / 20%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) scale(1);
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.testi-thumb-wrapper .testi-custom-pagination > span:nth-child(1) {
    top: calc(50% - 100px);
    right: -10px;
}

.testi-thumb-wrapper .testi-custom-pagination > span:nth-child(3) {
    top: calc(50% + 100px);
    right: -10px;
}

.testi-thumb-wrapper .testi-custom-pagination > span.swiper-pagination-bullet-active {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.el-testi-card {
    --petfun-testi-el-thumb-size: 60px;
    --petfun-testi-el-quote-size: 40px;
    position: relative;
}

.el-testi-card.is-quote{
    margin-top: calc(var(--petfun-testi-el-quote-size) / 2);
}

.el-testi-card .el-testi-content p {
    font-size: 19px;
    line-height: 32px;
    color: #222429;
    letter-spacing: -0.5px;
    margin: 0 0 15px;
}

.el-testi-card .el-client-info h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.5px;
}

.el-testi-card .el-client-info h4 {
    color: #808287;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 10px 0 0;
}

/* Rating */
.el-testi-card .el-testi-ratings {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.el-testi-card .el-testi-ratings li {
    font-size: 20px;
    color: #bbb;
    display: inline-flex;
}

.el-testi-card .el-testi-ratings li svg {
    fill: currentColor;
    width: auto;
    height: 15px;
}

.el-testi-card .el-testi-ratings.rating-1 li:nth-child(-n+1),
.el-testi-card .el-testi-ratings.rating-2 li:nth-child(-n+2),
.el-testi-card .el-testi-ratings.rating-3 li:nth-child(-n+3),
.el-testi-card .el-testi-ratings.rating-4 li:nth-child(-n+4),
.el-testi-card .el-testi-ratings.rating-5 li:nth-child(-n+5) {
    color: #FF9529;
}

.el-testi-card .el-client-info {
    display: grid;
    grid-template-columns: var(--petfun-testi-el-thumb-size) 1fr;
    grid-gap: 15px;
    align-items: center;
}

.el-testi-card .el-client-info .el-testi-thumb {
    width: var(--petfun-testi-el-thumb-size);
    height: var(--petfun-testi-el-thumb-size);
    border-radius: 50%;
    overflow: hidden;
}

.el-testi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.el-testi-card .el-blockquote-icon {
    background-color: #ffaa17;
    color: #222429;
    font-size: 25px;
    width: var(--petfun-testi-el-quote-size);
    height: var(--petfun-testi-el-quote-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 50px;
    top: -20px;
}

@media (max-width: 992px){
    .testimonial-section-wrap .testi-thumb-wrapper{
        display: none;
    }
    .testimonial-section-wrap .testi-carousel-wrap {
        flex: 0 0 auto;
        width: 100%;
        padding: 0;
    }
}