/* Container untuk horizontal scroll */
.testimoni-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll di iOS */
    scrollbar-width: thin;
    scrollbar-color: #FFED64 #2B8D4C;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar untuk Chrome/Safari */
.testimoni-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.testimoni-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.testimoni-scroll-container::-webkit-scrollbar-thumb {
    background: #FFED64;
    border-radius: 10px;
}

.testimoni-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}

/* Wrapper untuk menampung semua card */
.testimoni-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 5px;
    /* Space untuk shadow */
}

/* Setiap item testimoni */
.testimoni-scroll-item {
    flex: 0 0 350px;
    /* Lebar tetap 350px */
    min-width: 350px;
    max-width: 350px;
}

/* Hover effect untuk testimoni card */
.testimoni-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.testimoni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Review preview dengan tinggi tetap */
.review-preview {
    min-height: 110px;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    /* Properti standard modern */
    line-height: 1.6;
}

/* Style untuk rating bintang */
.bi-star-fill,
.bi-star {
    font-size: 16px;
    margin-right: 3px;
}

/* Scroll buttons */
.scroll-btn {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scroll-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Modal backdrop enhancement */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Modal animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

/* Button hover effect */
.modal-footer .btn:hover {
    background-color: #1a5c30 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 141, 76, 0.3);
}

/* Close button enhancement */
.btn-close:hover {
    transform: scale(1.1);
}

/* Label styling */
label.small {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .testimoni-scroll-item {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .testimoni-scroll-item {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
    }
}

