.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-3px);
}

.bi-custom-img {
    width: 24px;
    height: 24px;
}

/* Стили для изображений участников группы */
.member-image-container {
    width: 100%;
    padding-bottom: 100%; /* Создает квадратный контейнер */
    position: relative;
    overflow: hidden;
    border-radius: 1rem; /* rounded-4 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image {
    transform: scale(1.05);
}