/* ===============================
   REVIEW CARD – PREMIUM DESIGN
================================ */

.review-card {
    min-width: 320px;
    max-width: 320px;
    background: linear-gradient(180deg, #ffffff, #fafbff);
    border-radius: 18px;
    padding: 22px 22px 24px;
    border: 1px solid #e6e9f2;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.35s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.08), rgba(34, 197, 94, 0.08));
    opacity: 0;
    transition: 0.35s ease;
}

.review-card:hover::before {
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ===============================
   HEADER LAYOUT
================================ */

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed #e5e7eb;
    position: relative;
}

/* Avatar circle */
.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* Name + meta */
.review-user {
    flex: 1;
}

.review-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.2px;
}

.review-meta {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

/* Quote icon */
.review-quote {
    font-size: 26px;
    color: #c7d2fe;
    margin-left: auto;
}

/* ===============================
   REVIEW TEXT
================================ */

.review-comment {
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
    margin-top: 10px;
}

/* ===============================
   IMAGE
================================ */

.review-image {
    margin-top: 16px;
}

.review-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.review-image img:hover {
    transform: scale(1.03);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .review-card {
        min-width: 280px;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .review-card {
        min-width: 240px;
        max-width: 240px;
        padding: 18px;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .review-name {
        font-size: 15px;
    }

    .review-comment {
        font-size: 13.5px;
    }
}