
.testimonial-con{
    position: relative;
    background: url(../images/sliderbg-img.jpg) no-repeat center;
    background-size: cover;
}
.testimonial-con .container{
    z-index: 1;
    position: relative;
}
.testimonial-con:after {
    top: 0;
    left: 0;
    width: 100%;
    content: "";
    height: 100%;
    position: absolute;
    background: rgb(41 19 75 / 85%);
}
.guest-box{
    background: var(--white-color);
    box-shadow: 50px 50px 100px rgb(0 0 0 / 10%);
    border-radius: 10px;
    display: grid;
    gap: 100px;
    grid-template-columns: 23% 62%;
    align-items: center;
    padding: 50px 40px;
}
.guest-box p {
    font-size: 20px;
    line-height: 35px;
    margin-bottom: 25px;
}
.guest-img figure{
    margin-bottom: 0;
}
.guest-img .quote-img {
    width: 74px;
    height: 74px;
    border-radius: 100%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -32px;
    margin-bottom: 0;
    border: 5px solid #fff; 
}
.guest-img{
    position: relative;
}
.guest-box span{
    font-size: 16px;
    line-height: 16px;
}
.testimonial-con .testimonial-inner-con {
    box-shadow: 0 0 100px rgb(0 0 0 / 10%);
    position: relative;
    border-radius: 10px;
}
.testimonial-con .owl-carousel .owl-stage-outer {
    border-radius: 10px;
}
.owl-dots{
    display: none;
}
.testimonial-con .testimonial-inner-con .owl-carousel .owl-item img{
    width: auto;
    border-radius: 10px;
}
.testimonial-inner-con .btn-wrap .prev-btn, .testimonial-inner-con .btn-wrap .next-btn {
    border: none;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    border-radius: 100%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s ease-in-out;
}
.testimonial-inner-con .btn-wrap .prev-btn:focus,
.testimonial-inner-con .btn-wrap .next-btn:focus{
    outline: none;
}
.testimonial-inner-con .btn-wrap .prev-btn {
    background: #71668d;
    left: -70px;
}
.testimonial-inner-con .btn-wrap .next-btn{
    background: var(--accent);
    right: -70px;
}
.testimonial-inner-con .btn-wrap .next-btn:hover,
.testimonial-inner-con .btn-wrap .prev-btn:hover{
    background: var(--button-color);
}
.guest-right-box h3{
    margin-bottom: 10px;
    color: var(--secondary--color);
}
.testimonial-inner-con .owl-carousel .owl-nav button:focus{
    outline: none;
}
.testimonial-inner-con .owl-carousel .owl-nav .owl-next,
.testimonial-inner-con .owl-carousel .owl-nav .owl-prev {
    width: 40px;
    height: 40px;
    background: var(--text-color);
    border-radius: 100%;
    font-size: 26px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
}
.testimonial-con .generic-title2 span {
    color: var(--accent-color);
}
.testimonial-con .generic-title2 h2 {
    color: var(--white-color);
}
.testimonial-inner-con .owl-carousel .owl-nav button:hover{
    background: var(--secondary--color) !important;
}
.testimonial-inner-con .owl-carousel .owl-nav .owl-prev {
    left: -70px;
}
.testimonial-inner-con .owl-carousel .owl-nav .owl-next {
    right: -70px;
}
.testimonial-inner-con .owl-carousel .owl-nav button i {
    font-size: 16px;
    line-height: 16px;
    color: var(--white-color);
}
@media only screen and (max-width: 1440px) {
    .testimonial-inner-con .owl-carousel .owl-nav .owl-next {
        right: -30px;
    }
    .testimonial-inner-con .owl-carousel .owl-nav .owl-prev {
        left: -30px;
    }
    .guest-box p {
        margin-bottom: 15px;
    }
    .testimonial-inner-con {
        margin-bottom: 66px;
    }
}
@media only screen and (max-width: 1199px) {
    .guest-box p {
        font-size: 18px;
        line-height: 32px;
    }
    .guest-box {
        gap: 55px;
        grid-template-columns: 28% 66%;
        padding: 40px 30px;
    }
    .testimonial-inner-con {
        margin-bottom: 56px;
    }
}
@media only screen and (max-width: 991px) {
    .guest-box span {
        font-size: 14px;
        line-height: 14px;
    }
    .testimonial-con .testimonial-inner-con .owl-carousel .owl-item .guest-img figure:first-child img{
        width: 100%;
    }
    .guest-box p {
        font-size: 16px;
        line-height: 24px;
    }
    .guest-box {
        grid-template-columns: 28% 63%;
        padding: 30px 30px;
    }
    .quote-img img{
        width: 30px !important;
    }
    .guest-img .quote-img {
        width: 54px;
        height: 54px;
    }
    .testimonial-inner-con {
        margin-bottom: 46px;
    }
}
@media only screen and (max-width: 767px) {
    .guest-box {
        gap: 15px;
        text-align: left;
        grid-template-columns: 28% 63%;
    }
    .guest-img .quote-img{
        display: none;
    }
    .guest-img {
        margin: 0 auto;
    }
    .guest-box p {
        font-size: 14px;
        line-height: 20px;
    }
}
@media only screen and (max-width: 575px) {
    .guest-box {
        text-align: center;
        grid-template-columns: 100%;
    }
    .guest-img {
        width: 230px;
    }
    .testimonial-inner-con .owl-carousel .owl-nav .owl-next, .testimonial-inner-con .owl-carousel .owl-nav .owl-prev {
        width: 30px;
        height: 30px;
    }
    .testimonial-inner-con .owl-carousel .owl-nav button i {
        font-size: 14px;
        line-height: 14px;
    }
    .testimonial-inner-con .owl-carousel .owl-nav .owl-prev {
        left: -10px;
    }
    .testimonial-inner-con .owl-carousel .owl-nav .owl-next {
        right: -10px;
    }
}