/* Client Testimonial */

.happy-client-sec {
    padding-top: 0;
    overflow: hidden;
}

.happy-client-sec .carousel-section .owl-carousel .owl-stage-outer {
    overflow: unset;
}

.happy-client-sec .carousel-section .owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.play-video {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    z-index: 1;
    pointer-events: none;
}

.play-video:after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    display: block;
    width: 76px;
    height: 76px;
    border: 10px solid #fff;
    border-radius: 50%;
    -webkit-animation: 1.5s linear 1ms infinite pulse-border;
    animation: 1.5s linear 1ms infinite pulse-border
}

.happy-client-sec .header-text {
    margin-bottom: 50px
}

.happy-client-slider {
    margin: 0 -15px;
}

.client-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: inline-block
}

.client-img:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 30%)
}

.card-item {
    position: relative;
    min-height: 285px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
}

.happy-client-sec .carousel-item {
    margin: 0px 15px 20px 15px;
}

a.video-icon {
    display: inline-block
}

.client-name {
    position: relative;
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 15px 15px 15px;
}

.qoute-icon {
    position: absolute;
    right: 26px;
    top: 26px;
    display: none;
}

.client-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

body .happy-client-col {
    border-radius: 15px;
    border: 0;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    border: 0;
}

.happy-client-sec .section_title_with_eyebrow .section_text p br {
    display: none;
}

.client-review-text {
    padding: 20px;
}

.client-review-text p::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 15px;
    margin-right: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 23'%3E%3Cpath fill='%23ad5151' d='M2.71 21.14C1.02 19.28.01 17.25.01 13.87.01 7.95 4.22 2.7 10.12-.01l1.51 2.2c-5.56 3.05-6.74 6.94-7.07 9.48.84-.51 2.02-.68 3.2-.51 3.03.34 5.39 2.71 5.39 5.92 0 1.53-.68 3.05-1.69 4.23-1.18 1.19-2.52 1.7-4.21 1.7-1.85 0-3.53-.85-4.54-1.87zm16.84 0c-1.69-1.86-2.7-3.89-2.7-7.27 0-5.92 4.21-11.17 10.11-13.88l1.51 2.2c-5.55 3.05-6.73 6.94-7.07 9.48.84-.51 2.02-.68 3.2-.51 3.03.34 5.39 2.71 5.39 5.92 0 1.53-.67 3.05-1.68 4.23-1.02 1.19-2.53 1.7-4.22 1.7-1.85 0-3.53-.85-4.54-1.87z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}


.client-name h4,
.client-name h3 {
    border-radius: 5px;
    text-align: left;
    background: rgb(0 0 0 / 80%);
    color: #fff;
    padding: 10px 15px;
    border-left: 3px solid var(--theme-red);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-montserrat);
    line-height: normal;
    margin: 0;
}

.client-name h4 span,
.client-name h3 span {
    display: block;
    padding: 0 !important;
    margin: 5px 0 0 0 !important;
    border: 0;
    font-weight: 500;
    line-height: normal;
}

body .client-review-text p {
    font-weight: 500;
}

.happy-client-sec .owl-nav button {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background-color: rgb(173 81 81 / 15%) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath fill='none' stroke='%23ad5151' stroke-linecap='round' stroke-width='2' d='m1.5 1.5l5.5 5.5-5.5 5.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 9px 14px !important;
    margin: 0 5px !important;
    font-size: 0 !important;
    border: 1px solid rgb(173 81 81 / 10%) !important;
}

.happy-client-sec .owl-nav button:hover {
    background-color: rgb(173 81 81 / 20%) !important;
}

.happy-client-sec .owl-nav button.owl-prev {
    transform: scale(-1);
}

.happy-client-sec .owl-nav button.disabled {
    pointer-events: none;
}

.happy-client-sec .logo_wrap img {
    width: auto;
}

.happy-client-sec .client-img .logo_wrap {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.happy-client-sec .client-img .logo_wrap img {
    max-width: 140px;
    max-height: 70px;
}

@media only screen and (max-width:1399px) {
    .happy-client-slider {
        margin: 0;
    }
}

@media only screen and (max-width:1199px) {

    body .client-name {
        margin: 0 12px 12px 12px;
    }

    .happy-client-sec .client-img .logo_wrap img {
        max-width: 120px;
        max-height: 50px;
    }

}

@media only screen and (max-width:767px) {
    .happy-client-sec .client-img .logo_wrap img {
        max-width: 90px;
        max-height: 50px;
    }

    .happy-client-sec .owl-nav button {
        width: 40px !important;
        height: 40px !important;
    }
}