/* Container Utama */
.faq-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

/* Bagian Header Teks Atas */
.faq-header-text {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.faq-header-text p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    max-width: 740px;
    margin: 0 auto;
}

/* FAQ Item & Border */
.faq {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #FAFBFF;
    border-radius: 12px;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    transition: background 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.faq-item.active {
    border-left-color: #00AEEF;
    background: #F4F7FE;
}

/* Header di dalam Card */
.faq-header {
    width: 100%;
    padding: 22px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-title {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #004B87;
    text-align: left;
    line-height: 1.5;
}

.faq-icon {
    font-size: 14px;
    color: #00AEEF;
    margin-top: 4px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Content Area */
.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.35s ease-out, padding 0.35s ease;
}

.faq-item.active .faq-content {
    /* Gunakan js untuk set height agar lebih presisi, atau max-height cadangan */
    max-height: 1000px; 
    padding: 0 24px 24px 56px; /* Offset sejajar teks (Padding 24px + Icon width & gap) */
}

.faq-content p {
    margin-top: 0;
    margin-bottom: 20px;
    color: #4B5563;
    font-size: 14px;
    line-height: 1.7;
}

/* File Download Card */
.faq-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.file-icon {
    width: 36px;
    height: 44px;
    border-radius: 6px;
    background: #EF4444;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

.file-text h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.file-text small {
    display: block;
    margin-top: 4px;
    color: #6B7280;
    font-size: 12px;
}

/* Button Download */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border: 1.5px solid #F59E0B;
    border-radius: 20px;
    color: #1F2937;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    background: transparent;
}

.btn-download i {
    font-size: 11px;
}

.btn-download:hover {
    background: #F59E0B;
    border-color: #F59E0B;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-header-text h2 {
        font-size: 22px;
    }
    
    .faq-item.active .faq-content {
        padding: 0 20px 20px 20px; /* Di mobile, hilangkan offset kiri agar layar efisien */
    }

    .faq-file {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
}
