/* 教育经历页面样式 */
.education-timeline {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.education-timeline .container h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2b2d42;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4361ee;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4361ee;
    border: 4px solid white;
    top: 20px;
    left: 50%;
    margin-left: -10px;
    z-index: 1;
    box-shadow: 0 0 0 4px #e0e7ff;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content h2 {
    color: #4361ee;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.timeline-date {
    display: inline-block;
    background: #4361ee;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-location {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 15px;
    display: block;
}

.timeline-details p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.course-list {
    margin-top: 15px;
    padding-left: 20px;
}

.course-list li {
    margin-bottom: 8px;
    color: #555;
    position: relative;
    padding-left: 10px;
}

.course-list li::before {
    content: '•';
    color: #4361ee;
    position: absolute;
    left: 0;
}

.education-achievements {
    padding: 80px 0;
    background-color: white;
}

.education-achievements .container h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2b2d42;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
}

.achievement-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.achievement-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 70px;
        text-align: left;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .education-timeline .container h1 {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}