﻿/*** Testimonial ***/

.testimonial .text-p {   
    font-size: 1rem;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary-color) !important;
}

    .testimonial-carousel .owl-item.center .testimonial-text * {
        color: var(--default-light-color) !important;
    }

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light-color) transparent transparent transparent;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary-color) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary-color);
}

    .testimonial-carousel .owl-nav .owl-prev:hover,
    .testimonial-carousel .owl-nav .owl-next:hover {
        color: var(--dark-color);
    }
