.review-container {
    padding: 70px 0 90px;
    position: relative;
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
}

.section-header h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    color: var(--main-darck);
}

.review-nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.review-nav-button {
    background-color: var(--text-white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 6.22px 17.78px 0px var(--drop-shadow);
    transition: all ease var(--transition-speed);
}

.review-nav-button:hover {
    background-color: var(--section-color);
    transition: all ease var(--transition-speed);
}

.review-slider {
    box-shadow: 0px 6.22px 17.78px 0px var(--drop-shadow);
}

.review-link {
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0px 7px 20px 0px var(--drop-shadow);
}

.review-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 26px 24px;
    box-shadow: 0px 7px 20px 0px var(--drop-shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.author-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.author-info-left-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info-left-side img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.author-name {
    max-width: 190px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: var(--main-darck);
}

.author-info-right-side {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.rating {
    display: flex;
    align-items: center;
}

.rating .star {
    font-size: 20px;
    line-height: 20px;
    width: 20px;
    height: 20px;
}

.rating .star.active {
    color: var(--grade-color);
}

.review-date {
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--text-darck-opacity);
    text-align: right;
}

.review-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--main-darck);
    max-width: 95%;
    max-height: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: linear-gradient(184.31deg, rgba(255, 255, 255, 0) 3.5%, #FFFFFF 96.5%);

}

.review-button-prev::after {
    content: 'prev';
    display: none;
}

.review-button-next::after {
    content: 'next';
    display: none;
}

.review-modal-content {
    padding: 60px 80px;
    max-width: 80%;
    margin: 0 auto;
}

.review-modal-content h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: var(--main-darck);
    padding-bottom: 20px;
}

.review-modal-content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--main-darck);
}

.review-slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--main-red);
}

@media (max-width: 1025px) {
    .review-container {
        padding: 40px 0 60px;
    }

    .section-header {
        padding-bottom: 40px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .review-nav-button {
        width: 35px;
        height: 35px;
    }

    .review-card {
        padding: 24px;
    }

    .author-info {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .author-info-right-side {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;

    }

    .author-info-left-side img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .author-name, .review-text {
        font-size: 14px;
    }

    .review-text::after {
        height: 80px;
    }


    .review-modal-content p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .review-container {
        padding: 40px 0;
    }

    .section-header {
        padding-bottom: 32px;
        flex-direction: column;
        gap: 32px;
    }

    .review-nav-button {
        width: 30px;
        height: 30px;
    }

    .review-card {
        padding: 20px;
    }

    .rating .star {
        font-size: 16px;
        line-height: 16px;
        width: 16px;
        height: 16px;
    }
    .review-modal-content {
        padding: 0 30px;
        max-width: 80%;
    }
    .author-info {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .author-info-right-side {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;

    }

    .author-info-left-side img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .author-name, .review-text {
        font-size: 14px;
    }

    .review-text::after {
        height: 80px;
    }


    .review-modal-content p {
        font-size: 14px;
    }
}