/* FAQ Page Styling */

.faq-page {
    padding: 3rem 0 5rem;
    background: #f9fafb;
}

.faq-page .container {
    max-width: 900px;
}

.faq-page h1 {
    font-size: 3rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-intro {
    text-align: center;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 4rem;
}

/* Category Sections */
.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.75rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

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

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

.faq-question:hover {
    color: #2563eb;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    color: #2563eb;
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.faq-answer p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
}

.faq-answer a {
    color: #2563eb;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.faq-cta {
    margin-top: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 1rem;
    text-align: center;
    color: white;
}

.faq-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-contact {
    display: inline-block;
    background: white;
    color: #2563eb;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-page h1 {
        font-size: 2rem;
    }

    .faq-category h2 {
        font-size: 1.5rem;
    }

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

    .faq-cta {
        padding: 2rem 1.5rem;
    }

    .faq-cta h2 {
        font-size: 1.5rem;
    }
}