/* 实习经历页面样式 */
.internship-header {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.internship-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.internship-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.internship-timeline {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.internship-timeline .container {
    max-width: 900px;
}

.internship-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #8e2de2;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding: 0 0 0 70px;
}

.timeline-item:nth-child(odd) {
    padding: 0 70px 0 0;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-marker {
    left: auto;
    right: -10px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 70px;
}

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

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: 70px;
    border-left: 4px solid #8e2de2;
}

.timeline-item:nth-child(odd) .timeline-content {
    border-left: none;
    border-right: 4px solid #8e2de2;
}

.company-header h2 {
    color: #8e2de2;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.role-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.role {
    font-weight: 600;
    color: #4361ee;
    background: #e0c4ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
}

.duration {
    color: #6c757d;
    font-style: italic;
    background: #f1f1f1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
}

.responsibilities, .achievements {
    margin: 25px 0;
}

.responsibilities h3, .achievements h3, .recommendation h3 {
    color: #8e2de2;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #f0e6ff;
    padding-bottom: 8px;
}

.responsibilities ul, .achievements ul {
    padding-left: 20px;
}

.responsibilities li, .achievements li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 15px;
    line-height: 1.7;
}

.responsibilities li::before, .achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.recommendation {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    background: #f9f5ff;
    padding: 20px;
    border-radius: 8px;
}

.recommendation p {
    font-style: italic;
    color: #555;
}

.recommendation strong {
    color: #8e2de2;
}

.skills-developed {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f4 100%);
}

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

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

.skill-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
}

.skill-item h3 {
    color: #8e2de2;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.skill-item ul {
    list-style: none;
    padding: 0;
}

.skill-item li {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: #555;
}

.skill-item li:last-child {
    border-bottom: none;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .internship-header h1 {
        font-size: 2.2rem;
    }
    
    .internship-header p {
        font-size: 1.1rem;
    }
    
    .internship-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding: 0 0 0 70px;
    }
    
    .timeline-item:nth-child(odd) {
        padding: 0 0 0 70px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-marker {
        right: auto;
        left: -10px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        margin-left: 60px;
        margin-right: 0 !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 0;
        border-right: none;
        border-left: 4px solid #8e2de2;
    }
    
    .role-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}