/* FAQs page */

.fq-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    padding: 48px 24px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../images/about/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.fq-hero-inner {
    max-width: 720px;
    width: 100%;
}

.fq-hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 18px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background-color: #da090e;
    border-radius: 999px;
}

.fq-hero h1 {
    margin: 0 0 12px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 38px;
    font-weight: 600;
    color: #ffffff;
}

.fq-hero p {
    margin: 0 0 24px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.fq-search {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 15px;
    color: #101010;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
}

.fq-search::placeholder {
    color: #9ca3af;
}

/* Main layout */
.fq-main {
    padding: 48px 0 64px;
    background-color: #ffffff;
}

.fq-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

/* Sidebar */
.fq-sidebar {
    flex: 0 0 260px;
    width: 260px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.fq-sidebar-title {
    padding: 14px 20px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #da090e;
}

.fq-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fq-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #374151 !important;
    background-color: #ffffff !important;
    border: none;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.fq-cat-item svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #374151;
}

.fq-cat-item.is-active {
    font-weight: 700;
    color: #da090e !important;
    background-color: #fff5f4 !important;
    border-left-color: #da090e;
}

.fq-cat-item.is-active svg {
    color: #da090e;
}

.fq-sidebar-help {
    padding: 20px;
    text-align: center;
    background-color: #f9fafb;
}

.fq-sidebar-help p {
    margin: 0 0 6px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 14px;
    color: #6b7280;
}

.fq-sidebar-help .fq-phone {
    display: block;
    margin-bottom: 14px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #da090e;
    text-decoration: none;
}

.fq-email-btn {
    display: block;
    width: 100%;
    padding: 11px 0;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background-color: #da090e;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

/* Category cards */
.fq-content {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.fq-category {
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.fq-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
}

.fq-category-header svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: #101010;
}

.fq-category-header h2 {
    flex: 1 1 auto;
    margin: 0;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #101010;
}

.fq-count {
    flex: 0 0 auto;
    padding: 4px 12px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #da090e;
    background-color: #fdeceb;
    border-radius: 999px;
}

.fq-item {
    border-top: 1px solid #f0f0f0;
}

.fq-item-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 24px;
    background-color: #ffffff !important;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #1f2937 !important;
}

.fq-toggle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #374151;
}

.fq-toggle svg {
    width: 16px;
    height: 16px;
}

.fq-toggle .fq-icon-minus {
    display: none;
}

.fq-item.is-open .fq-toggle .fq-icon-plus {
    display: none;
}

.fq-item.is-open .fq-toggle .fq-icon-minus {
    display: block;
}

.fq-item.is-open .fq-toggle {
    background-color: #da090e;
    color: #ffffff;
}

.fq-item-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 24px;
}

.fq-item-a p {
    margin: 0 0 18px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
    padding-right: 50px;
}

.fq-item.is-open .fq-item-a {
    max-height: 400px;
}

/* Bottom CTA */
.fq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 32px;
    background-color: #171717;
    border-radius: 10px;
}

.fq-cta h3 {
    margin: 0 0 6px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.fq-cta p {
    margin: 0;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 15px;
    color: #9ca3af;
}

.fq-cta-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.fq-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.fq-btn svg {
    width: 16px;
    height: 16px;
}

.fq-btn-primary {
    color: #ffffff;
    background-color: #da090e;
}

.fq-btn-secondary {
    color: #101010;
    background-color: #ffffff;
}

.fq-no-results {
    display: none;
    padding: 40px 24px;
    text-align: center;
    font-family: 'Poppins', Rubik, Arial, sans-serif;
    font-size: 16px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 991px) {
    .fq-row {
        flex-direction: column;
    }

    .fq-sidebar {
        flex: 1 1 100%;
        width: 100%;
    }

    .fq-hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .fq-hero {
        min-height: 300px;
        padding: 36px 20px;
    }

    .fq-hero h1 {
        font-size: 24px;
    }

    .fq-hero p {
        font-size: 14px;
    }

    .fq-category-header {
        padding: 16px 18px;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .fq-category-header h2 {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 16px;
    }

    .fq-count {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .fq-item-q {
        padding: 14px 18px;
        font-size: 14px;
    }

    .fq-item-a {
        padding: 0 18px;
    }

    .fq-item-a p {
        padding-right: 0;
    }

    .fq-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .fq-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .fq-btn {
        justify-content: center;
        white-space: normal;
    }
}
