.banner_hm {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    opacity: 1;
    transition: opacity 0.45s ease-in-out;
}

.banner_hm .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Prevent rendering issues */
    transform: translateZ(0);
    backface-visibility: hidden;

    /* Smooth rendering */
    will-change: transform;
}

.banner_hm .hero-overlay {
    position: absolute;
    inset: 0;
    position: absolute;
    inset: 0;
    background: linear-gradient(123deg, rgb(0 25 35) 54%, rgb(0 27 69 / 37%) 81%, rgb(20, 12, 0) 100%);
    /* background: linear-gradient(90deg, rgb(0 0 0) 0%, rgb(0 13 20 / 77%) 40%, rgb(32 67 78 / 52%) 75% 75%, rgb(0 0 0 / 98%) 100%); */
    /* background: linear-gradient(123deg, rgb(0 25 35) 48%, rgb(0 27 69 / 37%) 81%, rgb(20, 12, 0) 100%); */
    z-index: 1;
    z-index: 1;
}

.banner_hm .container {
    position: relative;
    z-index: 2;
    /* padding: 0 40px; */
}

.banner_hm .hero-content {
    /* max-width: 650px; */
    /* padding-top: 40px; */
    position: relative;
    padding: 30px 50px;
    display: inline-block;
    border-left: 8px solid #fff;
    /* background: #1b495b; */
}

.banner_hm .hero-content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgb(215 215 215 / 83%) 50%, rgb(241 241 241 / 0%) 100%);
}

.banner_hm .hero-content::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) -11%, rgb(148 148 148 / 0%) 57%, rgb(194 193 187 / 0%) 100%);
}

.banner_hm .hero-small-title {
    display: inline-block;
    margin-bottom: 18px;
    border: 1px solid rgba(185, 183, 183, 0.35);
    border-radius: 26px;
        background: #001923;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 8px;
}

.banner_hm .hero-title {
    margin: 0;
    color: #ffffff;
    font-size: 52px;
    /* font-size: clamp(48px, 6vw, 82px); */
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
}

.banner_hm .hero-description {
    max-width: 570px;
    margin: 25px 0 15px;
    color: #e8edf2;
    font-size: 18px;
    line-height: 1.7;
        background: #001923;
}

.banner_hm .hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.banner_hm .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;

}

.banner_hm .primary-btn {
    background: linear-gradient(0deg, rgb(145 116 0) 0%, rgb(218 172 66) 35%, #f0f08a 100%);
    border: 1px solid #fff;
    color: #00171f;
}

.banner_hm .secondary-btn {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.40);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.banner_hm .primary-btn:hover {
    background: #ffffff;
    color: #00268d;
    transform: translateY(-3px);
}

.banner_hm .secondary-btn:hover {
    background: #ffffff;
    color: #00268d;
    transform: translateY(-3px);
}

.banner_hm .no_bx {
    display: flex;
    margin-top: 20px;
}

.banner_hm .sebi_n {
    color: #fff28a;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 28px;
    margin-right: 10px;
    border-left: 5px solid #fff;
    padding-left: 8px;
        background: #001923;
    /* border: 1px solid #1b495b;
    padding: 10px;
    border-radius: 10px;
    background: #011821; */
}

.banner_hm .bse_n {
    color: #fffffb;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 28px;
    margin-right: 10px;
    border-left: 5px solid #fff;
    padding-left: 8px;
        background: #001923;
    /* border: 1px solid #1b495b;
    padding: 10px;
    border-radius: 10px;
    background: #011821; */
}

.banner_hm .hero-title span {
    background: -webkit-linear-gradient(#eee, #987304);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner_hm .hero-content img {
    margin-left: -16px;
    margin-top: -16px;
}

.banner_hm .hero-title {
    position: relative;
    padding-bottom: 20px;
        background: #001923;
}

.banner_hm .hero-title .gold {
    background: linear-gradient(90deg, #b8963e, #f3d98b, #b8963e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner_hm .hero-title::after {
    content: "";
    position: absolute;
    left: 50px;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00000000 31%, rgba(243, 217, 139, 0.9) 56%, transparent 79%);
    box-shadow: 0 0 10px rgb(243 217 139 / 0%), 0 0 25px rgb(212 175 55 / 0%);
}

.banner_hm .hero-title::before {
    content: "";
    position: absolute;
    left: 56%;
    bottom: -14px;
    width: 22%;
    height: 28px;
    background: #3F5EFB;
    background: radial-gradient(circle, rgb(255 225 140) 29%, rgb(255 240 164 / 60%) -6%, rgb(248 248 248 / 6%) 1%, rgb(219 219 219 / 15%) 18%, rgb(252 70 107 / 0%) 7%);
    filter: blur(20px);
    pointer-events: none;
}


.banner_hm .hero-buttons .hero-btn.primary-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 8px 30px;
    border-radius: 50px;
    border: 1px solid #f0f08a;
    background: linear-gradient(0deg, #916f00 0%, #daac42 40%, #f0f08a 100%);
    color: #0b1f22;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    overflow: hidden;
    box-shadow:
        0 8px 18px -6px rgba(145, 111, 0, 0.55),
        0 1px 0 rgba(255, 255, 255, 0.45) inset;
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}


.banner_hm .hero-buttons .hero-btn.primary-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0a6b70 0%, #014347 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}


.banner_hm .hero-buttons .hero-btn.primary-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(100deg,
            transparent 0%,
            rgba(255, 255, 255, 0.55) 50%,
            transparent 100%);
    transform: skewX(-20deg);
}


.banner_hm .hero-buttons .hero-btn.primary-btn i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #014347;
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.35s ease,
        color 0.35s ease;
}


