.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Grid layout to wrap thumbnails dynamically */
.gallery-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

/* Left thumbnails */
.left-thumbs {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Right thumbnails - Stay in same row */
.right-thumbs {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: center;
}

/* Bottom thumbnails (Full width under the main image) */
.bottom-thumbs {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

/* Thumbnail Images */
.thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.thumb-img:hover {
    transform: scale(1.1);
    border: 2px solid #F5A425;
}

/* Main Image Carousel */
.carousel-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.carousel-inner img {
    border-radius: 10px;
}

/* Responsive Adjustments */
  .events-section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
  }  
  .events-section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #3498db;
    margin: 10px 0 10px;
  }
  .events-section-text {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
  }
  @media (max-width: 768px) {  
    .events-section-title {
        font-size: 1rem;
    }

    .events-section-title::after {
        width: 50px;
        height: 2px;
    }
    .events-section-text {
        font-size: 14px;
    }
    .gallery-thumbnails {
        display: none;  /* Hide thumbnails on smaller screens */
    }
    .gallery-grid{
        gap:0px
    }
}