.card-custom {
    min-height: 625px;
}

/* Apply these styles on mobile devices */
@media (max-width: 768px) {
    .card-custom {
        min-height: 400px;
    }
}

.card {
    position: relative;
    width: 100%;
    height: 300px; 
    perspective: 1000px;
    padding: 0;
  }
  
  /*
  .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease;
  }

  .card:hover .card-inner {
    transform: rotateX(180deg);
  }
*/
  
  .card-front,
  .card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }
  
  .card-front {
    background-size: cover;
    background-position: center;
  }
  
  .card-back {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    transform: rotateX(180deg);
  }
