/*=========================================
            FAQ STYLES - SOULFRESH
=========================================*/

/* ----------------------------------------
   1. HOMEPAGE FAQ SECTION (PRESERVED)
---------------------------------------- */
.faq-section {
    padding: 90px 0;
    background: #ffffff;
}

.faq-section .accordion-item {
    border: 1px solid #eef2eb;
    margin-bottom: 18px;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-section .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.08);
}

.faq-section .accordion-button {
    background: #ffffff;
    font-size: 17px;
    font-weight: 600;
    padding: 20px 24px;
    color: #1e293b;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #2E7D32;
    color: #ffffff;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-body {
    font-size: 15.5px;
    line-height: 1.75;
    color: #555555;
    padding: 22px 24px;
    background: #ffffff;
}

/* ----------------------------------------
   2. DEDICATED FAQ PAGE - HERO & BREADCRUMB
---------------------------------------- */
.faq-page-wrapper {
    background-color: #f8faf7;
    min-height: 70vh;
    padding-bottom: 80px;
}

.faq-hero {
    position: relative;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #388e3c 100%);
    color: #ffffff;
    padding: 55px 0 65px;
    overflow: hidden;
    margin-bottom: 40px;
}

.faq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.faq-hero .breadcrumb {
    margin-bottom: 14px;
    background: transparent;
    padding: 0;
}

.faq-hero .breadcrumb-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.faq-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.faq-hero .breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.faq-hero .breadcrumb-item.active {
    color: #c8e6c9;
    font-weight: 500;
}

.faq-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.faq-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e8f5e9;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.faq-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.25;
    font-family: 'Poppins', sans-serif;
}

.faq-hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 780px;
    margin: 0 auto 28px;
}

/* ----------------------------------------
   3. SEARCH BOX
---------------------------------------- */
.faq-search-box-container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.faq-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 6px 8px 6px 20px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.faq-search-input-group:focus-within {
    box-shadow: 0 12px 35px rgba(27, 94, 32, 0.25);
    transform: translateY(-2px);
}

.faq-search-icon {
    color: #2e7d32;
    font-size: 18px;
    margin-right: 12px;
}

.faq-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15.5px;
    color: #222222;
    padding: 10px 0;
}

.faq-search-input::placeholder {
    color: #888888;
    font-size: 15px;
}

.faq-search-clear {
    background: none;
    border: none;
    color: #999999;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 12px;
    display: none;
    transition: color 0.2s;
}

.faq-search-clear:hover {
    color: #dc3545;
}

.faq-search-count-badge {
    margin-top: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* ----------------------------------------
   4. CATEGORY FILTER TABS / PILLS
---------------------------------------- */
.faq-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 45px;
}

.faq-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #dce4d8;
    color: #333333;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-cat-btn i {
    font-size: 15px;
    color: #2e7d32;
    transition: color 0.25s ease;
}

.faq-cat-btn .badge-pill-count {
    background: #edf4ec;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.faq-cat-btn:hover {
    background: #f1f8f0;
    border-color: #a5d6a7;
    color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.12);
}

.faq-cat-btn.active {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.faq-cat-btn.active i {
    color: #ffffff;
}

.faq-cat-btn.active .badge-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ----------------------------------------
   5. CATEGORY SECTIONS & ACCORDION CARDS
---------------------------------------- */
.faq-category-block {
    margin-bottom: 45px;
    transition: opacity 0.3s ease;
}

.faq-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2ede0;
}

.faq-category-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.1);
}

