/* General FAQ accordion styles */
.faq-accordion {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-question h3 {
    margin: 0;
    font-size: 14px;
    flex: 1;
}

.faq-toggle-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

/* Active state for FAQ */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle-arrow {
    transform: rotate(90deg); /* Rotate the arrow on open */
}

/* Responsive styling */
@media (max-width: 768px) {
    .faq-question {
        padding: 12px;
        font-size: 16px;
    }

    .faq-answer {
        font-size: 15px;
        padding: 12px;
    }

    .faq-toggle-arrow {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 10px;
        font-size: 14px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 10px;
    }

    .faq-toggle-arrow {
        font-size: 14px;
    }
}

.faq-answer {
    transition: max-height 0.4s ease-in-out;
    overflow: hidden;
}