/* Container Utama */
.fluency-section {
    padding: 60px 8%;
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
}

.fluency-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Judul & Deskripsi */
.fluency-title {
    text-align: center;
    margin-bottom: 40px;
}

.fluency-title h3 {
    color: #154ea1;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
}

.fluency-title p {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Custom Filter Bar (Search & Select) */
.fluency-filter {
    display: flex;
    gap: 15px;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e0e7ff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    align-items: center;
}

.fluency-searchbar {
    flex: 2;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    border-radius: 10px;
}
.fluency-searchbars {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 15px;
}
.fluency-searchbars input {
    border: none;
    background: transparent;
    width: 100%;
    margin-left: 10px;
    outline: none;
    font-size: 14px;
}
.fluency-searchbar input {
    border: none;
    background: transparent;
    width: 100%;
    margin-left: 10px;
    outline: none;
    font-size: 14px;
}

/* Custom Styling Select Option */
.fluency-kat,
.fluency-level,
.fluency-date,
.fluency-prices {
    flex: 1;
}

.fluency-filter select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    appearance: none; /* Menghilangkan panah bawaan */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

/* Grid Kartu */
.fluency-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.fluency-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.fluency-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.fluency-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Badge Kategori di atas gambar (Opsional jika ingin tumpang tindih) */
.fluency-item .fluency-kat h4 {
    background: #154ea1;
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin: 15px 20px 0;
}

.fluency-info {
    padding: 20px;
}

.fluency-info h3 {
    font-size: 20px;
    color: #111;
    font-weight: 700;
    margin-bottom: 15px;
    height: 50px; /* Biar judul sejajar walau panjangnya beda */
}

/* Info Icon Items (Beginner, 12 Jam, dll) */
.fluency-info-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.fluency-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fluency-info-item img {
    width: 18px;
    opacity: 0.7;
}

.fluency-info-item p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Penyusun */
.fluency-author h4 {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.fluency-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.fluency-author-info img:first-child {
    width: 25px;
    border-radius: 50%;
}

.fluency-author-info p {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* Price & Rating Section */
.fluency-additional-info {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 20px;
}
.fluency-price h4 {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 10px;
}
.fluency-rating h4 {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-info p:first-child {
    background: #22c55e; /* Hijau untuk Free */
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.price-info p:last-child {
    background: #f97316; /* Orange untuk Bersertifikat */
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-info img {
    width: 14px;
}

.rating-info p {
    font-weight: 700;
    font-size: 14px;
    margin-left: 5px;
}

/* Tombol Daftar */
.fluency-button a {
    display: block;
    text-align: center;
    background: #154ea1;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.fluency-button a:hover {
    background: #0d3a7a;
}

/* Responsive */
@media (max-width: 768px) {
    .fluency-filter {
        flex-direction: column;
    }
}

/* DETAIL FLUENCY */

.detail-fluency-section {
    padding: 60px 40px;
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
}
.detail-fluency-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.detail-fluency-link a,
.detail-fluency-link p {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    margin: 0;
}

.detail-fluency-link p {
    font-weight: 700;
    color: #1e293b;
}

/* --- LAYOUT WRAPPER --- */
.detail-fluency-all {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 30px;
    align-items: start;
}

.detail-fluency-title h1 {
    font-size: 28px;
    font-weight: 800;
    color: #092348;
    margin-bottom: 5px;
}

.detail-fluency-title h5 {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 25px;
}

.detail-fluency-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.detail-fluency-desc,
.detail-fluency-items {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 25px;
}

.detail-fluency-desc h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.detail-fluency-desc p {
    line-height: 1.7;
    color: #475569;
    font-size: 15px;
    text-align: justify;
}

.fluency-options {
    display: flex;
    gap: 40px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

/* Styling untuk Tab yang sedang aktif */
.fluency-option {
    cursor: pointer;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent; /* Garis transparan saat tidak aktif */
    transition: all 0.3s ease;
}

.fluency-option.active {
    border-bottom: 3px solid #154ea1; /* Garis biru saat aktif */
}

.fluency-option.active h4 {
    color: #154ea1;
}

/* Sembunyikan konten secara default */
.fluency-information,
.fluency-ratings,
.fluency-porto,
.fluency-testi {
    display: none;
}

/* Tampilkan konten yang aktif */
.content-active {
    display: block !important;
}

.fluency-option h4 {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

.detail-fluency-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}
/* --- JUDUL (Informasi Umum) --- */
.fluency-information h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b; /* Warna Slate 800 */
    margin-bottom: 20px;
}

/* --- DESKRIPSI PARAGRAF --- */
.fluency-information p {
    font-size: 15px;
    line-height: 1.8; /* Spasi antar baris agar nyaman dibaca */
    color: #475569; /* Warna Slate 600 */
    margin-bottom: 25px;
}

/* --- SUB-JUDUL (Target Pembelajaran) --- */
.fluency-information h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Opsional: Menambahkan dot biru kecil sebelum teks Target Pembelajaran */
.fluency-information h4::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #154ea1;
    border-radius: 50%;
    display: inline-block;
}

/* --- LIST TARGET PEMBELAJARAN --- */
.fluency-information ul {
    list-style: none; /* Hilangkan bullet point asli */
    padding: 0;
    margin: 0;
}

.fluency-information li {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 12px;
    padding-left: 5px;
    display: block;
}

/* Menghaluskan tampilan angka di dalam list */
.fluency-information li {
    transition: color 0.2s;
}

.fluency-information li:hover {
    color: #154ea1; /* Efek hover saat mouse di atas list */
}

@media (max-width: 992px) {
    .detail-fluency-all {
        grid-template-columns: 1fr;
    }
}

/* --- CONTAINER UTAMA SIDEBAR --- */
.detail-fluency-sidebar {
    width: 100%;
    max-width: 350px; /* Sesuaikan dengan layout Anda */
    position: sticky;
    top: 20px;
}

.detail-fluency-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- TOMBOL ENROLL NOW --- */
.enroll-now-btn a {
    display: block;
    background-color: #154ea1; /* Biru Flungo */
    color: #ffffff;
    text-align: center;
    padding: 12px;
    border-radius: 50px; /* Full rounded */
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 25px;
    transition: background 0.3s ease;
}

.enroll-now-btn a:hover {
    background-color: #0d3a7a;
}

/* --- DETAIL COURSE SECTION --- */
.enroll-now-course h4 {
    font-size: 16px;
    font-weight: 700;
    color: #154ea1;
    margin-bottom: 20px;
}

.enroll-now-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.enroll-now-item img {
    width: 20px; /* Ukuran icon kecil */
    height: auto;
    margin-top: 3px;
}

.enroll-now-item-info h5 {
    font-size: 12px;
    color: #94a3b8; /* Abu-abu muda untuk label */
    margin: 0 0 4px 0;
    font-weight: 500;
}

.enroll-now-item-info h6 {
    font-size: 14px;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

/* --- RATING SECTION --- */
.enroll-now-rate {
    display: flex;
    align-items: center;
    gap: 4px;
}

.enroll-now-rate img {
    width: 14px;
    margin: 0;
}

.enroll-now-rate p {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-left: 5px;
}

/* --- GRID INFO (LEVEL, DURATION, DLL) --- */
.enroll-now-bot {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Membagi dua kolom */
    gap: 20px 10px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    margin-top: 20px;
}

.enroll-now-bot-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.enroll-now-bot-item img {
    width: 18px;
}

.item-enroll h5 {
    font-size: 13px;
    margin: 0;
}

.item-enroll h5:first-child {
    color: #94a3b8;
    font-weight: 400;
}

.item-enroll h5:last-child {
    color: #1e293b;
    font-weight: 600;
}

/* --- SHARE COURSE SECTION --- */
.enroll-now-sosmed {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.enroll-now-sosmed h4 {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 500;
}

.sosmed-item {
    display: flex;
    justify-content: space-between; /* Menyebar icon sosmed */
    gap: 10px;
}

.sosmed-item a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.sosmed-item a:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.sosmed-item img {
    height: 18px;
    width: auto;
}

/* --- CONTAINER REVIEW UTAMA --- */

/* --- BAGIAN ATAS (SUMMARY) --- */
.rating-top {
    display: flex;
    gap: 50px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.rating-left {
    text-align: center;
    min-width: 150px;
}

.rating-left h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.rating-left h4 {
    font-size: 48px;
    font-weight: 800;
    color: #154ea1; /* Biru Flungo */
    margin: 0;
}

.rating-left-star {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 10px 0;
}

.rating-left-star img {
    width: 18px;
}

.rating-left h5 {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* --- PROGRESS BARS (KANAN) --- */
.rating-right {
    flex: 1;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rating-bar-item p {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    min-width: 10px;
}

.rating-bar-item img {
    width: 14px;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: #154ea1;
    border-radius: 10px;
}

/* --- FILTER DROPDOWNS --- */
.rating-filter {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.rating-filter select {
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    color: #475569;
    outline: none;
    background-color: #f8fafc;
    cursor: pointer;
}

/* --- INDIVIDUAL REVIEW ITEMS --- */
.rating-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #f1f5f9;
}

.rating-item:last-child {
    border-bottom: none;
}

.rating-item > img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.rating-item-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
}

.rating-info-star {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.star-rating {
    display: flex;
    gap: 3px;
}

.star-rating img {
    width: 14px;
    height: 14px;
}

.rating-tgl p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.rating-info-review p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* --- PAGINATION (SESUAI FIGMA) --- */
.rating-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

/* Contoh styling jika Anda menambah elemen <span> di pagination */
.rating-pagination span {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.rating-pagination span.active {
    background-color: #154ea1;
    color: white;
    border-color: #154ea1;
}
.rating-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Jarak antar lingkaran */
    padding: 20px 0;
    font-family: "Inter", sans-serif; /* Mengikuti font modern seperti di gambar */
}

/* Base style untuk semua item pagination */
.page-nav,
.page-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%; /* Membuat bentuk lingkaran sempurna */
    border: 1.5px solid #e2e8f0; /* Warna border abu-abu muda */
    background-color: transparent;
    color: #475569; /* Warna teks default */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

/* Style untuk halaman yang aktif (Angka 1 di gambar) */
.page-number.active {
    background-color: #2d7dae; /* Warna biru sesuai gambar */
    border-color: #2d7dae;
    color: white;
}

/* Hover effect untuk item yang tidak aktif */
.page-number:hover:not(.active),
.page-nav:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.page-nav {
    font-size: 18px;
    color: #64748b;
}

.fluency-porto {
    padding: 20px 0;
}

.fluency-porto h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1e293b;
}

/* SEARCH & FILTERS */
.porto-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.porto-searchbar {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.porto-searchbar ion-icon {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    font-size: 20px;
}

.porto-searchbar input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: transparent;
    outline: none;
    transition: 0.3s;
}

.porto-filters {
    display: flex;
    gap: 10px;
}

/* CUSTOM SELECT */
.custom-select {
    position: relative;
}

.custom-select select {
    appearance: none; /* Hilangkan panah default */
    padding: 12px 35px 12px 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    outline: none;
}

.custom-select::after {
    content: "\25BC";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #94a3b8;
    pointer-events: none;
}

/* CARDS GRID */
.flungo-porto-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.flungo-porto-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flungo-porto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card-image {
    position: relative;
    height: 180px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.porto-stamp {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(21, 78, 161, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.card-body {
    padding: 20px;
}

.card-body h4 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.porto-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.porto-user img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.porto-user span {
    font-size: 13px;
    color: #64748b;
}

.card-body p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CARD FOOTER */
.porto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.porto-likes {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ef4444;
    font-size: 13px;
}

.btn-detail {
    background: #154ea1;
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-detail:hover {
    background: #0d3a7a;
}

.fluency-testi {
    padding: 30px 0;
}

.fluency-testi h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1e293b;
}

/* Grid Layout */
.fluency-testi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Card Container */
.fluency-testi-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.fluency-testi-card:hover {
    transform: translateY(-5px);
}

/* Thumbnail & Overlay */
.fluency-testi-thumnnail {
    position: relative;
    width: 100%;
    height: 200px; /* Sesuaikan aspek rasio video */
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.fluency-testi-thumnnail .main-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient Overlay agar teks putih terlihat jelas */
.fluency-testi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    display: flex;
    align-items: flex-end; /* Teks di bawah */
    padding: 15px;
}

.fluency-testi-info {
    width: 100%;
    text-align: left;
}

/* Play Button di tengah atau atas teks */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.fluency-testi-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    filter: brightness(1.2);
}

.fluency-testi-info h5 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Batasi 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* User Info Section */
.fluency-testi-video-user {
    padding: 15px 5px;
}

.fluency-testi-video-user h5 {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin: 0;
}
/* Container Utama */
.pop-up-video-items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(
        0,
        0,
        0,
        0.6
    ); /* Sedikit lebih transparan agar tetap terasa ringan */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Ukuran Card Dibuat Sangat Mungil */
.pop-up-video-card {
    background: #fff;
    width: 85%; /* Sedikit jarak di kiri-kanan layar HP */
    max-width: 320px; /* Ukuran mungil, dari 420px turun ke 320px */
    border-radius: 10px;
    overflow: hidden;
    animation: zoomIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Header Pop-up (Ultra Slim) */
.pop-up-video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px; /* Padding makin tipis */
}

.pop-up-testimoni h4 {
    font-size: 11px; /* Ukuran teks kecil dan clean */
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    white-space: nowrap; /* Menjaga teks tetap satu baris */
    overflow: hidden;
    text-overflow: ellipsis; /* Jika terlalu panjang, akan ada titik-titik (...) */
    max-width: 220px;
}

.pop-up-cross {
    display: flex;
    align-items: center;
    padding: 0;
}

.pop-up-cross img {
    width: 12px; /* Icon close sangat kecil */
    height: 12px;
}

/* Video Wrapper */
.pop-up-video-wrapper {
    padding: 0 6px 6px 6px; /* Hanya sisa sedikit border putih di bawah dan samping */
    background: #fff;
}

.pop-up-video-wrapper video {
    width: 100%;
    border-radius: 6px; /* Radius mengikuti ukuran box yang kecil */
    display: block;
    background: #000;
}

/* Animasi */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pop-up-active {
    display: flex !important;
}
