/* Reviews Section */
.reviews-section {
    background: #2e2e2e;
    padding: 80px 0;
    font-family: 'Alexandria', sans-serif;
    content-visibility: auto;
    /* Improve rendering performance */
    contain-intrinsic-size: auto 500px;
}

.reviews-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #D69234 0%, #BA975C 50%, #E69E3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    direction: ltr;
    max-width: calc(450px * 4 + 20px * 3);
    margin-left: auto;
    margin-right: auto;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 0 20px;
}

.review-item {
    min-width: 450px;
    height: 560px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-image {
    width: 450px;
    height: 560px;
    object-fit: contain;
    display: block;
    background: #2e2e2e;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.reviews-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.reviews-dots .dot.active {
    background: #D4AF37;
}

/* Cases Section */
.cases-section {
    background: #2e2e2e;
    padding: 80px 0;
    font-family: 'Alexandria', sans-serif;
    direction: ltr;
    content-visibility: auto;
    /* Improve rendering performance */
    contain-intrinsic-size: auto 500px;
}

.cases-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #D69234 0%, #BA975C 50%, #E69E3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cases-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.cases-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 0 20px;
}

.case-item {
    min-width: 280px;
    height: 560px;
    position: relative;
    border: 3px solid #9b7c44;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    width: 450px;
}

.case-image {
    width: 450px;
    height: 560px;
    object-fit: contain;
    display: block;
    background: #2e2e2e;
}

.cases-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.cases-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.cases-dots .dot.active {
    background: #D4AF37;
}

/* Responsive */
@media (max-width: 768px) {

    .reviews-title,
    .cases-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    .reviews-track,
    .cases-track {
        gap: 15px;
        padding: 0 20px;
    }

    .review-item,
    .case-item {
        min-width: 240px;
    }

    .review-item {
        height: 340px;
    }

    .case-item {
        height: 320px;
        width: 240px;
    }

    .review-image {
        width: 240px;
        height: 340px;
        object-fit: contain;
        background: #2e2e2e;
    }

    .case-image {
        width: 240px;
        height: 320px;
        object-fit: contain;
        background: #2e2e2e;
    }

    .reviews-section,
    .cases-section {
        padding: 50px 0;
    }

    .reviews-slider,
    .cases-slider {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {

    .reviews-title,
    .cases-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .review-item,
    .case-item {
        min-width: 200px;
    }

    .review-item {
        height: 280px;
    }

    .case-item {
        height: 250px;
        width: 200px;
    }

    .review-image {
        width: 200px;
        height: 280px;
        object-fit: contain;
        background: #2e2e2e;
    }

    .case-image {
        width: 200px;
        height: 250px;
        object-fit: contain;
        background: #2e2e2e;
    }

    .reviews-track,
    .cases-track {
        gap: 10px;
        padding: 0 10px;
    }

    .reviews-section,
    .cases-section {
        padding: 40px 0;
    }

    .reviews-slider,
    .cases-slider {
        padding: 0 10px;
    }
}