﻿/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #34495e;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #2c3e50;
    margin: 15px auto 0;
}

/* 导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.logo p {
    font-size: 12px;
    color: #777;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.nav a.active, .nav a:hover {
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
}

.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner */
.banner {
    height: 80vh;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url("https://cdn.pixabay.com/photo/2015/10/30/12/22/books-1014024_1280.jpg") center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    margin-top: 80px;
    text-align: center;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

.info-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.info-item i {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.info-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 核心业务 */
.business {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.business-item {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.business-item .icon {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.business-item .icon i {
    font-size: 30px;
    color: #2c3e50;
}

.business-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* 合作模式 */
.cooperation {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.cooperation-content {
    max-width: 800px;
    margin: 0 auto;
}

.mode-item {
    margin-bottom: 30px;
    text-align: left;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.mode-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.cooperation .btn {
    margin-top: 20px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #2c3e50;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form button {
    width: 100%;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

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

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

.footer-logo p {
    color: #ccc;
}

.footer-nav ul {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #ccc;
}

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

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

/* 响应式适配（手机端） */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav ul.show {
        left: 0;
    }

    .banner-content h2 {
        font-size: 32px;
    }

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

    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .about, .business, .cooperation, .contact {
        padding: 60px 0;
    }
}