/* Video Section Styles */
.w3l-index5 {
    background: url(../images/banner3.jpg) no-repeat center;
    -ms-background-size: cover;
    background-size: cover;
    z-index: 0;
    position: relative;
    display: grid;
    align-items: center;
}

.w3l-index5:before {
    content: "";
    background: var(--layer1);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.w3l-index5 h6.title-subw3hny {
    color: var(--primary-color);
    padding-bottom: 30px;
}

.w3l-index5 h6.title-subw3hny:after {
    content: "";
    position: absolute;
    border: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    z-index: 1;
    margin-left: 0;
    right: 0;
}

.w3l-index5 .middle-section h2 {
    font-size: 45px;
    line-height: 55px;
    font-weight: 700;
}

.w3l-index5 .video-info p,
p.vhny-para {
    color: #fff;
    opacity: 0.8;
}

.w3l-index5 span.video-play-icon {
    border: 2px solid rgb(249 246 245 / 50%);
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: inline-block;
    line-height: 82px;
}

.w3l-index5 span.video-play-icon span {
    color: var(--primary-color);
    background: #fff;
    display: inline-block;
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 50%;
    -webkit-animation: ripple 1s linear infinite;
    animation: ripple 1s linear infinite;
    transition: 0.3s ease-in-out;
}

.w3l-index5 span.video-play-icon span:hover {
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
}

.w3l-index5 span.fa.fa-play {
    line-height: 55px;
}

.w3l-index5 .play-view {
    left: 0;
    right: 0;
    top: calc(50% - 40px);
}

/* Magnific Popup Styles */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-close {
    line-height: 40px;
    position: absolute;
    right: 0px;
    top: -40px;
    text-decoration: none;
    text-align: center;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: 'Jost', sans-serif;
    background: transparent;
}

/* Dialog Styles */
#small-dialog {
    max-width: 750px;
    margin: 40px auto;
    position: relative;
}

div#small-dialog iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* Responsive Styles */
@media (max-width: 800px) {
    .w3l-index5 .middle-section h2 {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (max-width: 667px) {
    .w3l-index5 .middle-section h2 {
        font-size: 32px !important;
        line-height: 42px;
    }

    .w3l-index5 .play-view {
        left: 0;
        right: 0;
        top: calc(50% - 28px);
    }

    #small-dialog {
        max-width: 450px;
        margin: 40px auto;
        position: relative;
    }
}

@media screen and (max-width: 800px) and (orientation: landscape),
screen and (max-height: 300px) {
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        transform-origin: 0;
    }

    .mfp-arrow-right {
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
} 