.banners-wrapper {
    display: flex;
    justify-content: space-between;
}

.tabs-list {
    display: flex;
    flex-direction: column;
    background-color: #F3F8FF;
    padding: 35px;
    gap: 27px;
    min-width: 270px;
    border-radius: 20px;
    list-style: none;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    align-self: flex-start;
}

.tab-item {
    cursor: pointer;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    position: relative;
    padding-left: 30px;
    transition:
        color 0.5s ease,
        transform 0.5s ease;
}

.tab-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    width: 20px;
    height: 20px;
    background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23E70491' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'><polyline points='9 18 15 12 9 6'/></svg>");
    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}

.tab-item.is-active {
    color: #E70491;
    transform: scale(1.05);
}

.tab-item.is-active::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.banners-content {
    position: relative;
    min-height: 1px;
}

.banner-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: scale(0.98) translateY(10px);
    transition: transform 0.5s ease;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

.banner-panel.is-active {
    transform: scale(1) translateY(0);
    visibility: visible;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    opacity: 1;
}

.banner-image img {
    width: 100%;
    margin-bottom: 28px;
}

.banner-heading {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
    color: #001B2F !important;
    margin-bottom: 28px;
}

.banner-text {
    max-width: 760px;
}



@media only screen and (max-width: 768px) {

    .banners-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .tabs-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        gap: 15px;
        min-width: unset;
        border-radius: 15px;
        font-size: 14px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .tab-item {
        padding: 10px 15px;
        font-size: 14px !important;
        line-height: 1.4 !important;
        padding-left: 15px;
    }

    .tab-item::before {
        display: none;
    }

    .banners-content {
        position: relative;
    }

    .banner-panel {
        opacity: 0;
        transform: scale(0.98);
        transition: opacity 0.4s ease, transform 0.4s ease;
        display: none;
    }

    .banner-panel.is-active {
        opacity: 1;
        transform: scale(1);
        display: block;
    }

    .banner-image img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .banner-heading {
        font-size: 18px !important;
        text-align: center;
        margin-bottom: 20px;
    }

    .banner-text {
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }


    .tabs-list {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 15px;
}
    .tab-item {
        white-space: nowrap;
    }
}