.testimonial-five {
    position: relative;
    display: block;
    background-color:#000;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 0;
    min-height: 750px;
    overflow: hidden !important;
}

.testimonial-five__shape-1 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}


.testimonial-five .owl-nav {
    position: absolute;
    top: 40%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.testimonial-five .owl-nav button {
    position: absolute;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    margin: 0 !important;
    text-align: center !important;
    transition: all 500ms ease !important;
    cursor: pointer !important;
    pointer-events: auto;
    outline: none !important;
}

.testimonial-five .owl-nav button.owl-prev:before {
    font-family: 'icomoon' !important;
    content: "\e901" !important;
    font-size: 18px !important;
    display: block !important;
}

.testimonial-five .owl-nav button.owl-next:before {
    font-family: 'icomoon' !important;
    content: "\e902" !important;
    font-size: 18px !important;
    display: block !important;
}

.testimonial-five .owl-nav button span {
    display: none !important;
}

.testimonial-five .owl-nav button:hover {
    color: rgba(255, 255, 255, 1) !important;
    border: 2px solid rgba(255, 255, 255, 1) !important;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.testimonial-five .owl-prev {
    left: 0 !important;
}

.testimonial-five .owl-next {
    right: 0 !important;
}

.testimonial-five .owl-stage {
    display: flex;
    align-items: stretch;
}

.testimonial-five .owl-item {
    padding: 0 30px;
}

.testimonial-five__single {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.testimonial-five__carousel {
    position: relative;
}

.testimonial-five__content {
    position: relative;
    display: block;
    height: 300px;
    background-color: rgb(255, 255, 255, 1);
    box-shadow: 0 3px 29px 0 rgba(21, 21, 21, 0.25);
    padding: 20px 26px 25px;
    text-align: center;
    border-radius: var(--logi-bdr-radius);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    align-content: center;
	justify-content: center !important;
}

.testimonial-five__single:hover .testimonial-five__content {
    background-color: rgb(237,237,237, 1);
}

.testimonial-five__content:before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 20px solid rgb(255,255,255, 1);
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.testimonial-five__single:hover .testimonial-five__content:before {
    border-top: 20px solid rgb(237,237,237, 1);
}



.testimonial-five__rating {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 230px;
    width: 100%;
    margin: 0 auto 21px;
    border-radius: var(--logi-bdr-radius);
    padding: 12.5px 0;
}

.testimonial-five__rating span {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #FFC107;
}

.testimonial-five__rating span+span {
    margin-left: 4px;
}

.testimonial-five__text {
    line-height: 30px;
    font-size: 14px;
    letter-spacing: var(--logi-letter-spacing);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.testimonial-five__client-info {
    position: relative;
    display: block;
    text-align: center;
    margin-top: 40px;
}

.testimonial-five__client-img {
    position: relative;
    display: block;
    width: 75px;
    border-radius: 50%;
    margin: 0 auto 0;
    z-index: 1;
}

.testimonial-five__client-img:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    box-shadow: 0 0 0 2px #fff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: -1;
}

.testimonial-five__single:hover .testimonial-five__client-img:before {
    opacity: 1;
    transform: scale(1);
}

.testimonial-five__client-img img {
    border-radius: 50%;
}

.testimonial-five__client-content {
    position: relative;
    display: block;
    margin-top: 17px;
}

.testimonial-five__client-sub-title {
    font-size: 10px;
    font-weight: 900;
    opacity: 0.75;
    text-transform: uppercase;
    line-height: 15px;
    color: #fff;
}

.testimonial-five__client-name {
    font-size: 26px;
    font-family: Bison, sans-serif;
    font-weight: normal;
    line-height: 22px;
    margin-top: 4px;
    color: #fff;
}

.testimonial-five__carousel.owl-carousel .owl-stage-outer {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 2%,
        black 98%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 2%,
        black 98%,
        transparent 100%
    );
}

.testimonial-five__carousel.owl-carousel .owl-item {
    opacity: 1;
    visibility: visible;
    transition: none;
}

.testimonial-five__carousel .owl-stage {
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
}

.testimonial-five__carousel {
    position: relative;
}

.testimonial-five__carousel.owl-theme .owl-nav {
        position: absolute;
        z-index: 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: none;
        padding: 0;
    }

    .testimonial-five__carousel.owl-theme .owl-nav .owl-prev,
    .testimonial-five__carousel.owl-theme .owl-nav .owl-next {
        pointer-events: auto;
        height: 50px;
        width: 50px;
        line-height: 50px;
        border-radius: 50%;
        color: var(--logi-white);
        border: 0;
        background-color: #012f42;
        font-size: 15px;
        margin: 0;
        transition: all 500ms ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonial-five__carousel.owl-theme .owl-nav .owl-next span,
    .testimonial-five__carousel.owl-theme .owl-nav .owl-prev span {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonial-five__carousel.owl-theme .owl-nav .owl-next:hover,
    .testimonial-five__carousel.owl-theme .owl-nav .owl-prev:hover {
        background-color: var(--logi-white);
        color: var(--logi-base);
    }

    .testimonial-five__carousel.owl-theme .owl-nav button {
        pointer-events: auto;
    }

    /* Responsive Styles */
    @media (max-width: 1400px) {
        .testimonial-five .owl-nav {
            left: -50px;
            right: -50px;
            top: 38%;
        }
    }

    @media (max-width: 1200px) {
        .testimonial-five .owl-nav {
            left: -40px;
            right: -40px;
            top: 35%;
        }

        .testimonial-five .owl-item {
            padding: 0 15px;
        }
    }

    @media (max-width: 991px) {
        .testimonial-five {
            min-height: 650px;
            padding-top: 40px;
            padding-bottom: 40px;
        }

        .testimonial-five .owl-nav {
            left: -20px;
            right: -20px;
            top: 40%;
        }

        .testimonial-five .owl-nav button {
            width: 48px !important;
            height: 48px !important;
        }

        .testimonial-five__content {
            padding: 20px 40px 35px;
            height: 280px;
        }
    }

    @media (max-width: 768px) {
        .testimonial-five {
            min-height: 600px;
            padding-top: 35px;
            padding-bottom: 35px;
        }

        .testimonial-five .owl-nav {
            position: absolute !important;
            left: 0 !important;
            right: 0 !important;
            top: auto !important;
            bottom: 110px !important;
            transform: none !important;
            pointer-events: none !important;
            z-index: 10 !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: flex-end !important;
        }

        .testimonial-five .owl-nav button {
            position: relative !important;
            width: 46px !important;
            height: 46px !important;
            font-size: 18px !important;
            pointer-events: auto !important;
        }

        .testimonial-five .owl-prev {
            left: 0 !important;
            position: absolute !important;
        }

        .testimonial-five .owl-next {
            right: 0 !important;
            position: absolute !important;
        }

        .testimonial-five .owl-item {
            padding: 0 12px !important;
        }

        .testimonial-five__content {
            padding: 18px 35px 30px;
            height: 260px;
        }

        .testimonial-five__text {
            font-size: 13px;
            line-height: 26px;
        }
    }

    @media (max-width: 915px) and (orientation: landscape) {
        .testimonial-five {
            min-height: 500px;
            padding-top: 30px;
            padding-bottom: 30px;
        }

        .testimonial-five .owl-nav {
            bottom: 70px !important;
        }

        .testimonial-five__content {
            height: 240px;
            padding: 15px 30px 25px;
        }

        .testimonial-five__text {
            font-size: 13px;
            line-height: 24px;
        }

        .testimonial-five__client-info {
            margin-top: 30px;
        }

        .testimonial-five__client-img {
            width: 65px;
        }
    }

    @media (max-width: 576px) {
        .testimonial-five {
            padding-top: 30px;
            padding-bottom: 30px;
        }

        .testimonial-five .owl-nav {
            bottom: 90px !important;
        }

        .testimonial-five .owl-nav button {
            width: 44px !important;
            height: 44px !important;
            font-size: 16px !important;
        }

        .testimonial-five .owl-item {
            padding: 0 10px !important;
        }

        .testimonial-five__content {
            padding: 15px 25px 25px;
            height: 250px;
        }

        .testimonial-five__text {
            font-size: 13px;
            line-height: 24px;
        }

        .testimonial-five__client-info {
            margin-top: 30px;
        }

        .testimonial-five__client-img {
            width: 65px;
        }

        .testimonial-five__client-name {
            font-size: 22px;
        }

        .testimonial-five__client-sub-title {
            font-size: 9px;
        }
    }

    @media (max-width: 414px) {
        .testimonial-five {
            min-height: 520px;
        }

        .testimonial-five .owl-nav {
            bottom: 80px !important;
        }

        .testimonial-five .owl-nav button {
            width: 42px !important;
            height: 42px !important;
            font-size: 15px !important;
        }

        .testimonial-five__content {
            padding: 12px 20px 20px;
            height: 240px;
        }

        .testimonial-five__text {
            font-size: 12px;
            line-height: 22px;
        }

        .testimonial-five__client-name {
            font-size: 20px;
        }
    }