/* Education Section Styles */
.education .section-content {
    width: calc(100% - var(--section-title-width) - var(--section-gap));
}

.education-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.8) 0%, rgba(233, 236, 239, 0.6) 100%);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(85, 194, 218, 0.05) 0%, rgba(85, 194, 218, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-left-color: #48b0c5;
}

.education-item:hover::before {
    opacity: 1;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-header {
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.education-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
}

.education-header h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-date {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    background-color: rgba(85, 194, 218, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.education-description {
    line-height: 1.8;
    color: #555;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Clean indicators for education levels using CSS only */
.education-item:nth-child(1) .education-header::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), #48b0c5);
    border-radius: 2px;
}

.education-item:nth-child(2) .education-header::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 4px;
    height: 80%;
    background: linear-gradient(to bottom, #48b0c5, var(--accent-color));
    border-radius: 2px;
}

.education-item:nth-child(3) .education-header::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 4px;
    height: 60%;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .education-item {
        padding: 1.8rem;
        margin-bottom: 2rem;
    }

    .education-header h3 {
        font-size: 1.3rem;
    }

    .education-header h4 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .education .section-title {
        width: 100%;
    }

    .education .section-content {
        width: 100%;
    }

    .education-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .education-header h3 {
        font-size: 1.2rem;
    }

    .education-header h4 {
        font-size: 0.95rem;
    }

    .education-date {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }

    .education-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .education-item {
        padding: 1.2rem;
        border-left-width: 3px;
    }

    .education-header h3 {
        font-size: 1.1rem;
    }

    .education-header h4 {
        font-size: 0.9rem;
    }

    .education-date {
        font-size: 0.8rem;
    }

    .education-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}