body{
    background-color: #fff;
}

.reviews-section {
    max-width: 1200px;
    margin: 60px auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.header-subtitle {
    color: #1947cd;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 35px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}


.section-title .highlight {
    color: #ffb400;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background: #f4f4f4;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    display: block;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: visible;
    margin-top: 30px;
    margin-bottom: 40px;
}

.review-card:hover {
    background: #1a1a1a;
}

.review-card:hover .star-rating i {
    color: #FFb400;
}

.review-card:hover .review-text,
.review-card:hover .client-name,
.review-card:hover .client-role {
    color: #ffffff;
}


.client-photo-wrapper {
    position: absolute;
    top: -50px;
    right: 30px;
    width: 110px;
    height: 110px;
    background: #f4f4f4;
    border-radius: 20px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.client-photo-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.review-card:hover .client-photo-wrapper {
    background: #f4f4f4;
}

.review-content {
    flex: 1;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.star-rating i {
    color: #ffb400;
    font-size: 18px;
    transition: color 0.4s ease;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #222;
    margin-bottom: 25px;
    transition: color 0.4s ease;
}

.client-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.client-details {
    flex: 1;
}

.client-name {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    transition: color 0.4s ease;
}

.client-role {
    font-size: 14px;
    color: #999;
    transition: color 0.4s ease;
}

.quote-decoration {
    width: 50px;
    height: 50px;
}

.quote-decoration path:nth-of-type(1) {
    fill: #1947cd;
}

.quote-decoration path:nth-of-type(2) {
    fill: #ffb400;
}

.quote-decoration {
    transition: transform 0.6s ease;
    transform-origin: center;
}

.review-card:hover .quote-decoration {
    transform: rotate(360deg);
}

@media (max-width: 1024px) {

    .reviews-section {
        max-width: 900px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .review-card {
        padding: 35px;
    }
}

@media (max-width: 768px) {

    .reviews-section {
        max-width: 100%;
        padding: 0 15px;
    }

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

    .section-title {
        font-size: 28px;
        text-align: center;
    }

    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .review-card {
        width: 100%;
        margin: 30px 0;
        padding: 30px;
    }

    .client-photo-wrapper {
        top: -40px;
        right: 20px;
        width: 95px;
        height: 95px;
    }

    .client-name {
        font-size: 20px;
    }

    .review-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    .section-title {
        font-size: 24px;
        line-height: 1.35;
    }

    .reviews-grid {
        gap: 25px;
    }

    .review-card {
        padding: 25px;
    }

    .client-photo-wrapper {
        width: 80px;
        height: 80px;
        right: 15px;
        top: -35px;
    }

    .star-rating i {
        font-size: 16px;
    }

    .review-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .client-name {
        font-size: 18px;
    }

    .client-role {
        font-size: 13px;
    }

    .quote-decoration {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 375px) {

    .section-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .review-card {
        padding: 20px;
        margin: 25px 0;
    }

    .client-photo-wrapper {
        width: 70px;
        height: 70px;
        right: 10px;
        top: -30px;
        padding: 5px;
    }

    .review-text {
        font-size: 13px;
    }

    .client-name {
        font-size: 17px;
    }

    .client-role {
        font-size: 12px;
    }

    .quote-decoration {
        width: 35px;
        height: 35px;
    }
}
