body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding-top: 85px;  /* 添加上内边距，值等于页眉高度加上一些额外空间 */
    color: #333;
    background-color: #F2F2F2;
}

.container {
    width: 90%;
    margin-left: 8%;
    margin-right: 2%;
    overflow: hidden;
}

header {
    background: #000000; /* 黑色 */
    color: #fff;
    padding-top: 10px;
    padding-bottom:3px;
    min-height: 40px;
    border-bottom: #333333 3px solid; /* 深灰色边框 */
    position: fixed;  /* 固定定位 */
    top: 0;          /* 固定在顶部 */
    left: 0;         /* 确保从左边开始 */
    right: 0;        /* 确保延伸到右边 */
    width: 100%;     /* 占据整个宽度 */
    z-index: 1000;   /* 确保显示在其他内容之上 */
}

.header-content {
    display: flex;
    align-items: center;
    float: left;
    margin-top: 0;
}

.school-logo {
    height: 75px !important;
    width: 75px !important;
    object-fit: contain;
    margin-right: 15px;
}

.header-logo {
    height: 73px;
    width: auto;
    margin-right: 15px;
    margin-top: 5px;
}

header nav {
    float: right;
    margin-top: 15px;
    position: relative;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 45px;
    position: relative;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4em;
    letter-spacing: 1px;
    padding: 5px 10px;
    display: block;
    position: relative;
}

/* 当前页面的导航项高亮 */
.index header nav ul li a[href="index.html"],
.about header nav ul li a[href="about.html"],
.team header nav ul li a[href="team.html"],
.research-achievements header nav ul li a[href="research_achievements.html"],
.news header nav ul li a[href="news.html"],
.recruitment header nav ul li a[href="recruitment.html"] {
    border: 2px solid gold;
    border-radius: 4px;
}

.section {
    padding: 40px 0;
    background: #F2F2F2;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.section h2 {
    margin-bottom: 20px;
    color: #2c3e50; /* 深蓝色，与背景色形成对比 */
    font-size: 2em; /* 增大标题字体 */
    font-weight: 700; /* 加粗标题 */
    text-transform: uppercase; /* 标题字母大写 */
    letter-spacing: 1px; /* 增加字母间距 */
}

.team-members {
    display: flex;
    justify-content: space-around;
}

.member {
    text-align: center;
    background: #F2F2F2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.highlights {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.highlight {
    text-align: center;
    background: #6c9bcf; /* 浅蓝色 */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    color: #fff;
}

.highlight i {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
}

.highlight h3 {
    margin: 10px 0;
    color: #fff; /* 保持白色，与浅蓝色背景形成对比 */
    font-size: 1.5em; /* 增大字体 */
    font-weight: 600; /* 加粗字体 */
}

.highlight p {
    color: #f8f9fa;
}

.news {
    /* margin-top: 40px; 移除这个属性 */
}

.news-item {
    background: #F2F2F2;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    color: #2c3e50; /* 深蓝色，与浅灰色背景形成对比 */
    font-size: 1.5em; /* 增大字体 */
    font-weight: 600; /* 加粗字体 */
}

.news-item p {
    color: #666;
}

footer {
    background: #000000; /* 黑色 */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
    font-size: 1.1em;
}

ul li i {
    margin-right: 10px;
    color: #6c9bcf; /* 浅蓝色 */
}

.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 研究成果页面样式 */
.achievement-category {
    margin-bottom: 40px;
    background: #F2F2F2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.achievement-category h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 2px solid #6c9bcf;
    padding-bottom: 10px;
}

.achievement-category h3 i {
    margin-right: 10px;
    color: #6c9bcf;
}

.achievement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.achievement-item {
    background: #F2F2F2;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.achievement-item h4 {
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.achievement-item p {
    color: #666;
    margin-bottom: 10px;
}

.achievement-date {
    color: #6c9bcf !important;
    font-weight: bold;
    font-size: 0.9em;
}

.achievement-details {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.achievement-details li {
    color: #666;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.achievement-details li:before {
    content: "•";
    color: #6c9bcf;
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        margin: 0 auto;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav ul li {
        margin: 5px;
    }

    .highlights {
        flex-direction: column;
    }

    .highlight {
        width: 100%;
        margin-bottom: 20px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .school-logo, .header-logo {
        margin: 10px 0;
    }
} 