.video-section {
    position: relative;
    width: 100%;
    height: 525px; /* Adjust the height as per your preference */
    overflow: hidden; /* Hides anything outside the section */
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the whole section */
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text both vertically and horizontally */
    color: white; /* Text color */
    text-align: center;
    font-family: 'MADE Mirage',sans-serif; /* Optional: change font */
}

.overlay-text h2 {
    font-size: 24px; /* Adjust as needed */
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 16px; /* Adjust as needed */
    margin-top: 40px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* four equal columns */
    gap: 11px; /* Spacing between thumbnails */
    padding: 20px;
    margin-left: 130px;
    margin-right: 130px;
}

.image-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensures square thumbnails */
    object-fit: cover;
   /* border-radius: 5px;  Optional: Rounded corners */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

@media (max-width: 1200px) {
    .image-gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for large tablets and below */
        margin-left: 20px;
    margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller tablets and mobile */
        margin-left: 20px;
    margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);; /* 1 column for mobile devices */
        margin-left: 10px;
    margin-right: 10px;
    
    }

    .image-gallery img {
        object-fit: cover; 

    }

}
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Black background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent page scrolling */
}

.lightbox-modal.show {
    display: flex !important; /* Show modal */
}

/* Modal Content */
.modal-content {
    background-color: transparent !important;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
}

/* Image Styling */
.modal-content img {
    max-width: 100%;  /* Limit image size */
    max-height: 100vh; /* Limit image size */
    
    object-fit: contain; /* Keep the image's original aspect ratio */
    display: block;
    margin: 0 auto; /* Center image */
    
    position: relative;
    display: flex;
    
}

/* Prev and Next Buttons */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    border: none;
    
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    touch-action: manipulation; /* For better touch support */
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(255, 255, 255, 1); /* Highlight on hover */
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 30px;
    right: 80px;
    font-size: 5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 1200px) {
    .modal-content img {
        max-width: 90%;  /* Limit image size */
        
        
    }
}

@media (max-width: 768px) {
    .modal-content img {
        max-width: 85%;  /* Limit image size */
        
        
    }
}

@media (max-width: 480px) {
    .modal-content img {
        max-width: 100%;  /* Limit image size */
        
        
    }

}