﻿.homepage-hero-wrapper {
    background: linear-gradient(253deg, #112640 0.95%, #060B19 100%);
    transform: translateY(-121px);
    padding-bottom: 120px;
    margin-bottom: -1px; /* Make space to next component 120px */
}

.hero-bg-full {
    background: url("/-/media/Themes/NextGen/Common/Common/images/homepage-hero-img") no-repeat;
    height: 100%;
    position: absolute;
    z-index: -1;
    background-size: cover;
    mix-blend-mode: soft-light;
}

.home-hero {
    margin-bottom: 5rem;
    padding-top: 201px;
}

    .home-hero .hero-content h1,
    .home-hero .hero-content p {
        margin-bottom: var(--ng-size-24px);
    }

    .home-hero .hero-review {
        align-items: flex-start;
        flex-direction: column;
        margin-top: auto;
    }

        .home-hero .hero-review span {
            margin-bottom: .5rem;
        }

    .home-hero .img-container {
        position: relative;
    }

    .home-hero .hero-img {
        border-radius: var(--ng-size-12px);
        background: #295F7E; /*was in figma. Needed?*/
        width: 100%;
        height: auto;
    }

/* || Dark background colors*/
/*
    Change menu text to white when hero has dark bg. 
    May need to look into making this more dynamic also may need update as the nav is finished being implemented.
*/
header:has(.nav-sticky):has(+ main .homepage-hero-wrapper) #mega-menu a.dropdown-toggle:not(.btn, .callout),
header:has(.nav-sticky):has(+ main .homepage-hero-wrapper) #mega-menu .nav-1 .navbar-links span:not(.btn) {
    color: white !important;
}

header:has(.nav-sticky):has(+ main .homepage-hero-wrapper) #mega-menu .desktop-nav {
    border-color: #FFFFFF0A !important;
}

#mega-menu .ng-logo.alt-white {
    display: none;
}

header:has(.nav-sticky):has(+ main .homepage-hero-wrapper) #mega-menu .ng-logo {
    display: none;
}

    header:has(.nav-sticky):has(+ main .homepage-hero-wrapper) #mega-menu .ng-logo.alt-white {
        display: inline;
    }

/*End Dark background colors*/


@media (max-width: 576px) {
    .homepage-hero-wrapper {
        position: relative;
        margin-bottom: -52px;
        transform: translateY(-68px); /* Should match height f nav bar */
        padding-bottom: 60px;
    }

    .hero-bg-full {
        background-position-x: center;
    }

    .home-hero {
        margin-bottom: 90px;
        padding-top: 128px;
    }

        .home-hero .img-container {
            /*Removed based on new design change to center the image on mobile. */
            /*            padding-right: 0;
            padding-left: var(--ng-size-40px);*/
        }

        .home-hero .hero-img {
            max-width: 100%;
            float: right;
        }

    .homepage-hero-wrapper .ng-sans-regular.ng-l {
        font-size: var(--ng-size-16px);
    }

    .homepage-hero-wrapper .floating-box.bottom {
        bottom: -9%;
        left: 1.5%;
    }
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}

@media (min-width: 1400px) {
}
