.middle-cta {
    position: relative;
    z-index: 1;
    color: #fff;
}

.middle-cta--homepage {
    margin: 75px 0;
}

.middle-cta-image {
    position: absolute;
    right: 0;
    bottom: 0;
    border-radius: 0 0 20px 20px;
    z-index: 3;
    width: 100%;
    height: auto;
    max-width: 330px;
}

.middle-cta__wrapper {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 40px 20px 211px 20px;
    box-shadow: 0px 0px 10px 5px rgba(255, 114, 41, 0.03);
}

.middle-cta__wrapper:before {
    content: "";
    position: absolute;
    left: -2px;
    top: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(81, 204, 255, 1) 0%, rgba(0, 172, 255, 1) 32%, rgba(0, 141, 221, 1) 68%, rgba(18, 108, 159, 1) 100%);
    z-index: -1;
}

.middle-cta__wrapper:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(70deg, rgba(14, 27, 35, 1) 0%, rgba(12, 7, 4, 1) 100%);

}

.middle-cta__wrapper__text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.middle-cta__wrapper__text .sub-heading:after,
.middle-cta__wrapper__text .sub-heading:before {
    display: none;
}

.middle-cta__wrapper__text .sub-heading {
    color: #D9D9D9;
    padding: 0;
    margin-bottom: 18px;
}

.middle-cta__wrapper__text h2 {
    margin: 0 0 15px;
}

.middle-cta__wrapper__text::before {
    content: '\e923';
    font-family: 'pep-technology';
    position: absolute;
    top: -66px;
    left: 0px;
    font-size: 50px;
    line-height: 1em;
    font-weight: normal;
    color: #FF7229;
    z-index: 3;
}

.middle-cta__wrapper .btn-group {
    gap: 25px 22px;
    justify-content: center;
}

@media( min-width: 600px ) {
    .middle-cta-image {
        max-width: 331px;
    }
}
 
@media(min-width: 768px) {
    .middle-cta__wrapper {
        padding: 65px 31% 72px 58px;
    }

    .middle-cta--homepage {
        margin: 145px 0 120px;
    }

    .middle-cta__wrapper__text {
        text-align: left;
    }

    .middle-cta__wrapper__text .btn {
        margin-top: 8px;
    }

    .middle-cta-image {
        border-radius: 0;
        max-width: 317px;
        height: auto;
    }

    .middle-cta__wrapper__text::before {
        top: -91px;
        left: -40px;
    }

    .middle-cta__wrapper .btn-group {
        gap: 25px 22px;
        justify-content: flex-start;
        max-width: 350px;
    }
}

@media(min-width: 1200px) {
    .middle-cta__wrapper {
        padding: 79px 44% 100px 108px;
    }

    .middle-cta__wrapper__text .sub-heading {
        margin-bottom: 18px;
    }

    .middle-cta__wrapper__text h2 {
        margin: 0 0 12px;
    }

    .middle-cta__wrapper__text .btn {
        margin-top: 5px;
    }

    .middle-cta-image {
        border-radius: 0 20px 20px 0;
        max-width: 648px;
    }

    .middle-cta__wrapper__text::before {
        top: -105px;
        left: -87px;
    }

    .middle-cta--homepage {
        margin: 150px 0 200px;
    }

    .middle-cta--innerpage {
        padding-top: 175px;
    }

    .middle-cta__wrapper .btn-group {
        max-width: 100%;
    }
}