.main-container {
    margin: 0 auto;
    max-width: 1280px;
    border: 1px solid #E5E7EB;
    border-radius: 30px;
    padding: 20px;
    background-color: #fff;
}


/* Tabs */
.main-container .tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.main-container .tab {
    position: relative;
    display: inline-flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    border-radius: 18px;
    background: linear-gradient(to bottom, #0042F9, #00B5E2, #A8E665, #EC5AFE, #FFB81C);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 30px;
}

.main-container .tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F2F4F7;
    border-radius: 16px;
    z-index: 1;
    transition: all 0.3s;
}

.main-container .tab.active::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: #F2F4F7;
    border-radius: 16px;
    z-index: 1;
    transition: all 0.3s;
}

.main-container .tab.active::after {
    content: '';
    position: absolute;
    width: 13vw;
    height: 13vw;
    left: -5vw;
    right: -5vw;
    bottom: -40%;
    margin: auto;
    border-radius: 99em;
    background-image: url("https://collabcrm.com/wp-content/themes/hello-elementor-child/img/team-tabs-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.main-container .tab img {
    z-index: 2;
}

.main-container .tab h4 {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: #101828;
    letter-spacing: 0;
    text-transform: initial;
    margin: 10px 0;
    z-index: 2;
}

.devider {
    background: linear-gradient(90deg, rgba(224, 228, 237, 0) 0%, #E8ECF6 50%, rgba(224, 228, 237, 0) 100%);
    padding: 1px;
    display: inline-block;
    border-radius: 8px;
    position: relative;
    z-index: 3;
    margin: 10px 0px;
    width: 100%;
}

/* Content area */
.main-container .tab-content {
    /* display: none; */
    display: flex;
    padding: 40px 0 15px 0;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* min-height: 327px; */
    justify-content: space-between;
}

.main-container .tab-content.active {
    /* display: flex; */
    opacity: 1;
    visibility: visible;
    position: relative;
}

.tabs-content-wrapper {
    overflow: hidden;
    position: relative;
}

/* left side */

.left-side {
    width: 50%;
    padding-left: 40px;
}

.title-box {
    max-width: 500px;
}

.side-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 58px;
    letter-spacing: -2px;
    color: #111111;
    margin-bottom: 50px !important;
}

.link-button {
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0px;
    fill: #111111;
    color: #111111;
    background-color: #F2F4F7;
    transition-duration: 500ms;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #CAD0D9;
    border-radius: 10px 10px 10px 10px;
    padding: 16px 24px;
    text-decoration: none;
}

.link-button:hover {
    color: #fff;
    background-color: #111111;
}

.list-item {
    /* padding: 0px 0px 20px 40px;
    border-bottom: 1px solid rgba(224, 228, 237, 0.65); */
    padding: 30px 0 30px 40px;
    border-top: 1px solid rgba(224, 228, 237, 0.65);
    position: relative;
}

.list-cont {
    padding: 20px 0 0 0;
    /* color: #616161; */
    color: #111111B3;
}

.list-item:first-child {
    /* border-bottom: none; */
    padding: 0px 0 30px 40px;
    border-top: none;
}

.list-item .list-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -1px;
    color: #111111;
    margin: 0;
}

.list-item::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 0;
    background-image: url("https://collabcrm.com/wp-content/themes/hello-elementor-child/img/star.svg");
    background-size: cover;
    background-repeat: no-repeat;
}



/* Image section */
.right-side {
    width: 50%;
}



/* Layout 2  */
.layout-2 .list-item .list-cont {
    padding-top: 0px;
}

.layout-2.left-side {
    width: 45%;
}

.layout-2.right-side {
    width: 55%;
    position: relative;
    padding-right: 40px;
}

.collab-img-slider {
    position: relative;
    overflow: hidden;
    /* max-width: 600px; */
}

.layout-2.icon-list {
    max-width: 470px;
}

.collab-slider-nav {
    display: flex;
    margin: 0 auto;
    background: #F2F4F7;
    border: 1px solid #E5E7EB;
    border-radius: 25px;
    width: max-content;
    justify-content: space-between;
    margin-top: -20px;
    z-index: 10;
    position: relative;
    padding: 10px 10px;
    gap: 15px;
}

.collab-slider-nav .swiper-button-next,
.collab-slider-nav .swiper-button-prev {
    position: initial;
    margin: 0;
    height: 25px;
    width: 30px;
}

/* .collab-slider-nav .prev-btn,
.collab-slider-nav .next-btn {
    width: max-content;
    height: max-content;
    margin-top: 0px !important;
    cursor: pointer;
    font-size: 25px;
    text-align: center;
    margin-bottom: -5px;
} */

.collab-slider-nav svg {
    /* width: 1em; */
    /* height: 1em; */
    position: relative !important;
}

.collab-slider-nav .swiper-button-prev::after {
    content: none !important;
}

.collab-slider-nav .swiper-button-next::after {
    content: none !important;
}

.main-container {
    overflow-x: hidden;
}

/* Tab CSS */

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

    .main-container .tab img {
        display: none;
    }

    .main-container .tabs {
        overflow-x: scroll;
        justify-content: center;
    }

    .main-container .tab {
        flex: unset;
        white-space: nowrap;
        padding: 14px 18px;
        border-radius: 10px;
    }

    .main-container .tab::before {
        border-radius: 8px !important;
    }


    .main-container .tab h4 {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 0px;
    }

    .main-container .tab.active::after {
        content: none;
    }

    .main-container .tab-content {
        min-height: unset;
    }

    .main-container .tab-content.layout-2 {
        padding-top: 0px;
    }

    .main-container .tabs-content-wrapper {
        position: relative;
        overflow: hidden;
    }

    .main-container .side-title {
        font-size: 32px;
        font-weight: 400;
        line-height: 38px;
        letter-spacing: -1px;
    }

    .main-container .left-side {
        padding-left: 0px;
    }

    .collab-slider-nav {
        border-radius: 30px;
        gap: 7px;
        padding: 5px 7px;
    }

    /* 
    .collab-slider-nav .prev-btn,
    .collab-slider-nav .next-btn {
        font-size: 20px;
    } */

    .collab-slider-nav .swiper-button-next,
    .collab-slider-nav .swiper-button-prev {
        height: 25px;
        width: 25px;
    }

    .layout-2.right-side {
        padding-right: 0px;
    }

}

/* Mobile CSS */

@media only screen and (max-width: 767px) {
    .main-container .tabs {
        overflow-x: unset;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .title-box {
        max-width: none;
    }

    .layout-2.icon-list {
        max-width: none;
    }

    .main-container .tab {
        padding: 10px 12px;
    }

    .main-container .tab-content {
        text-align: center;
        flex-direction: column;

    }

    .main-container .left-side {
        padding-left: 0px;
        width: 100%;
    }

    .main-container .right-side {
        width: 100%;
    }

    .main-container .list-item {
        padding: 30px 0 30px 0px;
    }

    .main-container .list-item::before {
        content: none;
    }

    .collab-slider-nav .swiper-button-next,
    .collab-slider-nav .swiper-button-prev {
        height: 20px;
        width: 20px;
    }


}