/* --- GLOBAL UTILS --- */
.section-padding { padding: 100px 20px; }
.hero-container { max-width: 1200px; margin: 0 auto; width: 100%; }

/* --- PAGE HERO BANNER --- */
.page-hero {
    position: relative;
    padding: 180px 20px 140px;
    background: linear-gradient(135deg, #0b2239 0%, #0ca395 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.2;
}
.relative-z { position: relative; z-index: 2; }
.page-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; }
.page-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Angled Divider */
.custom-shape-divider-bottom {
    position: absolute; bottom: -1px; left: 0; width: 100%;
    overflow: hidden; line-height: 0; z-index: 3;
}
.custom-shape-divider-bottom svg { display: block; width: calc(100% + 1.3px); height: 70px; }
.custom-shape-divider-bottom .shape-fill { fill: #ffffff; }

/* --- FAQ SECTION LAYOUT --- */
.faq-section {
    background: #ffffff;
}
.faq-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* --- SIDEBAR --- */
.faq-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 120px; /* Sticks to the top when scrolling */
}

.sidebar-widget {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #eaedf3;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    color: #0b2239;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaedf3;
}

.faq-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-categories li {
    margin-bottom: 8px;
}

.faq-categories a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.faq-categories a i {
    color: #94a3b8;
    font-size: 1.1rem;
    transition: 0.3s;
}

.faq-categories a:hover {
    background: #ffffff;
    color: #0ca395;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.faq-categories a:hover i {
    color: #0ca395;
}

.faq-categories a.active {
    background: #0ca395;
    color: white;
    box-shadow: 0 4px 15px rgba(12, 163, 149, 0.3);
}

.faq-categories a.active i {
    color: white;
}

/* Support Widget */
.support-widget {
    background: linear-gradient(135deg, #0b2239 0%, #1a365d 100%);
    color: white;
    text-align: center;
    padding: 40px 25px;
    border-radius: 12px;
}
.support-widget i {
    font-size: 2.5rem;
    color: #3accdb;
    margin-bottom: 15px;
}
.support-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.support-widget p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.5;
}
.btn-support {
    display: inline-block;
    background: #3accdb;
    color: #0b2239;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-support:hover {
    background: white;
}

/* --- FAQ ACCORDION CONTENT --- */
.faq-content {
    flex-grow: 1;
}

.faq-category-block {
    margin-bottom: 60px;
}
.faq-category-block:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eaedf3;
}

.category-header i {
    font-size: 1.5rem;
    color: #0ca395;
}

.category-header h2 {
    font-size: 1.8rem;
    color: #0b2239;
}

/* Accordion Styling */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid #eaedf3;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2239;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, color 0.3s;
}

.accordion-header:hover {
    background: #f8fafc;
    color: #0ca395;
}

.accordion-header i {
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    color: #0ca395;
    background: #f8fafc;
    border-bottom: 1px solid #eaedf3;
}

.accordion-header.active i {
    transform: rotate(180deg);
    color: #0ca395;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafbfc;
}

.accordion-content p {
    padding: 20px 25px;
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- BOTTOM CTA --- */
.bottom-cta {
    background: #0ca395;
    padding: 80px 20px;
    text-align: center;
    color: white;
    margin: 40px 20px;
    border-radius: 24px;
}
.bottom-cta h2 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 800; }
.bottom-cta p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 35px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-primary-large { display: inline-flex; align-items: center; gap: 10px; padding: 18px 35px; border-radius: 50px; font-size: 1.1rem; font-weight: 700; text-decoration: none; transition: 0.3s; background: white; color: #0ca395; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-primary-large:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .faq-layout {
        flex-direction: column;
    }
    
    .faq-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .sidebar-widget {
        margin-bottom: 20px;
    }

    /* Horizontal scroll for categories on mobile */
    .faq-categories {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 5px;
        scrollbar-width: none;
    }
    
    .faq-categories::-webkit-scrollbar {
        display: none;
    }
    
    .faq-categories li {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
    
    .faq-categories a {
        background: white;
        border: 1px solid #eaedf3;
        border-radius: 50px;
    }

    .support-widget {
        display: none; /* Hide on mobile to save space */
    }
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 2.5rem; }
    .accordion-header { font-size: 1.05rem; padding: 15px 20px; }
    .accordion-content p { padding: 15px 20px; font-size: 0.95rem; }
}