/* Diseño general de la tarjeta */
.flip-card {
    perspective: 1000px;
    width: 100%;
    height: 200px;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out;
}

/* Fondo de la parte frontal */
.flip-card-front {
    background: #FFF;
    color: #333;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
}

/* Fondos alternos en la parte trasera */
.flip-card-back {
    text-align: center;
    padding: 20px;
    transform: rotateY(180deg);
    border: 1px solid #ddd;
}
.flip-card-back p{
    color: #fff; /* Texto en blanco */
}

.bg-blue {
    background: #15396D; /* Azul oscuro */
}

.bg-burgundy {
    background: #6C1947; /* Vino oscuro */
}

/* Efecto de sombra al hacer hover */
.flip-card:hover .flip-card-front {
    background: #e3f2fd; /* Azul pastel */
}

