/* Modern Team Member Card Styles */
.team-member-card {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(42, 183, 55, 0.1);
    position: relative;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    z-index: 1;
}

.team-member-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(42, 183, 55, 0.25);
}

.team-member-card-body {
    padding: 2rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-photo-container {
    position: relative;
    margin-bottom: 0;
    width: 100%;
    overflow: hidden;
}

.team-member-photo {
    width: 100%;
    height: 250px;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
    background: #f8f9fa;
}

.team-member-card:hover .team-member-photo {
    transform: scale(1.03);
}

.team-member-name {
    color: var(--dark-green);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.team-member-contact {
    margin: 1.25rem 0;
    padding: 1.25rem 0;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.team-member-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.team-member-contact-item i {
    color: var(--primary-green);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    background: rgba(42, 183, 55, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.team-member-contact-item:hover i {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

.team-member-contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.team-member-contact-item a:hover {
    color: var(--primary-green);
}

.team-member-bio {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 1rem;
    margin-top: 1rem;
    flex-grow: 1;
    text-align: center;
    padding: 0 1rem;
}

.team-member-role {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    text-align: center;
}
