/* ========================================================= */
/* assets/css/faq.css */
/* Styling halaman FAQ, mengikuti palet warna KotaKita */
/* Palet: #478F65, #40826D, #408182, #406C82 */
/* ========================================================= */

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.faq-intro {
    color: #a9b8b3;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: #10201b;
    border: 1px solid #2c4a3f;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #478F65;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq-question:hover {
    color: #6fcf9e;
}

.faq-question i {
    color: #478F65;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item-open .faq-question i {
    transform: rotate(180deg);
}

.faq-item-open .faq-question {
    color: #6fcf9e;
    border-bottom: 1px solid #2c4a3f;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item-open .faq-answer {
    max-height: 300px;
    padding: 16px 20px 20px;
}

.faq-answer p {
    color: #cfe0d8;
    line-height: 1.6;
    margin: 0;
}