.team-member-profile {
    display: flex;
    box-sizing: border-box;
}

.profile-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap; /* Make it responsive */
}

.profile-bio-avatar {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    object-fit: cover !important;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.profile-bio-content {
    flex: 1 1 0;
    min-width: 280px;
    width: 100%; 
}

.profile-bio-name {
    margin-bottom: 1rem;
}

.profile-bio-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.profile-bio-social-links .uil {
    border-radius: 25%;
}

.profile-bio-social-links .uil:hover {
    background: white;
    border-radius: 50%;
    transition: all ease .3s;
}

.profile-bio-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Optional: make image and text stack vertically on small screens */
@media (max-width: 768px) {
    .profile-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .profile-bio-avatar {
        margin-bottom: 1rem;
    }

    .profile-bio-content {
        text-align: left;
        width: 100%;
    }
}
