.gallery-section {
    background: #f9f9f9;
    padding: 60px 20px;
    color: #333;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #ff7a00;
    margin-bottom: 40px;
  }
  
  /* Scrollable Container */
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Grid layout */
    gap: 20px;
    justify-items: center;
    max-height: 600px;  /* Fixed height with scroll */
    overflow-y: auto;
    padding: 0 20px;
    margin-top: 40px;
    transition: all 0.3s ease;
  }
  
  .gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    border-radius: 15px;
  }
  
  .gallery-item:hover .overlay {
    opacity: 1;
  }
  
  .overlay-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  @media (max-width: 768px) {
    .gallery-container {
      max-height: 500px;
    }
  }
  
  @media (max-width: 480px) {
    .gallery-container {
      max-height: 400px;
    }
  }
  

  .scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: orange;
    cursor: pointer;
    animation: bounce 2s infinite;
  }

  .scroll-arrow i {
    font-size: 3rem;
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }










.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox-content img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
}


