.flip-card {
  background-color: transparent;
  width: 330px;
  height: 300px;
  perspective: 1000px;
  margin: auto;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateX(180deg); /* Vertical flip */
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 12px;
  font-size: 14px;
}

.flip-card-front {
  background-color: #90ee90; /* Light green */
  color: white;
  font-weight: bold;
}

.flip-card-back {
  background-color: orange;  /* Orange background */
  color: white;              /* White text */
  transform: rotateX(180deg);
}