/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    padding: 6rem 0;
    position: relative;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(45, 55, 72, 0.3) 30%, rgba(26, 32, 44, 0.6) 60%, var(--bg-main) 100%);
    pointer-events: none;
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    margin-bottom: 0;
    background: var(--bg-main);
    border: 1px solid rgba(229, 90, 43, 0.2);
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.faq-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: 1px solid rgba(229, 90, 43, 0.2);
}

.faq-item:not(:last-child) {
    border-bottom: none;
}

.faq-item:hover {
    border-color: rgba(229, 90, 43, 0.4);
    box-shadow: 0 4px 12px rgba(229, 90, 43, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-on-dark);
    transition: color 0.3s;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question[aria-expanded="true"] {
    color: var(--primary-color);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 2rem;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 400;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1;
    display: inline-block;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer.active {
    max-height: 500px;
    padding: 0 2rem 1.25rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }

    .faq-container {
        padding: 0 1rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
    }

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

    .faq-answer.active {
        padding: 0 1.5rem 1rem 1.5rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    .faq-icon {
        font-size: 1.1rem;
    }
}
