/* 全局样式 */
* {
    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: 20px 0;
}

.logo {
    color: #0056b3;
    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: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #0056b3;
    background-color: #e9f0f9;
}

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

.section-padding {
    padding: 60px 0;
}

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

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #0056b3;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0056b3;
    margin: 15px auto;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0056b3;
}

/* 首页样式 */
#intro .intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#intro .intro-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

#banner {
    text-align: center;
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff !important;
}

.banner-content {
    color: #fff;
}

.banner-content .number {
    color: #fff !important;
}

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

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

.stat-item .number {
    font-size: 36px;
    font-weight: bold;
    display: block;
}

.stat-item .label {
    font-size: 18px;
}

#news .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-item h3,
.service-item h4 {
    margin-bottom: 15px;
    color: #0056b3;
}

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

.case-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

#careers .careers-content p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.career-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit h3 {
    margin-bottom: 15px;
    color: #0056b3;
}

/* 公司简介页面样式 */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.qualification-list {
    padding-left: 20px;
    margin: 20px 0;
}

.qualification-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

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

.advantage-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #0056b3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    margin-left: -80px;
    top: 0;
    background: #0056b3;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #0056b3;
}

.culture-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.culture-item h3 {
    margin-bottom: 15px;
    color: #0056b3;
}

/* 新闻动态页面样式 */
.news-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-article {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0056b3;
}

.news-meta {
    display: flex;
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
}

.news-meta .date {
    margin-right: 20px;
}

.news-meta .category {
    background: #0056b3;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
}

.news-excerpt p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

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

.pagination .current {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

/* 业务范围页面样式 */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

.services-categories {
    margin-top: 40px;
}

.service-category {
    margin-bottom: 50px;
}

.service-category h3 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.service-category h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #0056b3;
    margin: 10px auto;
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* 成功案例页面样式 */
.cases-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

.cases-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.case-header {
    background: #0056b3;
    color: #fff;
    padding: 20px;
}

.case-header h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
}

.case-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.case-content {
    padding: 25px;
}

.case-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.case-content strong {
    color: #0056b3;
}

/* 产品中心页面样式 */
.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

.products-categories {
    margin-top: 40px;
}

.category {
    margin-bottom: 50px;
}

.category h3 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.category h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #0056b3;
    margin: 10px auto;
}

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

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 64px;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    margin-bottom: 15px;
    color: #0056b3;
}

.product-info p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
}

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

.advantages-grid .advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.advantages-grid .icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #0056b3;
}

/* 服务中心页面样式 */
.support-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

.support-category {
    margin-bottom: 50px;
}

.support-category h3 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.support-category h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #0056b3;
    margin: 10px auto;
}

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

.support-item {
    display: flex;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support-item .icon {
    font-size: 36px;
    margin-right: 20px;
    color: #0056b3;
    min-width: 40px;
}

.support-content h4 {
    margin-bottom: 15px;
    color: #0056b3;
}

.support-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info {
    font-size: 14px;
    color: #666;
}

.contact-info a {
    color: #0056b3;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

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

.commitment-item {
    display: flex;
}

.number {
    font-size: 36px;
    font-weight: bold;
    color: #0056b3;
    margin-right: 20px;
    line-height: 1;
}

.commitment-content h3 {
    margin-bottom: 15px;
    color: #0056b3;
}

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

.step-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    color: #0056b3;
}

/* 知识库页面样式 */
.knowledge-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

.knowledge-categories {
    margin-top: 40px;
}

.category {
    margin-bottom: 50px;
}

.category h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.category h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #0056b3;
    margin: 10px auto;
}

.articles-list .knowledge-article {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.articles-list .knowledge-article h4 {
    margin-bottom: 10px;
}

.articles-list .knowledge-article h4 a {
    text-decoration: none;
    color: #0056b3;
}

.articles-list .knowledge-article h4 a:hover {
    text-decoration: underline;
}

.article-meta {
    display: flex;
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

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

.articles-list .knowledge-article p {
    color: #666;
    line-height: 1.6;
}

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

.faq-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

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

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0056b3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #003d82;
}

/* 常见问题页面样式 */
.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

.faq-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto 40px;
}

.faq-search input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.faq-search button {
    padding: 12px 25px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

.faq-search button:hover {
    background: #003d82;
}

.faq-categories {
    text-align: center;
    margin-bottom: 40px;
}

.category-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    margin: 0 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.faq-accordion .faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: #0056b3;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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;
}

.faq-answer p,
.faq-answer ol,
.faq-answer ul {
    margin-bottom: 15px;
    line-height: 1.8;
}

.faq-answer ol,
.faq-answer ul {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-answer strong {
    color: #0056b3;
}

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

.company-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

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

.department {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.department h4 {
    margin-bottom: 15px;
    color: #0056b3;
}

.department p {
    margin-bottom: 8px;
    font-size: 15px;
}

.department a {
    color: #0056b3;
    text-decoration: none;
}

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

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

.map-placeholder p {
    margin-bottom: 10px;
}

.map-info ul {
    padding-left: 20px;
}

.map-info li {
    margin-bottom: 10px;
}

#work-time {
    text-align: center;
}

.work-time-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.emergency {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    margin-top: 20px;
}

/* 底部样式 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* 响应式设计 */
@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 {
        padding: 40px 0;
    }

    h2 {
        font-size: 28px;
    }

    .stats {
        gap: 20px;
    }

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

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

    .departments {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .faq-search {
        flex-direction: column;
    }

    .faq-search input,
    .faq-search button {
        border-radius: 4px;
        margin-bottom: 10px;
    }
}

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

    h2 {
        font-size: 24px;
    }

    .services-grid,
    .products-grid,
    .support-items {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .advantages-grid,
    .career-benefits,
    .culture-content {
        grid-template-columns: 1fr;
    }
}