/* ========== FAQ Section - All FAQs (Exact Design Match) ========== */

/* Main Section */
.all-faq-section {
    position: relative;
    width: 100%;
    padding: 81px 0 94px;
    background: #FAFAFA;
}

.all-faq-section .faq-wrap {
    width: 100%;
    background: var(--theme-color-primary);
    border-radius: 20px;
    padding: 105px 138px 115px;
}

.all-faq-section .faq-wrap .mobile_title {
    position: relative;
    width: 100%;
    display: none;
}

/* Section Title - LARGER AND BOLDER */
.all-faq-section .faq-main-title {
    width: 100%;
    margin-bottom: 56px;
    font-size: 34px;
    color: #4A4A4A;
    line-height: 1.2647;
    font-weight: normal;
    text-align: center;
}

/* Search and Filter Bar */
.all-faq-section .faq-filters {
    position: relative;
    display: flex;
    margin: 0 0 75px;
    column-gap: 16px;
    justify-content: center;
    align-items: center;
}

/* Search Box - REDESIGNED */
.all-faq-section .faq-search {
    display: flex;
    gap: 0;
    padding: 10px 16px;
    max-width: 550px;
    background: #FFFFFF;
    border-radius: 50px;
    overflow: hidden;
    border: solid 1px #707070;
    box-shadow: 0 0 15px rgba(21, 79, 128, 0.05);
}

.all-faq-section .faq-search-input {
    flex: 1;
    height: 42px;
    padding: 0 11px;
    border: none;
    border-radius: 0;
    background: #FFFFFF;
    color: #707070;
    font-family: "Quicksand";
    font-size: 20px;
    font-weight: normal;
}

.all-faq-section .faq-search-input::placeholder {
    color: #999999;
}

.all-faq-section .faq-search-input:focus {
    outline: none;
}

