/* ============================= */
/* FAQ SECTION                   */
/* ============================= */

.faq-section {
    padding: 3rem 1rem;
}

/* Title */
.faq-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    text-align: left;
    color: #101010; /* hitam elegan */
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ ITEM */
.faq-item {
    border: 1px solid #E3E6EB; /* abu premium */
    border-radius: 10px;
    background: #FFFFFF;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* State terbuka */
.faq-item.open {
    border-color: #1E6BFF; /* biru brand */
    box-shadow: 0 6px 18px rgba(30, 107, 255, 0.15);
}

/* QUESTION BUTTON */
.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;

    font-size: 1.05rem;
    font-weight: 600;
    color: #101010; /* judul pertanyaan */

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: background 0.25s ease;
}

.faq-question:hover {
    background: #F5F6FA; /* abu soft */
}

/* Icon + rotation */
.faq-icon {
    font-size: 1.4rem;
    color: #1E6BFF; /* biru brand */
    transition: transform 0.25s ease;
}

/* ANSWER SECTION */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;

    transition: max-height 0.35s ease, padding 0.35s ease;
    background: #FFFFFF; /* tetap putih */
}

.faq-item.open .faq-answer {
    padding: 1rem 1.25rem;
}

/* Rotate icon di mode open */
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* Paragraph style */
.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4A4A4A; /* abu premium */
}

/* Responsive */
@media (max-width: 600px) {
    .faq-title {
        font-size: 1.5rem;
    }
}
