/* FAQ Page Specific Styles */

.page-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold-color);
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    transition: var(--transition);
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #ffed4e;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0.9;
}

/* FAQ CTA Section */
.faq-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.faq-cta h3 {
    color: var(--gold-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .faq-section {
        padding: 2rem 0;
    }

    .faq-container {
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }

    .faq-cta {
        padding: 2rem 1rem;
    }

    .faq-cta h3 {
        font-size: 1.5rem;
    }

    .faq-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .faq-question h3 {
        font-size: 0.9rem;
    }

    .faq-toggle {
        font-size: 1.2rem;
    }
}

/* Animation for FAQ items */
.faq-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }
.faq-item:nth-child(9) { animation-delay: 0.9s; }
.faq-item:nth-child(10) { animation-delay: 1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility improvements for FAQ */
.faq-question:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

.faq-question:focus h3 {
    color: var(--gold-color);
}

/* Print styles for FAQ */
@media print {
    .faq-item {
        break-inside: avoid;
        border: 1px solid #ccc;
    }

    .faq-answer {
        max-height: none;
        padding: 1rem;
    }

    .faq-cta {
        display: none;
    }
}
