.faqtabsection-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 10px;
    justify-content: center;
}

.tab-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    font-family: var(--body-font-family-semibold);
}

.section.faqtabsection-container {
    max-width: 1248px;
    margin: 0 auto;
}

/* --- Active Tab Button --- */
.tab-btn.active {
    background: linear-gradient(270deg, #E5461C 0%, #EE6F32 100%);
    color: #ffffff;
    /* transform: translateY(-2px); */
    /* box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3); */
    border-color: #ff6b35;
}

.tab-btn span {
    font-size: 14px;
    font-family: var(--body-font-family-semibold);
}

.tab-btn.active:hover {
    background: linear-gradient(135deg, #ff5722 0%, #f57c00 50%, #ff7043 100%);
}


.arrow-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.tab-btn.active .arrow-icon {
    opacity: 1;
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 2;
}

/* scroll bar css */
.faqtabsection-container .accordion-group.block.shade-box {
    overflow-y: auto;
}

.faqtabsection-container .accordion.block.faq-accordion {
    overflow: visible;
}

.faqtabsection-container .accordion-group {
    max-height: 500px;
    /* set max height for scroll */
    overflow-y: auto;
    /* enable vertical scroll */
    padding-right: 23px;
    /* avoid text overlap with scrollbar */
}

/* Custom scrollbar only inside accordion content */
.faqtabsection-container .accordion-group::-webkit-scrollbar {
    width: 6px;
}

.faqtabsection-container .accordion-group::-webkit-scrollbar-track {
    background: rgba(217, 217, 217, 0.4);
    border-radius: 100px;
}

.faqtabsection-container .accordion-group::-webkit-scrollbar-thumb {
    background: rgba(151, 41, 30, 1);
    border-radius: 100px;
}

/* ends*/
.faqtabsection.block>div:nth-child(1) p {
    color: #97291E;
    margin: 0;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -1%;
}


.faqtabsection.block>div:nth-child(2) {
    margin-top: 35px;
    font-weight: 400;
    font-size: 14px;
}


@media (max-width: 820px) {
    .faqtabsection-container .accordion-group {
        max-height: 500px;
        min-width: 400px;
        padding-right: 0;
    }
}

@keyframes tabActivate {
    0% {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    100% {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
    }
}

@media (max-width: 767px) {
    .full-width-section-wrapper{
        margin-bottom: 40px;
    }
    .tab-btn {
        width: auto;
        min-width: max-content;
        padding: 7px 14px;
        font-size: 12px;
    }

    .faqtabsection-container .accordion-group {
        max-height: 100%;
        min-width: 100%;
    }

    .arrow-icon {
        display: none;
    }

    .tab-list {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        scrollbar-width: none;
        padding-bottom: 8px;
    }

    .tab-list::-webkit-scrollbar {
        display: none;
    }

    .faqtabsection.block>div:nth-child(2) {
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 14px;
        font-weight: 400;
        color: #111111B8;
    }

    .faqtabsection.block>div:nth-child(1) p {
        font-size: 22px;
        line-height: 140%;
        color: rgba(17, 17, 17, 1);
    }

    .faqtabsection p:nth-of-type(2) {

        color: yellow;
    }

    .tab-btn span {
        font-size: 12px;
    }

    .faq-accordion.open .faq-title {
        font-size: 14px;
    }

    .faq-question {
        padding: 16px;
        gap: 12px;
    }
}