.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25%, 1fr)); 
}
.gallery-section .image {
  overflow: hidden;
}
.gallery img {
  height: 100% !important;
  width: 100%;
  cursor: pointer; 
  transition: transform 0.3s;
}

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 80%;
  width: 50%;
  object-fit: cover;
  max-height: 70%;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lightbox img.show {
  opacity: 1;
  transform: scale(1);
}


.gallery-section .lightbox .close, 
.gallery-section .lightbox .next, 
.gallery-section .lightbox .prev {
  background: rgba(0,0,0,.4);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: normal;
  text-align: center;
  padding: 10px;
  position: absolute;
  width: 50px;
  height: 50px;
  transition: .3s;
  user-select: none;
}

.lightbox .close {
  top: 20px;
  right: 20px;
}

.lightbox .prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-section {}

.gallery-section .gallery-content {
  text-align: center;
}

.gallery-section .gallery-content h2 {
  margin-bottom: 42px;
}


@media only screen and (max-width: 767px) {
  .gallery-section .gallery-content h2 {
    margin-bottom: 15px;
    font-size: 30px;
  }


