/* Education & Skills Modal Styles */
.education-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;
}

.education-modal.show {
    display: block;
}

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

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

.close-education-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;
    animation: wipeOut 0.35s ease-in forwards;
}

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

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

.education-modal-body .education-item,
.education-modal-body .leadership-item,
.education-modal-body .skill-category {
    margin-bottom: 30px;
}

/* Modal Tab Navigation */
.modal-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #EE2E31;
    flex-wrap: wrap;
}

.modal-tab {
    background: none;
    border: none;
    color: #C9E4CA;
    padding: 15px 0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.modal-tab:hover {
    color: #EE2E31;
}

.modal-tab.active {
    color: #EE2E31;
    border-bottom-color: #EE2E31;
}

.modal-tab-content {
    display: none;
}

.modal-tab-content.active {
    display: block;
}
