/* NiveshakFirst — reviews */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 28px;
    background: linear-gradient(145deg, #ffffff 0%, #f7faf9 100%);
    border: 1px solid #dfe9e5;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20, 42, 64, .045);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #187a5b, #69be43);
    transform: scaleX(.25);
    transform-origin: left;
    transition: transform .3s ease;
}

.review-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(24, 122, 91, .045);
    pointer-events: none;
    transition: .3s ease;
}

.review-card:hover {
    transform: translateY(-7px);
    border-color: #bcd8cc;
    box-shadow: 0 20px 45px rgba(20, 42, 64, .09);
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover::after {
    width: 165px;
    height: 165px;
    background: rgba(24, 122, 91, .07);
}

.review-person {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.review-person img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #d8ebe2;
    background: #eef7f2;
}

.review-person strong {
    display: block;
    color: #142a40;
    font-size: 14px;
    line-height: 1.35;
}

.review-person span {
    display: block;
    margin-top: 3px;
    color: #8a969e;
    font-size: 12px;
}

.review-quote {
    position: relative;
    z-index: 2;
    color: #69be43;
    font-family: "Playfair Display", serif;
    font-size: 48px;
    line-height: .65;
    height: 25px;
}

.review-message {
    position: relative;
    z-index: 2;
    flex: 1;
    margin: 18px 0 20px;
    color: #52606d;
    font-size: 15px;
    line-height: 1.75;
}

.review-rating {
    position: relative;
    z-index: 2;
    margin-top: auto;
    color: #e0a928;
    letter-spacing: 3px;
    font-size: 17px;
}

.review-card.featured-review {
    transform: none;
    border-color: #dfe9e5;
    box-shadow: 0 10px 30px rgba(20, 42, 64, .045);
}

.review-card.featured-review:hover {
    transform: translateY(-7px);
    border-color: #bcd8cc;
    box-shadow: 0 20px 45px rgba(20, 42, 64, .09);
}

.reviews-section .center-action {
    margin-top: 34px;
}

.reviews-page-hero {
    background: transparent;
}

.reviews-page-hero .container {
    max-width: 980px;
}

.reviews-page-hero h1 {
    max-width: 900px;
    color: #142a40;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.reviews-page-hero h1 span {
    color: #187a5b;
}

.reviews-page-hero>.container>p:last-child {
    max-width: 700px;
    margin-top: 20px;
    color: #71808b;
    font-size: 17px;
    line-height: 1.8;
}

.all-reviews-section {
    background: #ffffff;
}

.all-reviews-section .reviews-grid {
    row-gap: 24px;
}

@media (max-width: 1050px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .review-card {
        padding: 24px;
    }

    .review-person img {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .reviews-page-hero h1 {
        font-size: 42px;
    }
}

.reviews-page-hero,
.all-reviews-section {
    background: transparent;
}


.review-disclaimer {
    max-width: 760px;
    margin: 14px auto 0;
    color: #8a969e;
    font-size: 12px;
    line-height: 1.7;
}
.rating-number {
    font-weight: 700;
    color: #000000;
}