/* FAQ section */
.faq-section {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 70px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    font-weight: bold;
}

.faq-question p {
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 0 10px;
}

.faq-answer p {
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 10px;
}

.arrow {
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-section h3 {
    text-align: center;
    margin: 70px 0px 20px 0px;
    color: #153C54;
    font-weight: bold;
}

/* FAQ-2 container */

.faq-2-container {
    margin: 0px 0px 50px 0px;
    padding: 2rem 2.5rem;
    background: #f4f7fb; /* lichte achtergrondkleur */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Sectietitel */
.faq-2-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #153C54;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.5px;
}

/* FAQ item */
.faq-2-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d8e1ea;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.faq-2-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Vraagknop */
.faq-2-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.3rem;
    font-weight: 600;
    color: #153C54;
    cursor: pointer;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

/* Antwoord */
.faq-2-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.2rem;
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
}

.faq-2-item.active .faq-2-answer {
    max-height: 500px;
    padding: 1rem 1.2rem 1.2rem 1.2rem;
}

/* Pijl */
.arrow {
    transition: transform 0.3s ease-in-out;
    font-size: 1.2rem;
    color: #005bbb;
}

.faq-2-item.active .arrow {
    transform: rotate(180deg);
}

/* Mobiel */
@media (max-width: 600px) {
    .faq-2-container {
        padding: 1.5rem 1rem;
        margin: 0px 0px 0px 0px;
    }

    .faq-2-question {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }

    .faq-2-answer {
        font-size: 0.95rem;
    }
}
