/* 学习经历页面样式 */
.education-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* 通用标题样式 */
.container h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2em;
    text-align: center;
    position: relative;
}

.container h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #00a8ff;
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* 时间线样式 */
.timeline-section {
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 2rem;
    width: 16px;
    height: 16px;
    background-color: #00a8ff;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #00a8ff;
}

.timeline-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-content .subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 1.5rem;
}

.details h4 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
    font-size: 1.1em;
}

.details ul {
    list-style: none;
}

.details ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00a8ff;
}

/* 技能卡片样式 */
.skills-section {
    margin-bottom: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    font-size: 2.5em;
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.skill-card ul {
    list-style: none;
    text-align: left;
}

.skill-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.skill-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00a8ff;
}

/* 成果展示样式 */
.achievements-section {
    margin-bottom: 4rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-card {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    font-size: 2em;
    margin-right: 1rem;
}

.achievement-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.achievement-content ul {
    list-style: none;
}

.achievement-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.achievement-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00a8ff;
}

/* 实践经历样式 */
.practice-section {
    margin-bottom: 4rem;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.practice-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-10px);
}

.practice-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.practice-content {
    padding: 1.5rem;
}

.practice-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.practice-content .time {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 1rem;
}

.practice-content p {
    color: #666;
    line-height: 1.6;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .timeline-item {
        padding: 1rem;
    }

    .timeline-item:hover {
        transform: none;
    }

    .skills-grid,
    .achievements-grid,
    .practice-grid {
        grid-template-columns: 1fr;
    }

    .skill-card:hover,
    .achievement-card:hover,
    .practice-card:hover {
        transform: none;
    }
}

/* 动画效果 */
.timeline-item,
.skill-card,
.achievement-card,
.practice-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(1) { animation-delay: 0.2s; }
.skill-card:nth-child(2) { animation-delay: 0.3s; }
.skill-card:nth-child(3) { animation-delay: 0.4s; }
.skill-card:nth-child(4) { animation-delay: 0.5s; }
.achievement-card:nth-child(1) { animation-delay: 0.6s; }
.achievement-card:nth-child(2) { animation-delay: 0.7s; }
.achievement-card:nth-child(3) { animation-delay: 0.8s; }
.practice-card:nth-child(1) { animation-delay: 0.9s; }
.practice-card:nth-child(2) { animation-delay: 1s; }