/* =================================
   TESTIMONIAL SECTION
================================= */

.testimonial-section {
    width: 100%;
    padding: 90px 6.5%;
    background: #ffffff;
    overflow: hidden;
}

.testimonial-container {
    max-width: 1440px;
    margin: 0 auto;
}


/* =================================
   HEADING
================================= */

.testimonial-heading {
    text-align: center;
    margin-bottom: 34px;
}

.testimonial-heading h2 {
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: #000000;
    margin-bottom: 20px;
}

.testimonial-heading h2 span {
    color: #002C8A;
}

.testimonial-heading p {
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
}


/* =================================
   NAVIGATION
================================= */

.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 30px;
}

.testimonial-navigation button {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: #f4f1f0;
    color: #222222;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-navigation button:hover {
    background: #002C8A;
    color: #ffffff;
    transform: scale(1.08);
}


/* =================================
   SLIDER
================================= */

.testimonial-slider {
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 0;
    padding: 32px;
    background: #f4f1f0;
    border-radius: 34px;
    transition: transform 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}


/* =================================
   USER DETAILS
================================= */

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.testimonial-profile {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-details p {
    font-size: 16px;
    color: #222222;
}

.testimonial-stars {
    margin-left: auto;
    color: #F5C400;
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
}


/* =================================
   TESTIMONIAL TEXT
================================= */

.testimonial-text {
    font-size: 19px;
    line-height: 1.5;
    color: #111111;
}


/* =================================
   INTRO ANIMATION
================================= */

.testimonial-reveal {
    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.testimonial-reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 768px) {

    .testimonial-section {
        padding: 65px 5%;
    }

    .testimonial-heading h2 {
        font-size: 32px;
    }

    .testimonial-heading p {
        font-size: 14px;
    }

    .testimonial-navigation button {
        width: 48px;
        height: 48px;
    }

    .testimonial-track {
        gap: 16px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 25px;
        border-radius: 24px;
    }

    .testimonial-profile {
        width: 65px;
        height: 65px;
    }

    .testimonial-details h3 {
        font-size: 16px;
    }

    .testimonial-details p {
        font-size: 14px;
    }

    .testimonial-stars {
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 16px;
    }

}

@media (max-width: 480px) {

    .testimonial-heading h2 {
        font-size: 28px;
    }

    .testimonial-user {
        gap: 10px;
    }

    .testimonial-profile {
        width: 55px;
        height: 55px;
    }

    .testimonial-card {
        padding: 22px;
    }

}