﻿/* =========================================
   BUSINESSMARKET.PK
   FAQ'S
   ========================================= */

.bm-faq {
    width: 100%;
    padding: 80px 20px;
    background: #f7f9fc;
    color: #17212b;
    font-family: Arial, Helvetica, sans-serif;
}

.bm-faq *,
.bm-faq *::before,
.bm-faq *::after {
    box-sizing: border-box;
}

.bm-faq-container {
    max-width: 1000px;
    margin: 0 auto;
}


/* =========================================
   HEADER
   ========================================= */

.bm-faq-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.bm-faq-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #1d6f42;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.bm-faq-header h1 {
    margin: 0 0 15px;
    font-size: 40px;
    line-height: 1.2;
}

.bm-faq-header p {
    margin: 0;
    color: #68737e;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   SEARCH
   ========================================= */

.bm-faq-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    margin-bottom: 25px;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(23, 33, 43, 0.05);
}

.bm-faq-search input {
    flex: 1;
    height: 45px;
    padding: 0 14px;
    border: 0;
    outline: none;
    background: transparent;
    color: #17212b;
    font-size: 14px;
}

.bm-faq-search button {
    min-width: 105px;
    height: 45px;
    border: 0;
    border-radius: 6px;
    background: #1d6f42;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.bm-faq-search button:hover {
    background: #258653;
}


/* =========================================
   FILTER CATEGORIES
   ========================================= */

.bm-faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.bm-faq-filter {
    padding: 9px 14px;
    border: 1px solid #dfe5e9;
    border-radius: 5px;
    background: #ffffff;
    color: #68737e;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s ease;
}

.bm-faq-filter:hover,
.bm-faq-filter.active {
    border-color: #1d6f42;
    background: #1d6f42;
    color: #ffffff;
}


/* =========================================
   FAQ LIST
   ========================================= */

.bm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-faq-item {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 8px;
    transition: 0.2s ease;
}

.bm-faq-item:hover {
    border-color: #c9d9d0;
}

.bm-faq-item.active {
    border-color: #1d6f42;
}


/* Question */

.bm-faq-question {
    width: 100%;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 20px;
    border: 0;
    background: #ffffff;
    color: #17212b;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
}

.bm-faq-question span {
    line-height: 1.5;
}

.bm-faq-question b {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf4ee;
    color: #1d6f42;
    font-size: 19px;
    font-weight: 400;
}


/* Answer */

.bm-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
}

.bm-faq-item.active .bm-faq-answer {
    padding: 0 20px 20px;
}

.bm-faq-answer p {
    margin: 0;
    padding-top: 3px;
    color: #68737e;
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================
   NO RESULTS
   ========================================= */

.bm-faq-no-results {
    display: none;
    margin-top: 20px;
    padding: 50px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
}

.bm-faq-no-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eaf4ee;
    color: #1d6f42;
    font-size: 22px;
    font-weight: 700;
}

.bm-faq-no-results h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.bm-faq-no-results p {
    margin: 0;
    color: #68737e;
    font-size: 13px;
}


/* =========================================
   SUPPORT CTA
   ========================================= */

.bm-faq-support {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    margin-top: 45px;
    border-radius: 12px;
    background: #17212b;
    color: #ffffff;
}

.bm-faq-support-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1d6f42;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
}

.bm-faq-support-content {
    flex: 1;
}

.bm-faq-support-content > span {
    color: #7bc69c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.bm-faq-support-content h2 {
    margin: 6px 0 7px;
    font-size: 22px;
}

.bm-faq-support-content p {
    margin: 0;
    color: #c7d0d7;
    font-size: 13px;
    line-height: 1.7;
}

.bm-faq-support-btn {
    min-width: 145px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 5px;
    background: #1d6f42;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.bm-faq-support-btn:hover {
    background: #258653;
}


/* =========================================
   FINAL CTA
   ========================================= */

.bm-faq-final {
    margin-top: 25px;
    padding: 45px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 12px;
}

.bm-faq-final h2 {
    margin: 0 0 10px;
    font-size: 27px;
}

.bm-faq-final p {
    margin: 0 0 22px;
    color: #68737e;
    font-size: 14px;
}

.bm-faq-final a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    height: 43px;
    padding: 0 20px;
    border-radius: 5px;
    background: #1d6f42;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.bm-faq-final a:hover {
    background: #258653;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 700px) {

    .bm-faq {
        padding: 60px 15px;
    }

    .bm-faq-header h1 {
        font-size: 32px;
    }

    .bm-faq-header p {
        font-size: 14px;
    }

    .bm-faq-categories {
        justify-content: flex-start;
    }

    .bm-faq-support {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 28px 22px;
    }

    .bm-faq-support-content {
        width: calc(100% - 80px);
        flex: none;
    }

    .bm-faq-support-btn {
        width: 100%;
    }
}


@media (max-width: 450px) {

    .bm-faq-header h1 {
        font-size: 27px;
    }

    .bm-faq-search {
        display: block;
        padding: 8px;
    }

    .bm-faq-search input {
        width: 100%;
        margin-bottom: 7px;
    }

    .bm-faq-search button {
        width: 100%;
    }

    .bm-faq-question {
        min-height: 60px;
        padding: 15px;
        font-size: 13px;
    }

    .bm-faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .bm-faq-item.active .bm-faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .bm-faq-support {
        display: block;
    }

    .bm-faq-support-icon {
        margin-bottom: 18px;
    }

    .bm-faq-support-content {
        width: 100%;
        margin-bottom: 20px;
    }

    .bm-faq-final h2 {
        font-size: 23px;
    }
}
