.bio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bio-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.bio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.bio-modal-container {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 650px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    padding: 30px;
}

.bio-modal.is-active .bio-modal-container {
    transform: scale(1);
}

.bio-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    transition: color 0.2s ease;
}

.bio-modal-close:hover {
    color: #ff4d4d;
}

.bio-modal-content {
    display: flex;
    gap: 30px;
}

@media (max-width: 600px) {
    .bio-modal-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bio-modal-container {
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.bio-modal-image-container {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bio-modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-modal-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-modal-name {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.bio-modal-role {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #808FAD;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-modal-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.bio-modal-email {
    font-size: 14px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.bio-modal-email:hover {
    text-decoration: underline;
}
