#team {
    scroll-margin-top: 120px;
}

.team {
    width: 1081px;
    padding: 0;
    margin-bottom: 200px;
}

.team h2 {
    font-size: 34px;
    font-weight: 300;
    margin-bottom: 200px;
    color: #fff;
    text-align: left;
    padding-left: 0;
}

/* Стили для карточек в карусели */
.team .card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 15px;
    box-sizing: border-box;
    gap: 15px;
    cursor: pointer;
}

.team-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    align-items: center;
}

.team-member {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px;
   
    border-radius: 30px;
    width: 1081px;
    height: 155px;
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.member-text {
    font-family: 'Ubuntu';
    font-size: 10px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 5px;
    max-height: 120px;
    overflow-y: auto;
    padding: 0 5px;
    flex-grow: 1;
}

.member-text::-webkit-scrollbar {
    width: 2px;
}

.member-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.member-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.member-name {
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    color: #666;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}


.team-section {
    padding: 300px 0;
}

.team-section h2 {
    font-size: 64px;
    margin-bottom: 200px;
}

.team-carousel {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
    height: 800px;
}

.team-card img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 60px;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.1);
}

.team-card h3 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #fff;
}

.team-card p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.team-card .social-links {
    display: flex;
    gap: 40px;
}

.team-card .social-links a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-card .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.team-card .social-links img {
    width: 32px;
    height: 32px;
    margin: 0;
    border: none;
} 