.hero-modern {
    /* min-height: 80vh; */
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.diagonal-split {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: top left;
}

.diagonal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 85% 35%, 0 100%);
}

.video-container-modern {
    position: relative;
    padding-top: 20px;
}

.video-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
    border: 6px solid rgba(255, 255, 255, 0.1);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mix-blend-overlay {
    mix-blend-mode: overlay;
}

.min-vh-80 {
    min-height: 80vh;
}

.min-h-500 {
    min-height: 500px;
}

.min-h-400 {
    min-height: 400px;
}

.rightN {
    right: -60px;
}

.textH {
    color: rgba(255, 255, 255, 0.76) !important;
}
@media (min-width: 990px) and (max-width: 1300px) {
     .rightN {
        right: -15px;
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-modern {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .video-frame {
        height: 400px;
        border-radius: 25px;
    }

    .custom-stamp-1 {
       display: none !important;
    }

    .diagonal-overlay {
        clip-path: polygon(0 0, 100% 0, 100% 55%, 0 100%);
    }

    .rightN {
        right: -15px;
    }

    .appear-animation-n {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-modern {
        min-height: 65vh !important;
        padding: 2rem 0;
    }

    .video-frame {
        height: 320px;
        border-radius: 22px;
        border: 4px solid rgba(255, 255, 255, 0.1);
    }

    .hero-content-wrapper {
        margin-bottom: 1.5rem;
        text-align: center !important;
        padding: 0 !important;
    }

    .video-container-modern {
        padding: 15px;
    }

    .diagonal-overlay {
        clip-path: polygon(0 0, 100% 0, 100% 55%, 0 100%);
    }

    .rightN {
        right: 20px;
    }

    .custom-stamp-1 {
        width: 80px;
        height: 80px;
        top: 35% !important;
        right: 3% !important;
    }

    .custom-el-1 {
        font-size: 0.85rem;
    }

    .mh-750px {
        min-height: 60vh !important;
    }

    .min-h-500 {
        min-height: 300px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-modern {
        min-height: 60vh !important;
        padding: 1.5rem 0;
    }

    .video-frame {
        height: 250px;
        border-radius: 20px;
        border: 3px solid rgba(255, 255, 255, 0.1);
    }

    .hero-content-wrapper {
        margin-bottom: 1.5rem;
        text-align: center !important;
        padding: 0 !important;
    }

    .video-container-modern {
        padding: 20px;
    }

    .diagonal-overlay {
        clip-path: polygon(0 0, 100% 0, 100% 55%, 0 100%);
    }

    .custom-stamp-1,
    .custom-el-1 {
        display: none !important;
    }

    .rightN {
        right: 0;
        bottom: 5px !important;
    }

    .textH {
        font-size: 0.75rem !important;
        padding: 0.5rem !important;
    }

    .mh-750px {
        min-height: 60vh !important;
    }

    .min-h-500 {
        min-height: 250px !important;
    }
}

@media (max-width: 400px) {
    .hero-modern {
        min-height: 55vh !important;
    }

    .video-frame {
        height: 220px;
        border-radius: 16px;
    }

    .video-container-modern {
        padding: 5px;
    }

    .hero-content-wrapper {
        padding: 0 0.5rem !important;
    }

    .text-12 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    .text-9 {
        font-size: 1.3rem !important;
    }

    .btn-with-arrow-solid {
        width: 100%;
        justify-content: center;
    }
}