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

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

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

/* 头部样式 */
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: 15px 20px;
}

.logo h1 {
    color: #003366;
    font-size: 24px;
    font-weight: bold;
}

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
    padding: 10px 15px;
    border-radius: 8px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #003366;
    background-color: #e6f0ff;
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 140px);
    padding: 30px 0;
}

.section {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.section.bg-light {
    background-color: #f8fbff;
}

.section h2 {
    color: #003366;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #0066cc, #003366);
    border-radius: 3px;
}

.section h3 {
    color: #003366;
    font-size: 22px;
    margin: 25px 0 15px;
}

/* 首页样式 */
#intro p,
#slogan p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

#slogan blockquote {
    font-size: 20px;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    border-left: 4px solid #003366;
    background-color: #f0f8ff;
    color: #003366;
}

.news-list {
    margin-bottom: 20px;
}

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

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

.news-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.news-item h3 a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s;
}

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

.news-item .meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #0066cc, #003366);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(to right, #0052a3, #002244);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

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

.service-card {
    background-color: #f8fbff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e1e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.1);
}

.service-card h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 20px;
}

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

.case-item {
    background-color: #f8fbff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e1e8f0;
}

.case-item h3 {
    color: #003366;
    margin-bottom: 15px;
}

#careers a.btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    text-align: center;
}

/* 公司简介页面样式 */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0066cc, #003366);
}

.timeline li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #003366;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0066cc;
}

.timeline h4 {
    color: #003366;
    margin-bottom: 5px;
}

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

.advantage-item {
    text-align: center;
    padding: 20px;
    background-color: #f8fbff;
    border-radius: 8px;
}

.advantage-item h4 {
    margin-bottom: 10px;
    color: #003366;
}

/* 新闻动态页面样式 */
.news-archive .news-item {
    padding: 25px 0;
}

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

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

.pagination a.current,
.pagination a:hover {
    background-color: #003366;
    color: #fff;
}

/* 业务范围页面样式 */
.services-detail .service-category {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.services-detail .service-category:last-child {
    border-bottom: none;
}

.services-detail ul {
    margin: 15px 0;
    padding-left: 20px;
}

.services-detail li {
    margin-bottom: 8px;
}

/* 成功案例页面样式 */
.cases-gallery .case-study {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f8fbff;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}

/* 人才发展页面样式 */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    background-color: #f8fbff;
    border-radius: 8px;
}

.benefit-item h4 {
    color: #003366;
    margin-bottom: 10px;
}

.positions .position {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f8fbff;
    border-radius: 8px;
}

.position-meta {
    color: #666;
    margin: 10px 0;
}

.cta-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #0066cc, #003366);
    color: #fff;
    border-radius: 8px;
    margin-top: 30px;
}

.cta-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-section a {
    color: #fff;
    text-decoration: underline;
}

/* 联系我们页面样式 */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contacts .contact-person {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contacts .contact-person:last-child {
    border-bottom: none;
}

.contacts a {
    color: #003366;
    text-decoration: none;
}

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

.map-placeholder {
    height: 300px;
    background-color: #e9ecef;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
}

/* 新闻详情页面样式 */
.news-article .meta {
    text-align: center;
    color: #666;
    margin: 15px 0 30px;
    font-size: 14px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

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

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-nav a {
    color: #003366;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.article-nav a:hover {
    background-color: #f0f8ff;
}

.sidebar {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.related-news ul {
    list-style: none;
}

.related-news li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.related-news a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-news a:hover {
    color: #003366;
}

/* 产品中心页面样式 */
.products-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.products-category {
    margin-bottom: 40px;
}

.products-category:last-child {
    margin-bottom: 0;
}

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

.product-item {
    background-color: #f8fbff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e1e8f0;
}

.product-type {
    color: #003366;
    font-weight: 500;
    margin: 10px 0;
}

.product-meta {
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

/* 服务中心页面样式 */
.support-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.support-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.support-category h3 {
    color: #003366;
    margin-bottom: 15px;
}

.support-category ul {
    list-style: none;
    padding-left: 0;
}

.support-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.support-category li::before {
    content: '✓';
    color: #0066cc;
    position: absolute;
    left: 0;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #0066cc, #003366);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.contact-methods {
    margin-top: 40px;
}

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

.method {
    text-align: center;
    padding: 20px;
    background-color: #f8fbff;
    border-radius: 8px;
}

/* 知识库页面样式 */
.knowledge-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.category h3 {
    color: #003366;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #003366;
}

.category ul {
    list-style: none;
    padding-left: 0;
}

.category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.category a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.category a:hover {
    color: #003366;
}

.popular-topics {
    margin-top: 40px;
}

.topics {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.topic-tag {
    display: inline-block;
    padding: 8px 15px;
    background-color: #e6f0ff;
    color: #003366;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.topic-tag:hover {
    background-color: #003366;
    color: #fff;
}

/* 常见问题页面样式 */
.faq-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.faq-intro a {
    color: #003366;
    text-decoration: none;
}

.faq-intro a:hover {
    text-decoration: underline;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8fbff;
    padding: 20px;
    cursor: pointer;
    position: relative;
    color: #003366;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* 知识库详情页面样式 */
.knowledge-article .meta {
    text-align: center;
    color: #666;
    margin: 15px 0 30px;
    font-size: 14px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-nav a {
    color: #003366;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
    max-width: 45%;
}

.article-nav a:hover {
    background-color: #f0f8ff;
}

.article-nav .prev {
    text-align: left;
}

.article-nav .next {
    text-align: right;
}

.related-articles {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.related-articles ul {
    list-style: none;
}

.related-articles li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.related-articles li:last-child {
    border-bottom: none;
}

.related-articles a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-articles a:hover {
    color: #003366;
}

/* 页脚样式 */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

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

    .logo {
        margin-bottom: 15px;
    }

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

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

    .section {
        padding: 30px 20px;
    }

    .section h2 {
        font-size: 24px;
    }

    .services-grid,
    .cases-list,
    .product-list,
    .benefits,
    .knowledge-categories,
    .support-services,
    .process-steps,
    .methods {
        grid-template-columns: 1fr;
    }

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

    .article-nav {
        flex-direction: column;
        gap: 15px;
    }

    .article-nav a {
        max-width: 100%;
    }

    .topics {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 25px 15px;
    }

    .section h2 {
        font-size: 22px;
    }

    .services-grid,
    .cases-list,
    .product-list {
        gap: 20px;
    }
}