.gallery-banner {
    position: relative;
    width: 100%;
    max-height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-banner .gallery-image1 {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(70%);
}

.gallery-banner .gallery-text {
    position: absolute;
    color: #fff;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gallery-banner {
        max-height: 300px;
    }

    .gallery-banner .gallery-text {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .gallery-banner {
        max-height: 200px;
    }

    .gallery-banner .gallery-text {
        font-size: 1.5rem;
    }
}
/* gallery page*/
.gallery-container {
    text-align: center;
    margin: 0 auto;
    max-width: 1400px;
}

.event-name {
    margin-top: 55px;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.image-grid {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    justify-items: center;
    padding: 10px;
}

.image-grid img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    color: #333;
    text-decoration: none;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.pagination a.active {
    background: #28669c;
    color: white;
}

.pagination a:hover {
    background: #ddd;
}
