.otslr-flip-card {
  perspective: 1000px;
}

.otslr-flip-card__inner {
  position: relative;
  width: 100%;
  height: 300px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  background-size: cover;
  background-position: center;
}

.otslr-flip-card:hover .otslr-flip-card__inner {
  transform: rotateY(180deg);
}

.otslr-flip-card__front,
.otslr-flip-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otslr-flip-card__front {
  background-size: cover;
  background-position: center;
  color: white;
  z-index: 2;
}

.otslr-flip-card__back {
  background-color: #333;
  color: white;
  transform: rotateY(180deg);
  z-index: 1;
}

.otslr-flip-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.otslr-flip-card__content {
  position: relative;
  z-index: 2;
  padding: 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.otslr-flip-card__heading {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.otslr-flip-card__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
