
/* =========================================
   CUSTOMER REVIEWS
========================================= */

.customer-reviews {
    width: 100%;
    padding: 90px 0;

    background: #f7f9fc;

    font-family: "Poppins", sans-serif;

    overflow: hidden;
}


/* =========================================
   CONTAINER
========================================= */

.reviews-container {
    width: 92%;
    max-width: 1200px;

    margin: auto;
}


/* =========================================
   HEADING
========================================= */

.reviews-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 50px;
}

.reviews-tag {
    display: inline-block;

    color: #d4af37;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.reviews-heading h2 {
    margin: 0 0 15px;

    color: #071a2f;

    font-size: 38px;

    font-weight: 700;

    line-height: 1.25;
}

.reviews-heading h2 span {
    color: #d4af37;
}

.reviews-heading p {
    margin: 0;

    color: #6f7d8c;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   SLIDER
========================================= */

.reviews-slider-wrapper {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}

.reviews-slider {
    position: relative;

    width: 100%;

    max-width: 760px;

    min-height: 350px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================
   SLIDE
========================================= */

.review-slide {
    width: 100%;

    display: none;

    animation: reviewFade 0.6s ease;
}

.review-slide.active {
    display: block;
}

@keyframes reviewFade {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   REVIEW CARD
========================================= */

.review-card {
    position: relative;

    width: 100%;

    min-height: 320px;

    padding: 45px 55px;

    background: #ffffff;

    border-radius: 22px;

    text-align: center;

    border: 1px solid #edf0f4;

    box-shadow:
        0 15px 45px rgba(7, 26, 47, 0.08);

    box-sizing: border-box;
}


/* =========================================
   QUOTE ICON
========================================= */

.quote-icon {
    position: absolute;

    top: 22px;
    right: 28px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.10);

    color: #d4af37;

    font-size: 16px;
}


/* =========================================
   STARS
========================================= */

.review-stars {
    display: flex;

    justify-content: center;

    gap: 5px;

    margin-bottom: 20px;
}

.review-stars i {
    color: #d4af37;

    font-size: 14px;
}


/* =========================================
   REVIEW TEXT
========================================= */

.review-text {
    max-width: 620px;

    margin: 0 auto 30px;

    color: #526172;

    font-size: 15px;

    line-height: 1.9;

    font-style: italic;
}


/* =========================================
   CUSTOMER
========================================= */

.review-customer {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;
}

.customer-avatar {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #071a2f;

    color: #d4af37;

    font-size: 13px;

    font-weight: 600;
}

.customer-info {
    text-align: left;
}

.customer-info h4 {
    margin: 0 0 3px;

    color: #071a2f;

    font-size: 14px;

    font-weight: 600;
}

.customer-info span {
    color: #8a97a5;

    font-size: 11px;
}


/* =========================================
   ARROWS
========================================= */

.review-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #e4e9ef;

    border-radius: 50%;

    background: #ffffff;

    color: #071a2f;

    cursor: pointer;

    font-size: 13px;

    box-shadow:
        0 8px 25px rgba(7, 26, 47, 0.08);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.review-prev {
    left: 0;
}

.review-next {
    right: 0;
}

.review-arrow:hover {
    background: #d4af37;

    color: #071a2f;

    border-color: #d4af37;

    transform:
        translateY(-50%)
        scale(1.05);
}


/* =========================================
   DOTS
========================================= */

.review-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 28px;
}

.review-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #cbd3dc;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.review-dot.active {
    width: 25px;

    border-radius: 10px;

    background: #d4af37;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .customer-reviews {
        padding: 75px 0;
    }

    .reviews-heading h2 {
        font-size: 34px;
    }

    .reviews-slider {
        max-width: 650px;
    }

    .review-arrow {
        position: static;

        transform: none;

        flex-shrink: 0;

        margin: 0 12px;
    }

    .review-arrow:hover {
        transform: scale(1.05);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .customer-reviews {
        padding: 60px 0;
    }

    .reviews-container {
        width: 90%;
    }

    .reviews-heading {
        margin-bottom: 35px;
    }

    .reviews-heading h2 {
        font-size: 28px;
    }

    .reviews-heading p {
        font-size: 13px;
    }


    .reviews-slider-wrapper {
        gap: 8px;
    }

    .reviews-slider {
        min-height: 380px;
    }


    .review-card {
        min-height: 360px;

        padding: 42px 22px 30px;

        border-radius: 18px;
    }


    .quote-icon {
        top: 15px;
        right: 15px;

        width: 36px;
        height: 36px;

        font-size: 13px;
    }


    .review-text {
        font-size: 13px;

        line-height: 1.8;

        margin-bottom: 28px;
    }


    .review-arrow {
        width: 38px;
        height: 38px;

        margin: 0 4px;

        font-size: 11px;
    }


    .customer-avatar {
        width: 43px;
        height: 43px;

        font-size: 11px;
    }


    .customer-info h4 {
        font-size: 13px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .reviews-heading h2 {
        font-size: 25px;
    }

    .review-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .review-text {
        font-size: 12px;
    }

    .review-arrow {
        width: 34px;
        height: 34px;
    }

}
