
/* =========================================================
   OMDEI E-COMMERCE HERO BANNER
   IMAGE + COLORS KEPT SAME
   FULLY RESPONSIVE
   ========================================================= */

.hero-banner {
    position: relative;
    width: 100%;
    height: 620px;
    min-height: 620px;
    overflow: hidden;
    isolation: isolate;
    /* background: #073b82; */
}

/* =========================================================
   BANNER IMAGE
   ========================================================= */
 
.hero-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -3;
    overflow: hidden;
}

.hero-picture .banner-image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    /* object-fit: fill; */
    /* object-position: center center; */
}


/* =========================================================
   OVERLAY
   KEEPING EXISTING BLUE CONCEPT
   ========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background:
       linear-gradient(
            90deg,
            rgba(5, 53, 122, 0.96) 20%,
            rgba(7, 65, 145, 0.88) 48%,
            rgba(21, 94, 181, 0.52) 72%,
            rgba(21, 94, 181, 0.08) 98%,
            rgba(21, 94, 181, 0) 100%
        )
}


/* =========================================================
   CONTAINER
   ========================================================= */

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}


/* =========================================================
   CONTENT
   ========================================================= */

.hero-content-banner {
    width: 100%;
    max-width: 590px;
    padding: 20px 0;
    box-sizing: border-box;
}


/* =========================================================
   HEADING
   ========================================================= */

.hero-heading {
    margin: 0 0 18px !important;
    padding: 0 !important;

    font-size: clamp(40px, 4.2vw, 55px) !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;

    color: #ffffff !important;

    letter-spacing: -0.5px;
}


/* ORANGE HIGHLIGHT */

.hero-heading .highlight {
    color: #ffad00 !important;
}


/* =========================================================
   SUBTEXT
   ========================================================= */

.hero-subtext {
    max-width: 540px;

    margin: 0 0 20px !important;
    padding: 0 !important;

    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;

    color: #ffffff !important;
}


/* =========================================================
   BUTTON AREA
   ========================================================= */

.hero-ctas {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;

    padding-top: 15px;
}


/* =========================================================
   COMMON BUTTON
   ========================================================= */

.hero-ctas a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 11px 18px;

    border-radius: 5px;

    text-decoration: none !important;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   ORANGE BUTTON
   ========================================================= */



/* =========================================================
   LIGHT BUTTON
   ========================================================= */

/* =========================================================
   ARROW
   ========================================================= */

.btn-arrow {
    display: inline-block;
    margin-left: 10px;

    font-size: 20px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.hero-ctas a:hover {
    transform: translateY(-2px);
}

.hero-ctas a:hover .btn-arrow {
    transform: translateX(4px);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1400px) {

    .hero-banner {
        height: 620px;
        min-height: 620px;
    }

    .hero-content-banner {
        max-width: 610px;
    }

    .hero-heading {
        font-size: 55px !important;
    }
}


/* =========================================================
   LAPTOP / DESKTOP
   992px - 1199px
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .hero-banner {
        height: 560px;
        min-height: 560px;
    }

    .hero-content-banner {
        max-width: 520px;
    }

    .hero-heading {
        font-size: 47px !important;
        line-height: 1.12 !important;
    }

    .hero-subtext {
        font-size: 16px !important;
    }

    .hero-picture .banner-image {
        object-fit: fill;
        object-position: center center;
    }
}


/* =========================================================
   TABLET
   768px - 991px
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .hero-banner {
        height: 500px;
        min-height: 500px;
    }

    .hero-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-content-banner {
        max-width: 470px;
    }

    .hero-heading {
        font-size: 42px !important;
        line-height: 1.12 !important;
    }

    .hero-subtext {
        max-width: 440px;
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .hero-picture .banner-image {
        object-fit: fill;
        object-position: center center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 53, 122, 0.97) 0%,
                rgba(7, 65, 145, 0.91) 40%,
                rgba(21, 94, 181, 0.45) 75%,
                rgba(21, 94, 181, 0.08) 100%
            );
    }
}


/* =========================================================
   MOBILE
   576px - 767px
   ========================================================= */

@media (min-width: 576px) and (max-width: 767px) {

    .hero-banner {
        height: 500px;
        min-height: 500px;
    }

    .hero-container {
        padding: 0 28px;
        justify-content: center;
        text-align: center;
    }

    .hero-content-banner {
        max-width: 620px;
        margin: 0 auto;
    }

    .hero-heading {
        font-size: 39px !important;
        line-height: 1.13 !important;
        margin-bottom: 18px !important;
    }

    .hero-subtext {
        max-width: 560px;
        margin-left: auto !important;
        margin-right: auto !important;

        font-size: 16px !important;
        line-height: 1.55 !important;
    }

    .hero-ctas {
        justify-content: center;
        gap: 18px;
    }

    .hero-ctas a {
        min-height: 42px;
        padding: 10px 17px;
        font-size: 14px;
    }

    .hero-picture .banner-image {
        object-position: 70% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 53, 122, 0.94),
                rgba(7, 65, 145, 0.88)
            );
    }
}


