.gallery-intro{
  width: 95%;
  margin-top: 40px;
}

.gallery-intro h2{
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
}

.gallery-intro p{
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}

#gallery-section {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
/*  background: #f2f2f2;*/
}

.wrapper {
  max-width: 1200px; /* Slightly increased for better spacing */
  margin: auto;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.gallery .image {
  padding: 5px;
  width: calc(25% - 10px); 
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.gallery .image span {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.gallery .image img {
  width: 100%;
  border-radius: 15px 15px 0px 0px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.gallery .image:hover img {
  transform: scale(1.04);
}


@media (max-width: 1000px) {
  .gallery .image {
    width: calc(33.33% - 10px); /* Three images per row */
  }
}

@media (max-width: 768px) {
  .gallery .image {
    width: calc(50% - 10px); /* Two images per row */
  }

  .gallery-intro h2{
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
  }

  .gallery-intro p{
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery .image {
    width: 100%;
    padding: 5px;
  }
}
