/* Single "What We Do" Page Video Section */
.video-gallery {
    padding: 40px 20px;
    background-color: var(--light-gray);
}

.video-gallery .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.video-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

/* Each video item styling */
.video-item {
    flex: 0 0 calc(50% - 20px); /* Two videos per row, with gap in between */
    box-sizing: border-box;
    text-align: center; /* Ensure text is centered under the video */
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* This keeps the aspect ratio at 16:9 */
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
}

.video-thumbnail iframe,
.video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fits container */
    border-radius: 10px;
}

/* Name styling (below the video) */
.name {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    display: block;
    text-align: center;
}

/* Ensure name does not break the layout */
.name:empty {
    display: none;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .video-item {
        flex: 0 0 100%; /* Stack videos on smaller screens */
    }
}


/* //swiper css */
.photo-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 images per row */
    gap: 15px;
    padding: 20px;
}

.photo-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensures all images are square */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* Optional for consistency */
    border-radius: 8px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the space without distortion */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.photo-item img:hover {
    transform: scale(1.05);
}




