:root {
–primary-color: #2c3e50;
–accent-color: #3498db;
–text-color: #555;
–bg-color: #f4f7f6;
}
.team-container {
display: flex;
justify-content: center;
padding: 50px;
background-color: var(–bg-color);
}
.team-card {
background: #fff;
width: 350px;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
overflow: hidden;
text-align: center;
}
/* Advanced Hover Effect */
.team-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.team-img-wrapper {
width: 100%;
height: 300px;
overflow: hidden;
}
.team-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.team-card:hover .team-img {
transform: scale(1.1);
}
.team-content {
padding: 25px;
}
.member-name {
font-size: 24px;
margin: 0 0 10px 0;
color: var(–primary-color);
}
.member-role {
font-size: 16px;
color: var(–accent-color);
font-weight: 600;
text-transform: uppercase;
margin-bottom: 15px;
}
.member-bio {
font-size: 14px;
color: var(–text-color);
line-height: 1.6;
margin-bottom: 20px;
}
.social-links {
display: flex;
justify-content: center;
gap: 15px;
}
.social-icon {
text-decoration: none;
color: var(–primary-color);
font-weight: bold;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 50%;
transition: all 0.3s;
}
.social-icon:hover {
background-color: var(–accent-color);
color: white;
border-color: var(–accent-color);
}