html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.velocity-home-style-hero {
    background: #fff;
    border-bottom: 0 !important;
}

.velocity-home-style-hero .hover-scale {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.velocity-home-style-hero .hover-scale:hover {
    transform: translateY(-2px);
}

.v-home-hero-visual {
    background: linear-gradient(135deg, #0b1f52 0%, #07173d 100%);
    min-height: 680px;
    /* Keep the framed top and sides while allowing the image to meet the stat strip. */
    padding: 1.25rem 1.25rem 0;
}

.v-home-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100%;
}

.v-home-hero-main {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.v-home-hero-main img {
    display: block;
}

.v-home-float-card {
    position: absolute;
    right: 1.25rem;
    left: 1.25rem;
    max-width: 24rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background: rgba(2, 12, 39, 0.86);
    backdrop-filter: blur(10px);
}

.v-home-float-card-top {
    top: 1.25rem;
}

.v-home-float-card-bottom {
    bottom: 1.25rem;
}

.v-home-stat-strip {
    background: linear-gradient(135deg, #002244 0%, #0b2d68 100%);
}

@media (max-width: 991.98px) {
    .velocity-home-style-hero-copy {
        text-align: center;
    }

    .velocity-home-style-hero-copy .d-flex {
        justify-content: center;
    }

    .v-home-hero-visual {
        min-height: auto;
        padding: 0.75rem 0.75rem 0;
    }

    .v-home-hero-main {
        min-height: 260px;
    }

    .v-home-float-card {
        display: none;
    }
}
