/* --- FAQ Page Specific Styles --- */

/* Page Hero Overrides/Additions if needed */
.page-hero {
    background: radial-gradient(circle at center, #002699 0%, #000000 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.75rem;
    color: #003366;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

/* FAQ Item */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 1.125rem;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.faq-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #0f172a;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height */
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

/* Action Grid (Navigation Buttons) */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.action-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 51, 102, 0.1);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #94a3b8;
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #334155;
}

.action-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
}

.btn-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-top: auto;
    /* Pushes link to bottom if heights differ */
    display: inline-block;
    transition: transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.action-card:hover .btn-link {
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.75rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
}