.fixed-img {
  width: 100%;
  height: 400px;
}

.img-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 100%;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.img-container:hover .overlay-text {
  opacity: 1;
}