/* Professional Experience Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 0, 1, 0.95);
    z-index: 2000;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal.show {
    display: block;
}

.modal.closing {
    display: block;
    animation: wipeOut 0.35s ease-in forwards;
}

@keyframes wipeIn {
    0% {
        clip-path: polygon(0 0, 0 0, 0 0);
    }
    100% {
        clip-path: polygon(0 0, 200% 0, 0 200%);
    }
}

@keyframes wipeOut {
    0% {
        clip-path: polygon(0 0, 200% 0, 0 200%);
    }
    100% {
        clip-path: polygon(0 0, 0 0, 0 0);
    }
}

.modal.closing {
    animation: wipeOut 0.35s ease-in forwards;
}

.modal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 40px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #EE2E31;
    padding-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    font-size: 2.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: #EE2E31;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #C9E4CA;
    transform: scale(1.2);
}

.modal-body {
    padding: 20px 0;
}

.modal-body .experience-item {
    margin-bottom: 30px;
}
.exp-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

.exp-title-duration {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.exp-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: #EE2E31;
}

.duration {
    color: #FFD700;
    font-size: 0.95rem;
    font-weight: 500;
}

.exp-company-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid #EE2E31;
    border-radius: 6px;
    background-color: rgba(238, 46, 49, 0.05);
    white-space: nowrap;
}

.exp-company-link {
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.exp-company-link:hover {
    background-color: rgba(238, 46, 49, 0.15);
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 46, 49, 0.3);
}

.company-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.company-name {
    color: #C9E4CA;
    font-weight: 500;
    font-size: 0.95rem;
}

.exp-location-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid #EE2E31;
    border-radius: 6px;
    background-color: rgba(238, 46, 49, 0.05);
    white-space: nowrap;
}

.location-icon {
    font-size: 18px;
}

.location-text {
    color: #C9E4CA;
    font-weight: 500;
    font-size: 0.95rem;
}