/* 全局样式 */
* {
    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: #2c3e50;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    /* 加粗字体 */
    font-size: 18px;
    /* 加大字体 */
    transition: color 0.3s;
    padding: 10px 15px;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #3498db;
    color: #fff;
}

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

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    margin-left: auto;
    margin-right: auto;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

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

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background-color: #d5dbdb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 宣传文案区域 */
.promo-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.promo-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

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

.promo-card:hover {
    transform: translateY(-10px);
}

.promo-card h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 24px;
}

.news-filter,
.products-filter {
    text-align: center;
    margin-bottom: 20px;
}

.news-filter .btn-primary,
.products-filter .btn-primary {
    margin-right: 10px;
}

/* 新闻动态区域 */
.news-section {
    padding: 80px 0;
    background-color: #fff;
}

.news-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.news-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.news-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.news-item .date {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 15px;
}

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

/* 业务范围区域 */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

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

.service-item h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 24px;
}

/* 成功案例区域 */
.cases-section {
    padding: 80px 0;
    background-color: #fff;
}

.cases-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.case-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3498db;
}

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

/* 人才发展区域 */
.career-section {
    padding: 80px 0;
    background: linear-gradient(rgba(52, 152, 219, 0.9), rgba(44, 62, 80, 0.9));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.career-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.career-content {
    max-width: 800px;
    margin: 0 auto;
}

.career-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.career-content .btn-primary {
    margin-top: 20px;
    background-color: #e74c3c;
}

.career-content .btn-primary:hover {
    background-color: #c0392b;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
}

.page-content {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 新闻页面样式 */
.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

.news-list-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.news-list-item .date {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 产品页面样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

/* 服务中心页面样式 */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #3498db;
    margin-bottom: 15px;
}

/* 服务流程样式 */
.service-process h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.step {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
    background-color: #3498db;
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding: 20px;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* 知识库页面样式 */
.knowledge-categories {
    margin-bottom: 60px;
}

.knowledge-categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.category-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

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

.category-links {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.category-links li {
    margin-bottom: 10px;
}

.category-links a {
    color: #3498db;
    text-decoration: none;
}

.category-links a:hover {
    text-decoration: underline;
}

.knowledge-articles h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

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

.article h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.article .date {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 20px;
}

.article-content h4 {
    color: #3498db;
    margin: 20px 0 10px;
}

.article-point {
    display: flex;
    margin-bottom: 10px;
}

.point-number {
    background-color: #3498db;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

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

.faq-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

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

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

.faq-section {
    margin-bottom: 50px;
}

.faq-section h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

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

.faq-question {
    background-color: #3498db;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

.faq-icon {
    font-size: 24px;
    margin-right: 15px;
}

.faq-question h4 {
    font-size: 18px;
}

.faq-answer {
    background-color: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.answer-content {
    padding: 20px;
}

.answer-point {
    display: flex;
    margin-bottom: 10px;
}

/* 联系方式页面样式 */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-card h3 {
    color: #3498db;
    margin-bottom: 15px;
}

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

.email {
    color: #3498db;
    font-weight: bold;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.map-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

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

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

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

    .nav-menu li {
        margin: 5px 10px;
    }

    .hero {
        height: 400px;
    }

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

    .hero-content p {
        font-size: 18px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .step {
        flex-direction: column;
    }

    .step-icon {
        width: 100%;
        padding: 15px 0;
    }
}