* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.95em;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a {
    color: #a8b8ff;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-info a:hover {
    color: #c8d4ff;
    text-decoration: underline;
}

.content {
    padding: 40px;
}

.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.6em;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.job {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid #e0e0e0;
    transition: border-color 0.3s;
}

.job:hover {
    border-left-color: #667eea;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.job-title {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.job-date {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.company {
    color: #764ba2;
    font-weight: 500;
    margin-bottom: 10px;
}

.job ul {
    margin-left: 20px;
    margin-top: 10px;
}

.job li {
    margin-bottom: 6px;
    color: #555;
}

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

.affiliation-item, .honor-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.affiliation-item:hover, .honor-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.research-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 5px solid #667eea;
}

.research-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 1em;
}

.research-subtitle {
    font-style: italic;
    color: #555;
    margin-bottom: 8px;
}

.research-detail {
    color: #666;
    font-size: 0.95em;
}

.presentation-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.presentation-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.presentation-title {
    font-weight: 600;
    color: #667eea;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.presentation-desc {
    color: #666;
    font-size: 0.95em;
}

.skills-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.skill-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95em;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s;
}

.skill-badge:hover {
    transform: translateY(-3px);
}

@media print {
    body {
        background: white;
        padding: 0;
    }
    .container {
        box-shadow: none;
    }
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 2em;
    }
    .content {
        padding: 20px;
    }
    .job-header {
        flex-direction: column;
    }
}