/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: #333;
}

.language {
    list-style: none;
    display: flex;
}

.language li {
    margin-left: 15px;
}

.language a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.language a:hover {
    color: #0066cc;
}

/* 导航栏样式 */
nav {
    background-color: #0066cc;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav-menu a:hover {
    background-color: #0052a3;
}

/* 横幅样式 */
.banner {
    background-color: #f0f8ff;
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0,102,204,0.1), rgba(0,102,204,0.1));
}

.banner h2 {
    font-size: 36px;
    color: #0066cc;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    color: #666;
}

/* 学校简介样式 */
.intro {
    padding: 60px 0;
    background-color: #fff;
}

.intro h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.intro-text {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.intro-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 学术项目样式 */
.programs {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.programs h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

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

.program-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.program-item h4 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 15px;
}

.program-item p {
    color: #666;
    line-height: 1.6;
}

/* 新闻公告样式 */
.news {
    padding: 60px 0;
    background-color: #fff;
}

.news h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    display: inline-block;
    background-color: #0066cc;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item h4 {
    margin-bottom: 10px;
}

.news-item h4 a {
    text-decoration: none;
    color: #333;
}

.news-item h4 a:hover {
    color: #0066cc;
}

.news-item p {
    color: #666;
    font-size: 14px;
}

/* 联系信息样式 */
.contact-info {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-info h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.contact-item {
    text-align: center;
    min-width: 200px;
}

.contact-item h4 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 10px;
}

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

/* 使命与愿景样式 */
.mission {
    padding: 60px 0;
    background-color: #f0f8ff;
}

.mission h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.mission-item {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mission-item h4 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 15px;
}

.mission-item p {
    color: #666;
    line-height: 1.8;
}

/* 团队样式 */
.team {
    padding: 60px 0;
    background-color: #fff;
}

.team h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.team-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.team-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.member-image {
    margin-bottom: 20px;
}

.member-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

/* 学术项目样式 */
.undergraduate,
.graduate,
.exchange,
.language {
    padding: 60px 0;
    background-color: #fff;
}

.undergraduate h3,
.graduate h3,
.exchange h3,
.language h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.program-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.program-info {
    flex: 1;
    min-width: 300px;
}

.program-info p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.program-info h4 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 15px;
}

.major-list,
.advantage-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.major-list li,
.advantage-list li {
    margin-bottom: 8px;
    color: #666;
}

.program-image {
    flex: 1;
    min-width: 300px;
}

.program-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.graduate {
    background-color: #f9f9f9;
}

/* 申请要求样式 */
.requirements {
    padding: 60px 0;
    background-color: #f0f8ff;
}

.requirements h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.requirements-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.requirement-item {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.requirement-item h4 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 15px;
}

.requirement-item ul {
    list-style: disc;
    margin-left: 20px;
}

.requirement-item li {
    margin-bottom: 10px;
    color: #666;
}

/* 新闻列表样式 */
.news-list {
    padding: 60px 0;
    background-color: #fff;
}

.news-items {
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-date {
    flex: 0 0 100px;
    background-color: #0066cc;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-right: 30px;
}

.news-content {
    flex: 1;
    min-width: 300px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #0066cc;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.news-meta {
    font-size: 14px;
    color: #999;
}

.news-category {
    background-color: #f0f8ff;
    color: #0066cc;
    padding: 3px 10px;
    border-radius: 3px;
}

/* 分页样式 */
.pagination {
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 10px;
}

.pagination a {
    display: block;
    padding: 8px 15px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination a:hover {
    background-color: #f0f8ff;
    color: #0066cc;
    border-color: #0066cc;
}

.pagination .active a {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* 联系表单样式 */
.contact-form {
    padding: 60px 0;
    background-color: #fff;
}

.contact-form h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0052a3;
}

/* 常见问题样式 */
.faq {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item h4 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .language {
        margin-top: 10px;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        padding: 10px 15px;
    }

    .banner h2 {
        font-size: 28px;
    }

    .intro-content {
        flex-direction: column;
    }

    .intro-text {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links ul {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .banner h2 {
        font-size: 24px;
    }

    .banner p {
        font-size: 16px;
    }

    .intro h3,
    .programs h3,
    .news h3,
    .contact-info h3 {
        font-size: 24px;
    }

    .program-item {
        padding: 20px;
    }
}