/* ==========================================
   MODERN REVIEW - CONSTRUCTION NAVY & GOLD
   Style: Professional, Solid, & Modern
========================================== */

:root {
    /* Palet warna berdasarkan referensi gambar */
    --navy-deep: #001a41;      /* Biru tua untuk teks & identitas */
    --orange-accent: #ff6b00;  /* Orange untuk aksen & progres */
    --gold-solid: #FFB800;     /* Orange Gold Solid untuk Bintang */
    --text-slate: #475569;     /* Warna teks deskripsi */
    --border-soft: #f1f5f9;    /* Warna border kartu */
}

.modern-review-section {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
}

.review-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER & CIRCLE RATING DYNAMIS */
.review-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 30px;
}

.header-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--navy-deep);
    font-weight: 800;
    margin-bottom: 12px;
}

.header-content p {
    color: var(--text-slate);
    max-width: 550px;
    line-height: 1.6;
}

.badge-outline {
    display: inline-block;
    padding: 6px 14px;
    border: 1.5px solid var(--orange-accent);
    color: var(--orange-accent);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* RATING VISUAL LOGIC */
.rating-visual-box {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Background conic-gradient akan terisi warna orange sesuai variabel --rating-percent */
    background: conic-gradient(var(--orange-accent) var(--rating-percent), #f1f5f9 0deg);
}

.rating-visual-box::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
}

.rating-visual-box .inner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.rating-visual-box .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy-deep);
    line-height: 1;
}

.rating-visual-box .label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
}

/* PERBAIKAN BINTANG GOLD SOLID */
.stars-row {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.stars-row .star-gold {
    /* Mengisi warna bagian dalam bintang dengan gold solid */
    fill: #FFB800 !important; 
    /* Mengisi warna garis luar bintang agar tidak transparan */
    color: #FFB800 !important;
    /* Memastikan tingkat kejelasan penuh */
    opacity: 1 !important; 
    /* Memberikan efek dimensi agar lebih menonjol */
    filter: drop-shadow(0 2px 3px rgba(255, 184, 0, 0.3));
}

/* Warna Bintang Kosong (jika ada) */
.stars-row .star-empty {
    color: #e2e8f0;
    fill: transparent;
    opacity: 0.5;
}

/* Ukuran Ikon SVG */
.stars-row svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px; /* Memberikan garis tepi yang lebih tegas */
}

/* MARQUEE ANIMATION (REVIEW BERJALAN) */
.review-marquee-wrapper {
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.review-track {
    display: flex;
    gap: 25px;
    animation: marquee-scroll 45s linear infinite;
    padding: 20px 0;
}

.review-track:hover {
    animation-play-state: paused; /* Berhenti saat kursor di atas card */
}

/* CARD REVIEW DESIGN */
.modern-review-card {
    flex: 0 0 350px;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 26, 65, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.modern-review-card:hover {
    border-color: var(--orange-accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.08);
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quote-icon {
    color: #f1f5f9;
    width: 35px;
    height: 35px;
}

.review-body {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-slate);
    font-style: italic;
    margin-bottom: 30px;
    min-height: 90px; /* Menjaga tinggi card tetap seragam */
}

/* USER PROFILE */
.review-footer-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: var(--navy-deep);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.user-info .user-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin: 0 0 2px 0;
}

.user-loc {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-loc svg {
    width: 12px;
    height: 12px;
}

/* KEYFRAMES FOR INFINITE MARQUEE */
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-375px * 4)); } /* Atur sesuai jumlah ulasan Anda */
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .modern-review-card { flex: 0 0 300px; padding: 25px; }
}

@media (max-width: 768px) {
    .review-header-premium { flex-direction: column; text-align: center; }
    .rating-visual-box { margin: 0 auto; }
    .header-content h2 { font-size: 1.8rem; }
}