* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', 'sans-serif';
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 20px 0;
}

.container {
    width: 1024px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #1a6fc4, #0d4d8d);
    color: white;
    padding: 15px;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

h1 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.title {
    font-size: 20px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.affiliation {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tabs-container {
    background-color: #f0f4f8;
    padding: 0 40px;
}

.tabs {
    display: flex;
    list-style: none;
    border-bottom: 1px solid #d0d7e2;
}

.tab {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.tab.active {
    color: #1a6fc4;
    background-color: white;
    border-radius: 5px 5px 0 0;
    border: 1px solid #d0d7e2;
    border-bottom: none;
}

.tab:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.7);
}

.tab-content {
    padding: 40px;
    min-height: 400px;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h2 {
    color: #1a6fc4;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeef5;
    font-size: 24px;
}

h3 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 20px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

.publication-list, .project-list, .student-list {
    list-style: none;
}

.publication-item, .project-item, .student-item {
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9fbfd;
    border-left: 4px solid #1a6fc4;
    border-radius: 0 4px 4px 0;
    transition: transform 0.2s ease;
}

.publication-item:hover, .project-item:hover, .student-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.publication-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.publication-authors, .project-desc, .student-info {
    color: #555;
    margin-bottom: 5px;
}

.publication-journal, .project-period, .student-period {
    color: #777;
    font-style: italic;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.profile-link {
    color: #aaefc4;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.profile-link:hover {
    color: #0d4d8d;
    text-decoration: underline;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        flex: 1 0 50%;
        text-align: center;
    }

    .contact-info, .profile-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}