.reviews-section {
    width: 100%;
    background: #ffffff;
    padding: 95px 10% 100px;
    overflow: hidden;
}

.reviews-heading {
    max-width: 900px;
    margin-bottom: 50px;
}

.reviews-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.reviews-heading h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -2px;
    color: #111827;
    margin-bottom: 0;
}

.reviews-heading p {
    max-width: 760px;
    font-size: 20px;
    line-height: 2;
    color: #475569;
    font-weight: 500;
}

.reviews-carousel {
    width: 100%;
    overflow: hidden;
    direction: ltr;
    padding: 8px 0 18px;
}

.reviews-track {
    display: flex;
    gap: 26px;
    direction: ltr;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.review-card {
    --review-color: #22c55e;
    --review-rgb: 34, 197, 94;

    position: relative;
    flex: 0 0 calc((100% - 52px) / 3);
    min-height: 285px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    direction: rtl;
    background: #ffffff;
    border: 1.5px solid rgba(var(--review-rgb), 0.45);
    border-radius: 26px;
    box-shadow: none;
    transition: 0.3s ease;
    overflow: hidden;
    isolation: isolate;
}

.review-card:nth-child(1) {
    --review-color: #22c55e;
    --review-rgb: 34, 197, 94;
}

.review-card:nth-child(2) {
    --review-color: #f59e0b;
    --review-rgb: 245, 158, 11;
}

.review-card:nth-child(3) {
    --review-color: #38bdf8;
    --review-rgb: 56, 189, 248;
}

.review-card:nth-child(4) {
    --review-color: #ec4899;
    --review-rgb: 236, 72, 153;
}

.review-card:nth-child(5) {
    --review-color: #8b5cf6;
    --review-rgb: 139, 92, 246;
}

.review-card:nth-child(6) {
    --review-color: #14b8a6;
    --review-rgb: 20, 184, 166;
}

.review-card:nth-child(7) {
    --review-color: #f97316;
    --review-rgb: 249, 115, 22;
}

.review-card::before {
    content: "”";
    position: absolute;
    top: -10px;
    left: 24px;
    z-index: 1;
    font-size: 96px;
    line-height: 1;
    font-weight: 900;
    color: rgba(var(--review-rgb), 0.18);
    font-family: Arial, sans-serif;
}

.review-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    z-index: 0;
    width: 78%;
    height: 78%;
    background: radial-gradient(
        circle at bottom right,
        rgba(var(--review-rgb), 0.28) 0%,
        rgba(var(--review-rgb), 0.16) 28%,
        rgba(var(--review-rgb), 0.07) 48%,
        rgba(var(--review-rgb), 0) 72%
    );
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--review-rgb), 0.75);
    box-shadow: none;
}

.review-stars {
    position: relative;
    z-index: 2;
    direction: ltr;
    text-align: right;
    color: var(--review-color);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.review-card p {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 2.05;
    color: #334155;
    font-weight: 600;
    margin-bottom: 24px;
}

.review-user {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(var(--review-rgb), 0.22);
}

.review-user strong {
    display: block;
    font-size: 17px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 6px;
}

.review-user span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}

.reviews-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 26px;
    direction: ltr;
}

.review-dot {
    width: 10px;
    height: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #e5e7eb;
    border-radius: 999px;
    transition: 0.3s ease;
}

.review-dot:hover {
    background: #cbd5e1;
}

.review-dot.active {
    width: 42px;
    background: #facc15;
}

/* Responsive */

@media (max-width: 900px) {
    .reviews-title-row {
        align-items: flex-start;
    }

    .reviews-heading h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .reviews-heading p {
        font-size: 18px;
    }

    .reviews-section {
        padding: 75px 7% 80px;
    }

    .review-card {
        flex: 0 0 calc((100% - 26px) / 2);
    }
}

@media (max-width: 620px) {
    .reviews-heading h2 {
        font-size: 29px;
    }

    .reviews-heading p {
        font-size: 16px;
    }

    .reviews-section {
        padding: 60px 18px 70px;
    }

    .review-card {
        flex: 0 0 100%;
        border-radius: 22px;
    }

    .review-dot.active {
        width: 34px;
    }
}