
/* Boxes */
.container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 50px;
}
.box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  flex: 1;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.box:hover {
  transform: translateY(20px);
  background: orange;
  color: #fff;
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}
.box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}


@media (max-width: 768px) {

  /* Boxes container */
  .container {
    flex-direction: column;
    gap: 20px;
    padding: 50px;
  }

  /* Individual box */
  .box {
    width: 100%;
    padding: 16px;
  }

  /* Image */
  .box img {
    height: 160px;
  }

  /* Disable hover jump on mobile */
  .box:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: #fff;
    color: inherit;
  }
}

