/* Team Profile Modal Styles */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.profile-modal-container {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.profile-modal-overlay.active .profile-modal-container {
    transform: scale(1);
}

.profile-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
}

.profile-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.profile-modal-content {
    padding: 50px;
}

.profile-modal-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.profile-modal-photo {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.profile-modal-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
}

.profile-modal-info h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0 0 20px 0;
}

.profile-modal-section {
    margin-bottom: 30px;
}

.profile-modal-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.profile-modal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 15px;
}

.profile-modal-quote {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 25px;
    border-radius: 10px;
    font-style: italic;
    color: #1e40af;
    font-size: 17px;
    line-height: 1.7;
    margin: 20px 0;
}

.profile-modal-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.achievement-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-orange);
}

.achievement-item strong {
    display: block;
    color: #111827;
    font-size: 15px;
    margin-bottom: 5px;
}

.achievement-item span {
    color: #6b7280;
    font-size: 14px;
}

/* Colorful Professional Button - Left Aligned */
.btn-see-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-see-profile:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-see-profile::before {
    content: "👤";
    font-size: 16px;
}

@media (max-width: 768px) {
    .profile-modal-content {
        padding: 30px 20px;
    }

    .profile-modal-header {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .profile-modal-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .profile-modal-info h2 {
        font-size: 26px;
    }

    .profile-modal-achievements {
        grid-template-columns: 1fr;
    }
}