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

/* 为SEO优化添加的可访问性样式 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* 页头样式 */
header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

nav ul li {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 0.5rem 1rem;
    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 {
    padding: 0 0 2rem 0;
}

.page-header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h2 {
    font-size: 2rem;
}

/* 首页特殊样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 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="%232575fc"/><path d="M20,20 Q50,5 80,20 T80,80 Q50,95 20,80 T20,20" fill="none" stroke="%23ffffff" stroke-width="0.5"/></svg>');
    background-size: cover;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

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

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

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

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

/* 内容区域样式 */
.content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.content h3 {
    color: #2a5298;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

/* 首页介绍区域 */
.intro-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* 新闻列表样式 */
.news-list,
.news-list-full {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-item h3 {
    margin-bottom: 0.5rem;
}

.news-item h3 a {
    color: #2a5298;
    text-decoration: none;
    font-size: 1.3rem;
}

.news-item h3 a:hover {
    color: #ff6b35;
}

.date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* 服务项目网格 */
.services-grid,
.cases-grid,
.product-grid,
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-item,
.case-item,
.product-item,
.support-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover,
.case-item:hover,
.product-item:hover,
.support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.service-item h3,
.case-item h3,
.product-item h3,
.support-item h3 {
    color: #2a5298;
    margin-bottom: 1rem;
}

/* 人才发展区域 */
.careers-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
    margin: 2rem 0;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    text-decoration: none;
    color: #2a5298;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.pagination a.active,
.pagination a:hover {
    background: #2a5298;
    color: white;
}

/* 时间线样式 */
.timeline {
    list-style: none;
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2a5298;
}

.timeline li {
    position: relative;
    margin-bottom: 2rem;
}

.timeline li:before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2a5298;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #2a5298;
}

.timeline h4 {
    color: #2a5298;
    margin-bottom: 0.5rem;
}

/* 价值观网格 */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.value-item h4 {
    color: #2a5298;
    margin-bottom: 0.5rem;
}

/* 新闻详情样式 */
.news-detail h1 {
    font-size: 2rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

.meta {
    color: #6c757d;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.meta span {
    margin-right: 1.5rem;
}

.news-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.news-nav a {
    text-decoration: none;
    color: #2a5298;
    font-weight: 500;
}

.news-nav a:hover {
    color: #ff6b35;
}

.news-nav .back {
    flex: 1;
    text-align: center;
}

/* 服务详情样式 */
.services-detail .service-category {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.services-detail .service-category:last-child {
    border-bottom: none;
}

.services-detail ul {
    list-style: none;
    padding-left: 1rem;
}

.services-detail ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.services-detail ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* 案例详情样式 */
.cases-list .case-item-detail {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.cases-list .case-item-detail:last-child {
    border-bottom: none;
}

.case-info p {
    margin-bottom: 1rem;
}

/* 人才发展详情样式 */
.development-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.system-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.job-listings .job-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.job-department {
    color: #6c757d;
    margin: 0.5rem 0;
}

.job-requirements,
.job-qualifications {
    margin: 0.5rem 0;
}

.benefits {
    list-style: none;
    padding-left: 1rem;
}

.benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section .btn {
    background: white;
    color: #2575fc;
    border-color: white;
    margin-top: 1rem;
}

.cta-section .btn:hover {
    background: transparent;
    color: white;
}

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

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.department-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.department-item h4 {
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.department-item a {
    color: #2a5298;
    text-decoration: none;
}

.department-item a:hover {
    color: #ff6b35;
}

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

/* 产品中心样式 */
.products-list .product-category {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.products-list .product-category:last-child {
    border-bottom: none;
}

/* 服务中心样式 */
.btn-small {
    display: inline-block;
    background: #2a5298;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #ff6b35;
}

/* 知识库样式 */
.knowledge-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.knowledge-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.knowledge-item h4 a {
    color: #2a5298;
    text-decoration: none;
}

.knowledge-item h4 a:hover {
    color: #ff6b35;
}

/* 常见问题样式 */
.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    position: relative;
    color: #2a5298;
}

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

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

.faq-item.active .faq-answer {
    display: block;
}

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

/* 页脚样式 */
footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

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

    header h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0.25rem 0.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .news-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .news-nav a {
        text-align: center;
    }

    .content {
        padding: 1.5rem;
    }

    .development-system,
    .values,
    .department-list,
    .knowledge-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.25rem 0;
    }

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