body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f9f9f9;
}

#gallery-section {
    padding: 60px 20px;
    text-align: center;
}

.gallery-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    color: gray;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    flex: 1 0 48%; /* 2 columns on mobile */
    max-width: 48%; /* 2 columns on mobile */
    height: 220px; /* Set a fixed height for thumbnails */
    overflow: hidden; /* Hide any overflow */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.shift-number{
	left:600px,

}
.gallery-item:hover {
    transform: scale(1.05); /* Slightly zoom in on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Make the image cover the container while maintaining aspect ratio */
    transition: transform 0.3s ease;
}

.gallery-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gallery-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px; /* Rounded corners for zoomed image */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Shadow for zoomed image */
}

@media (min-width: 768px) {
    .gallery-item {
        flex: 1 0 21%; /* 4 columns on desktop */
        max-width: 22%; /* 4 columns on desktop */
    }
}

@media (max-width: 600px) {
    .gallery-item {
        flex: 1 0 40%; /* 4 columns on desktop */
        max-width: 50%; /* 4 columns on desktop */
    }
}
