.cta {
    position: relative;
    z-index: 1;
}

.cta__wrap {
    position: relative;
    border-radius: 10px;
    background-color: #1A4782;
    overflow: hidden;
}

.cta__content {
    padding: 50px 24px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.cta__content h2 {
    color: #fff;
}

.cta__image {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.cta__image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(26, 71, 130, 1) 0%, rgba(26, 71, 130, 0.4) 100%);
}

.cta-inner__wrap {
    background: linear-gradient(45deg, #13133b 0%, #1a4782 100%);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    border-radius: 10px;
}

.cta-inner__content {
    padding: 50px 22px;
    color: #fff;
    position: relative;
    z-index: 8;
}

.cta-inner__content h5 {
    display: inline-block;
}

.cta-inner {
    position: relative;
    z-index: 2;
    padding-top: 55px;
}

.cta-inner__content h2,
.cta-inner__content h3,
.cta-inner__content h4 {
    color: #fff;
}


@media (max-width:767px) {
    .cta__text {
        margin-bottom: 20px;
    }
}



@media (min-width: 768px) {
    .cta__content {
        padding: 50px 50px 60px;
    }

    .cta-inner__content {
        padding: 62px 50px;
    }

    .cta-inner {
        padding-top: 60px;
    }
}

@media (min-width: 1200px) {
    .cta__content {
        padding: 60px 82px 60px 90px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cta__image {
        height: 100%;
        left: auto;
        right: 0;
        width: 784px;
    }

    .cta__text {
        width: 798px;
    }

    .cta__image::after {
        background: linear-gradient(to right, rgba(26, 71, 130, 1) 0%, rgba(26, 71, 130, 0.4) 100%);
    }

    .cta-inner__content {
        padding: 62px 0 55px;
        max-width: 784px;
        margin: 0 auto
    }

    .cta-inner {
        padding-top: 100px;
    }

}

@media (min-width: 1620px) {

    .cta__text {
        width: 1134px;
    }
}

.cta-bg--left,
.cta-bg--right {
    background-repeat: repeat-y;
    position: absolute;
    width: 437px;
    height: 1002px;
    top: 0;
    left: 0;
    z-index: 1;
}

.cta-bg--right {
    left: auto;
    right: 0;
}

@media (min-width: 1200px) {
    .cta-bg--left {
        animation: moveUp 40s linear infinite;
    }

    .cta-bg--right {
        animation: moveDown 40s linear infinite;
    }
}

@keyframes moveUp {
    0% {
        background-position-y: 0;
    }
    100% {
        background-position-y: -1002px; /* The image width */
    }
}

@keyframes moveDown {
    0% {
        background-position-y: 0;
    }
    100% {
        background-position-y: 1002px; /* The image width */
    }
}
