/* FAQ Page Styles */

.main-content h1 {
    margin-bottom: 2em;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9em;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1em;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1em 2em;
    text-align: left;
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

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

.faq-question .icon {
    position: relative;
    width: 0.9em;
    height: 0.9em;
    flex-shrink: 0;
    margin-left: 1em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.faq-question .icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 2px solid #69a03d;
    border-bottom: 2px solid #69a03d;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.faq-item.active .faq-question .icon::before {
    border-color: #4f7f2d;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2em;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2em 1.5em 2em;
}

.faq-answer p {
    margin: 0;
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1.1em;
        padding: 1.2em 1.5em;
    }

    .faq-answer {
        padding: 0 1.5em;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5em 1.2em 1.5em;
    }

    .faq-answer p {
        font-size: 1em;
    }
}
