/* 基础样式重置 */
* {
    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;
}

/* 导航栏样式 */
.navbar {
    background-color: #1a3c6c;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #e94b35;
    color: white;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(26, 60, 108, 0.8), rgba(26, 60, 108, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a3c6c"/><path d="M20,20 Q50,5 80,20 T80,80 Q50,95 20,80 T20,20" fill="none" stroke="%23e94b35" stroke-width="0.5"/></svg>');
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e94b35;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #e94b35;
}

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

.btn-secondary {
    background-color: transparent;
    color: #e94b35;
}

.btn-secondary:hover {
    background-color: #e94b35;
    color: white;
}

/* 区块样式 */
.section {
    padding: 80px 0;
}

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

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a3c6c;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e94b35;
    margin: 15px auto;
}

/* 公司简介 */
.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 品牌理念 */
.slogan-content {
    text-align: center;
}

.slogan-content blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 3rem;
    padding: 2rem;
    border-left: 5px solid #e94b35;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

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

.feature-item h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
}

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

.news-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-item h3 {
    color: #1a3c6c;
    margin-bottom: 0.5rem;
}

.date {
    color: #e94b35;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.service-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e94b35;
}

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

.case-item {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-image {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #1a3c6c;
}

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

.careers-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #e94b35, #1a3c6c);
    border-radius: 5px;
}

.careers-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

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

.benefit {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #e94b35, #1a3c6c);
}

.benefit h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.benefit h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #e94b35;
    margin-left: -25px;
}

.benefit p {
    color: #666;
    line-height: 1.7;
}

.career-cta {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a3c6c 0%, #2a4c8c 100%);
    border-radius: 12px;
    color: white;
}

.career-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.career-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: #fff;
}

.btn-career {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e94b35;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #e94b35;
    font-size: 1.1rem;
}

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

.career-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a3c6c;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #e94b35;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 页脚 */
.footer {
    background-color: #1a3c6c;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 文本对齐 */
.text-center {
    text-align: center;
}

/* 产品页面样式 */
.category-btn {
    background-color: #f8f9fa;
    border: 2px solid #1a3c6c;
    color: #1a3c6c;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: #1a3c6c;
    color: white;
}

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

.product-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 1.5rem;
}

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

.product-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e94b35;
    margin-top: 1rem;
}

/* 定制流程 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

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

/* 服务中心页面样式 */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.service-process {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.process-card {
    flex: 0 0 calc(50% - 20px);
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #e94b35, #1a3c6c);
}

.process-card h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-left: 20px;
}

.process-card h3::before {
    content: '▶';
    color: #e94b35;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.process-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.process-card ul {
    list-style-type: none;
    padding-left: 0;
}

.process-card li {
    padding: 0.5rem 0 0.5rem 25px;
    position: relative;
    color: #555;
}

.process-card li::before {
    content: '✓';
    color: #e94b35;
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-weight: bold;
}

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

.feature-box {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.feature-box i {
    font-size: 2.5rem;
    color: #e94b35;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* 知识库页面样式 */
.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #e94b35, #1a3c6c);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e94b35;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2);
}

.category-card h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.articles-list {
    list-style-type: none;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.articles-list:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.articles-list h3 {
    color: #1a3c6c;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.articles-list h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e94b35;
}

.articles-list li {
    padding: 0.8rem 0 0.8rem 25px;
    border-bottom: 1px dashed #eee;
    position: relative;
}

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

.articles-list a {
    color: #1a3c6c;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.articles-list a:hover {
    color: #e94b35;
    transform: translateX(5px);
}

.articles-list a::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: #e94b35;
    font-size: 0.8rem;
}

.knowledge-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    background: linear-gradient(135deg, #1a3c6c 0%, #2a4c8c 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #e94b35;
}

.stat-label {
    font-size: 1.1rem;
}

/* FAQ页面样式 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: #1a3c6c;
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
}

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

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

.faq-answer {
    background-color: white;
    padding: 1.5rem;
    display: none;
}

/* 联系方式页面样式 */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3 {
    color: #1a3c6c;
    margin-bottom: 1.5rem;
}

.contact-person {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-person h4 {
    color: #1a3c6c;
    margin-bottom: 0.5rem;
}

.contact-person p {
    margin-bottom: 0.3rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1a3c6c;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

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

    .nav-menu {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li {
        margin: 0.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .slogan-content blockquote {
        font-size: 1.1rem;
        padding: 1rem;
    }
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .process-card {
        flex: 0 0 100%;
    }

    .category-btn {
        display: inline-block;
        margin: 5px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

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