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

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

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

.section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: #004d99;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #004d99;
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 主要内容样式 */
h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004d99;
    font-size: 32px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #004d99;
    margin: 10px auto;
}

h3 {
    color: #004d99;
    margin-bottom: 20px;
    font-size: 24px;
}

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

/* 首页样式 */
.intro-content p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 宣传横幅 */
.banner-content {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #004d99, #0066cc);
    color: white;
    border-radius: 10px;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e6f0ff;
}

.cta-button {
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.cta-button:hover {
    background-color: #ffad33;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-item h3 {
    color: #004d99;
    margin-bottom: 10px;
    font-size: 20px;
}

.date {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

/* 业务范围 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item .icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #004d99;
}

.service-item h3 {
    color: #004d99;
    margin-bottom: 15px;
    font-size: 22px;
}

/* 成功案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #004d99;
    transition: all 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-item h3 {
    color: #004d99;
    margin-bottom: 15px;
    font-size: 20px;
}

/* 人才发展 */
.careers-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.careers-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 40px;
}

.stat-item .number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #004d99;
    margin-bottom: 5px;
}

.stat-item .label {
    font-size: 16px;
    color: #666;
}

/* 新闻详情页面 */
.news-detail {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.news-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-meta .author {
    margin-left: 20px;
}

.news-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.news-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.news-content ul li {
    margin-bottom: 10px;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #004d99;
    border: 1px solid #004d99;
    border-radius: 4px;
}

.pagination a.active,
.pagination a:hover {
    background-color: #004d99;
    color: white;
}

/* 服务详情页面 */
.services-detail .service-category {
    margin-bottom: 40px;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-item-detail {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-item-detail ul {
    margin-left: 20px;
    margin-top: 15px;
}

.service-item-detail ul li {
    margin-bottom: 8px;
}

/* 服务中心页面 */
.support-content .support-category {
    margin-bottom: 40px;
}

.support-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.support-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* 知识库页面 */
.knowledge-content .knowledge-category {
    margin-bottom: 40px;
}

.knowledge-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.knowledge-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.knowledge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.knowledge-meta {
    display: block;
    color: #999;
    font-size: 14px;
    margin-top: 15px;
}

/* 常见问题页面 */
.faq-content .faq-category {
    margin-bottom: 40px;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #004d99;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #003366;
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-answer.show {
    display: block;
}

.faq-answer ul {
    margin: 10px 0 10px 20px;
}

/* 联系我们页面 */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info,
.working-hours {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.departments {
    grid-column: 1 / -1;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.department {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.department h4 {
    margin-bottom: 15px;
}

.department p {
    margin-bottom: 10px;
}

.department a {
    color: #004d99;
    text-decoration: none;
}

.department a:hover {
    text-decoration: underline;
}

.map-placeholder {
    background-color: #e9ecef;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border-radius: 8px;
}

/* 底部样式 */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #aaa;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }

    .logo {
        margin-bottom: 15px;
    }

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

    nav ul li {
        margin: 5px 10px;
    }

    .section {
        padding: 40px 0;
    }

    h2 {
        font-size: 28px;
    }

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

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

    .stats {
        gap: 20px;
    }

    .stat-item .number {
        font-size: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .departments {
        grid-column: 1;
    }
}