/* gallery and videos */

.gal_section {
    padding: 50px 0;
    text-align: center;
}

.gal_title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.gal_desc {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* Gallery Grid */
.gal_grid {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    padding-top:5px;
}

.gal_item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gal_img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.gal_img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gal_img-wrapper:hover .gal_img {
    transform: scale(1.1);
}

/* Overlay Effect */
.gal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gal_img-wrapper:hover .gal_overlay {
    opacity: 1;
}

.gal_icon {
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Lightbox */
.gal_lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding: 10px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.gal_lightbox-content {
    max-width: 100%;
    max-height: 100%;
}

.gal_close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gal_grid {
        flex-direction: column;
    }
}
/* videos */
/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

.ved_section {
    padding: 50px 0;
    text-align: center;
}

.ved_title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.ved_desc {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* Video Gallery */
.ved_gallery {
    display: flex;
    flex-wrap: wrap;
    padding-top:5px;
}

.ved_item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.ved_video-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.ved_thumb {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.ved_video-wrapper:hover .ved_thumb {
    transform: scale(1.1);
}

/* Overlay Effect */
.ved_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.ved_video-wrapper:hover .ved_overlay {
    opacity: 1;
}

.ved_icon {
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ved_icon:hover {
    transform: scale(1.2);
}

/* Lightbox */
.ved_lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding: 10px 0px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* display: flex; */
    align-items: center;
    justify-content: center;
}
    


.ved_lightbox-content {
    width: 80%;
    height: auto;
    max-height: 80%;
}

.ved_close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .ved_gallery {
        flex-direction: column;
    }

    .ved_lightbox-content {
        width: 90%;
        height: auto;
        max-height: 60%;
    }
}

