/* 基础样式重置 */
* {
    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: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo p {
    font-size: 14px;
    opacity: 0.9;
}

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

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主要内容样式 */
main {
    min-height: calc(100vh - 200px);
}

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    color: white;
    text-align: center;
    padding: 80px 0;
}

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

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

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #fff !important;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 5px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #ff6b35;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff6b35;
    color: #ff6b35;
}

.btn-outline:hover {
    background: #ff6b35;
    color: white;
}

.btn.more {
    margin-top: 10px;
}

/* 内容区域通用样式 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6b35;
    margin: 15px auto;
    border-radius: 2px;
}

/* 公司简介 */
.intro {
    background-color: white;
}

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

.intro-text {
    flex: 1;
}

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

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 新闻动态 */
.news {
    background-color: #f0f4f8;
}

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

.news-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

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

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

/* 业务范围 */
.services {
    background-color: white;
}

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

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

.service-item:hover {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    transform: scale(1.05);
}

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

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

/* 成功案例 */
.cases {
    background-color: #f0f4f8;
}

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

.case-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-item h3 {
    padding: 20px 20px 0;
    font-size: 18px;
    color: #1e3c72;
}

.case-item p {
    padding: 10px 20px 20px;
    font-size: 14px;
}

/* 人才发展 */
.careers {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
}

.careers h2 {
    color: white;
}

.careers h2::after {
    background: #ff6b35;
}

.careers-content p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
}

.careers-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item .number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff6b35;
}

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

/* 产品中心 */
.product-categories {
    margin-bottom: 50px;
}

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

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

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

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

.product-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e3c72;
}

/* 技术优势 */
.technical-features {
    background-color: #f0f4f8;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e3c72;
}

/* 服务中心 */
.services-overview {
    background-color: white;
}

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

.service-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    transform: translateY(-10px);
}

.service-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

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

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

/* 服务流程 */
.service-process {
    background-color: #f0f4f8;
}

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

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

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

.step-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e3c72;
}

/* 服务承诺 */
.service-commitment {
    background-color: white;
}

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

.commitment-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.commitment-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e3c72;
}

/* 知识库 */
.knowledge-categories {
    margin-bottom: 50px;
}

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

.knowledge-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.knowledge-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.category {
    background: #1e3c72;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.date {
    color: #6c757d;
    font-size: 14px;
}

.knowledge-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e3c72;
}

/* 资料下载 */
.download-section {
    background-color: #f0f4f8;
}

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

.download-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.download-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e3c72;
}

/* 常见问题 */
.faq-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto 30px;
}

.faq-search input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.faq-search button {
    border-radius: 0 30px 30px 0;
    border: none;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    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 {
    font-size: 18px;
    color: #1e3c72;
    margin: 0;
}

.toggle {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    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 ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

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

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

.contact-support {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.contact-support h2 {
    color: white;
    margin-bottom: 20px;
}

.contact-support p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 联系方式 */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.company-details p {
    font-size: 18px;
    margin-bottom: 15px;
}

.departments-contact {
    margin-bottom: 50px;
}

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

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1e3c72;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6b35;
}

.contact-card p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-card a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: bold;
}

.contact-card a:hover {
    color: #ff6b35;
}

/* 联系表单 */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1e3c72;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
}

/* 分页 */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 10px;
}

.pagination ul li a {
    display: block;
    padding: 10px 15px;
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination ul li a:hover,
.pagination ul li a.active {
    background: #ff6b35;
    color: white;
}

/* 底部样式 */
footer {
    background: #333;
    color: #fff;
    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: 20px;
    color: #ff6b35;
}

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

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

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

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

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

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

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

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

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .intro-content {
        flex-direction: column;
    }

    .careers-stats {
        gap: 20px;
    }

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

    .faq-search {
        flex-direction: column;
        gap: 10px;
    }

    .faq-search input,
    .faq-search button {
        border-radius: 30px;
        width: 100%;
    }
}