/* ================= FAQ PAGE STYLES (Wide Grid) ================= */

/* Wrapper */
.f-faq-wrapper {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--theme-palette-color-3);
    background-color: var(--theme-palette-color-7);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 
   WIDE LAYOUT: 1600px width + 90% fluid width
   Ensures it looks good on huge screens
*/
.f-container {
    max-width: 1600px;
    width: 90%; 
    margin: 0 auto;
}

.f-text-center { text-align: center; }

/* Hero Section */
.f-page-hero {
    padding: 100px 0 60px;
    background-color: var(--theme-palette-color-7);
    border-bottom: 1px solid var(--theme-palette-color-5);
}

.f-page-hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--theme-palette-color-1);
    margin-bottom: 20px;
}

.f-highlight { color: var(--theme-palette-color-2); }

.f-subtitle {
    font-size: 1.3rem;
    color: var(--theme-palette-color-3);
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Body */
.f-faq-body {
    padding: 80px 0;
    background-color: #ffffff; /* Contrast bg */
}

/* Category Titles */
.f-cat-title {
    font-size: 1.8rem;
    color: var(--theme-palette-color-1);
    margin: 60px 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--theme-palette-color-5);
    font-weight: 800;
    grid-column: 1 / -1; /* Ensure title spans full width */
}
/* First title fix */
.f-cat-title:first-child { margin-top: 0; }

/* 
   GRID LAYOUT FOR QUESTIONS
   This creates the 2-column layout on desktop
*/
.f-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 25px; /* Spacing between cards */
}

/* Accordion Styling */
.f-accordion {
    background: var(--theme-palette-color-7); /* Light bg for cards */
    border: 1px solid var(--theme-palette-color-5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    height: fit-content; /* Important for grid alignment */
}

.f-accordion:hover {
    border-color: var(--theme-palette-color-2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.f-accordion[open] {
    border-color: var(--theme-palette-color-1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background: #ffffff; /* Highlight open item */
}

.f-accordion-header {
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--theme-palette-color-4);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-accordion-header::-webkit-details-marker { display: none; }

.f-icon-plus {
    font-size: 1.5rem;
    color: var(--theme-palette-color-2);
    margin-left: 15px;
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon squishing */
}

.f-accordion[open] .f-icon-plus {
    transform: rotate(45deg);
    color: var(--theme-palette-color-1);
}

.f-accordion-content {
    padding: 0 25px 25px 25px;
    color: var(--theme-palette-color-3);
    font-size: 1.05rem;
    line-height: 1.7;
    border-top: 1px solid transparent; 
}

/* Animation */
.f-accordion[open] .f-accordion-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA Section */
.f-help-cta {
    padding: 80px 0;
    background: var(--theme-palette-color-7);
    border-top: 1px solid var(--theme-palette-color-5);
}
.f-help-cta h3 {
    font-size: 2rem;
    color: var(--theme-palette-color-1);
    margin-bottom: 10px;
}
.f-help-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.f-btn-solid {
    display: inline-block;
    background-color: var(--theme-palette-color-1);
    color: #ffffff;
    padding: 18px 45px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 1.1rem;
}
.f-btn-solid:hover {
    background-color: var(--theme-palette-color-2);
	  color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    /* Stack grid on tablets/mobile */
    .f-faq-grid {
        grid-template-columns: 1fr; 
    }
    
    .f-page-hero h1 { font-size: 2.5rem; }
    .f-container { padding: 0 20px; width: 100%; box-sizing: border-box;}
}