/* =========================================================
   MOBILE
   481px - 575px
   ========================================================= */

@media (min-width: 481px) and (max-width: 575px) {

    .hero-banner {
        height: 465px;
        min-height: 465px;
    }

    .hero-container {
        padding: 0 22px;
        text-align: center;
    }

    .hero-content-banner {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-heading {
        font-size: 34px !important;
        line-height: 1.13 !important;
        letter-spacing: 0 !important;

        margin-bottom: 20px !important;
    }

    .hero-subtext {
        font-size: 15px !important;
        line-height: 1.5 !important;

        max-width: 480px;

        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
    }

    .hero-ctas {
        justify-content: center;
        gap: 14px;
    }

    .hero-ctas a {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 13px;
    }

    .btn-arrow {
        margin-left: 7px;
        font-size: 18px;
    }

    .hero-picture .banner-image {
        object-position: 72% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 53, 122, 0.95),
                rgba(7, 65, 145, 0.92)
            );
    }
}


/* =========================================================
   SMALL MOBILE
   401px - 480px
   ========================================================= */

@media (min-width: 401px) and (max-width: 480px) {

    .hero-banner {
        height: 445px;
        min-height: 445px;
    }

    .hero-container {
        padding: 0 18px;
    }

    .hero-heading {
        font-size: 32px !important;
        line-height: 1.14 !important;

        margin-bottom: 15px !important;
    }

    .hero-subtext {
        font-size: 14px !important;
        line-height: 1.5 !important;

        max-width: 390px;

        margin-bottom: 18px !important;
    }

    .hero-ctas {
        gap: 12px;
    }

    .hero-ctas a {
        padding: 9px 13px;
        font-size: 12.5px;
    }

    .hero-picture .banner-image {
        object-position: 73% center;
    }
}


/* =========================================================
   EXTRA SMALL
   320px - 400px
   ========================================================= */

@media (max-width: 400px) {

    .hero-banner {
        height: 430px;
        min-height: 430px;
    }

    .hero-container {
        padding: 0 14px;
    }

    .hero-content-banner {
        max-width: 100%;
    }

    .hero-heading {
        font-size: 30px !important;
        line-height: 1.14 !important;

        margin-bottom: 20px !important;
    }

    .hero-subtext {
        font-size: 16px !important;
        line-height: 1.5 !important;

        max-width: 350px;

        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
    }

    .hero-ctas {
        justify-content: center;
        gap: 10px;
    }

    .hero-ctas a {
        min-height: 39px;
        padding: 8px 11px;
        font-size: 14px;
    }

    .btn-arrow {
        margin-left: 6px;
        font-size: 17px;
    }

    .hero-picture .banner-image {
        object-position: 75% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 53, 122, 0.96),
                rgba(7, 65, 145, 0.94)
            );
    }
}
/* =========================================================
   0px - 1024px
   REMOVE BANNER IMAGE + USE BLUE GRADIENT
   ========================================================= */

@media (max-width: 760px) {

    .hero-banner {
        background: linear-gradient(
            135deg,
            #012f6e,
            #0147a6
        ) !important;
    }

    /* Completely hide banner image */
    .hero-picture {
        display: none !important;
    }

    .hero-picture .banner-image {
        display: none !important;
    }

    /* Remove image overlay because image is hidden */
    .hero-overlay {
        display: none !important;
    }

    /* Keep content properly centered */
    .hero-container {
        position: relative;
        z-index: 2;
    }
}
