/* Container positions children relative */
.hac-new-hero-section-section {
    position: relative;
    overflow: hidden;
}

/* Video wrapper limited to 50vh */
.hac-new-hero-section-section-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 100vh;
    min-height: 800px;
}

/* Gradient overlay */
.hac-new-hero-section-section-video-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    /* shorthand for top:0; right:0; bottom:0; left:0 */
    background: linear-gradient(to right,
            #182843B2 5%,
            /* dark bluish overlay with alpha */
            #3D65A900 100%
            /* transparent light blue */
        );
    pointer-events: none;
    /* keep video controls clickable if needed */
}

.section.hac-new-hero-section-section {
    padding: 120px 0 0;
}

/* .hac-new-hero-section-section-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} */


 .hac-new-hero-section-section-video-wrapper .hac-bg-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     /* makes video behave like background-size: cover */
 }

/* Content over the video, centered vertically + right aligned */
.hac-new-hero-section-section-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
    /* adjust as needed */
    transform: translateY(-50%);
    text-align: right;
    color: #fff;
    /* assuming video background is dark */
    max-width: 1500px;
    /* prevent content stretching too wide */
    z-index: 2;
}

.hac-new-hero-section-section-content h2,
.hac-new-hero-section-section-content p {
    margin: 0 0 1rem;
}

.hac-new-hero-section-section-content-button img {
    max-width: 48px;
    /* control CTA image size */
    height: auto;
    animation: arrow-bounce-smooth 2s infinite ease-in-out;
}

.hac-new-hero-section-section-content-data {
    max-width: 750px;
}

.hac-new-hero-section-section-content-heading {
    font-size: var(--hHeroFontSize);
    line-height: 1.17;
    letter-spacing: 4%;
    margin-bottom: 0.5rem !important;
    text-align: left;
    font-family: 'Figtree', sans-serif;
}

.hac-new-hero-section-section-content-data p {
    font-size: var(--pHeroUnderFontSize);
    line-height: 1.17;
    letter-spacing: 4%;
    margin-bottom: 1.5rem !important;
    text-align: left;
    font-family: 'Figtree', sans-serif;
}

@keyframes arrow-bounce-smooth {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.6;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*=============================================
=            MEDIA            =
=============================================*/
@media only screen and (min-width: 768px) {
    .hac-new-hero-section-section-video-wrapper {
        max-height: 60vh !important;
    }
}

@media only screen and (max-width: 767px) {
    .hac-new-hero-section-section-video-wrapper {
        max-height: 60vh !important;
        position: relative;
        overflow: hidden;
    }

   

    .hac-new-hero-section-section-content-heading {
        font-size: var(--hHeroFontSizeMobile)   ;
    }

    .hac-new-hero-section-section-content-data p {
        font-size: var(--pHeroUnderFontSizeMobile);
    }

    .hac-new-hero-section-section-content {
        top: 40%;
        /* positions content lower */
        right: 5%;
        /* keep right alignment */
        transform: translateY(-35%);
        /* adjust transform for new top */
    }
}
/*=====  End of MEDIA  ======*/