/*gallery.css*/
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 150px 20px; /* Adjusted padding for smaller screens */
    background-color: #ffffff;
}

.gallery-item {
    width: calc(33.333% - 20px);
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

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

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    /*border-bottom: 2px solid #7091E6;*/
}

.caption {
    padding: 10px;
    text-align: center;
    font-size: 1em;
    color: #3D52A0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gallery-item {
        width: calc(50% - 10px); /* 2 items per row */
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: calc(100% - 10px); /* 1 item per row */
    }
    
    .gallery-container {
        padding: 100px 20px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .caption {
        font-size: 0.9em; /* Slightly smaller text on very small screens */
    }
}
