.custom-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.custom-image-grid .grid-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.custom-image-grid .grid-item:hover {
  transform: scale(1.03);
}

.custom-image-grid img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  border-radius: 10px !important;
}

.custom-image-grid h4 {
  font-size: 16px;
  margin: 0;
}
@keyframes fadeInUp {
  from {
    transform: translate3d(0, 40px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

/* Shine animation base */
.sw__shine_animation {
  position: relative;
  overflow: hidden;
  visibility: visible;
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.3s;
}

.sw__shine_animation::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
}

.sw__shine_animation:hover::after {
  animation: shine 1s;
}
