/* 全局样式 */
* {
    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-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    color: #1a3a6c;
    font-size: 24px;
    margin-bottom: 5px;
}

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

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold; /* 加粗字体 */
    font-size: 18px; /* 加大字体 */
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #1a3a6c;
    background-color: #e9ecef;
}

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

.page-header {
    background: linear-gradient(135deg, #1a3a6c, #2c5aa0);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

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

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 首页样式 */
.hero {
    background: linear-gradient(135deg, #1a3a6c, #2c5aa0);
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #ffc107;
    color: #1a3a6c;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #ffc107;
}

.cta-button:hover {
    background-color: transparent;
    color: #ffc107;
}

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

.news h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1a3a6c;
    font-size: 2rem;
}

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

.news-grid article {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-grid article:hover {
    transform: translateY(-5px);
}

.news-grid h3 {
    color: #1a3a6c;
    margin-bottom: 15px;
}

.news-grid p {
    margin-bottom: 15px;
    color: #6c757d;
}

.news-grid .date {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* 业务范围 */
.services {
    padding: 60px 0;
    background-color: #e9ecef;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1a3a6c;
    font-size: 2rem;
}

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

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

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

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

.cases h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1a3a6c;
    font-size: 2rem;
}

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

.case-item {
    background: linear-gradient(135deg, #1a3a6c, #2c5aa0);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

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

/* 人才发展 */
.careers {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a3a6c, #2c5aa0);
    color: white;
    text-align: center;
}

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

.careers p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 新闻页面样式 */
.news-content {
    padding: 20px 0 60px;
}

.news-list {
    margin-bottom: 40px;
}

.news-item {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-item h2 {
    color: #1a3a6c;
    margin-bottom: 15px;
}

.news-item .date {
    color: #adb5bd;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #1a3a6c;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2c5aa0;
}

.sidebar {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.widget {
    margin-bottom: 30px;
}

.widget h3 {
    color: #1a3a6c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: inline-block;
    background-color: #e9ecef;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tags a:hover {
    background-color: #1a3a6c;
    color: white;
}

.recommended-services {
    list-style: none;
}

.recommended-services li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.recommended-services li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recommended-services a {
    color: #1a3a6c;
    text-decoration: none;
    transition: color 0.3s;
}

.recommended-services a:hover {
    color: #2c5aa0;
}

/* 服务中心样式 */
.services-detail {
    padding: 20px 0 60px;
}

.service-category {
    margin-bottom: 50px;
}

.service-category h2 {
    color: #1a3a6c;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.service-description ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-description li {
    margin-bottom: 10px;
}

/* 行业知识库样式 */
.knowledge-content {
    padding: 20px 0 60px;
}

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

.category h2 {
    color: #1a3a6c;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.knowledge-list {
    list-style: none;
}

.knowledge-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.knowledge-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.knowledge-list a {
    color: #1a3a6c;
    text-decoration: none;
    transition: color 0.3s;
}

.knowledge-list a:hover {
    color: #2c5aa0;
}

.knowledge-highlight h2 {
    color: #1a3a6c;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

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

.highlight-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlight-item h3 {
    color: #1a3a6c;
    margin-bottom: 15px;
}

/* 常见问题样式 */
.faq-content {
    padding: 20px 0 60px;
}

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

.faq-category h2 {
    color: #1a3a6c;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    background-color: #1a3a6c;
    color: white;
    cursor: pointer;
    position: relative;
}

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

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

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

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

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

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

.contact-intro h2 {
    color: #1a3a6c;
    margin-bottom: 20px;
    font-size: 2rem;
}

.departments h2 {
    color: #1a3a6c;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

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

.department-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

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

.contact-person {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-email {
    color: #1a3a6c;
    margin-bottom: 15px;
}

/* 页脚样式 */
footer {
    background-color: #1a3a6c;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #ffc107;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .news-grid,
    .services-grid,
    .cases-grid,
    .department-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section ul.two-columns {
        grid-template-columns: 1fr;
    }
}