/* Global */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #111;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header with left-right layout */
.header {
    display: flex;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
}

.header-left {
    flex-shrink: 0;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #1a73e8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: cover;
}

.header-right h1 {
    margin: 0 0 10px;
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.header-right p {
    margin: 5px 0;
}

.header-right p.links a {
    text-decoration: none;
    color: #1a73e8;
    transition: color 0.3s;
}

.header-right p.links a:hover {
    color: #0b56c1;
}

/* Sections */
section {
    background: #fff;
    padding: 30px 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.appear, footer.appear {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-family: 'Merriweather', serif;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Research Interests Badges */
.badges span {
    display: inline-block;
    background-color: #1a73e8;
    color: #fff;
    padding: 6px 12px;
    margin: 5px 5px 0 0;
    border-radius: 20px;
    font-size: 0.9em;
}

/* Timeline */
.timeline {
    border-left: 3px solid #1a73e8;
    margin-left: 15px;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item h3 {
    margin-top: 0;
}

.timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #1a73e8;
    border-radius: 50%;
    position: absolute;
    left: -27px;
    top: 5px;
}

/* Footer */
footer {
    text-align: center;
    margin: 40px 0;
    color: #555;
    font-size: 0.9em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
