
/* =========================================
   TESTIMONIAL SECTION
========================================= */

.testimonial-section {
    width: 100%;
    /* padding: 75px 0; */
    /* background: #050d1b; */
    overflow: hidden;
}


/* =========================================
   SLIDER WRAPPER
========================================= */

.testimonial-slider-wrap {
    position: relative;
    width: 100%;
}

.testimonialSwiper {
    width: 100%;
    overflow: hidden;
}

.testimonialSwiper .swiper-slide {
    height: auto;
    display: flex;
}


/* =========================================
   PREMIUM TESTIMONIAL CARD
========================================= */

.testimonial-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;

    padding: 30px;

    background: linear-gradient(
        145deg,
        #202c3e 0%,
        #141e2d 55%,
        #101827 100%
    );

    border: 1px solid rgba(255,255,255,0.10);
    border-bottom: 3px solid #ed1c2e;

    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.20);

    transition: all 0.35s ease;
}


/* RED BACKGROUND GLOW */

.testimonial-card::before {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    background: rgba(237,28,46,0.12);
    filter: blur(55px);

    border-radius: 50%;
    pointer-events: none;
}


/* HOVER */

.testimonial-card:hover {
    transform: translateY(-7px);

    border-color: rgba(237,28,46,0.55);
    border-bottom-color: #ed1c2e;

    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}


/* =========================================
   CLIENT INFORMATION
========================================= */

.testimonial-top {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 20px;
}


/* CLIENT IMAGE */

.testimonial-photo {
    width: 68px;
    height: 68px;

    flex: 0 0 68px;

    border-radius: 50%;
    overflow: hidden;

    border: 3px solid #ed1c2e;
    padding: 3px;

    background: #202c3e;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    border-radius: 50%;
}


/* CLIENT NAME */

.testimonial-client {
    min-width: 0;
}

.testimonial-client h4 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;

    margin: 0 0 6px;
}


/* DESIGNATION */

.testimonial-client .client-designation {
    color: #ed1c2e;
    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
    margin: 0 0 3px;
}


/* ORGANISATION */

.testimonial-client .client-organisation {
    color: #aab6c7;
    font-size: 12px;
    font-weight: 400;

    line-height: 1.5;
    margin: 0;
}


/* =========================================
   STAR RATING
========================================= */
.testimonial-rating {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    margin-bottom: 22px;
    background: rgba(255, 200, 61, 0.08);
    border: 1px solid rgba(255, 200, 61, 0.15);
    border-radius: 4px;
}

.active-star {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: rgb(255, 200, 61);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
}   

.rating-score {
    color: #ffffff;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    margin-left: 2px;
}


/* =========================================
   QUOTE ICON
========================================= */

.testimonial-quote-icon {
    position: relative;
    z-index: 1;

    color: #ed1c2e;

    font-size: 75px;
    font-family: Georgia, serif;
    font-weight: bold;

    line-height: 0.8;
    margin-bottom: 10px;
}


/* =========================================
   TESTIMONIAL TEXT
========================================= */

.testimonial-text {
    position: relative;
    z-index: 1;

    color: #d0d8e4;
    font-size: 14px;
    line-height: 1.9;

    margin: 0;
    min-height: 110px;
}


/* =========================================
   BOTTOM ACCENT
========================================= */

.testimonial-bottom-line {
    width: 55px;
    height: 3px;

    background: linear-gradient(
        90deg,
        #ed1c2e,
        rgba(237,28,46,0.15)
    );

    margin-top: 25px;
}


/* =========================================
   NAVIGATION ARROWS
========================================= */

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    background: #ed1c2e;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 10;

    transition: all 0.3s ease;
}

.testimonial-prev {
    left: -55px;
}

.testimonial-next {
    right: -55px;
}

.testimonial-prev svg,
.testimonial-next svg {
    width: 23px;
    height: 23px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #ffffff;
    color: #ed1c2e;
}

.testimonial-prev.swiper-button-disabled,
.testimonial-next.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1199px) {

    .testimonial-prev {
        left: -45px;
    }

    .testimonial-next {
        right: -45px;
    }

}

@media (max-width: 991px) {

    .testimonial-section {
        /* padding: 55px 0; */
    }

    .testimonial-card {
        padding: 23px;
    }

    .testimonial-prev {
        left: -40px;
    }

    .testimonial-next {
        right: -40px;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .testimonial-section {
        /* padding: 40px 0; */
    }

    .testimonial-card {
        padding: 24px;
        min-height: auto;
    }

    .testimonial-card:hover {
        transform: none;
    }

    .testimonial-photo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .testimonial-text {
        min-height: auto;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 36px;
        height: 36px;
    }

    .testimonial-prev {
        left: -15px;
    }

    .testimonial-next {
        right: -15px;
    }

    .testimonial-prev svg,
    .testimonial-next svg {
        width: 19px;
        height: 19px;
    }

}
