.team-member {
    text-align: center;
    margin: 20px;
    position: relative;
    margin-bottom: 0;
}

.team-pro-text-wrap {
    text-align: center;
}

.profile-pic {
    display: inline-block;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    background-color: #dde2e8;
    overflow: hidden;
}

.profile-pic img {
    height: 100%;
}

.linkedin-icon {
    position: absolute;
    bottom: 25px;
    right: 50px;
    background-color: #00263B;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.name {
    font-size: 20px;
    margin: 10px 0 5px;
    font-weight: bold;
}

.title {
    font-size: 14px;
    color: #555;
}

/* Modal container */
.team-member-wrapper .modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.team-member-wrapper .modal.show {
    display: flex !important; 
}

.team-member-wrapper .modal-header {
    border: none;
}

.team-member-wrapper .modal.show .modal-dialog {
    max-width: 700px;
}

/* Close button */
.btn-close {
    font-size: 10px;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    border: none;
}

.btn-close:hover,
.btn-close:focus {
    background-color: transparent;
}

/* Profile section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-section img {
    border-radius: 50%;
    width: 175px;
    height: 175px;
}

.profile-info h3 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
}

.profile-info p {
    margin-top: 5px;
    color: #777;
    font-size: 14px;
}

/* Bio section */
.bio-section {
    max-width: 500px;
    text-align: left;
}

.bio-section .social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.bio-section .social-icons a svg {
    width: 15px;
}

.bio-section p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
/* html[lang="ar"] .btn-close {
    left: 15px;
} */
html[lang="ar"] .bio-section p {
    text-align: right;
}
@media (max-width: 576px) {
    .bio-section {
        text-align: center;
    }
    .bio-section .social-icons {
        align-items: center;
        justify-content: center;
    }
}