.whb-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 25px;
}

.whb-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 25px;
}

.whb-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1;
  transition: all 0.3s ease;
  border-radius: 0 0 25px 25px;
}

.whb-content h3,
.whb-content p,
.whb-hover {
  margin: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whb-hover {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 10px;
  transition: all 0.4s ease;
}

/* Hover behavior */
.whb-box:hover .whb-content {
  height: 100%;
  background: #02a6eb;
  transition: all 0.3s ease;
}

.whb-box:hover .whb-content h3,
.whb-box:hover .whb-content p,
.whb-box:hover .whb-hover {
  transform: translateY(0);
  opacity: 1;
}

.whb-box:hover .whb-hover {
  max-height: 200px;
}

.whb-content h3{
    font-weight: 500;
    font-style: Medium;
    font-size: 22px;
    margin-bottom: 12px;
}

.whb-hover{
    font-style: Italic;
    font-size: 14px;
}