.image-container {
  width: 100%;
  background-color: #f7f7f7;
}
.image-container h1 {
  display: inline-block;
  padding-bottom: 20px;
  position: relative;
  font-weight: 900;
  font-size: 62px;
}
.image-container h1::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 60%;
  height: 2px;
  background-color: #3a7d98;
}

.image-container p {
  color: #6c757d;
}

.masonry-container {
  column-count: 4; /* Number of columns for large screens */
  column-gap: 10px; /* Gap between columns */
  padding: 10px;
}
/* Adjust columns for medium screens */
@media (max-width: 992px) {
  .masonry-container {
    column-count: 3;
  }
  .image-container h1 {
    font-size: 52px;
  }
}
/* Adjust columns for small screens */
@media (max-width: 768px) {
  .masonry-container {
    column-count: 2;
  }
  .image-container h1 {
    font-size: 42px;
  }
}
/* Single column for extra small screens */
@media (max-width: 576px) {
  .masonry-container {
    column-count: 1;
  }
  .image-container h1 {
    font-size: 32px;
  }
}
.masonry-item {
  break-inside: avoid; /* Prevent breaking images between columns */
  margin-bottom: 10px;
  transition: transform 0.5s ease;
  /* position: relative; */
}
.masonry-item img {
  width: 100%;
  height: auto;
  /* border-radius: 5px; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* .masonry-item:hover::after {
  content: "\f00e"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffffff; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3a7d9889;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
} */

.masonry-item:hover {
  cursor: pointer;
  transform: scale(1.02);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  /* border-radius: 5px; */
}

.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox .close-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  color: black;
}
