.hero-block{
    display: flex;
}

.image-left{
    flex-direction: row-reverse !important;
}

.image-right{
    flex-direction: row  !important;
}

.hero-block .heroblock-left-side{
    flex: 1; 
} 

.padding-left{
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    padding-right: 48px !important;
}

.padding-right{
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    padding-left: 48px !important;
}

.hero-block .heroblock-right-side{
    flex: 1;  
}

.border-left{
    border-left: 1px solid #1f271b33;
}

.hero-block .heroblock-left-side h1{
    padding-bottom: 108px !important;
    margin-bottom: 0px !important; 
    line-height: 0.9 !important;
}

.hero-block .heroblock-left-side .heading-four{
    padding-bottom: 48px !important;
        margin-bottom: 0px !important; 
} 

.hero-block .heroblock-right-side .right-image{
    width: 100% !important;
    border-radius: 12px !important;
} 

.hero-block .heroblock-left-side h2{
    padding-bottom: 60px !important;
}

.hero-block .body-text-area{
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}

@media screen and (max-width: 920px){

    .border-left{
        border-left: none !important;
    }

    .hero-block{ 
        flex-direction: column !important;
        gap: 48px !important;
        padding: 48px 0px !important; 
    }
      
    .padding-left{ 
        padding: 0px !important;
    }

    .padding-right{ 
        padding: 0px !important;
    }

    .hero-block .heroblock-right-side{ 
        border-left: none !important;
    }

    .hero-block .heroblock-left-side .heading-four{
        padding-bottom: 24px !important;
       
    } 

    .hero-block .heroblock-left-side h1{  
        padding-bottom: 48px !important; 
    }  

    .hero-block .heroblock-left-side h2{
        padding-bottom: 48px !important;
    }
}

@media screen and (max-width: 768px){
   .hero-block .heroblock-left-side h2{
        padding-bottom: 36px !important;
    } 
}

@media screen and (max-width: 480px){
   .hero-block .heroblock-left-side h2{
        padding-bottom: 24px !important;
    } 
}


/* Video style */
.video-block {
    position: relative;
    width: 100%;
    line-height: 0;
}

.video-bg-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.video-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px !important;
    color: #1f271b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 16px;
    z-index: 10;
    background: #f8f6f2 !important;
    padding: 12px 42px !important;
    border-radius: 4px;
    line-height: 1;
}

.button-text {
    white-space: nowrap;
}

/* Video Popup Modal */
.video-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-popup-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 2;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-popup-modal.is-open .video-popup-content {
    transform: scale(1);
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.video-popup-close:hover {
    transform: rotate(90deg);
}

.video-popup-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-popup-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 480px) {
    .video-button {
        top: 50%;
        left: 50%;
        bottom: auto;
        right: auto;
        transform: translate(-50%, -50%);
        width: max-content;
    }
}