
    /* Card Container Styling */
.team-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.4s ease; /* Smooth transition for hover */
    height: 100%; /* Ensures all cards are same height */
    text-align: center;
    border: 1px solid #eee;
}

/* Hover Effect: Scale Up and Deep Shadow */
.team-card:hover {
    transform: scale(1.01); /* Scales the card up by 5% */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    /*border-color: #173629; !* Optional: Change border color to green on hover *!*/
}

/* Image Styling */
.team-img-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.team-img {
    width: 100%;
    transition: transform 0.4s ease;
}
.team-img.cover {
    height: 100%;
    object-fit: cover; /* Ensures image covers area without stretching */
}

.team-card:hover .team-img {
    transform: scale(1.1); /* Slight zoom on image when hovering card */
}

/* Text Content Styling */
.team-info {
    padding: 20px;
}

    .team-info .name {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 5px;
        color: #173629;
    }

    .team-info .designation {
        font-size: 13px;
        color: #c87e5d;
        font-weight: 500;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

/* Contact Links Styling */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-item a {
    text-decoration: none;
    color: #173629;
    transition: color 0.3s;
    word-break: break-all; /* Prevents long emails from breaking layout */
}

@media only screen and (max-width: 992px){
    .team-img-wrapper {
        height: 350px;
    }
}