body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden; /* 隐藏水平滚动条 */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}
.logo {
    height: 50px;
}
.quote-container {
    text-align: right;
}
.quote {
    font-size: 18px;
    font-style: normal;
    font-weight: bold;
    color: #004a80;
}
.quote-author {
    font-size: 14px;
    font-style: normal;
    color: #004a80;
    margin-top: 5px;
}
nav {
    background-color: #004a80;
    color: white;
    padding: 0px 0;
    width: 100vw; /* 导航栏宽度为100% */
}
nav .container {
    display: flex;
    justify-content: flex-start; /* 导航栏内容靠左 */
    position: relative; /* 用于定位折叠菜单 */
}
nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 15px;
    display: inline-block;
    transition: background-color 0.3s ease;
}
nav a:hover {
    background-color: #0073e6;
}
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}
.nav-links {
    display: flex;
}
section {
    padding: 20px;
    margin: 20px 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #004a80;
    color: white;
    width: 100%; /* 页脚宽度为100% */
}
h2 {
    color: #0073e6;
    font-size: 24px;
}
.publication, .project, .award {
    margin-bottom: 15px;
}
.publication a, .project a {
    color: #0073e6;
    text-decoration: none;
}
.publication a:hover, .project a:hover {
    text-decoration: underline;
}
.image-slider {
    width: 100%;
    max-width: 1200px; /* 轮播图片宽度与 .container 一致 */
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    margin-bottom: 5px;
    margin-left: auto; /* 居中显示 */
    margin-right: auto; /* 居中显示 */
}
.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.image-slider img.active {
    opacity: 1;
}
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
    .nav-links {
        display: none; /* 默认隐藏导航链接 */
        flex-direction: column;
        background-color: #004a80;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1;
    }
    .nav-links a {
        padding: 15px;
        text-align: left;
        border-top: 1px solid #444;
    }
    .menu-icon {
        display: block; /* 显示菜单图标 */
    }
    section {
        margin: 5px 0;
        padding: 5px;
        border-radius: 8px;
    }
    h2 {
        font-size: 20px;
    }
    .publication, .project, .award {
        font-size: 14px;
    }
    .image-slider {
        height: 200px;
    }
    .logo {
        height: 30px;
    }
    .quote {
        font-size: 14px;
    }
    .quote-author {
        font-size: 12px;
    }
}
