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

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

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

/* 页头样式 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

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

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

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

nav ul li a:hover,
nav ul li a.active {
    color: #004b91;
    border-bottom: 2px solid #004b91;
}

/* 主要内容样式 */
main {
    margin-top: 70px;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(0, 75, 145, 0.8), rgba(0, 75, 145, 0.9));
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(0, 75, 145, 0.8), rgba(0, 75, 145, 0.9));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c0392b;
}

/* 公司简介 */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004b91;
    font-size: 2rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-item i {
    font-size: 2.5rem;
    color: #004b91;
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 5px;
}

/* 新闻动态 */
.news {
    padding: 80px 0;
}

.news h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004b91;
    font-size: 2rem;
}

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

.news-card {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-date {
    background: #004b91;
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 80px;
}

.news-date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 0.9rem;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    margin-bottom: 10px;
    color: #333;
}

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

.news-content a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.news-content a:hover {
    text-decoration: underline;
}

/* 新闻列表页面 */
.news-content {
    padding: 30px;
}

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

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

.news-meta {
    margin-bottom: 15px;
    color: #666;
}

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

.news-item h2 {
    margin-bottom: 15px;
    color: #004b91;
}

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

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

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

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

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

/* 业务范围 */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004b91;
    font-size: 2rem;
}

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

.service-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.service-item i {
    font-size: 3rem;
    color: #004b91;
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: #333;
}

/* 成功案例 */
.cases {
    padding: 80px 0;
}

.cases h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #004b91;
    font-size: 2rem;
}

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

.case-item {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.case-item:hover {
    background: #004b91;
    color: white;
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #004b91;
}

.case-item:hover .case-icon {
    color: white;
}

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

/* 人才发展 */
.careers {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 75, 145, 0.9), rgba(0, 75, 145, 0.9));
    color: white;
    text-align: center;
}

.careers h2 {
    margin-bottom: 50px;
    font-size: 2rem;
}

.careers-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.careers-text {
    flex: 1;
    min-width: 300px;
}

.careers-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.careers-stats .stat-item h3 {
    color: #e74c3c;
    font-size: 2.5rem;
}

/* 产品中心页面 */
.products-content {
    padding: 60px 0;
}

.product-categories {
    margin-bottom: 40px;
}

.product-categories h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #004b91;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-item {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    border-radius: 30px;
    transition: all 0.3s;
}

.category-item:hover,
.category-item.active {
    background: #004b91;
    color: white;
}

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

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.product-image {
    background: #f8f9fa;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #004b91;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 15px;
    color: #004b91;
}

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

.product-features h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004b91;
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 3rem;
    color: #004b91;
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: #333;
}

/* 服务中心页面 */
.services-content {
    padding: 60px 0;
}

.services-intro {
    text-align: center;
    margin-bottom: 50px;
}

.services-intro h2 {
    color: #004b91;
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.service-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.service-card:hover {
    background: #004b91;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover p {
    color: white;
}

.service-icon {
    font-size: 3rem;
    color: #004b91;
    margin-bottom: 20px;
}

.service-card:hover .service-icon {
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-process h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004b91;
}

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

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #004b91;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-item h3 {
    margin-bottom: 15px;
    color: #004b91;
}

.service-process .step-item h3 {
    color: #333;
}

.service-card:hover .step-item h3 {
    color: white;
}

.service-commitment h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004b91;
}

.commitment-content ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.commitment-content li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.commitment-content li:last-child {
    border-bottom: none;
}

.commitment-content li i {
    color: #004b91;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* 知识库页面 */
.knowledge-content {
    padding: 60px 0;
}

.knowledge-categories h2,
.latest-knowledge h2,
.knowledge-search h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004b91;
}

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

.category-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

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

.category-icon {
    font-size: 3rem;
    color: #004b91;
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.knowledge-list .knowledge-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

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

.knowledge-item h3 {
    margin-bottom: 15px;
    color: #004b91;
}

.knowledge-search {
    margin-top: 50px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
}

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

.search-box button {
    background: #004b91;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

/* 常见问题页面 */
.faq-content {
    padding: 60px 0;
}

.faq-categories h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #004b91;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab {
    padding: 12px 25px;
    background: #f8f9fa;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab:hover,
.tab.active {
    background: #004b91;
    color: white;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    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 {
    color: #004b91;
    margin: 0;
    font-size: 1.1rem;
}

.faq-question h3 i {
    margin-right: 10px;
    color: #e74c3c;
}

.toggle-icon {
    font-size: 1.2rem;
    color: #666;
}

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

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

.faq-answer ul,
.faq-answer ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

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

.faq-contact {
    text-align: center;
    margin-top: 60px;
    padding: 50px 0;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-contact h2 {
    color: #004b91;
    margin-bottom: 20px;
}

.faq-contact p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.contact-info {
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-contact .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-item {
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 2.5rem;
    color: #004b91;
    margin-bottom: 20px;
}

.contact-item h3 {
    margin-bottom: 15px;
    color: #333;
}

/* 联系方式页面 */
.contact-content {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h2 {
    color: #004b91;
    margin-bottom: 20px;
}

.contact-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.departments h2,
.contact-info h2,
.contact-note h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #004b91;
}

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

.department-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

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

.dept-icon {
    font-size: 3rem;
    color: #004b91;
    margin-bottom: 20px;
}

.department-card h3 {
    margin-bottom: 20px;
    color: #333;
}

.contact-person p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-person p i {
    margin-right: 10px;
    color: #004b91;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    font-size: 2rem;
    color: #004b91;
    min-width: 50px;
}

.info-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.contact-note ul {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.contact-note li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.contact-note li:last-child {
    border-bottom: none;
}

.contact-note li i {
    color: #004b91;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* 页脚 */
footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

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

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

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

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    color: white;
    background: #555;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #004b91;
}

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

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

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .hero,
    .page-header {
        padding: 60px 20px;
    }

    .hero h2,
    .page-header h1 {
        font-size: 1.8rem;
    }

    .about-content,
    .careers-content {
        flex-direction: column;
    }

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

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

    .search-box input,
    .search-box button {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }
}