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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding: 40px 200px;
}

.container {
    width: 100%;
    margin: 0 auto;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 30px;
}

.profile-picture {
    flex-shrink: 0;
}

.profile-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
}

.profile-info {
    text-align: center;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.bio {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.2s ease;
}

.icon:hover {
    background-color: #e0e0e0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
    width: 60%;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
}

.timeline-entry {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.timeline-dot {
    position: absolute;
    left: -50px;
    top: 20px;
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #ddd;
}

.timeline-content {
    flex: 1;
}

.date {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

.timeline-main {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.logo-container {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    flex: 1;
}

.description a {
    color: #0066cc;
    text-decoration: none;
}

.description a:hover {
    text-decoration: underline;
}

.description strong {
    font-weight: 600;
    color: #000;
}

/* Pet Projects Section */
.pet-projects {
    background-color: #f8f9fa;
    padding: 60px 200px;
    margin: 60px -200px 0 -200px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    width: 60%;
    margin: 0 auto 30px;
}

.project-entry {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 60%;
    margin: 0 auto 30px;
}

.project-image {
    flex-shrink: 0;
}

.project-image img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: contain;
}

.project-content {
    flex: 1;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.project-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
    display: inline-block;
}

.project-name:hover {
    text-decoration: underline;
}

.project-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 12px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border: 1px solid #d9dee5;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-link-btn:hover {
    background-color: #ebf1f7;
    border-color: #bfd0e2;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
}

.project-link-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.18);
}

.visit-btn {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

.visit-btn:hover {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #fff;
    box-shadow: none;
    transform: none;
}

.project-privacy-text {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.project-link {
    color: #0066cc;
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
}

/* Research Section */
.research-section {
    background-color: #fff;
    padding: 60px 200px;
    margin: 0 -200px;
}

.research-entry {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 60%;
    margin: 0 auto 30px;
}

.research-image {
    flex-shrink: 0;
}

.research-image img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: contain;
}

.research-content {
    flex: 1;
}

.research-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}

.research-title:hover {
    text-decoration: underline;
}

.research-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.research-link {
    color: #0066cc;
    text-decoration: none;
}

.research-link:hover {
    text-decoration: underline;
}

/* Volunteer Work Section */
.volunteer-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin: 0 -200px;
}

.volunteer-section .content-wrapper {
    padding: 0 200px;
}

.volunteer-entry {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 60%;
    margin: 0 auto 30px;
}

.volunteer-image {
    flex-shrink: 0;
}

.volunteer-image img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: contain;
}

.volunteer-content {
    flex: 1;
}

.volunteer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}

.volunteer-title:hover {
    text-decoration: underline;
}

.volunteer-link {
    color: #0066cc;
    text-decoration: none;
}

.volunteer-link:hover {
    text-decoration: underline;
}

.volunteer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Collapsible Description */
.expand-text {
    color: #0066cc;
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
}

.expand-text:hover {
    color: #004499;
}

.full-description {
    display: none;
}

/* Download Buttons */
.download-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background-color: #004499;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
    }

    .profile-info {
        width: 100%;
        min-width: 0;
    }

    .name {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-dot {
        left: -40px;
    }
    
    .timeline-entry {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
        align-self: flex-start;
    }
    
    .pet-projects {
        margin: 60px -15px 0 -15px;
        padding: 40px 15px;
    }
    
    .project-entry {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-image {
        align-self: flex-start;
    }
    
    .research-section {
        margin: 0 -15px;
        padding: 40px 15px;
    }
    
    .research-entry {
        flex-direction: column;
        gap: 15px;
    }
    
    .research-image {
        align-self: flex-start;
    }
    
    .volunteer-section {
        margin: 0 -15px;
        padding: 40px 0;
    }
    
    .volunteer-section .content-wrapper {
        padding: 0 15px;
    }
    
    .volunteer-entry {
        flex-direction: column;
        gap: 15px;
    }
    
    .volunteer-image {
        align-self: flex-start;
    }
}
