.top-wrapper {
    background-image: linear-gradient(to bottom, rgba(0, 13, 24, 0.5) 60%, rgba(0, 22, 42, 0) 70%), url("/MainSite/images/golf-theme-stars-home.jpg");
    background-position: top;
    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: linear-gradient(to bottom, rgba(0, 13, 24, 0.5) 60%, rgba(0, 22, 42, 0) 70%), url("/MainSite/images/golf-theme-stars-home.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;
}

.rotating-text .static-text {
    display: inline-block;
    color: #f2932a;
    font-weight: 400;
}

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

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

.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;
    /* overflow: hidden; */
    max-width: 100%;
    color: #fff;
    font-weight: 400;
}

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

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

@media screen and (max-width: 1199px) {
    .rotating-text .rotating-words {
        max-width: 360px;
    }

    .subtitle-text {
        text-align: center;
    }
}

@media screen and (max-width: 991px) {
    .rotating-text .rotating-words {
        max-width: 375px;
    }

    .main-title {
        font-size: 2.5rem;
    }
     
}

@media screen and (max-width: 613px) {
    .subtitle-text {
        text-align: left;
        font-size: 1rem;
    }
}