
.cbw-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.cbw-box {
text-align: center !important;
  flex: 1 1 calc(20% - 20px);
  position: relative;
  overflow: hidden;
  height: 300px;
  min-width: 200px;
  max-width: 300px;
  transition: transform 0.3s;
}

.cbw-box-inner {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  position: relative;
  transition: transform 0.3s;
}

.cbw-icon img {
 text-align: center;
  width: 50px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.cbw-title {
    text-align: center;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cbw-btn {
  background: #fff;
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cbw-box-inner:hover {
  transform: scale(1.05);
}

.cbw-box-inner:hover .cbw-btn {
  transform: translateY(0);
  opacity: 1;
}

.cbw-box-inner:hover .cbw-icon,
.cbw-box-inner:hover .cbw-title {
  transform: translateY(-10px);
}

/* Mobile slider style for Swiper (to be enhanced via JS) */
@media (max-width: 767px) {
  .cbw-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .cbw-box {
    flex: 0 0 48%;
    scroll-snap-align: start;
  }
}