.faq-section {
    padding: 60px 20px;
}

.faq-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
}

.faq-list {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--gray-80);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    transition: box-shadow 0.3s;
}

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

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: var(--white);
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--dark-charcoal);
    position: relative;
    transition: background 0.3s;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    opacity: 1;
}

/* List styles inside answer */
.faq-answer ul,
.faq-answer ol {
    margin-top: 10px;
    padding-left: 20px;
}

.faq-answer ul {
    list-style-type: disc;
}

.faq-answer ol {
    list-style-type: decimal;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Animation for fadeIn */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 600px) {
    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
    }
}
