/* 全局样式 */
:root {
    --primary-color: #2962ff;
    --secondary-color: #3a3a3a;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #212529;
    --border-color: #e9ecef;
    --base-font-size: 16px;
    --heading-font-family: 'Calibri', 'Helvetica Neue', Arial, sans-serif;
    --body-font-family: 'Calibri', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font-family);
    font-size: var(--base-font-size);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0b0b0b; /* 深蓝色 */
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #c6c4cc;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo a {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.5rem;
    position: relative;
}

.nav-links a:hover {
    color: #1c0f4d ;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1c0f4d;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* 个人信息与关于部分样式 */
.profile-about {
    padding: 70px 0;
    background-color: var(--light-gray);
}

.profile-about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* 左侧个人信息样式 */
.profile-info {
    flex: 0 0 300px;
    text-align: center;
}

.profile-image {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 6px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-info h1 {
    font-size: 3rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-family: var(--heading-font-family);
}

.profile-info p {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #131313;
}

.profile-role {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.profile-affiliation {
    margin-bottom: 25px;
}

.profile-affiliation p {
    font-size: 1.26rem;
    margin-bottom: 2px;
    color: #6b6969;
}

.profile-info .contact-details {
    margin: 25px 0;
    text-align: left;
}

.profile-info .contact-item {
    display: flex;
    font-size: 1.3rem;
    align-items: center;
    margin-bottom: 10px;
    color: #0a0a0a;
}

.profile-info .contact-item i {
    width: 25px;
    margin-right: 10px;
    color: #212529; /* 改为黑色 */
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 2rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* 右侧关于内容样式 */
.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.about-content .section-title h2 {
    font-size: 2.4rem;
    padding-bottom: 10px;
    font-family: var(--heading-font-family);
}

.about-content .section-title h2::after {
    left: 0;
    transform: none;
}

/* 关于部分样式 */
.about {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 2.6rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-family: var(--heading-font-family);
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #575754;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.about-text p {
    margin-bottom: 8px;
    font-size: 1.5rem;
    line-height: 1.7;
}

.interests-education-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 25px;
}

.interests-intro, .interests, .education {
    flex: 1;
}

.interests-intro h3 {
    margin-bottom: 15px;
    font-size: 2rem;
    color: var(--secondary-color);
    font-family: var(--heading-font-family);
}

.interests-description {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.interests-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    margin: 0;
}

.interests h3 {
    margin-bottom: 10px;
    font-size: 2rem;
    color: var(--secondary-color);
    font-family: var(--heading-font-family);
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interests-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 3.4px; /* 减小间距 */
    margin-bottom: 10px;
}

.interest-item {
    display: flex;
    align-items: center;
    font-weight: bold; /* 加粗文本 */
    font-size: 1.2rem;
    color: var(--secondary-color);
    padding: 3px 0;
}

.interest-item::before {
    content: '•'; /* 添加圆点 */
    margin-right: 8px;
    font-size: 1.2em;
    color: var(--secondary-color);
}

/* 教育经历样式 */
.education {
    margin-top: 0;
}

.education h3 {
    margin-bottom: 15px;
    font-size: 2rem;
    color: var(--secondary-color);
    font-family: var(--heading-font-family);
}

@media screen and (max-width: 768px) {
    .interests-education-container {
        flex-direction: column;
    }
    
    .interests-intro, .interests, .education {
        margin-top: 20px;
    }
    
    .interests-intro {
        margin-top: 0;
    }
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.education-item {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.education-degree {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.education-degree::before {
    content: '\f19d'; /* 学术帽图标的Font Awesome Unicode */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #212529; /* 黑色图标 */
}

.education-date {
    font-size: 1.1rem;
    color: #666;
    margin-left: 10px;
    font-weight: normal;
}

.education-school {
    font-size: 1.175rem;
    color: #030303;
}

.education-tag,
.skill-tag {
    display: inline-block;
    background-color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin: 2px 4px;
    transition: all 0.3s ease;
}

.education-tag:hover,
.skill-tag:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 研究部分样式 */
.research {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.research-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.research-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.research-content {
    padding: 20px;
}

.research-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.6rem;
    font-family: var(--heading-font-family);
}

.research-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #0039cb;
    text-decoration: none;
    color: #fff;
}

/* 项目页面样式 */
.projects-section {
    padding: 60px 0;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.project-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
}

.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project-content {
    padding: 30px;
}

.project-content h2 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 2rem;
    font-family: var(--heading-font-family);
}

.project-content p {
    margin-bottom: 5px;
    color: #666;
    line-height: 1.7;
    font-size: 1.5rem;
}

.project-content h3 {
    margin: 20px 0 10px;
    color: #0d0d0d;
    font-size: 2rem;
    font-family: var(--heading-font-family);
}

.project-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.project-content ul li {
    margin-bottom: 5px;
    color: #666;
    font-size: 1.5rem;
}

/* 经验页面样式 */
.experience-section {
    padding: 60px 0;
}

.experience-category {
    margin-bottom: 60px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
}

.experience-year {
    flex: 0 0 150px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.experience-details {
    flex: 1;
}

.experience-details h3 {
    margin-bottom: 4px;
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-family: var(--heading-font-family);
}

.experience-institution {
    font-weight: 500;
    color: #555;
    margin-bottom: 12px;
}

.experience-details p {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.7;
    font-size: 1.3rem;
}

.experience-highlights {
    margin-top: 15px;
    padding-left: 20px;
}

.experience-highlights li {
    margin-bottom: 8px;
    color: #666;
}

/* 奖项与竞赛部分样式 */
.awards {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.award-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.award-date {
    flex: 0 0 180px;
    background-color: #1c0f4d;
    color: #e7ee1b;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.3rem;
    text-align: center;
}

.award-content {
    flex: 1;
    padding: 20px;
}

.award-content h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.award-content p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    line-height: 1;
}

/* 技能部分样式 */
.skills {
    padding: 70px 0;
    background-color: #fff;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.skill-item {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-category {
    flex: 0 0 180px;
    background-color: #1c0f4d;
    color: #e7ee1b;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.3rem;
    text-align: center;
}

.skill-content {
    flex: 1;
    padding: 20px;
}

.skill-content p {
    font-size: 1.35rem;
    color: var(--secondary-color);
    line-height: 1.5;
    font-style: bold;
    font-weight: 800;
}

/* 出版物部分样式 */
.publications {
    padding: 40px 0;
}

.publication-list {
    display: flex;
    flex-direction: column;
}

.publication-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.publication-year {
    flex: 0 0 80px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #323131;
}

.publication-details {
    flex: 1;
}

.publication-details h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 2rem;
    font-family: var(--heading-font-family);
}

.publication-details p {
    margin-bottom: 10px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

.publication-authors {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.publication-journal {
    font-weight: 500;
    font-size: 2rem;
}

.publication-links {
    margin-top: 15px;
}

.publication-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1rem;
}

/* 联系部分样式 */
/* Blog部分样式 */
.blog {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-slider {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-slider .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.blog-slider .slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blog-slider .slider-item.active {
    opacity: 1;
}

.blog-slider .slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.blog-slider .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-slider .indicator.active {
    background-color: #e7ee1b;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    color: #1c0f4d;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-content p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 - Blog部分 */
@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-slider {
        height: 200px;
    }
}

.blog-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.contact-info p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: #fff;
    font-size: 1.2rem;
}

.contact-text {
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1.05rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #4b4b4c;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-gray);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.5rem;
    font-family: var(--heading-font-family);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-text, .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .publication-item {
        flex-direction: column;
    }
    
    .publication-year {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
}