.card-flip {
    width: 150px;
    height: 150px;
    perspective: 1000px;
    -cursor: pointer;
}

.card-flip2 {
    width: 260px;
    height: 180px;
    perspective: 1000px;
    -cursor: pointer;
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

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

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

.card-front, .card-front2, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
}

.card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
}

.card-front img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
].card-front2 img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-content {
    padding: 5px;
    font-size: 1rem !important;
}

.card-content h3 {
    margin: 0 0 10px 0 !important;
    font-size: 1.7rem !important;
    font-weight:bold !important;
    color: #333 !important;
   line-height: 1 !important;
}

.card-content p {
    margin: 0 0 5px 0 !important;
    font-size: 1rem !important;
    color: #666 !important;
   line-height: 1 !important;
}

.btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size:  1rem;
}