/* Pengaturan Dasar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* Wadah Utama FAQ */
.faq-container {
    width: 100%;
    max-width: 1500px;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: #1e293b;
}

/* Komponen Item FAQ */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

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

/* Tombol Pertanyaan */
.faq-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: #475569;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-button:hover {
    color: #2563eb;
}

/* Ikon Plus (+) */
.faq-icon {
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

/* Wadah Jawaban (Tersembunyi secara default) */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
    padding: 0 8px 18px 8px;
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* Logika Aktif Saat Diklik */
.faq-item.active .faq-content {
    max-height: 800px; /* Batas tinggi maksimal saat terbuka */
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Mengubah ikon + menjadi x */
    color: #2563eb;
}
