body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    margin:0;
    padding:20px;
}

/* Judul testimonial */
h2.title-testimonial {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #004aad;
    font-size: 22px;
    font-weight: 700;
    margin-top: 100px; 
    margin-bottom: 30px;
}
h2.title-testimonial i {
    font-size: 28px;
    color: #ffd700;
}

/* Container kartu testimonial */
.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Kartu testimonial */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    flex: 1 1 calc(33% - 20px);
    min-width: 250px;
    max-width: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Foto barang */
.testimonial-card .barang-container {
    position: relative;
}
.testimonial-card img.barang-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display:block;
}

/* Overlay member & deskripsi */
.member-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(0,0,0,0.4);
    padding: 8px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Foto member */
.member-overlay img.member-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-top: -10px;
}

/* Nama dan rating */
.member-overlay .nama {
    font-weight: 700;
    font-size: 13px;  
    color: #fff;
}
.member-overlay .rating {
    font-size: 14px;
    color: #ffd700;
    text-shadow: 0 0 2px rgba(0,0,0,0.7);
}

/* Deskripsi */
.member-desc {
    font-size: 12px;
    font-style: italic;
    color: #fff;
    line-height: 1.4;
    margin-top: 2px; 
    word-wrap: break-word;
    max-height: 60%;
    overflow: auto;
}

/* Tombol detail */
.detail-btn {
    margin: 8px auto 12px auto;
    padding: 6px 12px;
    background-color: #004aad;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.detail-btn:hover {
    background-color: #003580;
}

/* Responsive */
@media(max-width:768px){
    .testimonial-card {
        flex: 1 1 100%;
    }
}
