/* FAQ Page Styles */

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    width: 100%;
}

.dark-mode .page-title {
    color: var(--text-dark);
}

.faq-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--glass-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dark-mode .faq-item {
    background-color: var(--glass-dark);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-mode .faq-question {
    color: var(--text-dark);
}

.faq-toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.dark-mode .faq-answer {
    color: var(--text-dark);
}

.faq-item.open .faq-answer {
    display: block;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

/* Responsive adjustments */
@media (max-width: 600px) {
    .faq-question {
        font-size: 1.1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}