/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    width: 100%;
    position: relative;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Profile Section */
.profile-section {
    margin-bottom: 3rem;
}

.profile-content {
    display: flex;
    gap: 3rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

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

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.name {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 1.25rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 1rem;
}

.affiliation {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 1rem;
}

.email {
    font-size: 1rem;
    color: #0066cc;
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    text-align: justify;
}

.cv-button-container {
    margin-top: 1rem;
}

.cv-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #0066cc;
}

.cv-button:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

/* Education Section */
.education-section {
    margin: 3rem 0;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.education-link-wrapper:hover .education-item {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
    cursor: pointer;
}

.education-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.education-item:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.education-logo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.education-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.education-info {
    flex: 1;
    text-align: left;
}

.education-degree {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.education-school {
    font-size: 1rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.education-year {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.education-details {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Experience Section */
.experience-section {
    margin: 3rem 0;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.experience-link-wrapper:hover .experience-item {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
    cursor: pointer;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.2rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.experience-item:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.experience-logo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
}

.experience-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.experience-info {
    flex: 1;
    text-align: left;
}

.experience-position {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.experience-company {
    font-size: 1rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.experience-year {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.experience-location {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.experience-details {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Publications Section */
.publications-section {
    margin: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 0.5rem;
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.publication-link-wrapper:hover .publication-item {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
    cursor: pointer;
}

.publication-item {
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    text-align: center;
}

.publication-item:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.publication-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.publication-authors {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.publication-venue {
    font-size: 1rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.publication-year {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.publication-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

.publication-link:hover {
    background-color: #0052a3;
}

.publication-link.secondary {
    background-color: #666;
}

.publication-link.secondary:hover {
    background-color: #555;
}

.publication-image {
    margin-top: 1rem;
    text-align: center;
}

.publication-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }
    
    .profile-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        align-items: center;
    }
    
    .profile-image {
        align-self: center;
    }
    
    .profile-image img {
        width: 200px;
        height: 200px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .publication-item {
        padding: 1rem;
    }
    
    .publication-title {
        font-size: 1.1rem;
    }
    
    .education-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .education-info {
        text-align: center;
    }
    
    .education-logo {
        width: 100px;
        height: 100px;
    }
    
    .experience-item {
        flex-direction: column;
        text-align: center;
        gap: 0.1rem;
    }
    
    .experience-info {
        text-align: center;
    }
    
    .experience-logo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .profile-image img {
        width: 150px;
        height: 150px;
    }
    
    .name {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .education-logo {
        width: 80px;
        height: 80px;
    }
    
    .experience-logo {
        width: 100px;
        height: 100px;
    }
}


