@import url(../style.css);

/* FAQ styles */
.faq-item {
    margin-bottom: 12.5px;
    border: 2.5px solid #000000;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--secondary-color);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-question h2 {
    margin: 0;
    font-size: 1.2em;
}

.faq-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: #FFFFFF;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer.active p {
    margin: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item:first-child {
    margin-top: 20px;
}