.team-member-box {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.team-member-box:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.team-member-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 30px !important; /* empty horizontal space between img and text, without important it doesnt do anything */
    flex-shrink: 0;
}

.team-member-content {
    flex: 1;
}

.team-member-name {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #333;
}

.team-member-description {
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.team-member-socials {
    display: flex;
    gap: 12px;
}

.team-member-socials a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
}

.team-member-socials a:hover {
    transform: translateY(-2px);
}

.team-member-socials a.github:hover {
    background: #333;
}

.team-member-socials a.x:hover {
    background: #000;
}

.team-member-socials a.discord:hover {
    background: #5865F2;
}

.team-member-socials svg {
    width: 18px;
    height: 18px;
    fill: #666;
}

.team-member-socials a:hover svg {
    fill: white;
}

/* Responsive design */
@media (max-width: 480px) {
    .team-member-box {
        flex-direction: column;
        text-align: center;
    }
    
    .team-member-image {
        margin: 0 0 65px 0;
    }
    
    .team-member-socials {
        justify-content: center;
    }
}