.call-to-action-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
    background-color: transparent; /* Or make it configurable */
}

/* Decorative Element */
.call-to-action-section .call-to-action-element {
    position: absolute;
    top: 5%;
    right: 15%;
    z-index: 2;
    pointer-events: none;
}

.call-to-action-section .call-to-action-element img {
    animation: horizontal-move-two 5s linear infinite;
    max-width: 100%;
    height: auto;
}

@keyframes horizontal-move-two {
    0% { transform: translateX(0px); }
    50% { transform: translateX(15px); }
    100% { transform: translateX(0px); }
}

/* Marquee Text */
.call-to-action-section .wrapper {
    max-width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.call-to-action-section .marquee {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: marquee var(--cta-marquee-speed, 50s) linear infinite;
}

.call-to-action-section .demo-text {
    font-size: var(--cta-marquee-size, 171px);
    line-height: 1;
    color: var(--cta-marquee-color, #E1EAFF);
    font-family: var(--font-family-title, "Jost", sans-serif);
    font-weight: 700;
    transition: all 0.5s;
    text-transform: uppercase;
}

.call-to-action-section .demo-text span {
    padding-right: 50px;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Content Wrapper */
.call-to-action-section .container {
    position: relative;
    z-index: 3;
    padding-top: 50px; /* Adjust spacing as needed */
}

.call-to-action-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.call-to-action-content {
    width: 60%;
}

.call-to-action-content .title {
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 5px;
    color: var(--cta-title-color, #333);
}

.call-to-action-content .inner-title {
    color: var(--cta-inner-title-color, #9DBAFE);
    font-weight: 500;
    margin-top: 0;
}

.call-to-action-btn {
    margin-top: 20px;
}

/* Responsive */
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
    .call-to-action-section .call-to-action-element {
        right: 8%;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .call-to-action-section .demo-text {
        font-size: 140px;
        line-height: 140px;
    }
    .call-to-action-section .call-to-action-element {
        right: 4%;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .call-to-action-section .demo-text {
        font-size: 100px;
        line-height: 100px;
    }
    .call-to-action-section .call-to-action-element {
        right: 2%;
        top: 10%;
    }
    .call-to-action-content {
        width: 70%;
    }
}

@media only screen and (max-width: 991px) {
    .call-to-action-section .demo-text {
        font-size: 80px;
        line-height: 80px;
    }
    .call-to-action-wrapper {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .call-to-action-content {
        width: 100%;
        margin-bottom: 20px;
    }
    .call-to-action-section .call-to-action-element {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .call-to-action-section .demo-text {
        font-size: 60px;
        line-height: 60px;
    }
}

@media only screen and (max-width: 575px) {
    .call-to-action-section .demo-text {
        font-size: 50px;
        line-height: 50px;
    }
    .call-to-action-section .marquee {
        /* Optional: Hide marquee on mobile if too busy, per original css?
           Original css hidden it on <575px. Let's keep it visible but small or configurable.
        */
        display: block;
    }
}
