.wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}
video {
    touch-action: none;  
    pointer-events: none;  
}
.reel_slider .swiper-backface-hidden .swiper-slide {   
    transform: translateZ(100px);
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
} 

.refy-video { 
    pointer-events: none;
    object-fit: cover;
}

.swiper-slide {
    text-align: center;
    display: flex;
      cursor: pointer;
    justify-content: center;
    align-items: center;
}

.swiper-slide video {
    width: 100%;
    height: 330px;
    object-fit: cover;
    cursor: pointer;
}

.new-class {
    position: relative;
    overflow-x: clip;
} 
 
.popup { 
    align-items: center;
    background: rgba(0, 0, 0, .9);
    border-radius: 15px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 84vh;
    justify-content: center;
    margin-right: 20px;
    overflow: hidden;
    position: fixed;
    right: -50%;
    transition: .5s;
    width: 25%;
    z-index: 9999999;
}

video {
    z-index: 1;
}

@supports (-webkit-touch-callout: none) {
    .popup.active .nav-button {
        position: absolute !important;
        z-index: 999999;
    }
  .close {
    z-index: 999999;
      position: absolute !important;
}
  video {
    touch-action: none; 
    pointer-events: none;
}

}

#popupVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    position: absolute;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

#popupVideo1 {
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    border-radius: 15px;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.popup.active {
    right: 0;
}

.slide-up {
    opacity: 1 !important;
}

.close {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    background-color: #e9e5e5;
    padding: 0px 5px 0px 5px;
    z-index: 99999;
    border-radius: 50%;

}

.close {
    width: 40px;
    height: 40px;
    background: rgba(9, 10, 11, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-button {
    position: absolute;
    right: 5px;
    color: white;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 7px 1px 7px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999999;
    transition: 0.3s;
}

.nav-button {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(9, 10, 11, 0.2);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev {
    top: 50%;
    transform: translateY(-120%);
}

.next {
    top: 50%;
    transform: translateY(20%);
}
.nav-button.prev svg {
    transform: rotate(-90deg);
    width: 20px;
}
.nav-button.next svg {
    transform: rotate(90deg);
    width: 20px;
}

.progress-bar-container {
    width: 100%;
    height: 5px;
    background-color: #444;
    position: absolute;
    top: 0px;
    z-index: 20;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #ffffff;
}

.share-icon {
    position: absolute;
    top: 30px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: 0.3s;
    color: white;
    font-size: 20px;
}

.share-icon:hover {
    background: rgba(255, 255, 255, 0.4);
}

.video-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    position: relative; 
}

.video-container::-webkit-scrollbar {
    display: none;
}

.video {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    object-fit: cover;
    position: absolute;
    top: 100vh;
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}


.video.active {
    top: 0;
    opacity: 1;
}

#popupVideo0,
#popupVideo,
#popupVideo1 {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    will-change: transform, opacity;  
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

}
#nextBtn, #prevBtn {
    pointer-events: auto;
    touch-action: manipulation;
}

#popupVideo {
    transform: translateY(0%);
    opacity: 1;
}

#popupVideo1 {
    transform: translateY(100%);
    opacity: 0;
} 

#popupVideo0 {
    transform: translateY(-100%);
    opacity: 0;
} 

#hs-web-interactives-bottom-anchor {
    transform: unset !important;
}  

@media (max-width: 767px) {
    .popup.active { 
        right: 0px;  
        left: 0px;
        top: 0; 
        left: 0;
        position: fixed; 
        z-index: 999999999999999;    
        width: 100%;
        height: 100vh;  
        transform: translateZ(100px);   
    }  
  .pwr-header.pwr-header-fixed {  
    transform: none !important; 
}  
}

@media (max-width: 991px) {

    #popupVideo,
    #popupVideo0,
    #popupVideo1 {
        height: 100%;
        position: absolute;
        transition: transform .5s ease-in-out, opacity .5s ease-in-out;
        width: 400px !important;
    }

    .popup.active {
        right: 0;
        width: 400px;
        /*  height: 90%; */
    }
}

@media (max-width: 1024px) {

    #popupVideo,
    #popupVideo0,
    #popupVideo1 {
        height: 100%;
        position: absolute;
        transition: transform .5s ease-in-out, opacity .5s ease-in-out;
        width: 500px !important;
    }

    .popup.active {
        right: 0;
        width: 500px;
        /*  height: 90%; */
    }
}
@media (max-width: 767px) {
.popup.active {
    width: 100%;
}
  #popupVideo, #popupVideo0, #popupVideo1 {
    width: 100% !important;
    pointer-events:none;
  }
}