.all-faq-section .faq-search-btn {
    width: 245px;
    height: 42px;
    background: linear-gradient(to right, #307ebf, #bbcf00 197%);
    border: none;
    border-radius: 47px;
    color: #FFFFFF;
    font-family: "Quicksand";
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.all-faq-section .faq-search-btn:hover {
    background: #bbcf00;
}

/* Category Filter Tabs - UPDATED DESIGN */
.all-faq-section .faq-category-tabs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

.all-faq-section .faq-cat-btn {
    min-width: 140px;
    height: 50px;
    padding: 0 19px;
    border-radius: 47px;
    font-family: "Quicksand";
    font-size: 20px;
    color: #707070;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: solid 1px #707070;
    transition: all 0.3s ease-in-out;
}

.all-faq-section .faq-cat-btn:hover {
    background: #E3DBF4;
    border-color: #E3DBF4;
}

.all-faq-section .faq-cat-btn.active {
    background: #B6A7DE;
    border-color: #B6A7DE;
    color: #FFFFFF;
}

/* FAQ List */
.all-faq-section .faq-list-acc {
    max-width: 1088px;
    margin: 0 auto;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.all-faq-section .faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}


.all-faq-section .faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.all-faq-section .faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    cursor: pointer;
    transition: padding 0.3s ease-in-out;
}

.all-faq-section .faq-header .faq-title {
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
    transition: font-size 0.3s ease-in-out;
    line-height: 25px;
}

.all-faq-section .faq-header .faq-icon {
    color: #FFFFFF;
    transition: all 0.3s ease-in-out;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.all-faq-section .faq-header.active {
    padding-top: 30px;
    padding-bottom: 35px;
}

.all-faq-section .faq-header.active .faq-title {
    font-size: 27px;
}

.all-faq-section .faq-header.active .faq-icon { margin-top: -50px; }

.all-faq-section .faq-body {
    display: none;
    padding: 0 40px 72px;
}

.all-faq-section .faq-body p {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.6;
}

.all-faq-section .faq-body p strong {
    font-weight: 700;
}

/* Hidden Items */
.all-faq-section .faq-item.hidden {
    display: none;
}

.all-faq-section .faq-item.filtered-out {
    display: none;
}

/* No Results Message */
.all-faq-section .no-results-message,
.all-faq-section .no-faqs-found {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

/* Load More Section - REDESIGNED TO MATCH */
.all-faq-section .faq-load-more {
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 80px;
    flex-direction: column;
}

.all-faq-section .faq-btn-load {
    padding: 8px 20px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    border: none;
    background: none;
}

.all-faq-section .faq-btn-load:hover {
    text-decoration: underline !important;
    text-underline-offset: 5px;
    font-weight: 600;
}


.all-faq-section .faq-btn-load.hidden {
    display: none;
}

/* Counter Text - REDESIGNED */
.all-faq-section .faq-count-text {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 16px 0 0;
    font-weight: 400;
}

/* Responsive */
@media (min-width: 1440px) and (max-width: 1560px) {
    .all-faq-section .faq-wrap {
        padding: 62px 80px 81px;
    }
    
    .all-faq-section .faq-main-title {
        font-size: 56px;
    }
}

@media (min-width: 1231px) and (max-width: 1439px) {
    .all-faq-section .faq-wrap {
        padding: 40px 42px;
    }
    
    .all-faq-section .faq-main-title { font-size: 52px; }
    .all-faq-section .faq-filters { margin-bottom: 60px; }
    .all-faq-section .faq-search-btn { width: 220px; }
    .all-faq-section .faq-cat-btn { font-size: 18px; }
}

@media (min-width: 992px) and (max-width: 1230px) {
    .all-faq-section .faq-wrap {
        padding: 40px 42px;
    }
    
    .all-faq-section .faq-main-title {
        font-size: 48px;
    }

    .all-faq-section { padding-top: 70px; }

    .all-faq-section .faq-filters { flex-direction: column; row-gap: 25px; }
    .all-faq-section .faq-cat-btn { font-size: 16px; }

}

@media (min-width: 768px) and (max-width: 991px) {
    .all-faq-section {
        padding: 60px 0 50px 0;
    }
    
    .all-faq-section .faq-wrap {
        padding: 58px 30px 80px;
    }
    
    .all-faq-section .faq-main-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .all-faq-section .faq-wrap .mobile_title { display: flex; margin-bottom: 57px; }
    .all-faq-section .faq-wrap .mobile_title h3 { font-size: 24px; color: #fff; font-weight: 500; }

    .all-faq-section .faq-header.active .faq-icon { margin-top: 0; }
    
    .all-faq-section .faq-search {
        max-width: 100%;
    }
    
    .all-faq-section .faq-search-input {
        padding: 0 24px;
    }
    
    .all-faq-section .faq-search-btn {
        padding: 0 28px;
    }
    
    .all-faq-section .faq-category-tabs {
        gap: 10px;
    }
    
    .all-faq-section .faq-cat-btn {
        padding: 0 24px;
        font-size: 16px;
    }
    
    .all-faq-section .faq-header,
    .all-faq-section .faq-header.active {
        padding: 10px 11px;
    }
    
    .all-faq-section .faq-header .faq-title,
    .all-faq-section .faq-header.active .faq-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    .all-faq-section .faq-body {
        padding: 26px 26px 47px;
    }

    .all-faq-section .faq-filters { flex-direction: column; row-gap: 25px;margin-bottom: 50px; }

    .all-faq-section .faq-load-more { display: none; }
}

@media (max-width: 767px) {
    .all-faq-section {
        padding: 62px 0 0 0;
    }
    
    .all-faq-section .container {
        padding: 0;
    }
    
    .all-faq-section .faq-wrap {
        padding: 58px 27px 81px;
        border-radius: 0;
    }

    .all-faq-section .faq-wrap .mobile_title { display: flex; margin-bottom: 57px; }
    .all-faq-section .faq-wrap .mobile_title h3 { font-size: 24px; color: #fff; font-weight: 500; }
    
    .all-faq-section .faq-main-title {
        margin-bottom: 40px;
    }

    .all-faq-section .faq-header.active .faq-icon { margin-top: -20px; }

    .all-faq-section .faq-filters { flex-direction: column; row-gap: 55px; margin-bottom: 70px; }
    
    .all-faq-section .faq-search {
        padding: 0 0;
        max-width: 100%;
        flex-direction: column;
        border: none;
        box-shadow: none;
        border-radius: 0;
        row-gap: 17px;
        align-items: center;
    }
    
    .all-faq-section .faq-search-input {
        min-width: 336px;
        height: 62px;
        padding: 0 37px;
        background: #fff;
        border: solid 1px #707070;
        border-radius: 31px;
        flex: auto;
    }
    
    .all-faq-section .faq-search-btn {
        padding: 0 24px;
    }
    
    .all-faq-section .faq-category-tabs {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .all-faq-section .faq-cat-btn {
        min-width: 245px;
        max-width: 245px;
        height: 42px;
        padding: 0 20px;
        font-size: 16px;
    }
    
    .all-faq-section .faq-header,
    .all-faq-section .faq-header.active {
        padding: 10px 11px;
    }
    
    .all-faq-section .faq-header .faq-title,
    .all-faq-section .faq-header.active .faq-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .all-faq-section .faq-body {
        padding: 26px 20px 47px;
    }
    
    .all-faq-section .faq-btn-load {
        padding: 14px 40px;
        font-size: 16px;
    }

    .all-faq-section .faq-load-more { display: none; }
}