.faq-category-title {
    font-size: 22px;
    font-weight: 700;
    color: #1b5e20;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.faq-category-count {
    font-size: 13px;
    font-weight: 600;
    color: #666666;
    background: #eef3eb;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Dedicated Accordion Style */
.faq-dedicated-accordion .accordion-item {
    border: 1px solid #e4ece1;
    margin-bottom: 14px;
    border-radius: 14px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.faq-dedicated-accordion .accordion-item:hover {
    border-color: #a5d6a7;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.08);
    transform: translateY(-2px);
}

.faq-dedicated-accordion .accordion-button {
    background: #ffffff;
    font-size: 16.5px;
    font-weight: 600;
    padding: 18px 24px;
    color: #1f2937;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-q-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: #f1f8f0;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.faq-dedicated-accordion .accordion-button:not(.collapsed) {
    background: #2e7d32;
    color: #ffffff;
    box-shadow: none;
}

.faq-dedicated-accordion .accordion-button:not(.collapsed) .faq-q-number {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.faq-dedicated-accordion .accordion-button::after {
    background-size: 14px;
    transition: transform 0.25s ease;
    filter: grayscale(100%) opacity(0.7);
}

.faq-dedicated-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
    transform: rotate(-180deg);
}

.faq-dedicated-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-dedicated-accordion .accordion-body {
    font-size: 15.5px;
    line-height: 1.75;
    color: #4a5568;
    padding: 20px 24px 24px 66px;
    background: #fcfdfc;
    border-top: 1px solid #edf4ec;
}

/* ----------------------------------------
   6. NO RESULTS STATE
---------------------------------------- */
.faq-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #c8e6c9;
    margin: 30px 0;
}

.faq-no-results-icon {
    font-size: 54px;
    color: #81c784;
    margin-bottom: 16px;
}

.faq-no-results h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 8px;
}

.faq-no-results p {
    font-size: 15px;
    color: #666666;
    max-width: 480px;
    margin: 0 auto 20px;
}

/* ----------------------------------------
   7. CTA SECTION
---------------------------------------- */
.faq-cta-box {
    background: #ffffff;
    border: 1px solid #dce8da;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.06);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.faq-cta-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b5e20, #8bc34a, #1b5e20);
}

.faq-cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.faq-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.faq-cta-subtitle {
    font-size: 16px;
    color: #555555;
    max-width: 600px;
    margin: 0 auto 28px;
}

.faq-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn-faq-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-faq-contact {
    background: #2e7d32;
    color: #ffffff;
    border: 2px solid #2e7d32;
}

.btn-faq-contact:hover {
    background: #1b5e20;
    border-color: #1b5e20;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(27, 94, 32, 0.3);
}

.btn-faq-stall {
    background: #f9a825;
    color: #1c1c1c;
    border: 2px solid #f9a825;
}

.btn-faq-stall:hover {
    background: #f57f17;
    border-color: #f57f17;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 168, 37, 0.35);
}

.btn-faq-promo {
    background: #ffffff;
    color: #2e7d32;
    border: 2px solid #2e7d32;
}

.btn-faq-promo:hover {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.15);
}

/* ----------------------------------------
   8. RESPONSIVE DESIGN
---------------------------------------- */
@media (max-width: 991px) {
    .faq-hero-title {
        font-size: 34px;
    }
    
    .faq-hero-subtitle {
        font-size: 15.5px;
    }

    .faq-dedicated-accordion .accordion-body {
        padding-left: 24px;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 40px 0 50px;
        margin-bottom: 30px;
    }

    .faq-hero-title {
        font-size: 28px;
    }

    .faq-hero-subtitle {
        font-size: 14.5px;
        margin-bottom: 22px;
    }

    .faq-category-pills {
        gap: 8px;
        margin-bottom: 30px;
    }

    .faq-cat-btn {
        padding: 8px 14px;
        font-size: 13.5px;
    }

    .faq-category-header {
        margin-bottom: 14px;
    }

    .faq-category-title {
        font-size: 19px;
    }

    .faq-category-icon-box {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .faq-dedicated-accordion .accordion-button {
        font-size: 15px;
        padding: 15px 18px;
    }

    .faq-q-number {
        min-width: 24px;
        height: 24px;
        font-size: 12px;
        margin-right: 10px;
    }

    .faq-dedicated-accordion .accordion-body {
        font-size: 14px;
        padding: 16px 18px;
        line-height: 1.65;
    }

    .faq-cta-box {
        padding: 30px 20px;
        margin-top: 35px;
    }

    .faq-cta-title {
        font-size: 23px;
    }

    .faq-cta-subtitle {
        font-size: 14.5px;
        margin-bottom: 22px;
    }

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

    .btn-faq-cta {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-hero-title {
        font-size: 24px;
    }

    .faq-badge-pill {
        font-size: 12px;
        padding: 4px 12px;
    }

    .faq-search-input {
        font-size: 14px;
    }
}