
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 285px;
    perspective: 1000px;
    margin: 20px auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    backface-visibility: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.flip-card-front {
    background: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flip-card-front img {
    width: 155px;
    height: 155px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.flip-card-front h5 {
    margin: 5px 0 10px;
    font-size: 17px;
    font-weight: bold;
}

.flip-card-front span {
    font-size: 13px;
    color: #555;
    display: block;
}

/* BACK */
.flip-card-back {
    background: linear-gradient(135deg, #07294d, #0f2135);
    color: white;
    text-align: center;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-card-back h5 {
    margin-bottom: 5px;
    font-size: 17px;
    font-weight: bold;
    color: white;

}

.flip-card-back span {
    font-size: 13px;
    color: white;
    margin-bottom: 10px;
    display: block;
}

.flip-card-back p {
    font-size: 14.5px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: rgb(230, 230, 230);
  
}

.flip-card-back a {
    color: white;
    font-size: 18px;
}