.top-wrapper {
    background-image: url("/MainSite/images/new-home-image-v4.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative !important;
    font-family: 'Poppins', sans-serif !important;
    padding-bottom: 100px;
    margin-top: -84px !important;
    height: 100vh;
}

/* WebP version for supporting browsers */
@supports (background-image: url('image.webp')) {
    .top-wrapper {
        background-image: url("/MainSite/images/new-home-image-v4.webp");
    }
}

.top-wrapper .main-title {
    font-size: 4.5rem;
    margin-bottom: 0;
    margin-top: 0;
    color: #fff;
    line-height: .9em;
    letter-spacing: -2px;
    font-weight: 500;
}

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

    .top-wrapper .main-title {
        font-size: 4rem;
        text-align: center;
        margin-top: 50px;
    }

    .top-wrapper .sub-title {
        font-size: 1.5rem;
        text-align: center;
        line-height: 2rem;
    }
}

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

    .top-wrapper .main-title {
        text-align: left;
        font-size: 3.75rem;
    }

    .top-wrapper .sub-title {
        text-align: left;
        font-size: 1.3rem;
    }

    .top-wrapper {
        min-height: 1050px;
    }

}

.new-features-wrapper {
    background-color: #023e73d3;
    border-radius: 3px;
    display: inline-block;
    padding: 10px 15px;
}

.new-features .list-inline .list-inline-item {
    background-color: #022b50;
    padding: 10px 15px;
    border-radius: 3px;
}

.new-features .list-inline .list-inline-item:first-child {
    margin-right: .75em;
}

/* css for the side scrolling partner logos BEGIN */
.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slider-content {
    display: inline-flex;
    animation: slide 50s linear infinite;
}

.slider-content img {
    max-height: 40px;
    margin: 0 25px;
    flex-shrink: 0;
    /* Prevent images from shrinking */
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move exactly half the width since we duplicated the content */
    }
}

/* css for the side scrolling partner logos END */



/* Styles for rotating Main Headline */
.main-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: left;
}

.rotating-text .rotating-words {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    vertical-align: top;
    width: 100%;
    font-weight: 400;
    font-size: 4rem;
}

.rotating-text .word {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateX(90deg);
    transform-origin: center center 25px;
    transition: 0.5s cubic-bezier(.6, 0, .7, .2);
    opacity: 0;
    white-space: nowrap;

    background: linear-gradient(to right, #f7be7f, #ce355d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
}

.rotating-text .word.active {
    transform: rotateX(0deg);
    opacity: 1;
    transition: 0.6s ease;
}

.rotating-text .word.out {
    transform: rotateX(-90deg);
    transition: 0.5s cubic-bezier(.6, 0, .7, .2);
    opacity: 0;
}

/* Subtitle styling */
.top-wrapper .sub-title {
    font-size: 1.5rem;
    margin-top: 0;
    position: relative;
    min-height: 2em;
    max-width: 100%;
    color: #fff;
    font-weight: 400;
}

.subtitle-text {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    white-space: normal;
    text-align: left;
    width: 100%;
    line-height: 1.4;
}

.subtitle-text.active {
    opacity: 1;
}

@media screen and (max-width: 1199px) {
    .rotating-text .rotating-words {
        max-width: 450px;
        margin: 0 auto;
        font-size: 3.5rem;
    }
    .main-title {
        text-align: center;
    }
    .rotating-text .word {
        left: 50%;
        transform: translateX(-50%) rotateX(90deg);
    }
    .rotating-text .word.active {
        transform: translateX(-50%) rotateX(0deg);
    }
    .rotating-text .word.out {
        transform: translateX(-50%) rotateX(-90deg);
    }
    .subtitle-text {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}

@media screen and (max-width: 991px) {
    .rotating-text .rotating-words {
        max-width: 450px;
        margin: 0 auto;
        font-size: 3rem;
    }
    .main-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 613px) {
    .subtitle-text {
        font-size: 1rem;
    }
    .rotating-text .rotating-words {
        max-width: 450px;
        margin: 0 auto;
        font-size: 2.75rem;
    }
}