.banner_hm .hero-buttons .hero-btn.primary-btn:hover,
.banner_hm .hero-buttons .hero-btn.primary-btn:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);
    box-shadow:
        0 18px 28px -10px rgba(1, 67, 71, 0.65),
        0 0 0 6px rgba(1, 67, 71, 0.18);
}

.banner_hm .hero-buttons .hero-btn.primary-btn:hover::before,
.banner_hm .hero-buttons .hero-btn.primary-btn:focus-visible::before {
    transform: scaleX(1);
}

.banner_hm .hero-buttons .hero-btn.primary-btn:hover::after,
.banner_hm .hero-buttons .hero-btn.primary-btn:focus-visible::after {
    left: 130%;
    transition: left 0.7s ease;
}

.banner_hm .hero-buttons .hero-btn.primary-btn:hover i,
.banner_hm .hero-buttons .hero-btn.primary-btn:focus-visible i {
    background: #ffffff;
    color: #014347;
    transform: translateX(4px) rotate(-45deg);
    /* arrow tilts upward-right */
}

.banner_hm .hero-buttons .hero-btn.primary-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 12px -6px rgba(1, 67, 71, 0.6);
}

.banner_hm .hero-buttons .hero-btn.primary-btn:focus-visible {
    outline: 3px solid #014347;
    outline-offset: 3px;
}


.banner_hm .hero-content{
   
    background: linear-gradient(90deg, rgb(0 25 35) 86%, rgb(0 25 35 / 0%) 100%);
}




/* ========= accessibility additions =================== */

.banner_hm {
    position: relative;
}

.hero-video-toggle {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    width: 44px;       
    height: 44px;
    display: grid;
    place-items: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: rgba(0, 20, 30, 0.75);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-video-toggle:hover {
    background: #014347;
    transform: scale(1.06);
}

.banner_hm a:focus-visible,
.banner_hm button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #000000;   
}

.hero-overlay {
    background: rgba(0, 20, 30, 0.65);  
}

.hero-content {
    position: relative;
    z-index: 10;
    /* text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55); */
}
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

@media (forced-colors: active) {
    .hero-title .gold {
        -webkit-text-fill-color: currentColor;
        background: none;
        color: CanvasText;
    }

    .hero-video-toggle {
        border: 2px solid ButtonText;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-toggle,
    .hero-btn,
    .hero-btn i {
        transition: none;
    }
}


@media (max-width: 767px) {
    .hero-video-toggle {
        right: 12px;
        bottom: 12px;
    }
}
@media (max-width: 575px) {
    .banner_hm .hero-buttons .hero-btn.primary-btn {
        font-size: 15px;
        padding: 6px 6px 6px 24px;
        gap: 10px;
    }

    .banner_hm .hero-buttons .hero-btn.primary-btn i {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .banner_hm .hero-buttons .hero-btn.primary-btn,
    .banner_hm .hero-buttons .hero-btn.primary-btn::before,
    .banner_hm .hero-buttons .hero-btn.primary-btn i {
        transition: none;
    }

    .banner_hm .hero-buttons .hero-btn.primary-btn:hover,
    .banner_hm .hero-buttons .hero-btn.primary-btn:focus-visible {
        transform: none;
    }

    .banner_hm .hero-buttons .hero-btn.primary-btn::after {
        display: none;
    }
}

@media (max-width: 990px) {
    .banner_hm .hero-overlay {
        background: linear-gradient(90deg, rgba(0, 18, 55, 0.88), rgb(0 6 18 / 89%));
    }

    .banner_hm .hero-title {
        font-size: 35px;
        padding-bottom: 0;
    }

    .banner_hm .hero-title::after,
    .banner_hm .hero-title::before {
        display: none;
    }

    .banner_hm .sebi_n,
    .banner_hm .bse_n {
        font-size: 13px;
        border-left: 3px solid #fff;
    }

    .m_header .head-logo {
        width: 18%;
    }

    .banner_hm {
        padding-top: 50px;
    }

    .banner_hm .hero-btn {
        min-height: 46px;
        padding: 0 14px;
        font-size: 14px;
    }

    .banner_hm .hero-content {
        padding: 30px 20px 20px 20px;
    }

    .banner_hm .hero-small-title {
        font-size: 9px;
        padding: 3px 9px;
    }

    .banner_hm .hero-content::before,
    .banner_hm .hero-content::after {
        height: 4px;
    }

    .banner_hm .hero-content {
        border-left: 4px solid #fff;
    }

    .banner_hm .hero-description {
        font-size: 14px;
    }
}


@media (min-width: 1200px) and (max-width: 1399px) {
    .banner_hm .hero-small-title {
        font-size: 12px;
    }

    .banner_hm .hero-title {
        font-size: 40px;
    }

    .banner_hm .hero-title::after {
        left: 0px;
        height: 1px;
    }

    .banner_hm .hero-title::before {
        left: 47%;
        bottom: -14px;
        width: 14%;
        height: 19px;
    }

    .banner_hm .hero-title::after {
        font-size: 15px;
    }

    .banner_hm .hero-btn {
        min-height: 42px;
        padding: 0 12px;
        font-size: 14px;
    }

    .banner_hm .sebi_n,
    .banner_hm .bse_n {
        font-size: 14px;
    }

    .banner_hm .hero-description {
        font-size: 15px;
    }
}

@media (min-width: 1901px) and (max-width: 3000px) {
    .banner_hm .hero-small-title {
        font-size: 16px;
    }

    .banner_hm .hero-title {
        font-size: 60px;
    }

    .banner_hm .hero-description {
        font-size: 22px;
    }

    .banner_hm .hero-btn {
        min-height: 52px;
        padding: 0 20px;
        font-size: 18px;
    }

    .banner_hm .sebi_n,
    .banner_hm .bse_n {
        font-size: 20px;
    }
}
