.owl__services .owl-stage {
    margin: 15px 0;
    display: flex;
    display: -webkit-flex;
}

.owl__services .item {
    margin: 0 15px 60px;
    width: 340px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    cursor: pointer;
    border-radius: var(--b-radius-m);
    -webkit-box-shadow: -1px 3px 8px -1px rgba(var(--c-neutral-darkest), 0.15);
    box-shadow: -1px 3px 8px -1px rgba(var(--c-neutral-darkest), 0.15);
}

.owl__services .item.active {
    width: 500px;
    -webkit-box-shadow: -1px 3px 8px -1px rgba(var(--c-neutral-darkest), 0.15);
    box-shadow: -1px 3px 8px -1px rgba(var(--c-neutral-darkest), 0.15);
}

.owl__services .item:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-color: rgb(var(--c-neutral-lightest));
}

.owl__services .item.active:after {
    background: transparent;
}

.owl__services .item-desc {
    padding: 0 24px 12px;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    bottom: 0;
    overflow: hidden;
    text-align: center;
    padding: 1rem;
}

.owl__services .item.active .item-desc {
    background-color: rgba(var(--c-neutral-darkest), 0.5);
}

.owl__services .owl__text .headline {
    font-size: var(--f-size-l-3);
    color: rgb(var(--c-primary));
    margin-bottom: 2.5rem;
}

.owl__services .owl-theme.custom-carousel .owl-dots {
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.owl__services .owl__icon {
    color: rgb(var(--c-primary));
    font-size: 80px;
    display: block;
    height: 130px;
    margin-bottom: 1rem;
}

.owl__services .item.active .owl__text .headline {
    color: rgb(var(--c-neutral-lightest));
}

.owl__services .item.active .owl__icon {
    color: rgb(var(--c-neutral-lightest));
}

/******** Middle section CSS End *******/

/***** responsive css Start ******/

@media (min-width: 992px) and (max-width: 1199px) {

    /* -------- Landing page ------- */
    .owl__services .item {
        margin: 0 12px 60px;
        width: 260px;
        height: 360px;
    }

    .owl__services .item.active {
        width: 400px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    /* -------- Landing page ------- */
    .owl__services .item {
        margin: 0 12px 60px;
        width: 240px;
        height: 330px;
    }

    .owl__services .item.active {
        width: 360px;
    }
}

@media (max-width: 767px) {

    /* -------- Landing page ------- */
    .owl__services .item {
        margin: 0 10px 40px;
        width: 200px;
        height: 280px;
    }

    .owl__services .item.active {
        width: 270px;
    }

    .owl__services .item-desc {
        padding: 0 14px -5px;
    }

    .owl__services .owl__icon {
        font-size: 60px;
        height: 100px;
    }
}