/* Education Section */
#education-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e6dfd3;
    padding: 50px 0;
    box-sizing: border-box;
}

.education-section {
    background-color: #0d1117;
    color: white;
    width: 90%;
    max-width: 1000px; 
    padding: 40px 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.education-section h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    letter-spacing: 2px;
    position: relative;
    top: 30px;
}

.education {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.education::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #b2c6dc;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: transparent;
    width: 50%;
    box-sizing: border-box;
    display: flex;
}

.timeline-item:nth-child(even) {
    left: 0;
    justify-content: flex-end;
}

.timeline-item:nth-child(odd) {
    left: 50%;
    justify-content: flex-start;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: #111817;
    border: 4px solid #dfdbd6;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    left: -8px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.7);
    color: #dfdbd6;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
}

.timeline-content h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.1rem;
}

.timeline-content p {
    margin: 8px 0 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.timeline-content .date, 
.timeline-content .status {
    font-weight: bold;
    color: #b2c6dc;
}

.timeline-content:hover {
    transform: translateY(-10px);
    transition: all 0.3s linear;
}

@media screen and (max-width: 768px) {
    .education::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }

    .timeline-item:nth-child(odd) {
        left: 0%;
    }

    .timeline-item::after, 
    .timeline-item:nth-child(odd)::after {
        left: 23px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
}