.container {
    max-width: 1400px;
    margin: 0 auto;
}

.title {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.our-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px 0;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
}

.team-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0031dd;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.avatar {
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;
    position: relative;
    overflow: hidden;
    border: 4px solid #f8f9fa;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .avatar img {
    transform: scale(1.1);
}

.name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.role {
    font-size: 1rem;
    color: #3498db;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .team-grid {
        gap: 20px;
    }

    .team-card {
        padding: 30px 20px 25px;
    }

   

    .name {
        font-size: 1.2rem;
    }
}
