.flip-box {
  background-color: transparent;
  width: 80%;
  height: 380px;
  /* border: 1px solid #f1f1f1; */
  perspective: 1000px;
  cursor: pointer; /* pointer cursor dikhane ke liye */
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Remove this hover effect */
/* .flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
} */

/* Flip class toggle ke liye */
.flip-box-inner.flipped {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  /* background-color: #bbb; */
  color: black;
}

.flip-box-back {
  /* background-color: #555; */
  color: white;
  transform: rotateY(180deg);
  /* width: 80%; */
}
