.video-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.video-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.video-slide {
    display: flex;
    flex-wrap: nowrap;
}

.video-item {
    flex: 0 0 33.33%; /* Show 3 videos per slide */
    padding: 10px;
    box-sizing: border-box;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 20px;
    padding: 6px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 999;
    outline: none;
    width: 40px;
    height: 40px;
}


.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 850px;
    background: #fff;
    padding: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999; 
}

.modal-content {
    position: relative;
    z-index: 1001;
    pointer-events: auto; /* This allows interaction */
}

.modal-content iframe {
    pointer-events: auto !important; /* Ensures clicks work */
}


.modal, .modal-overlay {
    pointer-events: none; /* Allow clicks to pass through */
}



.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff0000;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 34px;
    width: 40px;
    z-index: 1005; /* Ensure it's higher than modal-content */
    pointer-events: auto; /* Ensure clicks are detected */
}

.close-btn:hover {
    background-color: #cc0000;
}

.bullet-container {
    text-align: center;
    margin-top: 10px;
}

.bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

.bullet.active {
    background-color: #333;
}


/* 8 April 2025 */
#overlay-images {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 75px 0 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#overlay-images .banner-image2 {
	opacity: 0;
/* 	height: 0; */
	z-index:0;
}

#overlay-images .banner-image1, #overlay-images .banner-image2 {
	margin: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    text-align: center;
    width: 100%;
}
#overlay-images .et_pb_image_wrap {
	height: 100%;
}
#overlay-images .et_pb_image_wrap img { 
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

#overlay-images .banner-image2::before {
    content: '';
    background: #fff;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 1000vw;
    height: 10000vh;
    z-index: -1;
    transform: translate(-50%, -50%);
}
#banner-section.banner-content-sec .et_pb_column {
    margin: 0;
    border: 1px solid #fff;
    flex: 1 auto;
}
#banner-section.banner-content-sec {
    align-content: end;
    height: auto !important;
}

#banner-contact-info .et_pb_column {
    z-index: 99;
}

@media only screen and (max-width: 1366px) {
	#banner-section {
		position: relative;
		width: 100%;
		height: 80vh !important;
		overflow: hidden;
	}
	#banner-section #banner-contact-info ul {
		padding: 13px;
	}
	#overlay-images .et_pb_image_wrap img { 
		max-height: 365px;
	}

}


@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) { 
	 #overlay-images .et_pb_image_wrap img {
        max-height: 40vh !important;
    }
	.header-contact-btns li:first-child a, .header-contact-btns li:last-child a {
		font-size: 13px !important;
	}
}

@media (min-width: 767px) and (max-width: 992px) {
	#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
		font-size: 14px !important;
	}
}

@media (max-width: 767px) {
	#overlay-images .et_pb_image_wrap {
		margin: 0 auto;
    	display: block;
	}
	#banner-section.banner-content-sec .et_pb_column {
		border: 0;
		width: 100%;
	}
	#overlay-images {
    	padding: 75px 0 40px;
	}
	#overlay-images .et_pb_image_wrap img {
        max-height: 60vh;
    }
}