/* FAQ Section Styles */
.faq-section {
    margin: 3em auto;
    max-width: 800px;
}

.faq-item {
    margin-bottom: 2em;
}

.faq-question {
    font-weight: 600;
    font-size: 1.2em;
    cursor: pointer;
    position: relative;
    padding-right: 1.5em; /* Space for the toggle icon */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    margin-top: 1em;
    font-size: 1em;
    line-height: 1.5;
}

/* Expanded state for the answer */
.faq-item.active .faq-answer {
    max-height: 1000px; /* Adjust this value to ensure full visibility of expanded content */
}

/* Toggle Icon Styles */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.5em;
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-question::after {
    content: "-";
    transform: rotate(180deg);
}

/* Styling for Hover Effect */
.faq-question:hover {
    color: #2cd283;
}

/* Media Query for Mobile */
@media (max-width: 767.98px) {
    .faq-section {
        padding: 0 1em;
    }
}
