
/* Profile Card Styles */
.team-item {
    height: 350px;
    perspective: 1000px;
    margin-bottom: 30px;
}

.team-card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-item:hover .team-card {
    transform: rotateY(180deg);
}

.front-side, .back-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.front-side {
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.image-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.designation-box {
    width: 100%;
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}

.back-side {
    background: linear-gradient(90deg, #1C2035, #00cc99);
    color: white;
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.team-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.team-role {
    color: #065446;
    font-weight: 500;
    font-size: 0.9rem;
}

.back-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.back-role {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.back-description {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.95;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.hover-instruction {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-style: italic;
}